[rfc, spu] Don't call set_gdbarch_cannot_step_breakpoint in spu_gdbarch_init

Ulrich Weigand uweigand@de.ibm.com
Tue Apr 7 12:45:00 GMT 2015


Pedro Alves wrote:

> Ulrich, any idea why cannot_step_breakpoint was ever needed
> for the SPU?

It's been set since spu-tdep.c was committed upstream, and in
fact it's set in every single version in our internal repositories
of the code before it went upstream, too.  (Going back over 10 years.)

But I don't know why it was added either, since SPU has been using
software single-step forever too, and even the very first version of
GDB we patched to support SPU would ignore cannot_step_breakpoint
for software single-step architectures ...

So I'd say just go ahead and remove it.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list