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]

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


On 03/18/13 10:24, Yao Qi wrote:
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.


I am not sure about that. This "source" is the "source" of the code. Not the "source" command of GDB. I'm afraid it will confuse the user.


Thanks,
Hui


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]