Re: How to disable Altivec registers in powerpc GDB ?

James Murray <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <1430490783.31953.301.camel@jsm3>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.