summaryrefslogtreecommitdiff
path: root/gdb/stabsread.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-01-31 19:22:18 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-01-31 19:22:18 +0000
commit9e603196aafc38e44b3564e8aa5ffe37f78e0abd (patch)
tree1c043f645047d29d48726f6ef4dc28655832da63 /gdb/stabsread.h
parentedecd74051eefd0f79b13317af429995c6ec8d5e (diff)
downloadgdb-9e603196aafc38e44b3564e8aa5ffe37f78e0abd.tar.gz
* dbxread.c (stabs_data): New static variable.
(fill_symbuf): Support an in-memory buffer for stabs data. (stabs_seek): New function. (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. (read_ofile_symtab): Use stabs_seek. (elfstab_build_psymtabs): Take an asection* instead of an offset and size. Relocate the stabs data if necessary. Save the section* for dbx_psymtab_to_symtab. * dwarf2read.c: Add section variables for each debug section. (dwarf2_locate_sections): Fill them in. (dwarf2_read_section): Take an asection* argument. Relocate the section contents if necessary. (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. * dwarf2cfi.c (parse_frame_info): Take a section argument and pass it to dwarf2_read_section. (dwarf2_build_frame_info): Update callers. * elfread.c (elf_symfile_read): Update call to elfstab_build_psymtabs. * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. (DBX_STAB_SECTION): New macro. * stabsread.h (elfstab_build_psymtabs): Update prototype. * symfile.c (symfile_dummy_outputs): New function. (symfile_relocate_debug_section): New function. * symfile.h (symfile_relocate_debug_section): Add prototype.
Diffstat (limited to 'gdb/stabsread.h')
-rw-r--r--gdb/stabsread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stabsread.h b/gdb/stabsread.h
index 9f15642f241..62fd77601ad 100644
--- a/gdb/stabsread.h
+++ b/gdb/stabsread.h
@@ -181,7 +181,7 @@ extern void process_one_symbol (int, int, CORE_ADDR, char *,
extern void elfstab_build_psymtabs (struct objfile *objfile,
int mainline,
- file_ptr staboff, unsigned int stabsize,
+ asection *stabsect,
file_ptr stabstroffset,
unsigned int stabstrsize);