commit | 3b4e21d2318bc1b6547e45f3393514e7b0be7df2 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Oct 24 22:32:01 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Oct 24 22:32:01 2017 +0000 |
tree | ca331cec68e5f9234f1e78734d78c351e286dcb5 | |
parent | 58f165c4164cd7680b37e3672d8b6d7053e86373 [diff] | |
parent | e44cf9875724610a41579a7997451ee2fcb390a9 [diff] |
Merge "Fix dwarf2_string_attr for -gsplit-dwarf"
diff --git a/gdb-8.0.1/gdb/python/python.c b/gdb-8.0.1/gdb/python/python.c index 8c8755b..6be8774 100644 --- a/gdb-8.0.1/gdb/python/python.c +++ b/gdb-8.0.1/gdb/python/python.c
@@ -1818,7 +1818,7 @@ &user_show_python_list); #ifdef HAVE_PYTHON - if (!do_start_initialization () && PyErr_Occurred ()) + if (!do_start_initialization () && python_available () && PyErr_Occurred ()) gdbpy_print_stack (); #endif /* HAVE_PYTHON */ }