aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 72c0a0d..ab76376 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -795,11 +795,12 @@ enter_line_range (struct subfile *subfile, unsigned beginoffset,
if (int_lnno.l_lnno == 0)
{
*firstLine = read_symbol_lineno (int_lnno.l_addr.l_symndx);
- record_line (subfile, 0, record_addr);
+ record_line (subfile, 0, unrelocated_addr (record_addr));
--(*firstLine);
}
else
- record_line (subfile, *firstLine + int_lnno.l_lnno, record_addr);
+ record_line (subfile, *firstLine + int_lnno.l_lnno,
+ unrelocated_addr (record_addr));
curoffset += linesz;
}
}