This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to eliminate SOFTWARE_SINGLE_STEP from ppc Was: Powerpc and software single step


>>>>> "DJ" == Daniel Jacobowitz <drow@mvista.com> writes:

 DJ> On Mon, Sep 08, 2003 at 02:58:30PM -0400, Jimi Xenidis wrote:
 >> >>>>> "AC" == Andrew Cagney <ac131313@redhat.com> writes:
 >> 
 AC> What about a patch to eliminate the macros?  Good incremental step.
 >> 
 >> Your wish is my (very much delayed) command ;-)

 DJ> Eh, no.  This patch would turn on software single-step for GNU/Linux

This patch simply removes the macro definitions.  It does _not_ turn
on software single step for GNU/Linux since the macro tests for the
gdbarch vector which is NULL because it is undefined, but it is
defined for AIX.

I have verified this by both watching it with gdb and with strace
output.

 DJ>  also I doubt that's what you wanted to do.

You are right in that it is not what I wanted when this whole thing
started, but it was suggested that I remove the macro before I propose
the ability to select SW over HW at runtime.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]