From d5962de546ad1ceb7ae69539b60d2e48e3942e30 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 27 Aug 2014 10:13:09 -0700 Subject: [PATCH] dwarf2read.c (dwarf_record_line): Fix typo. gdb/ChangeLog: * dwarf2read.c (dwarf_record_line): Fix typo. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ac4d43cc66a..53c25ba0fc5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-08-27 Doug Evans + + * dwarf2read.c (dwarf_record_line): Fix typo. + 2014-08-27 Patrick Palka * target.h (struct target_ops::to_terminal_save_ours): Remove diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 47201984459..fdadbdf9f88 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -17233,7 +17233,7 @@ dwarf_record_line (struct gdbarch *gdbarch, struct subfile *subfile, { CORE_ADDR addr = gdbarch_addr_bits_remove (gdbarch, address); - (*p_record_line) (current_subfile, line, addr); + (*p_record_line) (subfile, line, addr); } /* Subroutine of dwarf_decode_lines_1 to simplify it. -- 2.30.2