Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: Hui Zhu <teawater@gmail.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: [discuss] Process record -- save and restore to a file
Date: Tue, 13 Oct 2009 17:22:00 -0000	[thread overview]
Message-ID: <4AD4B619.4060208@vmware.com> (raw)
In-Reply-To: <daef60380910122318q4f9d1e7aj3aebda37492cad2f@mail.gmail.com>

Hui Zhu wrote:
>>  record save <filename>
> I think it is not bad.
> 
>>  record restore <filename>
> I suggest we can make the core load and record together.  Because
> record log is together with core.

Yep!  I think we are all on the same page.

> On Tue, Oct 13, 2009 at 00:11, Michael Snyder <msnyder@vmware.com> wrote:
>> OK, we set this discussion aside over a month ago, until after 7.0.
>> Time to revive it?  Seemed like the implementation discussion had
>> more or less stabilized, and we were mostly still discussing the
>> user interface and docs -- so let's start there.
>>
>>
>> In the last cycle, we had come down to a UI that looked like this:
>>
>> Save recording:
>>  (gdb) record dump <filename>
>>
>> Restore recording:
>>  (gdb) core <filename>
>>  (gdb) record
>>
>>
>> I would like to remark that the "restore" UI is logical but not
>> intuitive.  I think it would be helpful to have a single command eg:
>>
>>  (gdb) record load <filename>
>>
>> which would do the same as the "core" and "record" commands.
>>
>> Secondly, I have a suggestion about the command names.
>> How about
>>  record save <filename>
>>  record restore <filename>
>> instead of
>>  record dump <filename>
>>  record load <filename>
>>
>> What do you guys think?
>>
>>


  reply	other threads:[~2009-10-13 17:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-12 16:15 Michael Snyder
2009-10-12 17:13 ` Tom Tromey
2009-10-12 18:55 ` Eli Zaretskii
2009-10-12 22:58 ` Joel Brobecker
2009-10-13  6:19 ` Hui Zhu
2009-10-13 17:22   ` Michael Snyder [this message]
2009-10-13 18:45 ` Greg Law
2009-10-13 18:58   ` Michael Snyder
2009-10-13 19:08     ` Greg Law
2009-10-13 20:30       ` Michael Snyder
2009-10-14  1:52         ` Hui Zhu

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=4AD4B619.4060208@vmware.com \
    --to=msnyder@vmware.com \
    --cc=gdb@sourceware.org \
    --cc=teawater@gmail.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