[DIscussion] some thought about call a editor set the commands of breakpoints and tracepoints
Yao Qi
yao@codesourcery.com
Mon Mar 18 02:25:00 GMT 2013
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 (é½å°§)
More information about the Gdb
mailing list