Date: Mon, 18 Jun 2001 21:19:03 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 db_trace.c Message-ID: <85810.992891943@critter> In-Reply-To: Your message of "Mon, 18 Jun 2001 12:17:30 PDT." <200106181917.f5IJHUe07843@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Can we also please try to find some code to print a symbolic (preferably) or numeric traceback on panic, even if DDB is not in the kernel ? Poul-Henning In message <200106181917.f5IJHUe07843@freefall.freebsd.org>, John Baldwin write s: >jhb 2001/06/18 12:17:30 PDT > > Modified files: > sys/i386/i386 db_trace.c > Log: > - Add support for decoding syscall names. (Brought over from the new alpha > trace code that was brought over from NetBSD.) > - Check for "syscall_with_err_pushed" as the label prior to a syscall trap > frame rather than "Xlcall_syscall" and "Xint0x80_syscall". We don't > have a valid trapframe during the short range of code that those two > symbols now cover. > - Simplify db_next_frame() to avoid duplicating the code for the different > trap frame types. > - Don't try to trace a swapped-out process. (Brought over from NetBSD via > the new alpha trace code.) > > Revision Changes Path > 1.40 +62 -38 src/sys/i386/i386/db_trace.c > > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85810.992891943>