This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb on 64 bit Solaris?
- To: gdb at sources dot redhat dot com
- Subject: gdb on 64 bit Solaris?
- From: Brian Lewis <Brian dot Lewis at Eng dot Sun dot COM>
- Date: Tue, 01 Aug 2000 15:31:56 -0700
- Cc: Brian dot Lewis at Eng dot Sun dot COM
I'm trying to use gdb and it either can't read symbols (from gcc -g)
or crashes. I've been trying to run different versions of gdb on a
Solaris 2.7 machine running a 64 bit kernel. I've also tried them on
a 2.8 machine (which is 64 bit) with the same effect. They work fine
on a 2.6 32 bit machine. I've tried a number of versions of gdb:
/proj/walkabout/bin/gdb 4.18
/net/suntools/export/tools/sparc/bin/gdb 4.16.1-96q4
/proj/tcl/install/5.x-sparc/bin/gdb 4.16
I've tried looking at the redhat gdb pages and searching gdb-related
newsgroups, but haven't seen anything. Thanks!
Brian
(gdb) stop in main
(gdb) run
Starting program: /home/btlewis/Walkabout/hello
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
Program received signal SIGTRAP, Trace/breakpoint trap.
0xff3b292c in ?? ()
(gdb) bt
#0 0xff3b292c in ?? ()
and
(gdb) stop in main
(gdb) run
Starting program: /home/btlewis/Walkabout/hello
Program received signal SIGSEGV, Segmentation fault.
0xff3cc778 in ?? ()
(gdb) bt
#0 0xff3cc778 in ?? ()
#1 0xff3c172c in ?? ()
#2 0xff3ba154 in ?? ()
#3 0xff3c349c in ?? ()
#4 0xff3b29bc in ?? ()