From: Daniel Jacobowitz <drow@mvista.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: Mark Kettenis <kettenis@chello.nl>,
colins@google.com, gdb-patches@sources.redhat.com
Subject: Re: patch for printing 64-bit values in i386 registers; STABS format
Date: Sun, 27 Apr 2003 03:47:00 -0000 [thread overview]
Message-ID: <20030426043155.GA26947@nevyn.them.org> (raw)
In-Reply-To: <3EA9FDDF.8070205@redhat.com>
On Fri, Apr 25, 2003 at 11:32:47PM -0400, Andrew Cagney wrote:
>
> >I'm afraid I don't understand, and I still don't see your reasoning
> >against this approach.
>
> It isn't necessary, just like register convertible and register
> raw/virtual size; .... that go before it, also were not necessary. And
> now all these years later, GDB is still yet to expunge.
>
> Until someone does the right think - add support for values scattered
> across registers and memory - hacks should be confined to architecture
> specific code.
I think the hack of introducing unnamed pseudo registers for this
purpose would do a lot more harm and cause a lot more problems; I guess
I just have to disagree with your reaction here.
Think about the day when we have proper support for DW_OP_piece. For
compatibility with current debug info we're going to have to have a way
for the debug reader to ask the architecture "if I have a value of this
size listed as living in this register, where (probably) is it really
stored?". That is _exactly_ the same question. Asking it would move
from read_var_value to stabsread/dwarf2read, but the interface would
have to be just the same.
That's why I see Mark's patch as a monotonic step forwards. And it
fixes a real problem. We have to fix problems eventually, you know -
and no one has taken the initiative to implement scattered values. I
tried. It was a major pain; after a day working on it, I went back to
other projects.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-04-26 4:32 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-25 0:27 Colin Smith
2003-04-25 2:07 ` Daniel Jacobowitz
2003-04-25 22:18 ` Mark Kettenis
2003-04-25 22:24 ` Daniel Jacobowitz
2003-04-26 3:05 ` Andrew Cagney
2003-04-26 3:20 ` Daniel Jacobowitz
2003-04-26 3:32 ` Andrew Cagney
2003-04-26 3:39 ` Daniel Jacobowitz
2003-04-26 8:25 ` Andrew Cagney
2003-04-27 3:47 ` Daniel Jacobowitz [this message]
2003-04-28 15:22 ` Mark Kettenis
2003-04-28 16:09 ` Andrew Cagney
2003-04-28 16:14 ` Daniel Jacobowitz
2003-04-28 16:15 ` Andrew Cagney
2003-04-28 16:37 ` Daniel Jacobowitz
2003-04-28 19:26 ` Andrew Cagney
2003-04-28 22:47 ` Daniel Jacobowitz
2003-04-29 2:15 ` re-ordered i386 regcache Andrew Cagney
2003-04-29 4:45 ` Daniel Jacobowitz
2003-04-29 14:30 ` Andrew Cagney
2003-04-29 15:08 ` Daniel Jacobowitz
2003-04-29 15:25 ` Andrew Cagney
2003-04-30 3:37 ` Daniel Jacobowitz
2003-04-30 14:28 ` Andrew Cagney
2003-04-30 18:20 ` Daniel Jacobowitz
2003-04-28 20:06 ` Re: patch for printing 64-bit values in i386 registers; STABS format Colin Smith
2003-04-28 0:51 ` Mark Kettenis
2003-04-28 16:18 ` Andrew Cagney
2003-04-28 17:30 ` Daniel Jacobowitz
2003-04-25 0:29 Colin Smith
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=20030426043155.GA26947@nevyn.them.org \
--to=drow@mvista.com \
--cc=ac131313@redhat.com \
--cc=colins@google.com \
--cc=gdb-patches@sources.redhat.com \
--cc=kettenis@chello.nl \
/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