From: Richard Henderson <rth@cygnus.com>
To: Peter Rye <prye@picu-sgh.demon.co.uk>, rth@cygnus.com
Cc: axp-list@redhat.com
Subject: Re: gdb cannot read core dumps on newer kernels
Date: Thu, 31 Dec 1998 14:26:30 -0800 [thread overview]
Message-ID: <19981231142630.B13914@dot.cygnus.com> (raw)
In-Reply-To: <19981231174322.8587.qmail@picu-sgh.demon.co.uk>; from Peter Rye on Thu, Dec 31, 1998 at 05:43:22PM -0000
On Thu, Dec 31, 1998 at 05:43:22PM -0000, Peter Rye wrote:
> Unfortunately I cannot find "elf_prstatus" in the source for gdb...
It isn't. It's in <linux/elfcore.h>; I forget the exact path
by which this gets pulled in. This is fairly losing, and just
the way it's "always been done".
> I presume that this is a relatively easy thing to fix if you have a few
> more clues about programming development tools than I do. If possible, I
> wonder if you would mind expanding a little on which files need to be
> patched etc.
You'll be modifying elf_backend_data in bfd/elf-bfd.h, and elfxx-target.h
to make what is currently elfcore_grok_prstatus switched on the target.
You'll copy that function to elf64-alpha.c and tweek it to handle two
different prstatus_t layouts.
r~
next prev parent reply other threads:[~1998-12-31 22:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-30 17:16 gdb cannot read core dumps on newer kernels Christian Groessler
1998-12-30 21:13 ` Richard Henderson
1998-12-31 17:43 ` Peter Rye
1998-12-31 22:26 ` Richard Henderson [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-01-02 11:05 Christian Groessler
1999-01-03 23:26 ` Richard Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox