This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Patch to eliminate SOFTWARE_SINGLE_STEP from ppc Was: Powerpc and software single step
- From: Jimi Xenidis <jimix at watson dot ibm dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gdb-patches at sources dot redhat dot com, Andrew Cagney <ac131313 at redhat dot com>
- Date: Mon, 8 Sep 2003 16:16:47 -0400
- Subject: Re: Patch to eliminate SOFTWARE_SINGLE_STEP from ppc Was: Powerpc and software single step
- References: <16194.58265.207405.586920@kitch0.watson.ibm.com><20030820030931.GA2109@nevyn.them.org><3F4398EC.2050405@redhat.com><16195.39851.78762.619597@kitch0.watson.ibm.com><3F4440F0.30007@redhat.com><16198.6133.411978.563514@kitch0.watson.ibm.com><3F463CA9.5000900@redhat.com><16198.21410.308896.588372@kitch0.watson.ibm.com><3F465EFD.9020700@redhat.com><16220.53590.956496.102996@kitch0.watson.ibm.com><20030908190016.GB24747@nevyn.them.org>
>>>>> "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.