diff options
| author | Greg Lehey <grog@FreeBSD.org> | 2003-12-31 00:37:24 +0000 |
|---|---|---|
| committer | Greg Lehey <grog@FreeBSD.org> | 2003-12-31 00:37:24 +0000 |
| commit | a783ff949cafa0efc59d68ca19224e62d73616b9 (patch) | |
| tree | 9ddff5927e49df0b27f3dde53808ef4e5ec801ba /tools/debugscripts | |
| parent | 4da9f125cc0a043b65b6fb8c7f29fb9d76d15925 (diff) | |
Notes
Diffstat (limited to 'tools/debugscripts')
| -rw-r--r-- | tools/debugscripts/gdbinit.kernel | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/debugscripts/gdbinit.kernel b/tools/debugscripts/gdbinit.kernel index 1e6e60d4e1e4..4d0d14011199 100644 --- a/tools/debugscripts/gdbinit.kernel +++ b/tools/debugscripts/gdbinit.kernel @@ -301,12 +301,12 @@ document y Kludge for writing macros This is a no-op except for printing a message See gdb(4) for more details. end -# msgbuf: print msgbuf. Can take forever. -define msgbuf +# dmesg: print msgbuf. Can take forever. +define dmesg printf "%s", msgbufp->msg_ptr end -document msgbuf -Print the system message buffer (dmesg) This can take a long time due to the time it takes to transmit the data across a serial line. +document dmesg +Print the system message buffer (dmesg) This can take a long time due to the time it takes to transmit the data across a serial line and even on a firewire connection the processing time slows it down end # checkmem: check unallocated memory for modifications |
