This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: cope with varying prelink base addresses
- From: Daniel Jacobowitz <drow at false dot org>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, cagney at redhat dot com
- Date: Mon, 20 Feb 2006 12:43:27 -0500
- Subject: Re: cope with varying prelink base addresses
- References: <ormzh2zawm.fsf@livre.oliva.athome.lsd.ic.unicamp.br>
On Wed, Feb 08, 2006 at 03:18:01AM -0200, Alexandre Oliva wrote:
> I'd appreciate if whoever reviews this would pay particular attention
> to the gdb testcase; it's the first time I write one, and I could use
> some guidance to make sure I'm not making undeserved assumptions.
> It's bad enough that I have to use compile- and run-time flags that
> will likely only work with GCC and GNU ld, and that the test requires
> the prelink program to be in the PATH; I hope I'm coping well with
> cases in which the flags are not accepted or prelink is not in place.
The testcase behaves on Solaris, where there's no prelink binary. I'm
a little worried about it being noisy where -shared doesn't work,
and with various non-GCC tools. Maybe move the gcc_compiled check
further up?
Oh, and please add copyright notices to the testsuite files; they're
pretty trivial, but we're trying to be consistent about that.
--
Daniel Jacobowitz
CodeSourcery