Re: GDB Focus Group at the 2008 GCC Summit

Nick Roberts
2008-06-23T22:22:40Z

> The IDE is responsible for removing & reinserting breakpoints at the
> correct line numbers. If you had a breakpoint on main.c:35 and you
> added a couple of lines of code earlier in the file, that breakpoint
> needs to be moved to main.c:37.

Quite apart from fix and continue, it would be useful when GDB realises that
an executable has been recompiled and says:

`myprog' has changed; re-reading symbols.

if it could also compute and print the new breakpoint locations, possibly
only in MI as an event notification ("=breakpoints-changed").

--
Nick http://www.inet.net.nz/~nickrob