| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
o Make debugging code conditional upon KDB instead of DDB.
o Call kdb_alt_break() insteadof db_alt_break().
|
| |
| |
| |
| |
| |
| | |
o Call kdb_enter() instead of breakpoint().
o Call kdb_alt_break() instead of db_alt_break().
o Make debugging code conditional upon KDB instead of DDB.
|
| |
| |
| |
| | |
o Make debugging code conditional upon KDB instead of DDB.
|
| |
| |
| |
| |
| | |
Yes, DDB is unrelated to the debugger with the same acronym. Hence,
the change.
|
| |
| |
| |
| | |
Note that DDB is unrelated to the debugger with the same acronym.
|
| |
| |
| |
| |
| | |
o Make debugging code conditional upon KDB instead of DDB.
o Call kdb_alt_break() instead of db_alt_break().
|
| |
| |
| |
| |
| |
| | |
o Make debugging code conditional upon KDB instead of DDB.
o Call kdb_alt_break() instead of db_alt_break().
o Call kdb_enter() instead of breakpoint().
|
| |
| |
| |
| | |
o Make debugging code conditional upon KDB instead of DDB.
|
| |
| |
| |
| | |
o Make debugging code dependent upon KDB instead of DDB.
|
| |
| |
| |
| |
| |
| | |
o Call kdb_enter() instead of Debugger().
o Don't make such calls conditional upon KDB instead of DDB because
they're already conditional upon EN_DEBUG.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
o Use kdb_alt_break() to handle the alternate break sequence instead
of handcoding it here.
o Remove GDB kluges to make this driver work with the pre-KDB remote
GDB code.
o Call kdb_enter() instead of Debugger().
Note that with this commit the dcons(4) driver cannot be used for
remote debugging anymore. This driver has to use the new GDB debug
port interface instead. Such has not been done yet.
|
| |
| |
| |
| |
| | |
o Remove inclusion of opt_ddb.h
o Make debugging code conditional upon KDB.
|
| |
| |
| |
| | |
o Call kdb_enter() instead of Debugger().
|
| |
| |
| |
| |
| |
| | |
o Call kdb_enter() instead of Debugger().
While here, remove a redundant return.
|
| |
| |
| |
| |
| |
| | |
o Remove inclusion of opt_ddb.h.
o Call kdb_enter() instead of Debugger().
o Make debugging code conditional upon KDB.
|
| |
| |
| |
| |
| |
| | |
o Make debugging code conditional upon KDB.
o Use kdb_backtrace() instead of backtrace().
o Remove inclusion of opt_ddb.h.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a PCB from a trapframe for purposes of unwinding the stack. The PCB
is used as the thread context and all but the thread that entered the
debugger has a valid PCB.
This function can also be used to create a context for the threads
running on the CPUs that have been stopped when the debugger got
entered. This however is not done at the time of this commit.
|
| |
| |
| |
| |
| |
| |
| |
| | |
in particular not without removing the options they replace or in the
proper location in this file. The purpose of this commit is to make it
possible to commit changes in parts without causing massive build
breakages. At least, that's the intend. I have no idea if it actually
works out as I hope...
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in which multiple (presumably different) debugger backends can be
configured and which provides basic services to those backends.
Besides providing services to backends, it also serves as the single
point of contact for any and all code that wants to make use of the
debugger functions, such as entering the debugger or handling of the
alternate break sequence. For this purpose, the frontend has been
made non-optional.
All debugger requests are forwarded or handed over to the current
backend, if applicable. Selection of the current backend is done by
the debug.kdb.current sysctl. A list of configured backends can be
obtained with the debug.kdb.available sysctl. One can enter the
debugger by writing to the debug.kdb.enter sysctl.
|
| |
| |
| |
| | |
not interchangable.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
is not documented yet, it is not used at the moment and is the subject
of the future work.
Improved by: ru
Not objected: ps, jayanth
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
backend improves over the old GDB support in the following ways:
o Unified implementation with minimal MD code.
o A simple interface for devices to register themselves as debug
ports, ala consoles.
o Compression by using run-length encoding.
o Implements GDB threading support.
|
| |
| |
| |
| |
| |
| | |
consequently the exponent is only 11 bits. Testing whether the
exponent equals 32767 in that case only effects to compiler warnings
and thus build breakage.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add copyiniov() which copies a struct iovec array in from userland into
a malloc'ed struct iovec. Caller frees.
Change uiofromiov() to malloc the uio (caller frees) and name it
copyinuio() which is more appropriate.
Add cloneuio() which returns a malloc'ed copy. Caller frees.
Use them throughout.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
soreceive(), remove some leaf assertions that are redundant.
|
| |
| |
| |
| |
| | |
in soreceive() to confirm we've moved from block to block properly
maintaining locking invariants.
|
| |
| |
| |
| | |
request that's passed to the driver's strategy.
|
| |
| |
| |
| |
| |
| |
| | |
- Remove unused includes.
- Sort includes.
Reported by: Pyun YongHyeon <yongari@kt-is.co.kr> [1]
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bluetooth code was maked as non-i386 specific.
Bump __FreeBSD_version to mark this change.
Reviewed by: kris, ru
Requested by: obrien
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
assigning a pointer to the list and then dereferencing the pointer as a
second step. When the first spin lock is acquired, curthread is not in
a critical section so it may be preempted and would end up using another
CPUs lock list instead of its own.
When this code was in witness_lock() this sequence was safe as curthread
was in a critical section already since witness_lock() is called after the
lock is acquired.
Tested by: Daniel Lang dl at leo.org
|
| |
| |
| |
| | |
Reviewed by: kris, ru
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
default.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In this mode you can setup even very small stripe size and you can be
sure that only one I/O request will be send to every disks in stripe.
It consumes some more memory, but if allocation fails, it will fall
back to "ECONOMIC" mode.
It is about 10 times faster for small stripe size than "ECONOMIC" mode
and other RAID0 implementations. It is even recommended to use this
mode and small stripe size, so our requests are always splitted.
One can still use "ECONOMIC" mode by setting kern.geom.stripe.fast to 0.
It is also possible to setup maximum memory which "FAST" mode can consume,
by setting kern.geom.stripe.maxmem from /boot/loader.conf.
|
| |
| |
| |
| | |
Pointed out by: pjd
|
| |
| |
| |
| | |
make universe JFLAG=-j12
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Reminded by: ru
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
one go before returning. This avoids calling uiomove() while holding
allproc_lock.
Don't adjust uio->uio_offset manually, uiomove() does that for us.
Don't drop allproc_lock before calling panic().
Suggested by: alfred
|