Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: James Murray <james@nscc.info>
To: gdb@sourceware.org
Cc: Yao Qi <qiyaoltc@gmail.com>
Subject: Re: How to disable Altivec registers in powerpc GDB ?
Date: Fri, 01 May 2015 14:32:00 -0000	[thread overview]
Message-ID: <1430490783.31953.301.camel@jsm3> (raw)
In-Reply-To: <861tj0wgdy.fsf@gmail.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



      reply	other threads:[~2015-05-01 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30 23:44 James Murray
2015-05-01 13:56 ` Yao Qi
2015-05-01 14:32   ` James Murray [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1430490783.31953.301.camel@jsm3 \
    --to=james@nscc.info \
    --cc=gdb@sourceware.org \
    --cc=qiyaoltc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox