From owner-cvs-all Mon Jun 18 12:19:10 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 1C12B37B407; Mon, 18 Jun 2001 12:19:05 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f5IJJ3r85812; Mon, 18 Jun 2001 21:19:03 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: John Baldwin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 db_trace.c In-Reply-To: Your message of "Mon, 18 Jun 2001 12:17:30 PDT." <200106181917.f5IJHUe07843@freefall.freebsd.org> Date: Mon, 18 Jun 2001 21:19:03 +0200 Message-ID: <85810.992891943@critter> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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