Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Christian Groessler" <cpg@aladdin.de>
To: axp-list@redhat.com
Subject: gdb cannot read core dumps on newer kernels
Date: Wed, 30 Dec 1998 18:16:06 +0100	[thread overview]
Message-ID: <412566EA.005F3748.00@saturn.aladdin.de> (raw)




Hello,

I'm having problems with core files generated from 2.1.131 kernels (2.0.35
do work):

[chris@alpha:~]$ ./segv
Segmentation fault (core dumped)

[chris@alpha:~]$ ls -l core
-rw-------   1 chris    chris      172032 Dec 30 17:59 core

[chris@alpha:~]$ file core
core: ELF 64-bit LSB core file Alpha, version 1, stripped

[chris@alpha:~]$ gdb segv core
GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha-redhat-linux"...
Core was generated by `./segv'.
Couldn't fetch registers from core file: File in wrong format
Couldn't fetch register set 2 from core file: File in wrong format
Reading symbols from /lib/libc.so.6.1...done.
Reading symbols from /lib/ld-linux.so.2...done.
Couldn't fetch registers from core file: File in wrong format
Couldn't fetch register set 2 from core file: File in wrong format
#0  0x0 in ?? ()
(gdb)

It doesn't find the register values in the core file.

I also tried recompiling gdb, but it doesn't work either.
Does anybody have an idea on how to fix this?

regards & thanks for your help,
chris



             reply	other threads:[~1998-12-30 17:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-30 17:16 Christian Groessler [this message]
1998-12-30 21:13 ` gdb cannot read core dumps on newer kernels Richard Henderson
1998-12-31 17:43   ` Peter Rye
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