diff options
author | Kevin Pouget <kpouget@sourceware.org> | 2011-09-15 12:42:30 +0000 |
---|---|---|
committer | Kevin Pouget <kpouget@sourceware.org> | 2011-09-15 12:42:30 +0000 |
commit | 2aa483373c8e7abf69bbc074a17bf708a1a5eaff (patch) | |
tree | 17786f6230cb15f662de16a68bb5f731d7e68ce0 /gdb/doc | |
parent | 6839b47f2b1cd56c90dc38da7bb612df7e052d90 (diff) | |
download | gdb-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/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 54dd4e8..488ba75 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,11 @@ 2011-09-15 Kevin Pouget <kevin.pouget@st.com> + PR Python/12692 Add gdb.selected_inferior() to Python interface. + * gdb.texinfo (Inferiors In Python): Describe new + gdb.selected_inferior() function. + +2011-09-15 Kevin Pouget <kevin.pouget@st.com> + Handle multiple breakpoint hits in Python interface: * gdb.texinfo (Events In Python): New function documentation: gdb.BreakpointEvent.breakpoints. Indicate that diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 76c804b..2fecb6a 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -22146,6 +22146,10 @@ module: Return a tuple containing all inferior objects. @end defun +@defun selected_inferior +Return an object representing the current inferior. +@end defun + A @code{gdb.Inferior} object has the following attributes: @table @code |