From: Andrew Cagney <ac131313@ges.redhat.com>
To: gdb@sources.redhat.com
Subject: ``struct location''
Date: Mon, 08 Jul 2002 20:00:00 -0000 [thread overview]
Message-ID: <3D2A51AE.3080102@ges.redhat.com> (raw)
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?
Andrew
next reply other threads:[~2002-07-09 3:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-08 20:00 Andrew Cagney [this message]
2002-07-08 20:53 ` Daniel Berlin
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=3D2A51AE.3080102@ges.redhat.com \
--to=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