diff options
author | Phil Muldoon <pmuldoon@redhat.com> | 2011-12-16 15:55:40 +0000 |
---|---|---|
committer | Phil Muldoon <pmuldoon@redhat.com> | 2011-12-16 15:55:40 +0000 |
commit | 80b6e7564ff0168d392e69a46ded01ce1bf3dd73 (patch) | |
tree | 937a8f34be597f9dd4243f2e3691748ead3ef84a /gdb/NEWS | |
parent | b93a1992f4b3668cae4682e16a8add34f8411a8c (diff) | |
download | gdb-80b6e7564ff0168d392e69a46ded01ce1bf3dd73.zip gdb-80b6e7564ff0168d392e69a46ded01ce1bf3dd73.tar.gz gdb-80b6e7564ff0168d392e69a46ded01ce1bf3dd73.tar.bz2 |
2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
* testsuite/gdb.python/py-function.exp: Change "on" to "full" for
python print-stack. Add set/show python print-stack
off|full|message tests.
2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
* python/python.c: Define python_excp_enums.
(eval_python_from_control_command): Do not call gdbpy_print_stack.
(python_command): Ditto.
(gdbpy_print_stack): Rewrite to use new enum constants.
(maint_set_python): Remove function.
(maint_show_python): Ditto.
(_initialize_python): Do not add "maint" commands. Add "set/show
python print-stack commands".
* NEWS: Update to reflect removal for "maint set/show
print-stack"
2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
* doc/gdb.texinfo (Python Commands): Remove "maint set/show print
stack". Add documentation for "set/show python print-stack".
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -31,9 +31,10 @@ existing one. ** The "maint set python print-stack on|off" command has been - deprecated, and a new command: "set python print-stack on|off" has - replaced it. Additionally, the default for "print-stack" is now - "off". + removed. A new command: "set python print-stack + none|full|message" has replaced it. Additionally, the default + for "print-stack" is now "message", which just prints the error + message without the stack trace. ** A prompt substitution hook (prompt_hook) is now available to the Python API. |