This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [python][rfc] Rename thread-related functions in the gdb module.
- From: Tom Tromey <tromey at redhat dot com>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: archer ml <archer at sourceware dot org>
- Date: Fri, 05 Dec 2008 16:20:05 -0700
- Subject: Re: [python][rfc] Rename thread-related functions in the gdb module.
- References: <cover.1228508475.git.bauerman@br.ibm.com><1228513468.11550.190.camel@localhost.localdomain>
- Reply-to: Tom Tromey <tromey at redhat dot com>
Thiago> (GdbMethods): Rename `get_threads' to `threads' and
Thiago> `get_current_thread' to `current_thread'.
I'm planning to move these to methods of 'class Inferior', whenever I
write that. But meanwhile we should do this.
Thiago> - { "get_current_thread", gdbpy_get_current_thread, METH_NOARGS,
Thiago> + { "get_current_thread", gdbpy_current_thread, METH_NOARGS,
The string constant needs a tweak here.
Tom