From f56ce88372c4b5848638bab8b10b71042725a100 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 25 Sep 2013 22:24:05 +0000 Subject: * symfile.h (struct sym_fns): Add "objfile" argument to sym_read_linetable. All uses updated. --- gdb/buildsym.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gdb/buildsym.c') diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 1237e5e..cee0cc5 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -1144,9 +1144,10 @@ end_symtab_from_static_block (struct block *static_block, blockvector = make_blockvector (objfile); } - /* Read the line table if it has to be read separately. */ + /* Read the line table if it has to be read separately. + This is only used by xcoffread.c. */ if (objfile->sf->sym_read_linetable != NULL) - objfile->sf->sym_read_linetable (); + objfile->sf->sym_read_linetable (objfile); /* Handle the case where the debug info specifies a different path for the main source file. It can cause us to lose track of its -- cgit v1.1