aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorPhil Muldoon <pmuldoon@redhat.com>2011-07-11 13:07:38 +0000
committerPhil Muldoon <pmuldoon@redhat.com>2011-07-11 13:07:38 +0000
commit713389e0245333ded5b75dc90583570f8446f508 (patch)
treef2c78bad420b06a050fe66304b34efa0a93d3e8a /gdb/doc
parent754eadd19fceada3873d39edc914c0b63578c000 (diff)
downloadgdb-713389e0245333ded5b75dc90583570f8446f508.zip
gdb-713389e0245333ded5b75dc90583570f8446f508.tar.gz
gdb-713389e0245333ded5b75dc90583570f8446f508.tar.bz2
2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
PR python/12438 * python/python.c: Set gdbpy_should_print_stack default to off. (set_python): Deprecate maint set python print-stack to class_deprecate. (_initialize_python): Deprecate maint set/show python print-stack. Add new prefix command, python. Add new setting, print-backtrace. * NEWS: Document set python print-stack. Document default change. 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-11 Phil Muldoon <pmuldoon@redhat.com> PR python/12438 * gdb.python/python.exp: Add maint set/show python print-stack deprecated tests. Add set/show python print-backtrace tests.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog7
-rw-r--r--gdb/doc/gdb.texinfo13
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