Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* The SPARC target
@ 2003-08-17 20:48 Mark Kettenis
  2003-08-17 20:51 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Kettenis @ 2003-08-17 20:48 UTC (permalink / raw)
  To: gdb; +Cc: obrien

Folks,

The SPARC target has been unmaintained for quite some time now[1]
(since november 2001) and it shows.  It doesn't compile on FreeBSD,
and running the testsuite on FreeBSD/sparc64 (after fixing it),
Solaris 2.8 and NetBSD/sparc results in hundreds of unexpected
failures with quite a few unresolved testcases.  I think the target is
bordering on (un)usability.

It's obvious what's wrong: the code is in a very bad shape.  It's
deprecation and obsoletion everywhere.  It's gotten to a point where
*I* can't make any sense out of it anymore.  Instead of fixing the old
broken code, I started implementing a FreeBSD/sparc64 target from
scratch.  Even though my work isn't finished yet, it already does a
better job than the existing SPARC target.  Of course it uses the new
unwinder framework.  I hope to be able to finish it in the coming
weeks, and check it in alongide the old code.  The new target is
64-bit only (which is fine for FreeBSD/sparc64), but I have
anticipated on writing the 32-bit bits.  When those are ready I intend
to convert all "active" SPARC targets to use the new code, replacing
the old 32-bit code with the new 32-bit code.  Unfortunately, I won't
be able to test all SPARC targets.  As a result we'll probably end up
with a number of broken SPARC targets.  Consider this message as a
HEADS UP.

Mark

[1] Maintenance only since november 2001 according to the CVS hostory
of the MAINTAINERS file.


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: The SPARC target
@ 2003-08-18 17:48 Jiri Gaisler
  2003-08-23 23:03 ` Mark Kettenis
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Gaisler @ 2003-08-18 17:48 UTC (permalink / raw)
  To: gdb


Mark Kettenis wrote:

> Folks,
> 
> The SPARC target has been unmaintained for quite some time now[1]
> (since november 2001) and it shows.  It doesn't compile on FreeBSD,
> and running the testsuite on FreeBSD/sparc64 (after fixing it),
> Solaris 2.8 and NetBSD/sparc results in hundreds of unexpected
> failures with quite a few unresolved testcases.  I think the target is
> bordering on (un)usability.


I would like to point out that the sparc port works quite well
for embedded (o/s unaware) 32-bit targets, at least up to gdb-5.3 .
There are some (minor) quirks with stack unwinding to form the
function backtrace, but overall it makes a good job. If you make
a new (64-bit) backend, could the old 32-bit backend remain, at
least the O/S independent parts?

Thanks, Jiri Gaisler.
-- 
-------------------------------------------------------------------------
Gaisler Research, Stora Nygatan 13, 41108 Goteborg, Sweden, +46-31802405
fax: +46-31802407 email: info@gaisler.com, home page: www.gaisler.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-08-24 19:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-17 20:48 The SPARC target Mark Kettenis
2003-08-17 20:51 ` Daniel Jacobowitz
2003-08-18 17:48 Jiri Gaisler
2003-08-23 23:03 ` Mark Kettenis
2003-08-24 19:12   ` Jiri Gaisler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox