[DIscussion] some thought about call a editor set the commands of breakpoints and tracepoints

Tom Tromey tromey@redhat.com
Fri Mar 15 15:39:00 GMT 2013


>>>>> "Hui" == Hui Zhu <teawater@gmail.com> writes:

Hui> So I thought why not let gdb call a editor set the commands of
Hui> breakpoints and tracepoints?
Hui> For example:
Hui> commands -e 1
Hui> Then editor come out, the original commands of 1 is inside there.  You
Hui> can just change some lines in there to change the commands.

Hui> What do you think about it?  Any comments is always welcome.

I think it would be a good idea.
Actually I vaguely recall that there was a patch for this before.

Tom



More information about the Gdb mailing list