diff options
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r-- | gdb/python/py-inferior.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index 145f53d14af..5bba676478c 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -292,20 +292,6 @@ python_inferior_deleted (struct inferior *inf) gdbpy_print_stack (); } -/* Finds the Python Inferior object for the given PID. Returns a - reference, or NULL if PID does not match any inferior object. */ - -PyObject * -find_inferior_object (int pid) -{ - struct inferior *inf = find_inferior_pid (pid); - - if (inf) - return (PyObject *) inferior_to_inferior_object (inf); - - return NULL; -} - gdbpy_ref<> thread_to_thread_object (thread_info *thr) { |