[rfc] Remove some empty lines from the linetable
Daniel Jacobowitz
drow@false.org
Mon Oct 1 20:59:00 GMT 2007
On Mon, Oct 01, 2007 at 01:49:43PM -0700, Joel Brobecker wrote:
> There is one thing I am not sure about, though. In your patch,
> you still add the end-of-sequence marker. So you eliminate the
> empty line 58, but keep it's associated line 0 entry. I guess
> we have to in the following case:
>
> line 57 @ 0x1234
> line 58 @ 0x1240
> line 0 @ 0x1240
>
> We need this because otherwise we'd record the wrong end-address
> for line 57.
Right. Sometimes we end up with two zeros in a row this way, which is
useless and ugly but harmless.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list