aboutsummaryrefslogtreecommitdiff
path: root/gdb/selftest-arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/selftest-arch.h')
-rw-r--r--gdb/selftest-arch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/selftest-arch.h b/gdb/selftest-arch.h
index db11723..c6a85fa 100644
--- a/gdb/selftest-arch.h
+++ b/gdb/selftest-arch.h
@@ -29,6 +29,11 @@ namespace selftests
extern void
register_test_foreach_arch (const std::string &name,
self_test_foreach_arch_function *function);
+
+/* Return true if GDBARCH should be skipped in some selftests to avoid
+ warnings. */
+
+extern bool selftest_skip_warning_arch (struct gdbarch *gdbarch);
}
#endif /* GDB_SELFTEST_ARCH_H */