This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Designs for better debug info in GCC
On Wed, 2007-12-19 at 10:00 -0800, Ian Lance Taylor wrote:
> One way to make a principled choice is to consider the line notes we
> are going to emit with the debugging information. Presumably we do
> not have the goal of emitting correct debug information in between
> line notes--e.g., when using the "stepi" command in gdb. Our goal is
> to emit correct debug information at the points where a debugger would
> naturally stop--the notes for where a line starts.
Debugging in between line notes is important for core files and
when moving up and down the call stack, so at such locations the
debugger needs to at least know whether debug information is
reliable or not.
Janis