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 | f56ce88372c4b5848638bab8b10b71042725a100 (patch) | |
tree | 4a37c5286bb0acdc27fbc09df1345662ea7bee87 /gdb/buildsym.c | |
parent | 20c681d15f0ca83a5fc4b6811585865799b79706 (diff) | |
download | gdb-f56ce88372c4b5848638bab8b10b71042725a100.zip gdb-f56ce88372c4b5848638bab8b10b71042725a100.tar.gz gdb-f56ce88372c4b5848638bab8b10b71042725a100.tar.bz2 |
* 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 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 |