Files
sw_openocd/src/target
Evgeniy Naydanov fd62626dff target/breakpoints: fix types in watchpoint_add_internal()
There was a conflict:
1. commit 2cd8ebf44d ("breakpoints: use 64-bit type for watchpoint mask
   and value")
2. commit 0bf3373e80 ("target/breakpoints: Use 'unsigned int' for
   length")

The second commit was created erlier, but merged later so the types of
`mask` and `value` became `uint32_t` in `watchpoint_add_internal()`.

This created a bug:
`WATCHPOINT_IGNORE_DATA_VALUE_MASK` is defined as `(~(uint64_t)0)`.
Truncation to uint32_t makes it so the comparisons with the constant
don't work.

Change-Id: I19c414c351f52aff72a60330d83c29db7bbca375
Signed-off-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8500
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Jan Matyas <jan.matyas@codasip.com>
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>
Reviewed-by: Karl Palsson <karlp@tweak.au>
2024-11-11 17:33:56 +00:00
..
2024-10-05 15:48:23 +00:00
2024-09-21 09:01:16 +00:00
2022-09-13 22:13:58 +00:00
2024-10-05 15:49:49 +00:00
2024-06-23 09:30:43 +00:00
2024-06-23 09:30:43 +00:00
2023-12-01 22:23:13 +00:00
2024-10-05 15:49:49 +00:00
2022-09-13 22:13:58 +00:00
2023-08-26 11:44:50 +00:00
2024-10-05 15:48:23 +00:00
2023-12-01 22:23:13 +00:00
2022-09-13 22:13:58 +00:00
2023-05-05 22:14:11 +00:00