This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] set/show enable-software-singlestep
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: Michael Snyder <msnyder at specifix dot com>, gdb-patches at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>
- Date: Thu, 10 Jul 2008 18:47:27 -0400
- Subject: Re: [RFA] set/show enable-software-singlestep
- References: <1214331534.3601.1211.camel@localhost.localdomain> <1214862215.3601.1525.camel@localhost.localdomain> <1215657970.3549.157.camel@localhost.localdomain> <200807101207.19744.pedro@codesourcery.com>
On Thu, Jul 10, 2008 at 12:07:19PM +0100, Pedro Alves wrote:
> I had understood the consensus was that the command would be
> useful for now.
>
> It would be really nice if someone that had a target that
> always required disabling software-singlestepping stepped forward
> to add the GDB/remote smarts to do it automatically, though. ;-)
I'd like to have some conclusion on how normal software single step
and special software single step interact. Are all the things handled
in GDB's software single step routine also the responsibility of any
stub that claims single step support?
Which is not how it works today - we let a powerpc gdbserver single
step most things, but detect atomic sequences in the client. This
avoids duplicating the logic across all stubs, but is slower.
And do these special stepping types get turned off if you disable
software single stepping manually?
--
Daniel Jacobowitz
CodeSourcery