From: Elena Zannoni <ezannoni@redhat.com>
To: Richard Henderson <rth@twiddle.net>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] fix dump.exp tests for alpha
Date: Mon, 02 Jun 2003 13:39:00 -0000 [thread overview]
Message-ID: <16091.21763.591279.913925@localhost.redhat.com> (raw)
In-Reply-To: <20030602075810.GA7898@twiddle.net>
Richard Henderson writes:
> All of the "read it back in" tests failed because none of
> the formats can handle 64-bit addresses, afaik.
>
> Adding the linker switch to force the application into
> the low 31 bits allows all of the tests to pass.
>
> Ok?
>
Sure.
elena
>
> r~
>
>
> * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
>
> Index: gdb.base/dump.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/dump.exp,v
> retrieving revision 1.2
> diff -c -p -d -r1.2 dump.exp
> *** gdb.base/dump.exp 6 Feb 2003 06:36:24 -0000 1.2
> --- gdb.base/dump.exp 2 Jun 2003 07:52:44 -0000
> *************** set testfile "dump"
> *** 31,38 ****
>
> set srcfile ${testfile}.c
> set binfile ${objdir}/${subdir}/${testfile}
>
> ! if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
> gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
> }
>
> --- 31,45 ----
>
> set srcfile ${testfile}.c
> set binfile ${objdir}/${subdir}/${testfile}
> + set options {debug}
>
> ! if [istarget "alpha*-*-*"] then {
> ! # SREC etc cannot handle 64-bit addresses. Force the test
> ! # program into the low 31 bits of the address space.
> ! lappend options "additional_flags=-Wl,-taso"
> ! }
> !
> ! if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ${options}] != "" } {
> gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
> }
>
prev parent reply other threads:[~2003-06-02 13:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-02 7:58 Richard Henderson
2003-06-02 13:39 ` Elena Zannoni [this message]
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=16091.21763.591279.913925@localhost.redhat.com \
--to=ezannoni@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=rth@twiddle.net \
/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