diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/breakpoint.c | 9 |
2 files changed, 6 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0958c5b..065319c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2016-01-28 Yao Qi <yao.qi@linaro.org> + + * breakpoint.c (build_target_command_list): Don't call continue + if aexpr is NULL. + (build_target_condition_list): Likewise. + 2016-01-27 Kevin Buettner <kevinb@redhat.com> * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8 diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 7b610ef..afd9065 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -2347,12 +2347,6 @@ build_target_condition_list (struct bp_location *bl) need to parse the condition to bytecodes again. */ aexpr = parse_cond_to_aexpr (bl->address, loc->cond); loc->cond_bytecode = aexpr; - - /* Check if we managed to parse the conditional expression - correctly. If not, we will not send this condition - to the target. */ - if (aexpr) - continue; } /* If we have a NULL bytecode expression, it means something @@ -2553,9 +2547,6 @@ build_target_command_list (struct bp_location *bl) aexpr = parse_cmd_to_aexpr (bl->address, loc->owner->extra_string); loc->cmd_bytecode = aexpr; - - if (!aexpr) - continue; } /* If we have a NULL bytecode expression, it means something |