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: [RFA] Fix "break foo" when `foo's prologue ends before line table


On Sat, May 09, 2009 at 05:26:16PM +0300, Eli Zaretskii wrote:
> Note that the lineinfo table for the program starts at line 6 at PC
> 0x1748, whereas the function `main' begins at PC 0x172c.

Is this really what the coff file says?  If so, it is a bug in GCC.
If we're at 0x172c, GDB should be able to show which line we're on,
and we're definitely on some line of main.

Is it possible to patch this up in the coff line table reader?

-- 
Daniel Jacobowitz
CodeSourcery


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