[PATCH] Fix handling of #include files during prologue skipping
Tiago Stürmer Daitx
tdaitx@linux.vnet.ibm.com
Thu Jan 24 13:11:00 GMT 2013
Yes, it still shows up. Sorry, should have added this information
before.
Without patch:
$ gdb prologue-include
(gdb) break main
Breakpoint 1 at 0x10000594: file prologue-include.h, line 19.
With patch applied:
$ gdb prologue-include
(gdb) break main
Breakpoint 1 at 0x1000058c: file prologue-include.h, line 18.
--
Tiago Stürmer Daitx
tdaitx@linux.vnet.ibm.com
IBM - Linux Technology Center
On Thu, 2013-01-24 at 13:56 +0100, Ulrich Weigand wrote:
> Tiago Daitx wrote:
>
> > I didn't include one since the header files in gdb.base that I looked at
> > the time didn't have it. I checked it again and noticed that from all 11
> > headers files in there only 1 has a copyright in it
> > (gdb.base/included.h).
> >
> > If a copyright is actually needed I will be happy to include one, so
> > please let me know your answer.
>
> If you do so, please keep in mind that the bug the test case triggered
> depends on (relative) line number values, so please make sure the bug
> actually still shows (with unpatched GDB) after you've added the
> comment lines ...
>
> Bye,
> Ulrich
>
More information about the Gdb-patches
mailing list