diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-12-02 11:34:37 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-12-02 11:34:37 +0000 |
commit | c67a9c901aa0c78a85229ffc837a97d2589a99f8 (patch) | |
tree | 3ca926e38606444af4c27177991fff27f07f5c10 /gdb/dwarf2read.c | |
parent | 06be6983bb907e61d30fa4c8ec1b434bbfee9e45 (diff) | |
download | gdb-c67a9c901aa0c78a85229ffc837a97d2589a99f8.zip gdb-c67a9c901aa0c78a85229ffc837a97d2589a99f8.tar.gz gdb-c67a9c901aa0c78a85229ffc837a97d2589a99f8.tar.bz2 |
2009-12-02 Tristan Gingold <gingold@adacore.com>
* dwarf2read.c (dwarf2_build_psymtabs_easy): Remove mainline parameter.
(dwarf2_build_psymtabs_hard): Ditto.
(dwarf2_build_psymtabs): Ajust calls.
* stabsread.h (elfstab_build_psymtabs): Remove mainline parameter on
the prototype.
(coffstab_build_psymtabs): Ditto.
(stabsect_build_psymtabs): Ditto.
* dbxread.c (coffstab_build_psymtabs): Remove mainline parameter on
the definition.
(elfstab_build_psymtabs): Ditto.
(stabsect_build_psymtabs): Ditto.
* coffread.c (coff_symfile_read): Adjust call.
* elfread.c (elf_symfile_read): Ditto.
* somread.c (som_symfile_read): Ditto.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 906bbfc..0fa63a5 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -769,7 +769,7 @@ dwarf2_invalid_attrib_class_complaint (const char *arg1, const char *arg2) static void dwarf2_locate_sections (bfd *, asection *, void *); #if 0 -static void dwarf2_build_psymtabs_easy (struct objfile *, int); +static void dwarf2_build_psymtabs_easy (struct objfile *); #endif static void dwarf2_create_include_psymtab (char *, struct partial_symtab *, @@ -779,7 +779,7 @@ static void dwarf2_build_include_psymtabs (struct dwarf2_cu *, struct die_info *, struct partial_symtab *); -static void dwarf2_build_psymtabs_hard (struct objfile *, int); +static void dwarf2_build_psymtabs_hard (struct objfile *); static void scan_partial_symbols (struct partial_die_info *, CORE_ADDR *, CORE_ADDR *, @@ -1474,14 +1474,14 @@ dwarf2_build_psymtabs (struct objfile *objfile, int mainline) /* Things are significantly easier if we have .debug_aranges and .debug_pubnames sections */ - dwarf2_build_psymtabs_easy (objfile, mainline); + dwarf2_build_psymtabs_easy (objfile); } else #endif /* only test this case for now */ { /* In this case we have to work a bit harder */ - dwarf2_build_psymtabs_hard (objfile, mainline); + dwarf2_build_psymtabs_hard (objfile); } } @@ -1490,7 +1490,7 @@ dwarf2_build_psymtabs (struct objfile *objfile, int mainline) .debug_pubnames and .debug_aranges sections. */ static void -dwarf2_build_psymtabs_easy (struct objfile *objfile, int mainline) +dwarf2_build_psymtabs_easy (struct objfile *objfile) { bfd *abfd = objfile->obfd; char *aranges_buffer, *pubnames_buffer; @@ -2075,7 +2075,7 @@ build_type_psymtabs (struct objfile *objfile) .debug_info and .debug_abbrev sections. */ static void -dwarf2_build_psymtabs_hard (struct objfile *objfile, int mainline) +dwarf2_build_psymtabs_hard (struct objfile *objfile) { /* Instead of reading this into a big buffer, we should probably use mmap() on architectures that support it. (FIXME) */ |