projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove deprecated core file functions
[deliverable/binutils-gdb.git]
/
gdb
/
selftest-arch.c
diff --git
a/gdb/selftest-arch.c
b/gdb/selftest-arch.c
index 7045c45660d85c7bbd40e69ce1fe0440fe643386..91d9f8673724e7b3160867bb5e6eb68b8afa3349 100644
(file)
--- a/
gdb/selftest-arch.c
+++ b/
gdb/selftest-arch.c
@@
-1,5
+1,5
@@
/* GDB self-test for each gdbarch.
/* GDB self-test for each gdbarch.
- Copyright (C) 2017-20
18
Free Software Foundation, Inc.
+ Copyright (C) 2017-20
20
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-19,7
+19,7
@@
#include "defs.h"
#if GDB_SELF_TEST
#include "defs.h"
#if GDB_SELF_TEST
-#include "selftest.h"
+#include "
gdbsupport/
selftest.h"
#include "selftest-arch.h"
#include "arch-utils.h"
#include "selftest-arch.h"
#include "arch-utils.h"
@@
-60,7
+60,7
@@
struct gdbarch_selftest : public selftest
QUIT;
QUIT;
- TRY
+ try
{
struct gdbarch_info info;
{
struct gdbarch_info info;
@@
-72,13
+72,12
@@
struct gdbarch_selftest : public selftest
function (gdbarch);
}
function (gdbarch);
}
-
CATCH (ex, RETURN_MASK_ERROR
)
+
catch (const gdb_exception_error &ex
)
{
pass = false;
exception_fprintf (gdb_stderr, ex,
_("Self test failed: arch %s: "), arches[i]);
}
{
pass = false;
exception_fprintf (gdb_stderr, ex,
_("Self test failed: arch %s: "), arches[i]);
}
- END_CATCH
reset ();
}
reset ();
}
This page took
0.025543 seconds
and
4
git commands to generate.