aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/stabsread.h')
-rw-r--r--gdb/stabsread.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/gdb/stabsread.h b/gdb/stabsread.h
index a5a0de7..147950b 100644
--- a/gdb/stabsread.h
+++ b/gdb/stabsread.h
@@ -166,7 +166,19 @@ finish_global_stabs PARAMS ((struct objfile *objfile));
EXTERN int os9k_stabs;
-/* Functions exported by dbxread.c. These are not in stabsread.h because
+/* COFF files can have multiple .stab sections, if they are linked
+ using --split-by-reloc. This linked list is used to pass the
+ information into the functions in dbxread.c. */
+struct stab_section_list
+{
+ /* Next in list. */
+ struct stab_section_list *next;
+
+ /* Stab section. */
+ asection *section;
+};
+
+/* Functions exported by dbxread.c. These are not in stabsread.c because
they are only used by some stabs readers. */
extern struct partial_symtab *
@@ -194,7 +206,8 @@ extern void coffstab_build_psymtabs
PARAMS ((struct objfile *objfile,
struct section_offsets *section_offsets,
int mainline,
- file_ptr staboff, unsigned int stabsize,
+ CORE_ADDR textaddr, unsigned int textsize,
+ struct stab_section_list *stabs,
file_ptr stabstroffset,
unsigned int stabstrsize));