aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-11-11 00:43:04 +0000
committerDoug Evans <dje@google.com>2011-11-11 00:43:04 +0000
commit74e2f255485844a9662d354ac13c4c04dad92c5c (patch)
tree375d5413abbaad0cefbeeb496ec0006e23456c41 /gdb/symtab.c
parent3d88bd92001ccb331bdb8cfb462141636837ac59 (diff)
downloadgdb-74e2f255485844a9662d354ac13c4c04dad92c5c.zip
gdb-74e2f255485844a9662d354ac13c4c04dad92c5c.tar.gz
gdb-74e2f255485844a9662d354ac13c4c04dad92c5c.tar.bz2
* dwarf2read.c (dw2_map_symbol_filenames): New parameter
`need_fullname'. * psymtab.c (map_symbol_filenames_psymtab): Ditto. (map_partial_symbol_filenames): Ditto. All callers updated. * psymtab.h (map_partial_symbol_filenames): Update prototype. * symfile.h (struct quick_symbol_functions, map_symbol_filenames): New parameter need_fullname.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index f881226..1628f31 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -2881,7 +2881,8 @@ sources_info (char *ignore, int from_tty)
"will be read in on demand:\n\n");
first = 1;
- map_partial_symbol_filenames (output_partial_symbol_filename, &first);
+ map_partial_symbol_filenames (output_partial_symbol_filename, &first,
+ 1 /*need_fullname*/);
printf_filtered ("\n");
}
@@ -4314,7 +4315,8 @@ make_source_files_completion_list (char *text, char *word)
datum.list = &list;
datum.list_used = &list_used;
datum.list_alloced = &list_alloced;
- map_partial_symbol_filenames (maybe_add_partial_symtab_filename, &datum);
+ map_partial_symbol_filenames (maybe_add_partial_symtab_filename, &datum,
+ 0 /*need_fullname*/);
discard_cleanups (back_to);
return list;