diff options
author | Doug Evans <dje@google.com> | 2011-11-11 00:43:04 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2011-11-11 00:43:04 +0000 |
commit | 74e2f255485844a9662d354ac13c4c04dad92c5c (patch) | |
tree | 375d5413abbaad0cefbeeb496ec0006e23456c41 /gdb/symfile.h | |
parent | 3d88bd92001ccb331bdb8cfb462141636837ac59 (diff) | |
download | gdb-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/symfile.h')
-rw-r--r-- | gdb/symfile.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h index 624df76..accd20e 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -289,9 +289,11 @@ struct quick_symbol_functions /* Call a callback for every file defined in OBJFILE whose symtab is not already read in. FUN is the callback. It is passed the file's - FILENAME, the file's FULLNAME, and the DATA passed to this function. */ + FILENAME, the file's FULLNAME (if need_fullname is non-zero), and + the DATA passed to this function. */ void (*map_symbol_filenames) (struct objfile *objfile, - symbol_filename_ftype *fun, void *data); + symbol_filename_ftype *fun, void *data, + int need_fullname); }; /* Structure to keep track of symbol reading functions for various |