RFA/RFC: Change Sparc64 gdb.asm tests to use -gdwarf2 instead of -gstabs

Nick Clifton nickc@redhat.com
Fri Jul 30 11:55:00 GMT 2004


Hi Mark,

> Not all right!  Nick, did you actually test this patch?  The subject
> of this thread is making sparc64 use -gdwarf2 instead of -gstabs, but
> the patch changes it to -gdwarf-2 (note the extra dash).  This isn't
> accepted by gas on my OpenBSD/amd64 and OpenBSD/sparc64 systems, and
> AFAICT it isn't accepted by the current gas from CVS either.

I did test the patch - but unfortuntately I tested is against a GAS 
built from the CVS sources with a few, work-in-progress, modifications 
of my own applied - including one that supports -gdwarf-2 so that GAS 
would be consistent with the same switches supported by GCC.

I am very sorry about this mistake - I should have used a pristeen 
version of GAS.

I would like to apply the patch below to rectify this problem.  Tested 
with an x86 native host and an sh-elf cross compiler.  Is this OK ?

Cheers
   Nick

gdb/testsuite/ChangeLog
2004-07-30  Nick Clifton  <nickc@redhat.com>

	* gdb.asm/asm-source.exp: Fix typo in previous delta: gdwarf-2
	-> gdwarf2.
	Move -gdwarf2 switch from asm-flags to debug-flags for m6811 and
	m6812.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: asm-source.exp.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20040730/11204ce5/attachment.ksh>


More information about the Gdb-patches mailing list