From: Tom Tromey <tromey@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch 00/12] entryval: Fix x86_64 <optimized out> parameters, virtual tail call frames
Date: Tue, 19 Jul 2011 18:17:00 -0000 [thread overview]
Message-ID: <m34o2i40py.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20110719163728.GA10909@host1.jankratochvil.net> (Jan Kratochvil's message of "Tue, 19 Jul 2011 18:37:28 +0200")
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> It may have been discussed - it is not in `(gdb)Rationale' - why
Jan> isn't AX at least derived from DWARF? But I guess the answer is
Jan> the part of DWARF expressions compatible with `(gdb)Rationale' ---
Jan> the AX requirements - is negligibly small.
I don't know, but we've collected a number of issues with AX as it now
stands. These aren't merely theoretical, either, but problems with code
actually generated by GCC. Those missing opcodes aren't missing out of
laziness, but rather because for the most part they aren't efficiently
implementable. (One exception is the typed DWARF extension -- but we
could only handle integral types, which is probably not an interesting
subset.)
AX needs some big upgrades, or maybe an "AX 2.0" explicitly based on
DWARF. I think the blocker here is that we (Red Hat) are on the cutting
edge for compilers and debuginfo, but don't currently have many users
using AX; but shops where the users are using AX are often (just
guessing) a few compiler revisions behind -- so nobody has really felt
the pain yet.
A related problem closer to home is that watchpoints don't respect
location lists. Whoops. I don't have a test case but I think one
should be constructible. (I consider this related because it is another
spot where DWARF expressiveness has not propagated throughout GDB.)
Tom
next prev parent reply other threads:[~2011-07-19 17:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-18 20:16 Jan Kratochvil
2011-07-19 16:39 ` Tom Tromey
2011-07-19 16:40 ` Jan Kratochvil
2011-07-19 18:17 ` Tom Tromey [this message]
2011-07-19 18:27 ` Jan Kratochvil
2011-07-19 18:44 ` Tom Tromey
2011-09-13 19:54 ` obsolete: " Jan Kratochvil
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=m34o2i40py.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@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