Re: [RFA] Fix "break foo" when `foo's prologue ends before line table

Daniel Jacobowitz
2009-05-11T19:42:57Z

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