This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MI: changing breakpoint location
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: ghost at cs dot msu dot su, gdb at sources dot redhat dot com
- Date: Fri, 17 Mar 2006 13:36:46 +0200
- Subject: Re: MI: changing breakpoint location
- References: <dvc0k6$fgm$1@sea.gmane.org> <17433.61359.500131.182453@kahikatea.snap.net.nz>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Nick Roberts <nickrob@snap.net.nz>
> Date: Fri, 17 Mar 2006 12:07:27 +1300
> Cc: gdb@sources.redhat.com
>
> > Now, I have to delete the old breakpoint and create the new one, which is
> > workable, but not convenient.
>
> I don't find a problem with that, but it would be nice if when a program is
> edited and recompiled that GDB could track the line number. So, for example
> if the breakpoint is on line 10, say, and lines 4 and 5 are deleted, then
> after recompiling and restarting, its on line 8.
I agree. When I saw the first message of this thread, I immediately
thought that this was the reason for Volodya to ask for that feature.
But even if Volodya did not think about this, I think such a feature
will be good to have.