* gdb for Sun compiled target programs
@ 2004-06-16 6:11 Michael Mueller
2004-06-16 7:09 ` Mark Kettenis
0 siblings, 1 reply; 3+ messages in thread
From: Michael Mueller @ 2004-06-16 6:11 UTC (permalink / raw)
To: gdb-patches
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).
Can someone tell me what the status and planned future of this platform
is? (gdb/MAINTAINERS calls it "(devolved)")
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?
Michael Mueller
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdb for Sun compiled target programs
2004-06-16 6:11 gdb for Sun compiled target programs Michael Mueller
@ 2004-06-16 7:09 ` Mark Kettenis
2004-06-16 17:12 ` Michael Mueller
0 siblings, 1 reply; 3+ messages in thread
From: Mark Kettenis @ 2004-06-16 7:09 UTC (permalink / raw)
To: m.mueller99; +Cc: gdb-patches
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdb for Sun compiled target programs
2004-06-16 7:09 ` Mark Kettenis
@ 2004-06-16 17:12 ` Michael Mueller
0 siblings, 0 replies; 3+ messages in thread
From: Michael Mueller @ 2004-06-16 17:12 UTC (permalink / raw)
To: Mark Kettenis; +Cc: gdb-patches
> 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'm surprised. I have a 64-bit gdb that seems to work with Sun C 5.4. It
only has a couple of minor patches. I will send them one after the
other. I have been debugging my 64-bit gdb with itself.
> 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.
Just done.
--
=== Michael Mueller ==================
Tel. + 49 8171 63600
Fax. + 49 8171 63615
Web: http://www.mm.kay-mueller.de
http://www.planets.kay-mueller.de
======================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-16 17:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-16 6:11 gdb for Sun compiled target programs Michael Mueller
2004-06-16 7:09 ` Mark Kettenis
2004-06-16 17:12 ` Michael Mueller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox