| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the debugger back-end has changed. This means that switching from ddb
to gdb no longer requires a "step" which can be dangerous on an
already-crashed kernel.
Also add a capability to get from the gdb back-end back to ddb, by
typing ^C in the console window.
While here, simplify kdb_sysctl_available() by using
sbuf_new_for_sysctl(), and use strlcpy() instead of strncpy() since the
strlcpy semantic is desired.
MFC after: 1 month
Notes:
svn path=/head/; revision=218825
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY should only be used to call
scheduler() function which turns the initial thread into swapper proper
and thus there is no further SYSINIT processing.
Other SYSINITs with SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY may get ordered
after scheduler() and thus never executed. That particular relative
order is semi-arbitrary.
Thus, change such places to use SI_ORDER_MIDDLE.
Also, use SI_ORDER_MIDDLE instead of correct, but less appealing,
SI_ORDER_ANY - 1.
MFC after: 1 week
Notes:
svn path=/head/; revision=213305
|
|
|
|
|
|
|
|
| |
MFC after: 1 month
Caught by: tinderbox
Notes:
svn path=/head/; revision=177255
|
|
|
|
|
|
|
|
| |
Reviewed by: marcel
Sponsored by: Network Appliance
Notes:
svn path=/head/; revision=176651
|
|
|
|
|
|
|
|
|
| |
caches with data caches after writing to memory. This typically
is required to make breakpoints work on ia64 and powerpc. For
those architectures the function is implemented.
Notes:
svn path=/head/; revision=170473
|
|
|
|
| |
Notes:
svn path=/head/; revision=158960
|
|
|
|
|
|
|
|
| |
Use polling behaviour for gdb_getc() where convenient, this edges us
closer to the console code.
Notes:
svn path=/head/; revision=158950
|
|
|
|
| |
Notes:
svn path=/head/; revision=158949
|
|
|
|
|
|
|
|
| |
try again. This way it matches the console behaviour and allows us
to share more code.
Notes:
svn path=/head/; revision=158948
|
|
|
|
|
|
|
| |
Reviewed by: kan
Notes:
svn path=/head/; revision=157059
|
|
|
|
|
|
|
|
| |
Noticed by: Coverity Prevent analysis tool
Reviewed by: kan
Notes:
svn path=/head/; revision=144245
|
|
|
|
| |
Notes:
svn path=/head/; revision=139778
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
specified register, but a pointer to the in-memory representation of
that value. The reason for this is twofold:
1. Not all registers can be represented by a register_t. In particular
FP registers fall in that category. Passing the new register value
by reference instead of by value makes this point moot.
2. When we receive a G or P packet, both are for writing a register,
the packet will have the register value in target-byte order and
in the memory representation (modulo the fact that bytes are sent
as 2 printable hexadecimal numbers of course). We only need to
decode the packet to have a pointer to the register value.
This change fixes the bug of extracting the register value of the P
packet as a hexadecimal number instead of as a bit array. The quick
(and dirty) fix to bswap the register value in gdb_cpu_setreg() as
it has been added on i386 and amd64 can therefore be removed and has
in fact been that.
Tested on: alpha, amd64, i386, ia64, sparc64
Notes:
svn path=/head/; revision=138253
|
|
|
|
|
|
|
| |
packet related problems. No problems have been reported.
Notes:
svn path=/head/; revision=133446
|
|
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.
Notes:
svn path=/head/; revision=131899
|