Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Richard Earnshaw <rearnsha@arm.com>
To: Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PING][PATCH] Add support for accessing VFP registers to ARM 	native Linux
Date: Fri, 19 Mar 2010 11:22:00 -0000	[thread overview]
Message-ID: <1268997709.6009.11.camel@e200601-lin.cambridge.arm.com> (raw)
In-Reply-To: <1268664534.12300.0.camel@e102111-lin.cambridge.arm.com>


On Mon, 2010-03-15 at 14:48 +0000, Matthew Gretton-Dann wrote:
> All,
> 
> The attached patch adds support for VFP registers to GDB running
> natively under ARM Linux.  The patch is based in large part on the
> equivalent functionality in gdbserver for remote debugging of ARM Linux.
> 
> I have tested it with arm-unknown-linux-gnueabi on a target with Neon,
> one with VFPv3-D16, one with VFPv2, and a target without VFP.  I have
> also tested it on arm-none-linux on a target without VFP.  The patch has
> not been tested on an XScale as I do not have access to an appropriate
> device.
> 
> Can someone please review the patch, comment, and if appropriate commit
> it?
> 
> Proposed ChangeLog: 
> 
> 2010-03-01  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
> 
> 	* arm-tdep.h (gdb_regnum): Add ARM_FPSCR_REGNUM
> 	* arm-linux-nat.c (arm_linux_vfp_register_count): Add new
> 	variable.
> 	(fetch_vfp_registers): New function to fetch VFP registers.
> 	(store_vfp_registers): New function to store VFP registers.
> 	(arm_linux_fetch_inferior_registers): Add support for VFP
> 	registers.
> 	(arm_linux_store_inferior_registers): Likewise.
> 	(arm_linux_read_description): Likewise.
> 	(arm_read_auxv, arm_get_hwcap): New function.
> 	(_initialize_arm_linux_nat): Delay initialising iWMMX tdesc
> 	until we need it.
> 
> Thanks,

OK once you've fixed:

+static void
+store_vfp_regs (const struct regcache *regcache)
...
+      warning (_("Unable to fetch VFPv3 registers."));
                             ^^^^^
s/fetch/store/


  reply	other threads:[~2010-03-19 11:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 14:49 Matthew Gretton-Dann
2010-03-19 11:22 ` Richard Earnshaw [this message]
2010-03-19 13:02 ` Daniel Jacobowitz
2010-03-19 15:20   ` Matthew Gretton-Dann
2010-03-19 15:25     ` Matthew Gretton-Dann
  -- strict thread matches above, loose matches on Subject: below --
2010-03-01 11:52 [PATCH] " Matthew Gretton-Dann
2010-03-08  9:54 ` [Ping] " Matthew Gretton-Dann

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=1268997709.6009.11.camel@e200601-lin.cambridge.arm.com \
    --to=rearnsha@arm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=matthew.gretton-dann@arm.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