Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Thiago Jung Bauermann <bauerman@br.ibm.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: Tom Tromey <tromey@redhat.com>, Rob Quill <rob.quill@gmail.com>,
	        gdb-patches@sourceware.org
Subject: Re: Convenience functions (was: Re: New scope checking patch)
Date: Tue, 04 Nov 2008 21:37:00 -0000	[thread overview]
Message-ID: <1225834560.20764.8.camel@localhost.localdomain> (raw)
In-Reply-To: <20081023134150.GA21234@caradoc.them.org>

El jue, 23-10-2008 a las 09:41 -0400, Daniel Jacobowitz escribió:
> [Preachy interlude: splitting up patches good!  posting unrelated
> patches at the bottom of threads bad!  Until Tom mentioned it on IRC
> this week I'd completely forgotten this patch had been posted.]
> 
> On Tue, Jul 29, 2008 at 09:33:30PM -0600, Tom Tromey wrote:
> > >>>>> "Rob" == Rob Quill <rob.quill@gmail.com> writes:
> > 
> > Rob> Where can I find out about internal functions?
> > 
> > I've appended the patch.  It adds a new sort of value, which is an
> > internal function.  These are just like ordinary functions in an
> > expression but they run inside gdb -- not the inferior.  The user sees
> > them as convenience variables of "internal function" type.
> 
> I looked through this patch, since I have another use for it too.  It
> looks fine to me, except that of course it is missing documentation
> and test cases.  For test cases we'd need a function to test with;
> perhaps Rob's?

Since Tromey mentioned that Rob's patch is not correct in its current
form, I'm thinking of implementing it in python and use it to direct my
choice of next python patches to post here (i.e., my next set of python
patches would have the goal of making a scope checking script work).
Then I could work on testcases and documentation. What do you think?

The upside is that this will help focus the python submissions to
enabling a useful functionality as soon as possible. The downside (or
maybe it's not a downside at all) is that a scope checking feature is
being asked by users, so it would mean that such python script would
preferably be shipped in GDB releases...
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center


  parent reply	other threads:[~2008-11-04 21:37 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-12 16:29 New scope checking patch Rob Quill
2007-11-12 23:26 ` Michael Snyder
2008-01-10  1:00 ` Jim Blandy
2008-01-11  0:52   ` Rob Quill
2008-01-11 22:51     ` Jim Blandy
2008-01-14 23:07       ` Michael Snyder
2008-01-15 17:06         ` Jim Blandy
2008-01-17 19:32       ` Rob Quill
2008-01-17 20:15         ` Jim Blandy
2008-01-17 21:11           ` Rob Quill
2008-01-17 21:58             ` Jim Blandy
2008-01-17 23:40               ` Doug Evans
2008-01-18  1:31               ` Daniel Jacobowitz
2008-01-18  3:35               ` Rob Quill
2008-01-18 18:48                 ` Jim Blandy
2008-01-18 22:43                   ` Rob Quill
2008-01-19  0:38                     ` Jim Blandy
2008-01-30 13:11                       ` Rob Quill
2008-01-30 18:14                         ` Jim Blandy
2008-01-30 18:31                         ` Eli Zaretskii
2008-01-31  4:11                           ` Jim Blandy
2008-01-31  7:26                             ` Eli Zaretskii
2008-07-27 23:45                               ` Rob Quill
2008-07-28  3:18                                 ` Eli Zaretskii
2008-07-28 10:31                                   ` Rob Quill
2008-07-28 18:27                                     ` Eli Zaretskii
2008-07-29 20:31                                 ` Tom Tromey
2008-07-29 21:04                                   ` Rob Quill
2008-07-29 21:45                                     ` Tom Tromey
2008-07-29 22:53                                       ` Rob Quill
2008-07-30  3:34                                     ` Tom Tromey
2008-10-23 13:42                                       ` Convenience functions (was: Re: New scope checking patch) Daniel Jacobowitz
2008-10-23 15:17                                         ` Convenience functions Tom Tromey
2008-10-23 15:22                                           ` Daniel Jacobowitz
2008-10-23 15:26                                             ` Tom Tromey
2008-10-23 19:14                                             ` Tom Tromey
2008-10-24 12:53                                               ` Eli Zaretskii
2008-11-04 21:37                                         ` Thiago Jung Bauermann [this message]
2008-11-04 22:23                                           ` Convenience functions (was: Re: New scope checking patch) Daniel Jacobowitz
2008-11-04 22:43                                             ` Convenience functions Tom Tromey
2008-01-31  7:52                             ` New scope checking patch Michael Snyder
2008-01-19  1:35                     ` Michael Snyder

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=1225834560.20764.8.camel@localhost.localdomain \
    --to=bauerman@br.ibm.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=rob.quill@gmail.com \
    --cc=tromey@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