This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Relax "printf" function name check in annota* test cases
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 14 May 2008 18:00:55 -0400
- Subject: Re: [rfc] Relax "printf" function name check in annota* test cases
- References: <200805142136.m4ELaM2F018037@d12av02.megacenter.de.ibm.com>
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