[commit/mi] Simplify MI error handling

Andrew Cagney cagney@gnu.org
Thu Jan 13 22:19:00 GMT 2005


Hello,

This patch modifies the gdb.h interfaces so that they explicitly return 
the error message in addition to the status (why it didn't do that from 
day one I don't know).

With that in place it becomes possible to simplify the MI's error code 
(it was handling MI and GDB errors very differently) so that it uses a 
single mechanism.  Ya!

committed,
Andrew

(What was happening was evil.  It was trusting that error_last_message 
hung around for longer then the next catch exception call :-()
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20050113/842f9a64/attachment.ksh>


More information about the Gdb-patches mailing list