This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/11135] New: errors in gdb.execute run in MI abort the whole command instead of throwing a python exception
- From: "andre dot poenitz at nokia dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 5 Jan 2010 09:33:55 -0000
- Subject: [Bug python/11135] New: errors in gdb.execute run in MI abort the whole command instead of throwing a python exception
- Reply-to: sourceware-bugzilla at sourceware dot org
Running python gdb.execute("print something_that_does_not_exist") in MI mode in
7.0 and 7.0.1 immediately aborts the whole command with ^error,msg="Error while
executing Python code." without throwing a python exception as documented in
http://sourceware.org/gdb/current/onlinedocs/gdb/Exception-Handling.html#Exception-Handling.
It works as documented in archer-tromey-python.
--
Summary: errors in gdb.execute run in MI abort the whole command
instead of throwing a python exception
Product: gdb
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned at sourceware dot org
ReportedBy: andre dot poenitz at nokia dot com
CC: gdb-prs at sourceware dot org
GCC build triplet: i486-linux-gnu
GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=11135
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.