I wrote:
> Why can't I run gnatgdb against this?

Turns out that the version of gnat-gdb in -testing is rather old: from
2003!  Upgrading to the version in -unstable fixed this problem, and
it's now able to attach to the LWP.

Not that it helped a whole lot.  The stack trace looks like it's
smashed just as in the other gdb run.  Here's what it looks like just
the same:

[EMAIL PROTECTED]:~$ LD_LIBRARY_PATH=/usr/lib/debug gnatgdb 
/usr/src/Debian/Ada/GPS/3.1.3-3/gnat-gps-3.1.3/gnat-gps
GNU gdb 6.4 for GNAT Pro 2006 (20060522)
Copyright 2005 Free Software Foundation, Inc.
Ada Core Technologies version of GDB for GNAT Professional
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.
See your support agreement for details of warranty and support.
If you do not have a current support agreement, then there is absolutely
no warranty for this version of GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library 
"/usr/lib/debug/libthread_db.so.1".

(gdb) run
Starting program: /usr/src/Debian/Ada/GPS/3.1.3-3/gnat-gps-3.1.3/gnat-gps
[Thread debugging using libthread_db enabled]
[New Thread 47757512239440 (LWP 9045)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47757512239440 (LWP 9045)]
signal_key_cmp (node1=0x15731fd, node2=0xfda02b00) at gsignal.c:700
700     gsignal.c: No such file or directory.
        in gsignal.c
Current language:  auto; currently c
(gdb) where
#0  signal_key_cmp (node1=0x15731fd, node2=0xfda02b00) at gsignal.c:700
#1  0x00002b6f67a98e85 in signal_parse_name (name=<value optimized out>,
    itype=<value optimized out>, detail_p=0x1, force_quark=11119)
    at gbsearcharray.h:163
#2  0x0000000001809650 in C.920.17735 ()
#3  0x00007fffffb3d830 in ?? ()
#4  0x00007fffffb40560 in ?? ()
(gdb) cont
Continuing.

raised STORAGE_ERROR : s-intman.adb:158 explicit raise

Program exited with code 01.
(gdb)




-- 
Kevin Brown                                           [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to