From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18272 invoked from network); 30 Dec 1998 17:31:24 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Dec 1998 17:31:24 -0000 Received: from saturn.aladdin.de (saturn.aladdin.de [194.123.19.3]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id MAA00584 for ; Wed, 30 Dec 1998 12:15:25 -0500 Received: by saturn.aladdin.de(Lotus SMTP MTA v4.6.2 (693.3 8-11-1998)) id 412566EA.005F3826 ; Wed, 30 Dec 1998 18:20:02 +0100 X-Lotus-FromDomain: AKS From: "Christian Groessler" To: axp-list@redhat.com Message-ID: <412566EA.005F3748.00@saturn.aladdin.de> Date: Wed, 30 Dec 1998 18:16:06 +0100 Subject: gdb cannot read core dumps on newer kernels Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline 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