summaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-param.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/python/py-param.c b/gdb/python/py-param.c
index 0f0214befe0..bff5d60fc26 100644
--- a/gdb/python/py-param.c
+++ b/gdb/python/py-param.c
@@ -396,10 +396,7 @@ get_set_value (const char *args, int from_tty,
{
set_doc_string = call_doc_function (obj, set_doc_func.get (), NULL);
if (! set_doc_string)
- {
- gdbpy_print_stack ();
- return;
- }
+ gdbpy_handle_exception ();
}
const char *str = set_doc_string.get ();