This commit is contained in:
committed by
Git OBS Bridge
parent
2100ce0800
commit
9712638660
12
find-pc-sect-line.diff
Normal file
12
find-pc-sect-line.diff
Normal 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.
|
Reference in New Issue
Block a user