[BACK]Return to msgbuf CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / gdbscripts

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/gdbscripts/msgbuf between version 1.2 and 1.3

version 1.2, 2001/01/11 05:31:02 version 1.3, 2005/02/26 22:58:55
Line 56  define msgbuf
Line 56  define msgbuf
   set $p = (long)msgbufp+4*sizeof(long)+$bufx    set $p = (long)msgbufp+4*sizeof(long)+$bufx
   set $l = $bufs - $bufx    set $l = $bufs - $bufx
   set print elements $l    set print elements $l
   printf "Dumping %#x length %d\n", $p, $l    printf "Dumping %#x length %d\n", $p, $l
   # XXX (unsupported by gdb): printf "%.*s\n", $l, $p    # XXX (unsupported by gdb): printf "%.*s\n", $l, $p
   printf "%s\n", $p    printf "%s\n", $p
   set $p = (long)msgbufp+4*sizeof(long)    set $p = (long)msgbufp+4*sizeof(long)
   set $l = $bufx    set $l = $bufx
   set print elements $l    set print elements $l
   printf "Dumping %#x length %d\n", $p, $l    printf "Dumping %#x length %d\n", $p, $l
   # XXX (unsupported by gdb): printf "%.*s\n\n", $l, $p    # XXX (unsupported by gdb): printf "%.*s\n\n", $l, $p
   printf "%s\n\n", $p    printf "%s\n\n", $p
 end  end

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>