PR remote/20655 - small fix in handle_tracepoint_bkpts
authorTom Tromey <tom@tromey.com>
Fri, 30 Sep 2016 21:45:26 +0000 (15:45 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 5 Oct 2016 16:31:34 +0000 (10:31 -0600)
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  <tom@tromey.com>

PR remote/20655:
* tracepoint.c (handle_tracepoint_bkpts): Check
ipa_error_tracepoint, not ipa_stopping_tracepoint.

gdb/gdbserver/ChangeLog
gdb/gdbserver/tracepoint.c

index f0e8c29cbfec4067e3e40b6ef14a30d14b74528a..42edcc792ef4aafd25f6edb39ca6229920b7e1da 100644 (file)
@@ -1,3 +1,9 @@
+2016-10-05  Tom Tromey  <tom@tromey.com>
+
+       PR remote/20655:
+       * tracepoint.c (handle_tracepoint_bkpts): Check
+       ipa_error_tracepoint, not ipa_stopping_tracepoint.
+
 2016-10-05  Yao Qi  <yao.qi@linaro.org>
 
        * configure.srv: Update the path of arm-*.xml files.
index c07e5256d3fe9052153941ec487ad92feffd5f56..7700ad121fcca8d27cec44413216a049e70941be 100644 (file)
@@ -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");
        }
 
This page took 0.038057 seconds and 4 git commands to generate.