public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Marc Khouzam <marc.khouzam@ericsson.com>
To: "'gdb-patches@sourceware.org'" <gdb-patches@sourceware.org>
Cc: "'pedro@codesourcery.com'" <pedro@codesourcery.com>,
	       "'Eli Zaretskii'"	<eliz@gnu.org>,
	       "'msnyder@vmware.com'" <msnyder@vmware.com>
Subject: RE: [patch] Adding 'reverse' to -list-target-features
Date: Wed, 01 Sep 2010 19:19:00 -0000	[thread overview]
Message-ID: <F7CE05678329534C957159168FA70DEC5717077395@EUSAACMS0703.eamcs.ericsson.se> (raw)
In-Reply-To: <F7CE05678329534C957159168FA70DEC571703544C@EUSAACMS0703.eamcs.ericsson.se>

> -----Original Message-----
> From: gdb-patches-owner@sourceware.org 
> [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Marc Khouzam
> Sent: Wednesday, September 01, 2010 12:44 PM
> To: 'Eli Zaretskii'
> Cc: 'gdb-patches@sourceware.org'; 'pedro@codesourcery.com'; 
> 'msnyder@vmware.com'
> Subject: RE: [patch] Adding 'reverse' to -list-target-features
> 
>  
> 
> > -----Original Message-----
> > From: Eli Zaretskii [mailto:eliz@gnu.org] 
> > Sent: Wednesday, September 01, 2010 12:41 PM
> > To: Marc Khouzam
> > Cc: gdb-patches@sourceware.org; pedro@codesourcery.com; 
> > msnyder@vmware.com
> > Subject: Re: [patch] Adding 'reverse' to -list-target-features
> > 
> > > From: Marc Khouzam <marc.khouzam@ericsson.com>
> > > Date: Wed, 1 Sep 2010 12:13:32 -0400
> > > 
> > > +@item reverse
> > > +Indicates that the target is capable of reverse execution.
> > 
> > This is okay, but please add a cross-reference to where reverse
> > execution is described.
> 
> 
> Updated the docs:
> 
> 2010-09-01  Marc Khouzam  <marc.khouzam@ericsson.com>
> 
>        * mi/mi-main.c (mi_cmd_list_target_features): Add `reverse'
>        as a feature reported by -list-target-features.
> 
> 2010-09-01  Marc Khouzam  <marc.khouzam@ericsson.com>
>        * gdb.texinfo (GDB/MI Miscellaneous Commands): Document new
>        feature `reverse' output by -list-target-features.
> 
> Index: gdb/doc/gdb.texinfo
> ===================================================================
> RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
> retrieving revision 1.761
> diff -u -r1.761 gdb.texinfo
> --- gdb/doc/gdb.texinfo 31 Aug 2010 14:45:41 -0000      1.761
> +++ gdb/doc/gdb.texinfo 1 Sep 2010 16:42:07 -0000
> @@ -29030,6 +29030,10 @@
>  execution, which means that @value{GDBN} will accept further commands
>  while the target is running.
>  
> +@item reverse
> +Indicates that the target is capable of reverse execution.
> +@xref{Reverse Execution}, for more information.
> +
>  @end table
>  
>  @subheading The @code{-list-thread-groups} Command
> Index: gdb/mi/mi-main.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/mi/mi-main.c,v
> retrieving revision 1.180
> diff -u -r1.180 mi-main.c
> --- gdb/mi/mi-main.c    13 Aug 2010 13:22:44 -0000      1.180
> +++ gdb/mi/mi-main.c    1 Sep 2010 16:42:07 -0000
> @@ -1700,6 +1700,8 @@
>        cleanup = make_cleanup_ui_out_list_begin_end (uiout, 
> "features");      
>        if (target_can_async_p ())
>         ui_out_field_string (uiout, NULL, "async");
> +      if (target_can_execute_reverse)
> +       ui_out_field_string (uiout, NULL, "reverse");
>        
>        do_cleanups (cleanup);
>        return;


Committed to HEAD and 7.2

Thanks

Marc

  parent reply	other threads:[~2010-09-01 19:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 16:14 Marc Khouzam
2010-09-01 16:39 ` Eli Zaretskii
2010-09-01 16:44   ` Marc Khouzam
2010-09-01 17:02     ` Eli Zaretskii
2010-09-01 19:19     ` Marc Khouzam [this message]
2010-09-01 16:44 ` Pedro Alves

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=F7CE05678329534C957159168FA70DEC5717077395@EUSAACMS0703.eamcs.ericsson.se \
    --to=marc.khouzam@ericsson.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=msnyder@vmware.com \
    --cc=pedro@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).