This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb on 64 bit Solaris?


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 ?? ()



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]