#include "defs.h"
#include "event-loop.h"
#include "event-top.h"
-#include "common/queue.h"
#include "ser-event.h"
#ifdef HAVE_POLL
{
int result = 0;
- TRY
+ try
{
result = gdb_do_one_event ();
}
- CATCH (ex, RETURN_MASK_ALL)
+ catch (const gdb_exception &ex)
{
exception_print (gdb_stderr, ex);
/* Maybe better to set a flag to be checked somewhere as to
whether display the prompt or not. */
}
- END_CATCH
if (result < 0)
break;