bug-gdb
[Top][All Lists]
Advanced

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

SuSE Linux and core files


From: nick
Subject: SuSE Linux and core files
Date: Sat, 27 Oct 2001 14:26:26 +0100

I have two problems with gdb under SuSE 6.4 running on x86s.
Which is baffling as this must be a common platform.
Both the gdb from SuSE CDs and one built locally with simple ./configure 
behave the same.

Reports below from local build.
More than willing to re-build for CPU type in use, and/or rebuild 
kernels to match GDB if that is what it takes.



1. I have never been able to get it to diagnose a core file on linux.
   (Used to work fine on SPARC/Solaris).
   e.g. on Athlon  


gdb bug core
GNU gdb 4.18
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 "i686-pc-linux-gnu"...
Core was generated by `bug'.
Program terminated with signal 11, Segmentation fault.

warning: wrong size gregset struct in core file
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.

warning: wrong size gregset struct in core file
#0  0x0 in ?? ()
(gdb) '

2. When used with threads it blathers on about unknown signal:

address@hidden 505$ gdb ./perl
GNU gdb 4.18
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 "i686-pc-linux-gnu"...
(gdb) run -I../lib ../ext/threads/t/basic.t
Starting program: /home/p4work/perl/perlio/t/./perl -I../lib 
../ext/threads/t/basic.t
1..15
ok 1
 
Program received signal ?, Unknown signal.
0x40087b2e in sigsuspend () at ../sysdeps/unix/sysv/linux/sigsuspend.c:59
59      ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or directory.
(gdb) ok 2 - Test that argument passing works
Quit
(gdb)                                     


-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]