From owner-cvs-sys Fri Feb 28 04:36:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA24703 for cvs-sys-outgoing; Fri, 28 Feb 1997 04:36:21 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA24696; Fri, 28 Feb 1997 04:36:19 -0800 (PST) Date: Fri, 28 Feb 1997 04:36:19 -0800 (PST) From: Bruce Evans Message-Id: <199702281236.EAA24696@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 db_trace.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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