This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How to disable Altivec registers in powerpc GDB ?
- From: James Murray <james at nscc dot info>
- To: gdb at sourceware dot org
- Cc: Yao Qi <qiyaoltc at gmail dot com>
- Date: Fri, 01 May 2015 15:33:03 +0100
- Subject: Re: How to disable Altivec registers in powerpc GDB ?
- Authentication-results: sourceware.org; auth=none
- References: <1430437509 dot 31953 dot 298 dot camel at jsm3> <861tj0wgdy dot fsf at gmail dot com>
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