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: [patch] Handle absent "/usr/sbin/" in prelink error output.


On Tue, 16 Nov 2010 22:23:35 +0100, Doug Evans wrote:
> On Tue, Nov 16, 2010 at 1:11 PM, Doug Evans <dje@google.com> wrote:
> > --- lib/prelink-support.exp   12 Oct 2010 18:12:49 -0000   Â1.3
> > +++ lib/prelink-support.exp   16 Nov 2010 21:06:58 -0000
> > @@ -221,7 +221,7 @@ proc prelink_no {arg {name {}}} {
> > Â Â }
> > Â Â # Last line does miss the trailing \n. ÂThere can be multiple such messages
> > Â Â # as ARG may list multiple files.
> > - Â Âif {$result == 1 && [regexp {^(/usr/sbin/prelink[^\r\n]*: [^ ]* does not have .gnu.prelink_undo section\n?)*$} $output]} {
> > + Â Âif {$result == 1 && [regexp {^((/usr/sbin/)?prelink[^\r\n]*: [^ ]* does not have .gnu.prelink_undo section\n?)*$} $output]} {
> > Â Â Â Âpass $test
> > Â Â Â Âreturn 1
> > Â Â } else {
> >
> 
> Well, this shouldn't have caused a regression, but break-interp.exp
> breaks badly with it.
> So there's a deeper bug here.  Blech.

I do not have any of the problems reproducible on Fedora 14 x86_64 (which is
understandable as the testcases were written on this platform).  I do not see
why your proposed patch should break anything.

But speaking specifically about gdb.base/attach-pie-misread.exp I am free to
drop it whole.  The problem is very difficult to reliably reproduce, various
memory alignments must match to make the former problem reproducible.


Thanks,
Jan


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