aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-03-21 22:37:42 +0000
committerKevin Buettner <kevinb@redhat.com>2000-03-21 22:37:42 +0000
commit62557bbcee534198d6ff23d66d912ba256c94def (patch)
tree20190c6ef07b0f4b6979f0390bffa99a75a1e6ed /gdb/symtab.h
parentcb7450ea08c85f5d26149350a403666a25296ecc (diff)
downloadgdb-62557bbcee534198d6ff23d66d912ba256c94def.zip
gdb-62557bbcee534198d6ff23d66d912ba256c94def.tar.gz
gdb-62557bbcee534198d6ff23d66d912ba256c94def.tar.bz2
Make sure section addresses from a shared object are correctly set in
a new struct objfile.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 5e3267a..dffb26a 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -837,27 +837,6 @@ struct section_offsets
(sizeof (struct section_offsets) \
+ sizeof (((struct section_offsets *) 0)->offsets) * (SECT_OFF_MAX-1))
-/* Define an array of addresses to accommodate non-contiguous dynamic
- loading of modules. This is for use when entering commands, so we
- can keep track of the section names until we read the file and
- can map them to bfd sections. */
-
-#define MAX_SECTIONS 12
-struct section_addr_info
-{
- /* Sections whose names are always known to gdb. */
- CORE_ADDR text_addr;
- CORE_ADDR data_addr;
- CORE_ADDR bss_addr;
- /* Sections whose names are file format dependant. */
- struct other_sections
- {
- CORE_ADDR addr;
- char *name;
- int sectindex;
- } other[MAX_SECTIONS];
-};
-
/* Each source file or header is represented by a struct symtab.
These objects are chained through the `next' field. */
@@ -1437,9 +1416,6 @@ extern struct symtab *
extern void
clear_solib PARAMS ((void));
-extern struct objfile *
-symbol_file_add PARAMS ((char *, int, struct section_addr_info *, int, int));
-
/* source.c */
extern int