This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [DIscussion] some thought about call a editor set the commands of breakpoints and tracepoints
- From: Tom Tromey <tromey at redhat dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 15 Mar 2013 09:39:41 -0600
- Subject: Re: [DIscussion] some thought about call a editor set the commands of breakpoints and tracepoints
- References: <CANFwon0Crvo48sL0WGZ+xZ7TSDoVeEE4NeMM=4Ry0w-U39=4Jg@mail.gmail.com>
>>>>> "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