diff options
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 13 |
2 files changed, 16 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index fa8042c..4a2d015 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,10 @@ +2011-07-11 Phil Muldoon <pmuldoon@redhat.com> + + PR python/12438 + * gdb.texinfo (Python Commands): Add deprecate note to maint + set/show python print-stack. Document set/show python + print-backtrace. + 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com> * gdb.texinfo: Fix typos. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 129a46b..3a3a9fb 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -20801,10 +20801,15 @@ End with a line saying just "end". @kindex maint set python print-stack @item maint set python print-stack -By default, @value{GDBN} will print a stack trace when an error occurs -in a Python script. This can be controlled using @code{maint set -python print-stack}: if @code{on}, the default, then Python stack -printing is enabled; if @code{off}, then Python stack printing is +This command is now deprecated. Instead use @code{set python +print-stack} + +@kindex set python print-stack +@item set python print-stack +By default, @value{GDBN} will not print a stack trace when an error +occurs in a Python script. This can be controlled using @code{set +python print-stack}: if @code{on}, then Python stack printing is +enabled; if @code{off}, the default, then Python stack printing is disabled. @end table |