13 lines
339 B
Diff
13 lines
339 B
Diff
--- 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.
|