mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
Fix gdb.arch/aarch64-dbreg-contents.exp FAIL
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.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2021-04-25 Lancelot Six <lsix@lancelotsix.com>
|
||||||
|
|
||||||
PR gdb/22640
|
PR gdb/22640
|
||||||
|
@ -54,7 +54,7 @@ set_watchpoint (pid_t pid, volatile void *addr, unsigned len_mask)
|
|||||||
errno = 0;
|
errno = 0;
|
||||||
l = ptrace (PTRACE_GETREGSET, pid, NT_ARM_HW_WATCH, &iov);
|
l = ptrace (PTRACE_GETREGSET, pid, NT_ARM_HW_WATCH, &iov);
|
||||||
assert (l == 0);
|
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 (AARCH64_DEBUG_NUM_SLOTS (dreg_state.dbg_info) >= 1);
|
||||||
|
|
||||||
assert (!DR_CONTROL_ENABLED (dreg_state.dbg_regs[0].ctrl));
|
assert (!DR_CONTROL_ENABLED (dreg_state.dbg_regs[0].ctrl));
|
||||||
|
Reference in New Issue
Block a user