[RFA/RFC] Add dump and load command to process record and replay

Eli Zaretskii eliz@gnu.org
Fri Aug 7 12:51:00 GMT 2009


> 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.



More information about the Gdb-patches mailing list