File expand-line-sal-maybe.diff of Package gdb

Index: gdb/breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.325
diff -u -a -p -u -p -a -r1.325 gdb/breakpoint.c
--- gdb/breakpoint.c	10 Jun 2008 09:29:15 -0000	1.325
+++ gdb/breakpoint.c	22 Jun 2008 23:51:37 -0000
@@ -5211,18 +5211,6 @@ expand_line_sal_maybe (struct symtab_and
       return expanded;      
     }
 
-  if (original_pc)
-    {
-      found = 0;
-      for (i = 0; i < expanded.nelts; ++i)
-	if (expanded.sals[i].pc == original_pc)
-	  {
-	    found = 1;
-	    break;
-	  }
-      gdb_assert (found);
-    }
-
   return expanded;
 }
 
openSUSE Build Service is sponsored by