public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
From: "cagney at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: frysk-bugzilla@sourceware.org
Subject: [Bug general/5540] location expression DW_OP_breg is sign extended
Date: Fri, 11 Jan 2008 17:44:00 -0000 [thread overview]
Message-ID: <20080111174407.23606.qmail@sourceware.org> (raw)
In-Reply-To: <20080103223124.5540.scox@redhat.com>
------- Additional Comments From cagney at redhat dot com 2008-01-11 17:44 -------
Which register is OP_breg being applied to?
long Frame.getRegister(Register) returns the register, converted to a long,
based on the register's type. So for pointer registers such as $esp, that
results in an unsigned extension, while for general registers (such as $eax)
that will be sign-extended due to SignedType.
Several questions:
-> should that breg be a pointer?
-> should there be a Frame method that returns registers as unsigned "Word"
values (which is more like what the location expression code expects)
-> should the location-expression code be doing word-sized, instead of Long
sized, arrithmetic?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5540
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
next prev parent reply other threads:[~2008-01-11 17:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-03 22:32 [Bug general/5540] New: " scox at redhat dot com
2008-01-03 23:03 ` [Bug general/5540] " scox at redhat dot com
2008-01-11 17:44 ` cagney at redhat dot com [this message]
2008-01-14 21:08 ` tthomas at redhat dot com
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=20080111174407.23606.qmail@sourceware.org \
--to=sourceware-bugzilla@sourceware.org \
--cc=frysk-bugzilla@sourceware.org \
/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).