mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
ChangeLog
2012-02-22 Sterling Augustine <saugustine@google.com> PR 13689: * breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch. testsuite/ChangeLog 2012-02-22 Sterling Augustine <saugustine@google.com> * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for constant with cast.
This commit is contained in:
@ -8831,6 +8831,7 @@ watchpoint_exp_is_const (const struct expression *exp)
|
||||
case UNOP_COMPLEMENT:
|
||||
case UNOP_ADDR:
|
||||
case UNOP_HIGH:
|
||||
case UNOP_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
|
||||
|
Reference in New Issue
Block a user