This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/RFC] Add dump and load command to process record and replay
On Fri, Aug 7, 2009 at 17:52, Eli Zaretskii<eliz@gnu.org> wrote:
>> From: Hui Zhu <teawater@gmail.com>
>> Date: Fri, 7 Aug 2009 17:21:57 +0800
>> Cc: msnyder@vmware.com, gdb-patches@sourceware.org
>>
>> On Fri, Aug 7, 2009 at 16:39, Eli Zaretskii<eliz@gnu.org> wrote:
>> >> From: Hui Zhu <teawater@gmail.com>
>> >> Date: Fri, 7 Aug 2009 11:34:20 +0800
>> >> Cc: Eli Zaretskii <eliz@gnu.org>, "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
>> >>
>> >> I think a warning is clear to most of people.
>> >>
>> >> And when he get this warning. ?He can delete the record list and load
>> >> again. ?He will lost nothing.
>> >>
>> >> If we delete the old record list, maybe he still need old record. ?He
>> >> will lost something.
>> >
>> > Instead of a warning, how about asking the user whether to discard the
>> > old records or keep them?
>> >
>>
>> Agree. ?What about a query?
>
> Sorry, I'm not sure I understand the question. ?If you are asking how
> to word the question we ask the user, here's my proposal:
>
> ?Keep the existing execution log? (yes or no)
>
> I think the default should be NO, so that this does TRT when invoked
> non-interactively. ?If you agree, you need to use `nquery' for this
> question.
>
Looks like user interface's people don't like yquery and nquery, maybe
we can use query directly.
Thanks,
Hui