projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/master' into amd-common
[deliverable/binutils-gdb.git]
/
gdb
/
event-loop.c
diff --git
a/gdb/event-loop.c
b/gdb/event-loop.c
index be09c2ceb3b829716d4b97d0464540f639ee5dc4..32f4ccaae741edd9926bad461c319f3d7f87a042 100644
(file)
--- a/
gdb/event-loop.c
+++ b/
gdb/event-loop.c
@@
-1,5
+1,5
@@
/* Event loop machinery for GDB, the GNU debugger.
/* Event loop machinery for GDB, the GNU debugger.
- Copyright (C) 1999-20
19
Free Software Foundation, Inc.
+ Copyright (C) 1999-20
20
Free Software Foundation, Inc.
Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
This file is part of GDB.
Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
This file is part of GDB.
@@
-18,9
+18,6
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-
-/* Local non-gdb includes. */
-#include "common/queue.h"
#include "event-loop.h"
#include "event-top.h"
#include "ser-event.h"
#include "event-loop.h"
#include "event-top.h"
#include "ser-event.h"
@@
-34,7
+31,7
@@
#endif
#include <sys/types.h>
#endif
#include <sys/types.h>
-#include "
common
/gdb_sys_time.h"
+#include "
gdbsupport
/gdb_sys_time.h"
#include "gdb_select.h"
#include "observable.h"
#include "top.h"
#include "gdb_select.h"
#include "observable.h"
#include "top.h"
@@
-368,11
+365,11
@@
start_event_loop (void)
{
int result = 0;
{
int result = 0;
- TRY
+ try
{
result = gdb_do_one_event ();
}
{
result = gdb_do_one_event ();
}
-
CATCH (ex, RETURN_MASK_ALL
)
+
catch (const gdb_exception &ex
)
{
exception_print (gdb_stderr, ex);
{
exception_print (gdb_stderr, ex);
@@
-396,7
+393,6
@@
start_event_loop (void)
/* Maybe better to set a flag to be checked somewhere as to
whether display the prompt or not. */
}
/* Maybe better to set a flag to be checked somewhere as to
whether display the prompt or not. */
}
- END_CATCH
if (result < 0)
break;
if (result < 0)
break;
This page took
0.026496 seconds
and
4
git commands to generate.