public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Keith Walker <keith.walker@arm.com>
To: Richard.Earnshaw@arm.com, 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:52:00 -0000	[thread overview]
Message-ID: <4.3.2.7.2.20030303114307.023fb548@mhsun1.maidenhead.arm.com> (raw)
In-Reply-To: <200303031125.h23BPKW06819@pc960.cambridge.arm.com>

At 11:25 03/03/2003 +0000, Richard Earnshaw wrote:
> > On Sat, Mar 01, 2003 at 06:42:58PM -0500, Andrew Cagney wrote:
> >
> > 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.

Actually it is the implementation of the DW_OP_piece operator (rather than 
location lists) which allows the location of an object to be split into 
multiple sub-locations.

Location lists allows, for any given PC value, for you to describe zero 
(optimized out) or more locations for an object.     These locations can 
then be broken down into sub-locations if the resulting expression 
evaluated then contains a DW_OP_piece operator.

Keith

  reply	other threads:[~2003-03-03 11:52 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
2003-03-03 11:52             ` Keith Walker [this message]
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=4.3.2.7.2.20030303114307.023fb548@mhsun1.maidenhead.arm.com \
    --to=keith.walker@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).