Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/kernel Reintroduce ATF_TP_ADD_TC_HAVE_DBREGS for t_ptr...
details: https://anonhg.NetBSD.org/src/rev/0e15c9e55b15
branches: trunk
changeset: 351481:0e15c9e55b15
user: kamil <kamil%NetBSD.org@localhost>
date: Wed Feb 15 20:58:22 2017 +0000
description:
Reintroduce ATF_TP_ADD_TC_HAVE_DBREGS for t_ptrace_wait* ATF tests
PT_GETDBREGS & PT_SETDBREGS API will replace the current one for
watchpoints.
Sponsored by <The NetBSD Foundation>
diffstat:
tests/kernel/t_ptrace_wait.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 04c2bc7c2670 -r 0e15c9e55b15 tests/kernel/t_ptrace_wait.h
--- a/tests/kernel/t_ptrace_wait.h Wed Feb 15 17:44:52 2017 +0000
+++ b/tests/kernel/t_ptrace_wait.h Wed Feb 15 20:58:22 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ptrace_wait.h,v 1.7 2017/01/09 22:09:20 kamil Exp $ */
+/* $NetBSD: t_ptrace_wait.h,v 1.8 2017/02/15 20:58:22 kamil Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -418,6 +418,12 @@
#define ATF_TP_ADD_TC_HAVE_FPREGS(a,b)
#endif
+#if defined(HAVE_DBREGS)
+#define ATF_TP_ADD_TC_HAVE_DBREGS(a,b) ATF_TP_ADD_TC(a,b)
+#else
+#define ATF_TP_ADD_TC_HAVE_DBREGS(a,b)
+#endif
+
#if defined(PT_STEP)
#define ATF_TP_ADD_TC_PT_STEP(a,b) ATF_TP_ADD_TC(a,b)
#else
Home |
Main Index |
Thread Index |
Old Index