This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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.
Thanks, Hui
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |