This is the mail archive of the gdb@sourceware.org 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: How to disable Altivec registers in powerpc GDB ?


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



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