[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gdb dumps core while setting breakpoint at main
From: |
rajeev nair |
Subject: |
gdb dumps core while setting breakpoint at main |
Date: |
Fri, 3 Aug 2001 14:22:02 -0700 (PDT) |
Hi,
Envirnoment: ia64 TurboLinux 2.4.1
gcc version 2.9
gdb version 5.0
I am facing a problem while debugging a C++ program
(which uses STL) with gdb. When i try to set
breakpoint at main, gdb dumps core.
Here is what i did..
elm2a114 src]$ gdb ./topo
GNU gdb 5.0
Copyright 2001 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 "ia64-unknown-linux"...
(gdb) break main
Segmentation fault (core dumped)
elm2a114 src]$ gdb -c core gdb
GNU gdb 5.0
Copyright 2001 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 "ia64-unknown-linux"...
(no debugging symbols found)...
Core was generated by `gdb ./topo'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libncurses.so.5...(no
debugging symbols found)...
done.
Loaded symbols for /usr/lib/libncurses.so.5
Reading symbols from /lib/libc.so.6.1...done.
Loaded symbols for /lib/libc.so.6.1
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libm.so.6.1...done.
Loaded symbols for /lib/libm.so.6.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux-ia64.so.2...done.
Loaded symbols for /lib/ld-linux-ia64.so.2
0 0x40000000001d54e0 in read_comp_unit ()
topo is an exe which contains C++ files that uses
STL and are compiled with -ggdb.
Can anyone let me know what could be wrong..
Any help will be greatly appreciated.
Thanks
regards
rajeev
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gdb dumps core while setting breakpoint at main,
rajeev nair <=