From: Tom Tromey Date: Fri, 30 Sep 2016 21:45:26 +0000 (-0600) Subject: PR remote/20655 - small fix in handle_tracepoint_bkpts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39b5a3b9b3aadac723de719f3c27f8462ed49af7;p=binutils-gdb.git PR remote/20655 - small fix in handle_tracepoint_bkpts handle_tracepoint_bkpts has two parallel "if"s. This changes the second one to check ipa_error_tracepoint, which seems to be what was intended. 2016-10-05 Tom Tromey PR remote/20655: * tracepoint.c (handle_tracepoint_bkpts): Check ipa_error_tracepoint, not ipa_stopping_tracepoint. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index f0e8c29cbfe..42edcc792ef 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,9 @@ +2016-10-05 Tom Tromey + + PR remote/20655: + * tracepoint.c (handle_tracepoint_bkpts): Check + ipa_error_tracepoint, not ipa_stopping_tracepoint. + 2016-10-05 Yao Qi * configure.srv: Update the path of arm-*.xml files. diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index c07e5256d3f..7700ad121fc 100644 --- a/gdb/gdbserver/tracepoint.c +++ b/gdb/gdbserver/tracepoint.c @@ -4534,7 +4534,7 @@ handle_tracepoint_bkpts (struct thread_info *tinfo, CORE_ADDR stop_pc) trace_debug ("lib stopped due to full buffer."); if (ipa_stopping_tracepoint) trace_debug ("lib stopped due to tpoint"); - if (ipa_stopping_tracepoint) + if (ipa_error_tracepoint) trace_debug ("lib stopped due to error"); }