gdb for Sun compiled target programs
Mark Kettenis
kettenis@chello.nl
Wed Jun 16 07:09:00 GMT 2004
Date: Wed, 16 Jun 2004 08:10:43 +0200
From: Michael Mueller <m.mueller99@kay-mueller.de>
I found that gdb 6.1 is almost unusable for Sun Solaris SPARC 32/64 bit
if the target program is compiled using a Sun C compiler. ( gdb/1669:
"64-bit Solaris does not work" is just one of the problems).
It should be usable for 32-bit. 64-bit has a problem. The Sun C
compiler generates stabs debugging info by default. GDB doesn't
handle 64-bit stabs correctly. Fixing that is non-trivial. I believe
recent versions of the Sun C compiler can also generate DWARF2. That
should work better.
Can someone tell me what the status and planned future of this platform
is? (gdb/MAINTAINERS calls it "(devolved)")
It's meant to be fully supported.
I have put in some effort and fixed the most urgent problems so that
it's usable for me now. My knowledge of gdb source code is quite limited
however (just 2 weeks old) and some of the fixes definitely will need
some more work, which I would be willing to do with some help.
Does it make sense that I send my changes to gdb-patches?
Sure. If it's a substantial contribution you'd need to assign
copyright to the FSF.
More information about the Gdb-patches
mailing list