diff options
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/python.texi | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 7f36a31..09318aa 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,10 @@ 2014-12-04 Doug Evans <dje@google.com> + * python.texi (Objfiles In Python): Document + Objfile.add_separate_debug_file. + +2014-12-04 Doug Evans <dje@google.com> + * python.texi (Objfiles In Python): Document Objfile.build_id. 2014-12-02 Nick Bull <nicholaspbull@gmail.com> diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index a951410..f2e4a6e 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -3562,6 +3562,17 @@ longer. All other @code{gdb.Objfile} methods will throw an exception if it is invalid at the time the method is called. @end defun +@defun Objfile.add_separate_debug_file (file) +Add @var{file} to the list of files that @value{GDBN} will search for +debug information for the objfile. +This is useful when the debug info has been removed from the program +and stored in a separate file. @value{GDBN} has built-in support for +finding separate debug info files (@pxref{Separate Debug Files}), but if +the file doesn't live in one of the standard places that @value{GDBN} +searches then this function can be used to add a debug info file +from a different place. +@end defun + @node Frames In Python @subsubsection Accessing inferior stack frames from Python. |