diff options
author | Doug Evans <dje@google.com> | 2013-09-25 22:24:05 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-09-25 22:24:05 +0000 |
commit | 7e414f30983310e8dfd126e9ab2a3529ffd4075a (patch) | |
tree | 791032305341c0cb347ff6452fe2a48e2a67a143 /gdb/buildsym.c | |
parent | f49e1ecc3da86850fa2923c08a3b04afb15e5ee5 (diff) | |
download | gdb-7e414f30983310e8dfd126e9ab2a3529ffd4075a.tar.gz |
* symfile.h (struct sym_fns): Add "objfile" argument to
sym_read_linetable. All uses updated.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 1237e5edfb6..cee0cc54c88 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 |