aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorKevin Pouget <kpouget@sourceware.org>2011-09-15 12:42:30 +0000
committerKevin Pouget <kpouget@sourceware.org>2011-09-15 12:42:30 +0000
commit2aa483373c8e7abf69bbc074a17bf708a1a5eaff (patch)
tree17786f6230cb15f662de16a68bb5f731d7e68ce0 /gdb/python/python-internal.h
parent6839b47f2b1cd56c90dc38da7bb612df7e052d90 (diff)
downloadgdb-2aa483373c8e7abf69bbc074a17bf708a1a5eaff.zip
gdb-2aa483373c8e7abf69bbc074a17bf708a1a5eaff.tar.gz
gdb-2aa483373c8e7abf69bbc074a17bf708a1a5eaff.tar.bz2
2011-09-15 Kevin Pouget <kevin.pouget@st.com>
PR Python/12692 Add gdb.selected_inferior() to Python interface. * python/py-inferior.c (GdbMethods): New Python method definition. doc: PR Python/12692 Add gdb.selected_inferior() to Python interface. * gdb.texinfo (Inferiors In Python): Describe new gdb.selected_inferior() function. testsuite: PR Python/12692 Add gdb.selected_inferior() to Python interface. * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
Diffstat (limited to 'gdb/python/python-internal.h')
-rw-r--r--gdb/python/python-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index 4209c28..11f1efd 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -151,6 +151,7 @@ PyObject *gdbpy_create_lazy_string_object (CORE_ADDR address, long length,
struct type *type);
PyObject *gdbpy_inferiors (PyObject *unused, PyObject *unused2);
PyObject *gdbpy_selected_thread (PyObject *self, PyObject *args);
+PyObject *gdbpy_selected_inferior (PyObject *self, PyObject *args);
PyObject *gdbpy_string_to_argv (PyObject *self, PyObject *args);
PyObject *gdbpy_parameter (PyObject *self, PyObject *args);
PyObject *gdbpy_parameter_value (enum var_types type, void *var);