The test checks for a particular ARCH level, but it needs to check for
ARCH levels from a minimum and upwards.
gdb/testsuite/ChangeLog:
2021-04-26  Luis Machado  <luis.machado@linaro.org>
	* gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
	comparison.
+2021-04-26  Luis Machado  <luis.machado@linaro.org>
+
+       * gdb.arch/aarch64-dbreg-contents.c (set_watchpoint): Fix arch level
+       comparison.
+
 2021-04-25  Lancelot Six  <lsix@lancelotsix.com>
 
        PR gdb/22640
 
   errno = 0;
   l = ptrace (PTRACE_GETREGSET, pid, NT_ARM_HW_WATCH, &iov);
   assert (l == 0);
-  assert (AARCH64_DEBUG_ARCH (dreg_state.dbg_info) == AARCH64_DEBUG_ARCH_V8);
+  assert (AARCH64_DEBUG_ARCH (dreg_state.dbg_info) >= AARCH64_DEBUG_ARCH_V8);
   assert (AARCH64_DEBUG_NUM_SLOTS (dreg_state.dbg_info) >= 1);
 
   assert (!DR_CONTROL_ENABLED (dreg_state.dbg_regs[0].ctrl));