This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/11135] New: errors in gdb.execute run in MI abort the whole command instead of throwing a python exception


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]