Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Marcus Shawcroft <marcus.shawcroft@arm.com>
Cc: Joel Brobecker <brobecker@adacore.com>,
	       "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [PATCH 1/5] aarch64-tdep basic port.
Date: Fri, 18 Jan 2013 19:09:00 -0000	[thread overview]
Message-ID: <50F99DDF.7080901@redhat.com> (raw)
In-Reply-To: <50EAD9FF.4040303@arm.com>

On 01/07/2013 02:21 PM, Marcus Shawcroft wrote:
> +/* Implement the "skip_prologue" gdbarch method.  */
> +
> +static CORE_ADDR
> +aarch64_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
> +{
> +  unsigned long inst;
> +  CORE_ADDR skip_pc;
> +  CORE_ADDR func_addr, limit_pc;
> +  struct symtab_and_line sal;
> +
> +  /* If we're in a dummy frame, don't even try to skip the prologue.  */
> +  if (deprecated_pc_in_call_dummy (gdbarch, pc))
> +    return pc;
> +

Do you really need this?  We no longer had any calls in
the tree, and this adds back one.

> +static int
> +aarch64_get_longjmp_target (struct frame_info *frame, CORE_ADDR *pc)
> +{
> +  CORE_ADDR jb_addr;
> +  char buf[X_REGISTER_SIZE];

gdb_byte

> +/* Implment the "pseudo_register_read" gdbarch method.  */

Typo "implement".

> +
> +static enum register_status
> +aarch64_pseudo_read (struct gdbarch *gdbarch, struct regcache *regcache,
> +		     int regnum, gdb_byte *buf)
> +{

Can you convert this use the newer pseudo_register_read_value ?
Should be pretty simple.

I'm a little lost navigating this thread (due to the subject
issue, and patches as replies to patches), and on the status
of the patches.  Was there a documentation patch?  You'll
need to document the new commands in the manual (we document
even internal commands), and the new remote protocol target
description features.

-- 
Pedro Alves


      parent reply	other threads:[~2013-01-18 19:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-21 16:36 [PATCH 1/5] AArch64 GDB and GDBSERVER Port V2 Marcus Shawcroft
2012-11-28 21:55 ` Tom Tromey
2012-11-29 13:01   ` Marcus Shawcroft
2012-11-29 15:35     ` Tom Tromey
2012-11-29 21:52       ` Joel Brobecker
2012-11-30  8:26       ` Marcus Shawcroft
2012-11-30 18:31         ` Tom Tromey
2012-12-03 16:26 ` Marcus Shawcroft
2012-12-23  6:34   ` Joel Brobecker
2012-12-23  6:47     ` Joel Brobecker
2013-01-07 14:22     ` [PATCH 1/5] aarch64-tdep basic port Marcus Shawcroft
2013-01-13  6:48       ` Joel Brobecker
2013-01-13  7:07       ` Joel Brobecker
2013-01-18 19:09       ` Pedro Alves [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=50F99DDF.7080901@redhat.com \
    --to=palves@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=marcus.shawcroft@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