[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-bugs
Subject:    gdb crashes with kylix programs
From:       Johannes Berg <johannes () sipsolutions ! de>
Date:       2002-11-24 21:06:55
Message-ID: 1038172015.4114.23.camel () johannes
[Download RAW message or body]


Kylix is supposed to include STABs information to be read with gdb, but
this is what happens:
--snip start--
johannes:~/Projects/tests/proj$ gdb ./Project1 GNU gdb 2002-08-18-cvs
Copyright 2002 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
"i386-linux"... (gdb) run
Starting program: /home/johannes/Projects/tests/proj/Project1 [New
Thread
16384 (LWP 3594)]
../../gdb/regcache.c:440: gdb-internal-error: set_register_cached:
Assertion `regnum < current_regcache->descr->nr_raw_registers' failed.
An
internal GDB error was detected.  This may make further debugging
unreliable.  Quit this debugging session? (y or n) y

Create a core file containing the current state of GDB? (y or n) y
Aborted
johannes:~/Projects/tests/proj$
--snip end--

Even though I ask for it, I don't get a core file.

This is using
johannes:~$ gdb --version
GNU gdb 2002-08-18-cvs
Copyright 2002 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 "i386-linux".
johannes:~$ 

and a simple do-nothing Kylix3 program.
You can get Kylix3 (Open Edition) from borland: http://www.borland.com/

johannes berg
-- 
http://www.sipsolutions.de/
GnuPG key: http://www.sipsolutions.de/keys/JohannesBerg.asc
  Key-ID: 9AB78CA5 Johannes Berg <johannes@sipsolutions.de>
  Fingerprint = AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic