From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26316 invoked from network); 31 Dec 1998 22:05:38 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 31 Dec 1998 22:05:38 -0000 Received: from picu-sgh.demon.co.uk (qmailr@picu-sgh.demon.co.uk [194.222.182.163]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id QAA23609 for ; Thu, 31 Dec 1998 16:49:09 -0500 Received: (qmail 8588 invoked by uid 500); 31 Dec 1998 17:43:22 -0000 Date: 31 Dec 1998 17:43:22 -0000 Message-ID: <19981231174322.8587.qmail@picu-sgh.demon.co.uk> From: Peter Rye To: rth@cygnus.com CC: axp-list@redhat.com, recipient list not shown: ; In-reply-to: <19981230131306.B32319@dot.cygnus.com> (message from Richard Henderson on Wed, 30 Dec 1998 13:13:06 -0800) Subject: Re: gdb cannot read core dumps on newer kernels References: <412566EA.005F3748.00@saturn.aladdin.de> <19981230131306.B32319@dot.cygnus.com> >>>>> "Richard" == Richard Henderson 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.