public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Richard Earnshaw <rearnsha@arm.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Andrew Cagney <ac131313@redhat.com>,
	Mark Kettenis <kettenis@chello.nl>,
	brobecker@gnat.com, mec@shout.net, gdb@sources.redhat.com,
	Richard.Earnshaw@arm.com
Subject: Re: 8-byte register values on a 32-bit machine
Date: Mon, 03 Mar 2003 11:26:00 -0000	[thread overview]
Message-ID: <200303031125.h23BPKW06819@pc960.cambridge.arm.com> (raw)
In-Reply-To: Your message of "Sat, 01 Mar 2003 19:28:00 EST." <20030302002759.GA12252@nevyn.them.org>

> On Sat, Mar 01, 2003 at 06:42:58PM -0500, Andrew Cagney wrote:
> > Mark,
> > 
> > Now that there is this loc_computed stuff, it is probably possible to 
> > modify stabs to, for the case in question, implement a loc_computed symbol.
> 
> Hmm, I'm not sure that's the right way to go.  DWARF-2 also will say
> that an eight byte value is in one register.  Why put the hacks in
> both readers?
> 
> By the way, assuming I can find the time (ugh) I'm not done with
> LOC_COMPUTED yet.  On my list so far:
>   - Location lists
>   - Turning locations into better defined objects
>   - Thus, allowing LOC_COMPUTED to return a non-computed "location"
>   - Allowing more complex locations, namely DW_OP_piece style.
>   - Eventually turning on more uses of DW_OP_piece in GCC.

The main reason gcc allocates objects to contiguous register ranges is 
because gdb can't handle anything else.  Fixing gdb to allow location 
lists would be a major step forward, since then gcc would be able to split 
double-register objects before register allocation and allocate each part 
individually.  That could be a major win on register starved machines.

R.

  reply	other threads:[~2003-03-03 11:26 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24  2:36 Michael Elizabeth Chastain
2003-03-01 13:35 ` Mark Kettenis
2003-03-01 20:33   ` Joel Brobecker
2003-03-01 22:38     ` Mark Kettenis
2003-03-01 23:41       ` Andrew Cagney
2003-03-02  0:28         ` Daniel Jacobowitz
2003-03-03 11:26           ` Richard Earnshaw [this message]
2003-03-03 11:52             ` Keith Walker
2003-03-01 23:39     ` Andrew Cagney
2003-03-01 20:57 Michael Elizabeth Chastain
2003-03-01 22:46 ` Mark Kettenis
2003-03-02  6:52 Michael Elizabeth Chastain
2003-03-02  9:35 ` Stephane Carrez
2003-03-03  4:50   ` Daniel Jacobowitz
2003-03-02 16:59 Michael Elizabeth Chastain
2003-03-12 15:35 ` Andrew Cagney
2003-03-12 15:51   ` Daniel Jacobowitz
2003-03-12 16:57     ` Andrew Cagney
2003-03-12 17:01       ` Daniel Jacobowitz
2003-03-12 18:15         ` Andrew Cagney
2003-03-12 18:29     ` Andrew Cagney
2003-03-12 18:35       ` Daniel Jacobowitz
2003-03-12 18:38         ` Andrew Cagney
2003-03-12 18:48         ` Paul Koning
2003-03-12 19:00           ` Daniel Jacobowitz
2003-03-12 21:04             ` Andrew Cagney
2003-03-12 20:06               ` Daniel Jacobowitz
2003-03-12 19:09 Michael Elizabeth Chastain
2003-03-12 20:47 ` Andrew Cagney
2003-03-13  4:18 Michael Elizabeth Chastain
2003-03-13 17:05 ` Andrew Cagney
2003-03-14 16:27 Michael Elizabeth Chastain

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=200303031125.h23BPKW06819@pc960.cambridge.arm.com \
    --to=rearnsha@arm.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=ac131313@redhat.com \
    --cc=brobecker@gnat.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=kettenis@chello.nl \
    --cc=mec@shout.net \
    /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).