Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Marc Khouzam" <marc.khouzam@ericsson.com>
To: "teawater" <teawater@gmail.com>, <gdb-patches@sourceware.org>
Subject: RE: [RFA] Submit process record and replay third time, 3/9
Date: Tue, 20 Jan 2009 18:32:00 -0000	[thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA06CB06F6@ecamlmw720.eamcs.ericsson.se> (raw)
In-Reply-To: <daef60380901121906y4b35a84cue3f552f2464613a3@mail.gmail.com>

Hi,

again, thanks for the great work on Process Record and Replay.
I almost have the Eclipse DSF-GDB frontent for it.
However I ran into a small issue where a frontend is unable to turn
off Record.  I'm not sure if there should be an MI command corresponding
to the 'record' command, but if I have to use 'record' directly to
turn *off* reverse debugging, I get a prompt

"Process record target already running, do you want to delete the old
record log?(y or [n])"

The prompt is not the problem.  The problem is that the default is 'no'.
I think that when running in a frontend (at least in eclipse), the
default
choice automatically gets selected. Therefore, the frontend cannot turn
off
recording.

Could we make the default to be 'yes'?
I get the feeling there is a better way to handle this... I just don't
know how.

Thanks

Marc


> -----Original Message-----
> From: gdb-patches-owner@sourceware.org 
> [mailto:gdb-patches-owner@sourceware.org] On Behalf Of teawater
> Sent: Monday, January 12, 2009 10:06 PM
> To: gdb-patches@sourceware.org
> Subject: Re: [RFA] Submit process record and replay third time, 3/9
> 
> Update follow the cvs-head.
> 
> On Thu, Jan 8, 2009 at 13:46, teawater <teawater@gmail.com> wrote:
> >
> > This patch add the process record and replay target.  This 
> is the core
> > part of process record and replay.
> >
> > 2009-01-08  Hui Zhu  <teawater@gmail.com>
> >
> >        Process record and replay target.
> >
> >        * Makefile.in (record.c): New file.
> >        * record.c, record.h: New file.
> >
> >        2008-12-28  Michael Snyder  <msnyder@vmware.com>
> >        * Comments, spelling, white space clean-ups.
> >
> >        2008-12-26  Michael Snyder  <msnyder@vmware.com>
> >        * record.h: Don't export record_not_record.
> >        * record.c (record_not_record): Rename to in_record_wait.
> >        (record_not_record_set): Rename to in_record_wait_set.
> >        (record_not_record_cleanup): Rename to 
> in_record_wait_cleanup.
> >        (record_store_registers): Check in_record_wait flag.
> >        (record_xfer_partial): Ditto.
> >
> >        2008-10-07  Michael Snyder  <msnyder@vmware.com>
> >        * record.h (record_exec_direction): Delete.
> >        (RECORD_IS_REPLAY): Consult infrun global direction variable.
> >        * record.c: (record_wait_cleanups): Use infrun state 
> variable.
> >        (record_wait): Ditto.
> >        (record_get_exec_direction, 
> record_set_exec_direction): Remove.
> >        (record_can_execute_reverse): New target method.
> >
> >        2008-10-06  Michael Snyder  <msnyder@vmware.com>
> >        * record.c (displaced_step_fixup): Remove.
> >        (record_message_cleanups): Remove displaced step handling.
> >        (record_message): Remove displaced step handling.
> >
> >        2008-10-06  Michael Snyder  <msnyder@vmware.com>
> >        * record.c (record_regcache_raw_write_regnum): Remove.
> >
> >        2008-10-05  Michael Snyder  <msnyder@vmware.com>
> >        * record.c, record.h: Rename execdir to exec_direction.
> >
> >        2008-10-02  Michael Snyder  <msnyder@vmware.com>
> >        * record.c (record_open): Call target_can_async_p() instead
> >        of relying on a global variable.
> >        * record.h (record_linux_async_permitted): Delete.
> >
> >        2008-09-19  Michael Snyder  <msnyder@vmware.com>
> >        * record.c (trivial): Fix two commas in a comment.
> >        * record.c (record_wait): On end of record log, return
> >        TARGET_WAITKIND_NO_HISTORY and let infrun decide what to do.
> >
> >        2008-09-06  Michael Snyder  <msnyder@vmware.com>
> >        * record.c: Comment and message string cleanup.
> >        Add some function header comments.
> >
> >        2008-08-01  Michael Snyder  <msnyder@specifix.com>
> >        * record.c (_initialize_record): Clarify language in help
> >        strings.
> >        Fix up comment format (period must be followed by 
> two spaces).
> 


  reply	other threads:[~2009-01-20 18:32 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-08  5:46 teawater
2009-01-13  3:06 ` teawater
2009-01-20 18:32   ` Marc Khouzam [this message]
2009-01-20 19:47     ` Marc Khouzam
2009-01-21  0:20       ` teawater
2009-01-21  2:53     ` teawater
2009-01-22 13:23 ` Pedro Alves
2009-01-22 15:23   ` teawater
2009-01-22 22:33     ` Pedro Alves
2009-01-22 22:36       ` Pedro Alves
2009-01-23  0:00         ` teawater
2009-01-23  6:58           ` teawater
2009-01-23 14:56   ` teawater
2009-01-23 15:34     ` Pedro Alves
2009-01-23 15:55       ` teawater
2009-02-02  9:05   ` teawater
2009-02-08 13:03     ` teawater
2009-02-17  7:12       ` teawater
2009-02-17  7:21         ` teawater
2009-02-23 16:05           ` teawater
2009-03-03 20:40             ` Pedro Alves
2009-03-04  3:42               ` teawater
2009-03-09  6:01                 ` teawater
2009-03-09 19:31                 ` Pedro Alves
2009-03-10 17:03                   ` teawater
2009-03-09 20:35             ` Pedro Alves
2009-03-10 17:32               ` teawater
2009-03-10 19:35                 ` Pedro Alves
2009-03-11  1:15                   ` teawater
2009-03-13  0:27                     ` teawater
2009-03-16 11:21                     ` teawater
2009-03-18  8:50                   ` teawater
2009-03-18 13:12                   ` teawater
2009-03-18 13:05               ` teawater
2009-03-18 13:14               ` teawater
2009-03-18 13:54                 ` teawater
2009-02-23 14:08         ` teawater
2009-02-28 10:02           ` teawater

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=6D19CA8D71C89C43A057926FE0D4ADAA06CB06F6@ecamlmw720.eamcs.ericsson.se \
    --to=marc.khouzam@ericsson.com \
    --cc=gdb-patches@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