From: Peter Rye <prye@picu-sgh.demon.co.uk>
To: rth@cygnus.com
Cc: axp-list@redhat.com, recipient list not shown: ;
Subject: Re: gdb cannot read core dumps on newer kernels
Date: 31 Dec 1998 17:43:22 -0000 [thread overview]
Message-ID: <19981231174322.8587.qmail@picu-sgh.demon.co.uk> (raw)
In-Reply-To: <19981230131306.B32319@dot.cygnus.com> (message from Richard Henderson on Wed, 30 Dec 1998 13:13:06 -0800)
>>>>> "Richard" == Richard Henderson <rth@cygnus.com> writes:
Richard> On Wed, Dec 30, 1998 at 06:16:06PM +0100, Christian Groessler
Richard> wrote:
>> I also tried recompiling gdb, but it doesn't work either. Does
>> anybody have an idea on how to fix this?
Richard> GDB needs to be taught that elf_prstatus can be one of two
Richard> sizes; mid 2.1 struct timeval was changed to be POSIX
Richard> compliant. Everything but this was handled with new syscall
Richard> numbers.
Thanks for the information. Although I didn't post the original question,
this problem has been something that I have tried in vain to solve for a
while now.
Unfortunately I cannot find "elf_prstatus" in the source for gdb, although
there are plenty of references to "prstatus" in both elfcore.h and
elf-bfd.h, as well as references to "bfd_prstatus" in elfcore.h. There are
also references to "prstatus_t" in the configure file.
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.
Thanks very much.
next prev parent reply other threads:[~1998-12-31 22:05 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 [this message]
1998-12-31 22:26 ` Richard Henderson
-- 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