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

Yao Qi
2013-03-18T02:25:37Z

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

FWIW, GDB already has a command 'edit' which is to invoke editor to edit
source file http://sourceware.org/gdb/current/onlinedocs/gdb/Edit.html

It may be extended to edit breakpoint commands.

--
Yao (é½å°§)