Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: drow@false.org
Cc: mark.kettenis@xs4all.nl, jimb@red-bean.com, msnyder@redhat.com,
	        gdb-patches@sourceware.org
Subject: Re: [RFA/RFC] dwarf2-frame read_reg
Date: Thu, 20 Apr 2006 19:10:00 -0000	[thread overview]
Message-ID: <200604201909.k3KJ9QFw030373@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <20060420172112.GK11710@nevyn.them.org> (message from Daniel 	Jacobowitz on Thu, 20 Apr 2006 13:21:12 -0400)

> X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on 
> 	elgar.sibelius.xs4all.nl
> X-Spam-Level: 
> X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
> 	version=3.1.0
> Date: Thu, 20 Apr 2006 13:21:12 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: jimb@red-bean.com, msnyder@redhat.com, gdb-patches@sourceware.org
> Mail-Followup-To: Mark Kettenis <mark.kettenis@xs4all.nl>, 	jimb@red-bean.com, msnyder@redhat.com, gdb-patches@sourceware.org
> Content-Disposition: inline
> X-IsSubscribed: yes
> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm
> Sender: gdb-patches-owner@sourceware.org
> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information.
> X-UTwente-MailScanner: Found to be clean
> X-MailScanner-From: gdb-patches-return-43755-m.m.kettenis=alumnus.utwente.nl@sourceware.org
> X-XS4ALL-DNSBL-Checked: mxdrop5.xs4all.nl checked 192.87.17.19 against DNS blacklists
> X-Virus-Scanned: by XS4ALL Virus Scanner
> X-XS4ALL-Spam-Score: 0 () 
> X-XS4ALL-Spam: NO
> Envelope-To: mark.kettenis@xs4all.nl
> X-UIDL: 1145553701._smtp.mxdrop5.43414,S=4323
> 
> On Wed, Apr 12, 2006 at 08:17:07PM +0200, Mark Kettenis wrote:
> > > Date: Tue, 11 Apr 2006 21:42:01 -0700
> > > From: "Jim Blandy" <jimb@red-bean.com>
> > > 
> > > On 4/11/06, Michael Snyder <msnyder@redhat.com> wrote:
> > > > I want you guys to vett this change.  I was getting wrong results
> > > > on a target where sizeof (SP) != sizeof (void *).  The local func
> > > > read_reg was calling extract_unsigned_integer with the wrong size.
> > > 
> > > Well, extract_typed_address requires the type of the register to be
> > > some sort of pointer.  read_reg is given as a callback to the Dwarf
> > > expression evaluator in dwarf2expr.c, so it could be handed any
> > > register at all.
> > > 
> > > How about unpack_long (buf, register_type (gdbarch, regnum))? 
> > > Definitely regression-test this on several platforms...
> > 
> > This is likely to be wrong for platforms where addresses are signed.
> 
> It shouldn't be.

Ok, cool.  Objection withdrawn.

Mark


  parent reply	other threads:[~2006-04-20 19:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-12  3:34 Michael Snyder
2006-04-12  4:42 ` Jim Blandy
2006-04-12 18:18   ` Mark Kettenis
2006-04-12 19:15     ` Michael Snyder
2006-04-20 17:21     ` Daniel Jacobowitz
2006-04-20 19:06       ` Michael Snyder
2006-04-20 19:10       ` Mark Kettenis [this message]
2006-04-12 19:20   ` Michael Snyder
2006-05-05 19:44 ` Daniel Jacobowitz
2006-05-17 15:01   ` Daniel Jacobowitz

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=200604201909.k3KJ9QFw030373@elgar.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=jimb@red-bean.com \
    --cc=msnyder@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