[patch] "single step" atomic instruction sequences as a whole.

Luis Machado luisgpm@linux.vnet.ibm.com
Thu Apr 12 12:09:00 GMT 2007


Daniel,

Thanks for your reply. The syntax problem was corrected.

I've ran the gdb_mbuild.sh script and had no problems that are directly
related to my patch. I had a compilation problem with the spu-elf, but
that seems to be in cvs-HEAD as well. I also changed the return type of
the software single step method for spu-elf and the local return values
from the method ("return" to "return 1"), since they were still void.

The wince.c file modification was droped due to its removal from the
tree.

> Could you post a patch which changes the type of the
> software_single_step gdbarch method to return int, updates infrun.c,
> and nothing else?  Then we can look at the PowerPC bits (which are
> more interesting) separately.

Attached follows the patch that only changes the infrun bits and also
the return type of the software_single_step methods for various archs.

> When you're editing a bunch of tdep files, please use the
> gdb_mbuild.sh script to make sure they all still compile.

Thanks for the hint on this.

Regards,
Luis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: single_stepping.diff
Type: text/x-patch
Size: 15467 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070412/e727a410/attachment.bin>


More information about the Gdb-patches mailing list