From: Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
To: Kazu Hirata <kazu@codesourcery.com>
Cc: gdb-patches@sourceware.org, dan@codesourcery.com
Subject: Re: [patch] Add support for ARMv7M devices.
Date: Thu, 10 Jun 2010 08:56:00 -0000 [thread overview]
Message-ID: <1276160179.3283.5.camel@e102319-lin.cambridge.arm.com> (raw)
In-Reply-To: <20100609140312.291855664EF@henry1.codesourcery.com>
Hi,
On Wed, 2010-06-09 at 07:03 -0700, Kazu Hirata wrote:
> Hi,
>
> Attached is a patch to add support for ARMv7M devices.
>
> The patch is bigger than it really is due to the signature change to
> arm_pc_is_thumb.
>
> Index: gdb/arm-tdep.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/arm-tdep.c,v
> retrieving revision 1.304
> @@ -6431,7 +6445,14 @@ arm_gdbarch_init (struct gdbarch_info in
> feature = tdesc_find_feature (info.target_desc,
> "org.gnu.gdb.arm.core");
> if (feature == NULL)
> - return NULL;
> + {
> + feature = tdesc_find_feature (info.target_desc,
> + "org.gnu.gdb.arm.core-v7m");
> + if (feature == NULL)
> + return NULL;
> + else
> + is_m = 1;
> + }
>
> tdesc_data = tdesc_data_alloc ();
>
I don't see a definition of the "org.gnu.gdb.arm.core-v7m" feature
anywhere in the sources. Can you please add the appropriate XML and
derived C files to the patch - or am I missing something?
Also, I think the core-v7m feature should be an extension/synonym for a
core-v6m feature rather than a new feature in its own right (see Richard
Earnshaw's comments).
Thanks,
Matt
--
Matthew Gretton-Dann
Principal Engineer - PDSW Tools
ARM Ltd
prev parent reply other threads:[~2010-06-10 8:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-09 14:03 Kazu Hirata
2010-06-09 22:29 ` Doug Evans
2010-06-09 23:04 ` Richard Earnshaw
2010-06-24 16:42 ` Daniel Jacobowitz
2010-06-24 20:04 ` Richard Earnshaw
2010-08-16 18:06 ` Daniel Jacobowitz
2010-08-17 9:00 ` Matthew Gretton-Dann
2010-08-24 15:56 ` Daniel Jacobowitz
2010-10-29 23:47 ` Jonathan Larmour
2010-11-01 3:40 ` Daniel Jacobowitz
2010-11-03 3:21 ` Jonathan Larmour
2010-11-03 13:17 ` Daniel Jacobowitz
2010-11-10 2:21 ` Jonathan Larmour
2010-06-10 8:56 ` Matthew Gretton-Dann [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=1276160179.3283.5.camel@e102319-lin.cambridge.arm.com \
--to=matthew.gretton-dann@arm.com \
--cc=dan@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=kazu@codesourcery.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).