Stabs or Dwarf Was: [PATCH]: testsuite/gdb.base/constvars.exp

Fernando Nasser fnasser@cygnus.com
Wed Sep 26 13:16:00 GMT 2001


>From a discussion in gdb-patches

Michael Snyder wrote:
> 
> (...) we need some kind of test that applies
> the xfails for stabs and not for dwarf.
> 

There are so many instances where this would be useful that I would
like to suggest a "gdb_debug_format" procedure to be added to gdb.exp
that would determine that.

We could use a binutils utility on the test file (which we know) and
parse the output.  Does that seem reasonable?  Any other suggestions?

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9



More information about the Gdb mailing list