Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RFA/RFC: Change Sparc64 gdb.asm tests to use -gdwarf2 instead of -gstabs
@ 2004-07-26 12:59 Nick Clifton
       [not found] ` <41051014 dot nailLY111456S at mindspring dot com>
  2004-07-26 14:07 ` Michael Chastain
  0 siblings, 2 replies; 8+ messages in thread
From: Nick Clifton @ 2004-07-26 12:59 UTC (permalink / raw)
  To: gdb-patches

Hi Guys,

  I would like permission to apply the following patch.  It changes
  the switch used to generate debugging information for Sparc64
  targets from -gstabs to -gdwarf2.

  This patch might be controversial however since although DWARF2 is a
  more modern debug format when compared to STABS, there is also a
  second motive for the change: GAS does not generate correct relocs
  for Sparc64 STABS debug information.  So this patch works around a
  known failure in GAS, which means that possibly the problem might be
  forgotten.

Cheers
    Nick

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

	* gdb.asm/asm-source.exp: Use -gdwarf2 in preference to
	-gstabs for Sparc64.

Index: gdb/testsuite/gdb.asm/asm-source.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v
retrieving revision 1.50
diff -c -3 -p -r1.50 asm-source.exp
*** gdb/testsuite/gdb.asm/asm-source.exp	25 May 2004 04:07:05 -0000	1.50
--- gdb/testsuite/gdb.asm/asm-source.exp	26 Jul 2004 12:53:52 -0000
*************** switch -glob -- [istarget] {
*** 95,101 ****
      }
      "sparc64-*-*" {
          set asm-arch sparc64
!         set asm-flags "-xarch=v9 -gstabs -I${srcdir}/${subdir} -I${objdir}/${subdir}"
      }
      "xstormy16-*-*" {
          set asm-arch xstormy16
--- 95,101 ----
      }
      "sparc64-*-*" {
          set asm-arch sparc64
!         set asm-flags "-xarch=v9 -gdwarf2 -I${srcdir}/${subdir} -I${objdir}/${subdir}"
      }
      "xstormy16-*-*" {
          set asm-arch xstormy16
  


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

end of thread, other threads:[~2004-07-30 11:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-26 12:59 RFA/RFC: Change Sparc64 gdb.asm tests to use -gdwarf2 instead of -gstabs Nick Clifton
     [not found] ` <41051014 dot nailLY111456S at mindspring dot com>
2004-07-26 14:07 ` Michael Chastain
2004-07-26 17:31   ` Nick Clifton
2004-07-26 23:55     ` Michael Chastain
2004-07-29 23:03       ` Mark Kettenis
2004-07-29 23:38         ` Michael Chastain
2004-07-30  0:07           ` Mark Kettenis
2004-07-30 11:55         ` Nick Clifton

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