How to disable Altivec registers in powerpc GDB ?

James Murray james@nscc.info
Fri May 1 14:32:00 GMT 2015


On Fri, 2015-05-01 at 14:56 +0100, Yao Qi wrote:
> Your debug stub/probe should return the right target description for
> your processor, to tell GDB that processor doesn't have these altivec
> registers.  See
> https://sourceware.org/gdb/current/onlinedocs/gdb/Target-Descriptions.html
> 

Many thanks for that.

I've created a target description from the examples in the gdb source
and then used:

set tdesc filename ppc32.xml

and it works!

regards

James Murray




More information about the Gdb mailing list