From: Jim Blandy <jimb@redhat.com>
To: Daniel Berlin <dberlin@dberlin.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA]: dwarf2expr.[ch]
Date: Wed, 10 Jul 2002 16:15:00 -0000 [thread overview]
Message-ID: <npadozxjj2.fsf@zwingli.cygnus.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0207101545040.16511-100000@dberlin.org>
Daniel Berlin <dberlin@dberlin.org> writes:
> > You're going to need a truncation function for all the operations that
> > are sensitive to the upper bits anyway (divide, shift right, compare),
> > so it doesn't seem a big deal to drop in an application here, too.
>
> But i'm not, because i'm using the incredibly ugly transformation of
>
> result = (LONGET) result2 / (LONGEST) result1
>
> is
>
> result = value_as_long (value_binop (value_from_pointer
> (builtin_type_CORE_ADDR, result2), value_from_pointer
> (builtin_type_CORE_ADDR, result1), BINOP_DIV))
>
>
> which handles it for us.
> :)
The smiley means you're kidding, right?
prev parent reply other threads:[~2002-07-10 23:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-08 16:48 Daniel Berlin
2002-07-08 20:20 ` Andrew Cagney
2002-07-08 20:49 ` Daniel Berlin
2002-07-08 21:12 ` Andrew Cagney
2002-07-09 15:21 ` Jim Blandy
2002-07-10 9:05 ` Andrew Cagney
2002-07-09 15:10 ` Jim Blandy
2002-07-09 16:00 ` Daniel Berlin
2002-07-10 11:18 ` Daniel Berlin
2002-07-10 12:48 ` Jim Blandy
2002-07-10 13:27 ` Daniel Berlin
2002-07-10 16:15 ` Jim Blandy [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=npadozxjj2.fsf@zwingli.cygnus.com \
--to=jimb@redhat.com \
--cc=dberlin@dberlin.org \
--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