From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC 06/12] entryval: Display @entry parameters in bt full
Date: Wed, 03 Aug 2011 19:43:00 -0000 [thread overview]
Message-ID: <20110803194251.GA1824@host1.jankratochvil.net> (raw)
In-Reply-To: <CAN9gPaFFbEXH373MfCsS_LQga65X4VT9T57KnFgXOxpmmGih4g@mail.gmail.com>
On Mon, 18 Jul 2011 23:01:44 +0200, Daniel Jacobowitz wrote:
> * It is really frustrating when GDB knows the value of something, but
> I can't access it as a variable. That means I can't explore it as a
> typed value without having to copy it, paste it, and add a cast to the
> right pointer type. There should be a way to get these values back.
This was addressed by:
[RFC 11/12] entryval: "@entry" in input expressions
> * Any awesomely useful feature like this one should consider MI access
> from the start. How would you want to portray this data in an IDE?
> How would you communicate it through MI to the IDE?
Frontend can ask for the paramname@entry symbols for each paramname.
I will include in the next patchset post "args_entry" MI frame list.
I am aware of various further extensions of this patchset but I wanted to get
some first useful part into FSF GDB after a year of off-trunk development.
I have not considered the MI interface would affect the design of this first
part (sure I may be wrong).
> I am not in love with the @entry name, but maybe we can combine it
> with the above... something like "$at_entry(p)" that could be
> evaluated in an expression? Better naming welcome.
There were no other complaints to the `parametername@entry' naming and I find
it personally more user acceptable than `$at_entry(parametername)'.
`parametername@entry' is evaluable in an expression, the patch:
[RFC 11/12] entryval: "@entry" in input expressions
SystemTap is already using `@entry(expression)' syntax but that exists for
general expressions and it is not based on this DWARF extension (it will
quietly stop+continue at the function entry point for it - like GDB trace).
Thanks,
Jan
next prev parent reply other threads:[~2011-08-03 19:43 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-18 20:21 Jan Kratochvil
2011-07-18 22:24 ` Daniel Jacobowitz
2011-07-19 10:48 ` Eli Zaretskii
2011-07-19 10:55 ` Jan Kratochvil
2011-07-19 11:52 ` Eli Zaretskii
2011-07-19 12:17 ` Jakub Jelinek
2011-07-19 16:46 ` Eli Zaretskii
2011-07-19 17:22 ` Jakub Jelinek
2011-08-03 17:27 ` Jan Kratochvil
2011-08-03 17:53 ` Jan Kratochvil
2011-08-03 18:13 ` Jan Kratochvil
2011-08-03 18:36 ` Tom Tromey
2011-08-03 19:43 ` Jan Kratochvil [this message]
2011-09-02 17:08 ` [MI RFC] entryval: MI access to entry values [Re: [RFC 06/12] entryval: Display @entry parameters in bt full] Jan Kratochvil
2011-09-13 21:35 ` [MI RFC] entryval: MI access to entry values Jan Kratochvil
2011-09-14 8:50 ` Vladimir Prus
2011-09-14 9:13 ` André Pönitz
2011-09-14 9:20 ` Jan Kratochvil
2011-09-14 10:45 ` André Pönitz
2011-10-03 17:00 ` Tom Tromey
2011-10-03 16:57 ` [MI RFC] entryval: MI access to entry values [Re: [RFC 06/12] entryval: Display @entry parameters in bt full] Tom Tromey
2011-10-03 17:05 ` Vladimir Prus
2011-10-03 17:44 ` Jan Kratochvil
2011-10-03 18:14 ` Joel Brobecker
2011-10-10 16:09 ` André Pönitz
2011-07-19 10:57 ` [RFC 06/12] entryval: Display @entry parameters in bt full Eli Zaretskii
2011-07-19 16:21 ` Tom Tromey
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=20110803194251.GA1824@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
/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