diff options
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 63cd8de..a122f6f 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -10171,6 +10171,10 @@ watchpoint_exp_is_const (const struct expression *exp) case UNOP_ADDR: case UNOP_HIGH: case UNOP_CAST: + + case UNOP_CAST_TYPE: + case UNOP_REINTERPRET_CAST: + case UNOP_DYNAMIC_CAST: /* Unary, binary and ternary operators: We have to check their operands. If they are constant, then so is the result of that operation. For instance, if A and B are |