Skip sss-bp-on-user-bp-2.exp on remote hardware step targets.
[deliverable/binutils-gdb.git] / gdb / annotate.c
index d82daa2919c21063e505311c990f1b884373c6aa..6cce693385d03f14320810269ef4020152a8bacc 100644 (file)
@@ -1,5 +1,5 @@
 /* Annotation routines for GDB.
-   Copyright (C) 1986-2013 Free Software Foundation, Inc.
+   Copyright (C) 1986-2014 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -24,6 +24,7 @@
 #include "breakpoint.h"
 #include "observer.h"
 #include "inferior.h"
+#include "infrun.h"
 \f
 
 /* Prototypes for local functions.  */
@@ -575,6 +576,9 @@ annotate_display_prompt (void)
 static void
 breakpoint_changed (struct breakpoint *b)
 {
+  if (b->number <= 0)
+    return;
+
   annotate_breakpoints_invalid ();
 }
 
This page took 0.03056 seconds and 4 git commands to generate.