OBS User unknown
2007-05-11 14:39:13 +00:00
committed by Git OBS Bridge
parent 2100ce0800
commit 9712638660
16 changed files with 83 additions and 1862 deletions

12
find-pc-sect-line.diff Normal file
View File

@@ -0,0 +1,12 @@
--- 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.