From: Daniel Berlin <dberlin@dberlin.org>
To: Andrew Cagney <ac131313@ges.redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: ``struct location''
Date: Mon, 08 Jul 2002 20:53:00 -0000 [thread overview]
Message-ID: <5C273806-92EF-11D6-867A-000393575BCC@dberlin.org> (raw)
In-Reply-To: <3D2A51AE.3080102@ges.redhat.com>
On Monday, July 8, 2002, at 10:59 PM, Andrew Cagney wrote:
> Hello,
>
> This is a hunch.
>
> I think there should be a ``struct location'' object to go with the
> ``struct type'' object. The ``struct value'' object would then be
> made of, the TYPE, LOCATION and, once the value has been read from
> memory, its VALUE.
>
> This would make it possible for location expression evaluators and
> similar (e.g., unwind functions describing register locations) to
> return a ``location'' without any need to refer to types.
>
> Having the location as an abstraction would also make it possible for
> GDB's ``location'' code to evolve independantly of the ``struct
> value'' - this is something we know we need since at present GDB can't
> describe things like values with a location that spreads across
> multiple registers and memory.
>
> thoughts?
>
Were you gone during April (seriously)?
Check the mailing list archives.
The whole loc_computed patch I submitted was the result of a discussion
on how to do this.
that's what the struct location_funcs are meant to do.
"
/* A structure of function pointers describing the location of a
variable, structure member, or structure base class.
"
> Andrew
>
>
prev parent reply other threads:[~2002-07-09 3:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-08 20:00 Andrew Cagney
2002-07-08 20:53 ` Daniel Berlin [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=5C273806-92EF-11D6-867A-000393575BCC@dberlin.org \
--to=dberlin@dberlin.org \
--cc=ac131313@ges.redhat.com \
--cc=gdb@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