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

Tom Tromey
2013-03-15T15:39:56Z

>>>>> "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