This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Debug Methods in GDB Python
- From: Tom Tromey <tromey at redhat dot com>
- To: Siva Chandra <sivachandra at google dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Tue, 14 May 2013 13:33:26 -0600
- Subject: Re: [RFC] Debug Methods in GDB Python
- References: <CAGyQ6gyKTCdcjMcbfnc4zV3+yEt9tCTJzS8eW92dQrQzikRaTQ at mail dot gmail dot com> <CAGyQ6gxzG8vuPyFKHpacHS7W7jMEReidWDBkNJjywOXADXgVnw at mail dot gmail dot com> <87r4hefx59 dot fsf at fleche dot redhat dot com> <CAGyQ6gw_-MOu4Y9D+mUf-A55_Ms+j9JAmM9dU0y8PdJw73EkNw at mail dot gmail dot com>
Siva> It would also be good to get feedback on the Python side API that I
Siva> put together.
It seems reasonable to me. That said I am not certain I fully
understand it; even just some API docs in the .py would help...
I don't see the need for gdb.enable_debug_methods though.
gdb could just import the module and look up the functions by name.
We do this elsewhere.
Tom