gdb: rename partial_symtab::read_dependencies to expand_dependencies
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 29 Mar 2020 19:23:48 +0000 (15:23 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 29 Mar 2020 19:23:48 +0000 (15:23 -0400)
commit48993951ce343e397c4250c43c1708fffab01ac1
tree82c1f7958cc27926bfcb432acfa1e51981ccdc1f
parent3ad830466f440959b18b93c8361f9055fc135e54
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.
gdb/ChangeLog
gdb/dbxread.c
gdb/dwarf2/read.c
gdb/mdebugread.c
gdb/psympriv.h
gdb/psymtab.c
gdb/xcoffread.c
This page took 0.024672 seconds and 4 git commands to generate.