This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
FYI: remove unused declaration
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 13 Aug 2010 14:46:42 -0600
- Subject: FYI: remove unused declaration
I'm checking this in.
This declaration somehow snuck in. It is for a function that was on the
old Python branch, but which we don't plan to incorporate into gdb.
Tom
2010-08-13 Tom Tromey <tromey@redhat.com>
* python/python-internal.h (gdbpy_get_hook_function): Don't
declare.
Index: python/python-internal.h
===================================================================
RCS file: /cvs/src/src/gdb/python/python-internal.h,v
retrieving revision 1.31
diff -u -r1.31 python-internal.h
--- python/python-internal.h 6 Jul 2010 19:03:12 -0000 1.31
+++ python/python-internal.h 13 Aug 2010 20:46:08 -0000
@@ -112,7 +112,6 @@
PyObject *gdbpy_inferiors (PyObject *unused, PyObject *unused2);
PyObject *gdbpy_selected_thread (PyObject *self, PyObject *args);
PyObject *gdbpy_string_to_argv (PyObject *self, PyObject *args);
-PyObject *gdbpy_get_hook_function (const char *);
PyObject *gdbpy_parameter (PyObject *self, PyObject *args);
PyObject *gdbpy_parameter_value (enum var_types type, void *var);
char *gdbpy_parse_command_name (char *text,