2009-12-17 Stan Shebs <stan@codesourcery.com>
authorStan Shebs <shebs@codesourcery.com>
Fri, 18 Dec 2009 00:36:47 +0000 (00:36 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 18 Dec 2009 00:36:47 +0000 (00:36 +0000)
* breakpoint.c (bpstat_check_location): Check for tracepoints.

gdb/ChangeLog
gdb/breakpoint.c

index 18bb4ba53964457c0e86b9e646d10622ae710954..16759d3e64094686bf76c503ccd195f28aa03412 100644 (file)
@@ -1,3 +1,7 @@
+2009-12-17  Stan Shebs  <stan@codesourcery.com>
+
+       * breakpoint.c (bpstat_check_location): Check for tracepoints.
+
 2009-12-16  Michael Snyder  <msnyder@vmware.com>
 
        * i386-tdep.c (i386_process_record): Reformat comments.
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.143497 seconds and 4 git commands to generate.