public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* More debug info test directories?
@ 2003-08-19 13:24 Andrew Cagney
  2003-08-19 13:28 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2003-08-19 13:24 UTC (permalink / raw)
  To: gdb

Hello,

The gdb.stabs directory, while weird :-^, is probably a good unit test. 
  What do people think of additional debug info directories vis:

gdb.dw2
gdb.dw1

(I'm desperate for better names :-) that contain files of raw debug 
info.  It would let people test the various readers without needing a 
corresponding compiler.

thoughts?
Andrew

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

* Re: More debug info test directories?
  2003-08-19 13:24 More debug info test directories? Andrew Cagney
@ 2003-08-19 13:28 ` Daniel Jacobowitz
  2003-08-28 20:16   ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2003-08-19 13:28 UTC (permalink / raw)
  To: gdb

On Tue, Aug 19, 2003 at 09:24:27AM -0400, Andrew Cagney wrote:
> Hello,
> 
> The gdb.stabs directory, while weird :-^, is probably a good unit test. 
>  What do people think of additional debug info directories vis:
> 
> gdb.dw2
> gdb.dw1
> 
> (I'm desperate for better names :-) that contain files of raw debug 
> info.  It would let people test the various readers without needing a 
> corresponding compiler.
> 
> thoughts?

Absolutely a good idea.  What do you think about letting these use the
.inc files in gdb.asm?  Writing raw dwarf2 could require arch hooks,
unless you want to point all offsets at constant addresses instead of
at a variable's actual location.  For instance some architectures need
to use .word vs .quad.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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

* Re: More debug info test directories?
  2003-08-19 13:28 ` Daniel Jacobowitz
@ 2003-08-28 20:16   ` Andrew Cagney
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2003-08-28 20:16 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb


> Absolutely a good idea.  What do you think about letting these use the
> .inc files in gdb.asm?  Writing raw dwarf2 could require arch hooks,
> unless you want to point all offsets at constant addresses instead of
> at a variable's actual location.  For instance some architectures need
> to use .word vs .quad.

Ah.  If it's needed.

Andrew


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

* Re: More debug info test directories?
@ 2003-08-19 17:57 Michael Elizabeth Chastain
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Elizabeth Chastain @ 2003-08-19 17:57 UTC (permalink / raw)
  To: ac131313, gdb

> What do people think of additional debug info directories vis:
> 
> gdb.dw2
> gdb.dw1

Sounds good to me.

Why not call them gdb.dwarf-1 and gdb.dwarf-2?  Oh, because of
the 8.3 uniqueness requirement.  Sigh.

Well, you could re-visit the issue of dwarf-1 support first.  It may be
too early to remove dwarf-1 support, but I think it's okay to not add
any more dwarf-1 tests.  The existing test suite gave, like, 50 ERRORs
and 3500 FAILs the last time I ran it.  And the only dwarf-1 compilers
I know about are Absoft, Diab, and SCO's version of gcc.

Michael C

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

end of thread, other threads:[~2003-08-28 20:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-19 13:24 More debug info test directories? Andrew Cagney
2003-08-19 13:28 ` Daniel Jacobowitz
2003-08-28 20:16   ` Andrew Cagney
2003-08-19 17:57 Michael Elizabeth Chastain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).