This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Different output from -gdb-show than show
- From: Marc Khouzam <marc dot khouzam at ericsson dot com>
- To: "'Pedro Alves'" <pedro at codesourcery dot com>
- Cc: "'Michael Snyder'" <msnyder at vmware dot com>, "'gdb at sourceware dot org'" <gdb at sourceware dot org>
- Date: Wed, 1 Sep 2010 11:37:16 -0400
- Subject: RE: Different output from -gdb-show than show
- References: <F7CE05678329534C957159168FA70DEC571703485B@EUSAACMS0703.eamcs.ericsson.se> <201008312102.50990.pedro@codesourcery.com> <F7CE05678329534C957159168FA70DEC5717034CDE@EUSAACMS0703.eamcs.ericsson.se> <201008312127.48439.pedro@codesourcery.com>
> -----Original Message-----
> From: Pedro Alves [mailto:pedro@codesourcery.com]
> Sent: Tuesday, August 31, 2010 4:28 PM
> To: Marc Khouzam
> Cc: 'Michael Snyder'; 'gdb@sourceware.org'
> Subject: Re: Different output from -gdb-show than show
>
> On Tuesday 31 August 2010 21:10:41, Marc Khouzam wrote:
> > > Yes. You may want to issue an "-gdb-set exec-direction forward"
> > > upfront to clean up any stale state from a previous run/target
> > > as well...
> >
> > Should be new sessions every time with Eclipse (at least for now).
> >
> > > Also, it may wreck havoc in non-stop if the target is
> > > already executing...
> >
> > You are right. Thanks for pointing it out.
> > Nothing I can do in that case then?
>
> I can't think of anything, sorry.
>
> > > I think listing support for reverse
> > > in "-list-target-features" would be nice?
> >
> > Definitely sounds like there should be some way to get that info.
>
> Want to post a patch? :-) It should be a two liner addition to
> mi-main.c:mi_cmd_list_target_features, plus a similar sized mention
> in the docs.
I'll give it a go and post it separately on gdb-patches.
Thanks for the pointer
Marc