This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cope with varying prelink base addresses


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.

> > Oh, and please add copyright notices to the testsuite files; they're
> > pretty trivial, but we're trying to be consistent about that.
> 
> Done, thanks for the info, I didn't realize that because other
> testcases I looked at didn't have any.

Yes - retrofitting this is a bit tricky because some older testcases
depend on line numbers.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]