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: [rfc] Relax "printf" function name check in annota* test cases


On Wed, May 14, 2008 at 11:36:22PM +0200, Ulrich Weigand wrote:
> Hello,
> 
> this patch fixes the last regression after Alan's patch was applied:
> some sub-tests of annota1.exp and annota3.exp are now failing because
> when stopped at the "printf" breakpoint, the current function is not
> called printf, but printf@plt.

This is unrelated to the annota tests, as you said... but the
breakpoint is at "printf", isn't it?  Why are we stopping at
printf@plt instead of the definition when we know glibc is loaded?

Maybe this comes back to the two names trouble?

I have no objection to relaxing this test but I'm wondering if we need
another.

-- 
Daniel Jacobowitz
CodeSourcery


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