This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: cope with varying prelink base addresses
On Fri, 24 Feb 2006 01:42:46 -0300
Alexandre Oliva <aoliva@redhat.com> wrote:
> On Feb 23, 2006, Daniel Jacobowitz <drow@false.org> wrote:
>
> > On Thu, Feb 23, 2006 at 05:18:11PM -0300, Alexandre Oliva wrote:
> >> On Feb 20, 2006, Daniel Jacobowitz <drow@false.org> wrote:
> >>
> >> > 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?
> >>
> >> Isn't gcc_compiled only set when you actually try to compile
> >> something? That was my impression when I tried the test earlier,
> >> before I submitted the first version of this patch.
>
> > Once upon a time get_compiler_info needed $binfile. Now the argument
> > is ignored, so you can move get_compiler_info up before the
> > compilation.
>
> Aha! Ok, this should work, then (tested on GNU/Linux/x86_64)
>
> Ok to install?
Yes, please commit this patch.
Kevin