File find-pc-sect-line.diff of Package gdb

--- gdb/symtab.c.~1.157.~	2007-04-16 17:39:04.000000000 +0200
+++ gdb/symtab.c	2007-04-18 14:10:52.000000000 +0200
@@ -2252,6 +2252,9 @@ find_pc_sect_line (CORE_ADDR pc, struct 
 	best_end = item->pc;
     }
 
+  if (notcurrent)
+    pc++;
+
   if (!best_symtab)
     {
       /* If we didn't find any line number info, just return zeros.
openSUSE Build Service is sponsored by