aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-stabs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb-stabs.h')
-rw-r--r--gdb/gdb-stabs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/gdb-stabs.h b/gdb/gdb-stabs.h
index abe2d33..097f9d9 100644
--- a/gdb/gdb-stabs.h
+++ b/gdb/gdb-stabs.h
@@ -29,8 +29,6 @@
#if !defined (GDBSTABS_H)
#define GDBSTABS_H
-#define SECT_OFF_MAX 64 /* Count of possible values */
-
/* The stab_section_info chain remembers info from the ELF symbol table,
while psymtabs are being built for the other symbol tables in the
objfile. It is destroyed at the complation of psymtab-reading.
@@ -39,9 +37,10 @@
struct stab_section_info
{
char *filename;
- CORE_ADDR sections[SECT_OFF_MAX];
struct stab_section_info *next;
int found; /* Count of times it's found in searching */
+ size_t num_sections;
+ CORE_ADDR sections[1];
};
/* Information is passed among various dbxread routines for accessing