This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Add an evaluation function hook to Python breakpoints.
- From: Tom Tromey <tromey at redhat dot com>
- To: pmuldoon at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 14 Dec 2010 09:42:33 -0700
- Subject: Re: [patch] Add an evaluation function hook to Python breakpoints.
- References: <m38vztlr2r.fsf@redhat.com>
>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:
Phil> +class. The @code{gdb.Breakpoint} class can be sub-classed and, in
Phil> +particular, you may choose to implement the @code{evaluate} function.
I think this should say "method" and not "function".
Also I think the new method should be defined using @defop, like we do
for pretty-printer methods. I suggest moving this paragraph down below
the @defmethod for __init__, but before the watchpoint types table, and
putting the @defop there as well.
Tom