summaryrefslogtreecommitdiff
path: root/gdb/psympriv.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-03-29 15:23:48 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-03-29 15:23:48 -0400
commit48993951ce343e397c4250c43c1708fffab01ac1 (patch)
tree82c1f7958cc27926bfcb432acfa1e51981ccdc1f /gdb/psympriv.h
parent3ad830466f440959b18b93c8361f9055fc135e54 (diff)
downloadbinutils-gdb-48993951ce343e397c4250c43c1708fffab01ac1.tar.gz
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/psympriv.h')
-rw-r--r--gdb/psympriv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/psympriv.h b/gdb/psympriv.h
index 79f83a4d6cf..9bc960a77d4 100644
--- a/gdb/psympriv.h
+++ b/gdb/psympriv.h
@@ -134,7 +134,7 @@ struct partial_symtab
virtual void expand_psymtab (struct objfile *) = 0;
/* Ensure that all the dependencies are read in. */
- void read_dependencies (struct objfile *);
+ void expand_dependencies (struct objfile *);
/* Return true if the symtab corresponding to this psymtab has been
readin. */