[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gdb cannot read core dumps on newer kernels



>>>>> "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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []