This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Make "backtrace" doesn't print python stack if init python dir get fail
- From: Tom Tromey <tromey at redhat dot com>
- To: Hui Zhu <hui_zhu at mentor dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Mon, 02 Dec 2013 09:05:14 -0700
- Subject: Re: [PATCH] Make "backtrace" doesn't print python stack if init python dir get fail
- Authentication-results: sourceware.org; auth=none
- References: <52974146 dot 70805 at mentor dot com>
>>>>> "Hui" == Hui Zhu <hui_zhu@mentor.com> writes:
Hui> So if init python dir get fail, "backtrace" will print python
Hui> stack. But GDB already output error when it start. I make a patch
Hui> let it doesn't print python stack if init python dir get fail.
Perhaps instead the setting of gdb_python_initialized should be moved to
finish_python_initialization.
Tom