diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-03-29 15:23:48 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-03-29 15:23:48 -0400 |
commit | 48993951ce343e397c4250c43c1708fffab01ac1 (patch) | |
tree | 82c1f7958cc27926bfcb432acfa1e51981ccdc1f /gdb/mdebugread.c | |
parent | 3ad830466f440959b18b93c8361f9055fc135e54 (diff) | |
download | fsf-binutils-gdb-48993951ce343e397c4250c43c1708fffab01ac1.zip fsf-binutils-gdb-48993951ce343e397c4250c43c1708fffab01ac1.tar.gz fsf-binutils-gdb-48993951ce343e397c4250c43c1708fffab01ac1.tar.bz2 |
gdb: rename partial_symtab::read_dependencies to expand_dependencies
This method calls partial_symtab::expand_psymtab on all dependencies of
a psymtab. Given that there is also a partial_symtab::read_symtab
method, I think it would be clearer to name this function
expand_dependencies, rather than read_dependencies.
gdb/ChangeLog:
* psympriv.h (partial_symtab) <read_dependencies>: Rename to...
<expand_dependencies>: ... this.
* psymtab.c (partial_symtab::read_dependencies): Rename to...
(partial_symtab::expand_dependencies): ... this.
* dwarf2/read.c (dwarf2_include_psymtab) <expand_psymtab>:
Update.
(dwarf2_psymtab::expand_psymtab): Update.
* dbxread.c (dbx_psymtab_to_symtab_1): Update.
* mdebugread.c (psymtab_to_symtab_1): Update.
* xcoffread.c (xcoff_psymtab_to_symtab_1): Update.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 5d2fbcd..f4bb244 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -3856,7 +3856,7 @@ psymtab_to_symtab_1 (legacy_psymtab *pst, struct objfile *objfile) /* Read in all partial symtabs on which this one is dependent. NOTE that we do have circular dependencies, sigh. We solved that by setting pst->readin before this point. */ - pst->read_dependencies (objfile); + pst->expand_dependencies (objfile); /* Do nothing if this is a dummy psymtab. */ |