Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/alpha] Add handling of FP control insn in software-single step
Date: Tue, 17 May 2005 10:21:00 -0000	[thread overview]
Message-ID: <20050517063032.GB31869@redhat.com> (raw)
In-Reply-To: <20050517023400.GW1462@adacore.com>

On Tue, May 17, 2005 at 12:34:00PM +1000, Joel Brobecker wrote:
> +static int
> +fp_register_sign_bit (char *buf)
> +{
> +  return (buf[0] & 0x80);

Also, this is a big-endian test.  

> +      regcache_cooked_read (current_regcache, (insn >> 21) & 0x1f, reg);
>        /* Need to determine if branch is taken; read RA.  */
> -      rav = (LONGEST) read_register ((insn >> 21) & 0x1f);
> +      rav = extract_signed_integer (reg, 4);

And you're only extracting 4 bytes instead of 8.

So, basically, not one part of the patch is correct.


r~


  parent reply	other threads:[~2005-05-17  6:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-17  2:50 Joel Brobecker
2005-05-17  3:44 ` Daniel Jacobowitz
2005-05-17  4:49   ` Joel Brobecker
2005-05-17  5:46     ` Daniel Jacobowitz
2005-05-17  6:22       ` Joel Brobecker
2005-05-17  6:30         ` Mark Kettenis
2005-05-17  8:02 ` Richard Henderson
2005-05-17 10:21 ` Richard Henderson [this message]
2005-05-17 13:24   ` Joel Brobecker

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=20050517063032.GB31869@redhat.com \
    --to=rth@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sources.redhat.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