From: Hui Zhu <hui@codesourcery.com>
To: Yao Qi <yao@codesourcery.com>, Hui Zhu <teawater@gmail.com>
Cc: <gdb@sourceware.org>
Subject: Re: [DIscussion] some thought about call a editor set the commands of breakpoints and tracepoints
Date: Mon, 18 Mar 2013 09:33:00 -0000 [thread overview]
Message-ID: <5146DF47.4020407@codesourcery.com> (raw)
In-Reply-To: <51467ADB.10708@codesourcery.com>
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
prev parent reply other threads:[~2013-03-18 9:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 16:17 Hui Zhu
2013-03-15 15:39 ` Tom Tromey
2013-03-15 15:55 ` Hui Zhu
2013-03-15 18:27 ` Tom Tromey
2013-03-18 2:25 ` Yao Qi
2013-03-18 9:33 ` Hui Zhu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5146DF47.4020407@codesourcery.com \
--to=hui@codesourcery.com \
--cc=gdb@sourceware.org \
--cc=teawater@gmail.com \
--cc=yao@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox