mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-24 02:37:23 +08:00
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().
This commit is contained in:
@ -1423,6 +1423,9 @@ Arguments are separate by spaces and may be quoted."
|
||||
{ "selected_thread", gdbpy_selected_thread, METH_NOARGS,
|
||||
"selected_thread () -> gdb.InferiorThread.\n\
|
||||
Return the selected thread object." },
|
||||
{ "selected_inferior", gdbpy_selected_inferior, METH_NOARGS,
|
||||
"selected_inferior () -> gdb.Inferior.\n\
|
||||
Return the selected inferior object." },
|
||||
{ "inferiors", gdbpy_inferiors, METH_NOARGS,
|
||||
"inferiors () -> (gdb.Inferior, ...).\n\
|
||||
Return a tuple containing all inferiors." },
|
||||
|
Reference in New Issue
Block a user