aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-08-18 19:44:49 +0000
committerTom Tromey <tromey@redhat.com>2008-08-18 19:44:49 +0000
commitf98dfd4b46ff7c68b479181714832b4c5fced87e (patch)
tree71f22509b59c46d2508086ef19b5a4043c833f1b /gdb/objfiles.h
parentd87ecdfba2fcd75ef418cc93a6d966d67b7e9334 (diff)
downloadgdb-f98dfd4b46ff7c68b479181714832b4c5fced87e.zip
gdb-f98dfd4b46ff7c68b479181714832b4c5fced87e.tar.gz
gdb-f98dfd4b46ff7c68b479181714832b4c5fced87e.tar.bz2
* symfile.c (reread_symbols): Update.
* solib-sunos.c (allocate_rt_common_objfile): Update. * objfiles.c (allocate_objfile): Update. * objfiles.h (struct objfile) <md, mmfd, deprecated_obj_private>: Remove.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h23
1 files changed, 2 insertions, 21 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 7e39b07..56a00f1 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -293,18 +293,6 @@ struct objfile
struct minimal_symbol *msymbol_demangled_hash[MINIMAL_SYMBOL_HASH_SIZE];
- /* The mmalloc() malloc-descriptor for this objfile if we are using
- the memory mapped malloc() package to manage storage for this objfile's
- data. NULL if we are not. */
-
- void *md;
-
- /* The file descriptor that was used to obtain the mmalloc descriptor
- for this objfile. If we call mmalloc_detach with the malloc descriptor
- we should then close this file descriptor. */
-
- int mmfd;
-
/* Structure which keeps track of functions that manipulate objfile's
of the same type as this objfile. I.E. the function to read partial
symbols for example. Note that this structure is in statically
@@ -338,17 +326,10 @@ struct objfile
void *deprecated_sym_private;
- /* Hook for target-architecture-specific information. This must
- point to memory allocated on one of the obstacks in this objfile,
- so that it gets freed automatically when reading a new object
- file. */
-
- void *deprecated_obj_private;
-
/* Per objfile data-pointers required by other GDB modules. */
/* FIXME: kettenis/20030711: This mechanism could replace
- deprecated_sym_stab_info, deprecated_sym_private and
- deprecated_obj_private entirely. */
+ deprecated_sym_stab_info and deprecated_sym_private
+ entirely. */
void **data;
unsigned num_data;