public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/11135] New: errors in gdb.execute run in MI abort the whole command instead of throwing a python exception
@ 2010-01-05  9:33 andre dot poenitz at nokia dot com
  2010-01-08 10:07 ` [Bug python/11135] " andre dot poenitz at nokia dot com
  0 siblings, 1 reply; 2+ messages in thread
From: andre dot poenitz at nokia dot com @ 2010-01-05  9:33 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug python/11135] errors in gdb.execute run in MI abort the whole command instead of throwing a python exception
  2010-01-05  9:33 [Bug python/11135] New: errors in gdb.execute run in MI abort the whole command instead of throwing a python exception andre dot poenitz at nokia dot com
@ 2010-01-08 10:07 ` andre dot poenitz at nokia dot com
  0 siblings, 0 replies; 2+ messages in thread
From: andre dot poenitz at nokia dot com @ 2010-01-08 10:07 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From andre dot poenitz at nokia dot com  2010-01-08 10:07 -------
Can't reproduce it myself anymore.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-08 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-05  9:33 [Bug python/11135] New: errors in gdb.execute run in MI abort the whole command instead of throwing a python exception andre dot poenitz at nokia dot com
2010-01-08 10:07 ` [Bug python/11135] " andre dot poenitz at nokia dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).