diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-02-03 16:03:07 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-02-03 16:03:07 +0000 |
commit | 652a899601383bee12293508992ca5f5e0d76967 (patch) | |
tree | 8583d93154479945d63136f771a5f35c86333479 /gdb/symtab.c | |
parent | af529f8f61348016fc75bcb2e09c8f5d8bd1cc3a (diff) | |
download | gdb-652a899601383bee12293508992ca5f5e0d76967.zip gdb-652a899601383bee12293508992ca5f5e0d76967.tar.gz gdb-652a899601383bee12293508992ca5f5e0d76967.tar.bz2 |
gdb/
Code cleanup.
* dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
(dw2_expand_symtabs_with_fullname): ... here. Rename parameter
filename to fullname. Rename variable this_name to this_fullname.
Lowercase FILENAME_CMP call.
(dw2_find_symbol_file): New comment for the returned string.
(dwarf2_gdb_index_functions): Rename the function to
dw2_expand_symtabs_with_fullname.
* psymtab.c (read_psymtabs_with_filename): Rename to ...
(read_psymtabs_with_fullname): ... here. Rename parameter filename to
fullname.
(psym_functions): Rename the function to read_psymtabs_with_fullname.
* symfile.h (struct quick_symbol_functions): Rename field
expand_symtabs_with_filename to expand_symtabs_with_fullname and its
parameter filename to fullname. Document returned string meaning for
find_symbol_file.
* symtab.c (find_line_symtab): Rename the called function to
expand_symtabs_with_fullname.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 15c845e..690cda1 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2501,7 +2501,7 @@ find_line_symtab (struct symtab *symtab, int line, ALL_OBJFILES (objfile) { if (objfile->sf) - objfile->sf->qf->expand_symtabs_with_filename (objfile, + objfile->sf->qf->expand_symtabs_with_fullname (objfile, symtab->filename); } |