* event-loop.c: Include unistd.h if it exists.
[deliverable/binutils-gdb.git] / gdb / breakpoint.c
index 5394ae408bf53a9149d03ed3e7c33d19d6be34fb..47a10f68861cc21fa494eb5bd0dab594168535bd 100644 (file)
@@ -3306,6 +3306,11 @@ bpstat_check_location (const struct bp_location *bl,
 {
   struct breakpoint *b = bl->owner;
 
+  /* By definition, the inferior does not report stops at
+     tracepoints.  */
+  if (b->type == bp_tracepoint)
+    return 0;
+
   if (b->type != bp_watchpoint
       && b->type != bp_hardware_watchpoint
       && b->type != bp_read_watchpoint
This page took 0.026862 seconds and 4 git commands to generate.