aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-19 19:56:02 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-19 19:56:02 +0000
commit78a4a9b940711aae9aaa87fb788ed78862477266 (patch)
treedfaf12220315212b71ca5cb8f152d4a9a32643b6 /gdb/objfiles.h
parent3fe7447286f35584d45cefca47e5b7e17202617c (diff)
downloadgdb-78a4a9b940711aae9aaa87fb788ed78862477266.zip
gdb-78a4a9b940711aae9aaa87fb788ed78862477266.tar.gz
gdb-78a4a9b940711aae9aaa87fb788ed78862477266.tar.bz2
2004-01-19 Andrew Cagney <cagney@redhat.com>
* top.h (mapped_symbol_files): Delete declaration. * main.c (captured_main): Delete option "m" and "mapped". * objfiles.c (mapped_symbol_files): Delete variable. * symfile.c (symbol_file_command): Delete mmap code. (symbol_file_add_with_addrs_or_offsets): Ditto. (add_symbol_file_command, reread_separate_symbols): Ditto. * objfiles.h (OBJF_MAPPED): Delete. * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete. (free_objfile) [USE_MMALLOC]: Ditto. (open_existing_mapped_file): Delete function. (open_mapped_file): Delete function. (map_to_file): Delete function.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index ebc10b3..732af4d 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -470,15 +470,6 @@ struct objfile
/* Defines for the objfile flag word. */
-/* Gdb can arrange to allocate storage for all objects related to a
- particular objfile in a designated section of its address space,
- managed at a low level by mmap() and using a special version of
- malloc that handles malloc/free/realloc on top of the mmap() interface.
- This allows the "internal gdb state" for a particular objfile to be
- dumped to a gdb state file and subsequently reloaded at a later time. */
-
-#define OBJF_MAPPED (1 << 0) /* Objfile data is mmap'd */
-
/* When using mapped/remapped predigested gdb symbol information, we need
a flag that indicates that we have previously done an initial symbol
table read from this particular objfile. We can't just look for the