Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: RFA/RFC: Change Sparc64 gdb.asm tests to use -gdwarf2 instead of -gstabs
Date: Mon, 26 Jul 2004 12:59:00 -0000	[thread overview]
Message-ID: <m3oem29ap2.fsf@redhat.com> (raw)

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
  


             reply	other threads:[~2004-07-26 12:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-26 12:59 Nick Clifton [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3oem29ap2.fsf@redhat.com \
    --to=nickc@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox