aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-09-30 15:45:26 -0600
committerTom Tromey <tom@tromey.com>2016-10-05 10:31:34 -0600
commit39b5a3b9b3aadac723de719f3c27f8462ed49af7 (patch)
tree5e24e383d36851beeb80771298c668df69776f74 /gdb
parente742d386c480efa5229bc8b1887a7718f840a457 (diff)
downloadgdb-39b5a3b9b3aadac723de719f3c27f8462ed49af7.zip
gdb-39b5a3b9b3aadac723de719f3c27f8462ed49af7.tar.gz
gdb-39b5a3b9b3aadac723de719f3c27f8462ed49af7.tar.bz2
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 <tom@tromey.com> PR remote/20655: * tracepoint.c (handle_tracepoint_bkpts): Check ipa_error_tracepoint, not ipa_stopping_tracepoint.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbserver/ChangeLog6
-rw-r--r--gdb/gdbserver/tracepoint.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index f0e8c29..42edcc7 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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.
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index c07e525..7700ad1 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");
}