Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 1997 04:36:19 -0800 (PST)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/i386/i386 db_trace.c
Message-ID:  <199702281236.EAA24696@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         97/02/28 04:36:19

  Modified:    sys/i386/i386  db_trace.c
  Log:
  Print function args in the current radix instead of always in hex.
  
  Print the stack pointer together with the frame pointer in the trap,
  syscall and interrupt messages.  The frame pointer is not very useful
  for locating syscall args since syscall functions don't have a frame
  pointer.
  
  Print all the numbers in the trap, syscall and interrupt messages in
  the default radix.  The syscall number was confusing because it was
  printed in decimal.
  
  Use %#n format more and 0x%x less.  0x%x of course doesn't work with
  a variable radix.  ddb is now fairly consistent about using %+#n to
  print all numbers.  It omits the '+' for signed numbers the '#' in a
  few cases (e.g., for function args) to save space.
  
  Revision  Changes    Path
  1.19      +13 -8     src/sys/i386/i386/db_trace.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702281236.EAA24696>