This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [branch patch] core files as symfiles
- From: Mark Kettenis <kettenis at chello dot nl>
- To: roland at redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 15 May 2003 23:57:51 +0200 (CEST)
- Subject: Re: [branch patch] core files as symfiles
- References: <200305130258.h4D2wvY23487@magilla.sf.frob.com>
Date: Mon, 12 May 2003 19:58:57 -0700
From: Roland McGrath <roland@redhat.com>
The following patch causes core files to be implicitly read as symbol files
as well. Using this along with my previous dwarf-frame.c patch vs current
kettenis_i386newframe-20030419-branch gdb, on Linux 2.5.69 on x86 the
backtrace of a thread in a system call from a core dump Just Works.
I've included the trivial symfile.c patch that was in with my dwarf-frame.c
patch again here too, since it's required for the corelow.c patch to work
and these patches work (but cause nothing interesting to happen)
independent of the dwarf-frame.c changes.
The patch looks fine to me, although I'd like to see the opinion of
another GDB developer who's more familiar with this part of the code.
Since this code doesn't depend on any other changes in the
i386newframe branch, perhaps this should go into mainline, and we can
simply merge it into the branch from there. If you think so, please
resubmit this without the reference to "branch" in the subject.
Mark