From a783ff949cafa0efc59d68ca19224e62d73616b9 Mon Sep 17 00:00:00 2001 From: Greg Lehey Date: Wed, 31 Dec 2003 00:37:24 +0000 Subject: Rename "msgbuf" to "dmesg", a more easily remembered name. "Fix" documentation by removing periods and commas. --- tools/debugscripts/gdbinit.kernel | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/debugscripts') 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 -- cgit v1.3