From: Tom Tromey <tromey@redhat.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org, Sergio Durigan Junior <sergiodj@redhat.com>
Subject: Re: [PATCH 3/6] Modify internalvar mechanism
Date: Tue, 12 Apr 2011 20:40:00 -0000 [thread overview]
Message-ID: <m3pqor2oh4.fsf@fleche.redhat.com> (raw)
In-Reply-To: <201104121224.31901.pedro@codesourcery.com> (Pedro Alves's message of "Tue, 12 Apr 2011 12:24:31 +0100")
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
>> This patch modifies the mechanism of internalvar. It basically adds
>> more manipulation functions to them (`compile_to_ax' and `destroy'), and
>> updates the definitions and pointers of existing internalvars.
Pedro> Can you explain this? Why would you want to compile an internal
Pedro> var to AX, for example?
A programmer can pass arguments to a SystemTap probe. In GDB these are
represented as convenience variables. We also wanted to be able to
collect these probe arguments from tracepoints set at probe points.
Rather than write custom code to recognize the variables by name, I
thought it would be better to provide a general way to define variables
which can be compiled to AX.
Pedro> It would be imensely helpful if patches came with a high
Pedro> level explanation of why they are necessary in the first
Pedro> place. :-/
Sorry about that.
Tom
next prev parent reply other threads:[~2011-04-12 20:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-04 3:08 Sergio Durigan Junior
2011-04-11 21:08 ` Jan Kratochvil
2011-04-12 11:24 ` Pedro Alves
2011-04-12 20:40 ` Tom Tromey [this message]
2011-04-12 22:33 ` Sergio Durigan Junior
2011-04-19 17:53 ` Pedro Alves
2011-04-19 18:40 ` Tom Tromey
2011-04-19 20:01 ` 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=m3pqor2oh4.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.com \
--cc=sergiodj@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