aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile-mem.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-25 21:55:43 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-25 21:55:43 +0000
commit97c34f656c6045d6daf0b2a20f0e9de6da5a955a (patch)
treea7b5770167ce1e68beb8c57145835b157abedba9 /gdb/symfile-mem.h
parent378fce5bd73ca6ce9195cc2a7679a9eebb33b722 (diff)
downloadgdb-97c34f656c6045d6daf0b2a20f0e9de6da5a955a.zip
gdb-97c34f656c6045d6daf0b2a20f0e9de6da5a955a.tar.gz
gdb-97c34f656c6045d6daf0b2a20f0e9de6da5a955a.tar.bz2
2004-05-25 Andrew Cagney <cagney@gnu.org>
* symfile.h (symbol_file_add_from_memory): Delete declaration. * symfile-mem.h: Delete file. * symfile-mem.c: Do not include "symfile-mem.h". (symbol_file_add_from_memory): Make static. Use "struct bfd" and "struct bfd_section". When an error do not bother returning NULL. (add_symbol_file_from_memory_command): Use "struct bfd" and "struct bfd_section". * Makefile.in (symfile_mem_h): Delete. (symfile-mem.o): Update dependencies.
Diffstat (limited to 'gdb/symfile-mem.h')
-rw-r--r--gdb/symfile-mem.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/gdb/symfile-mem.h b/gdb/symfile-mem.h
deleted file mode 100644
index b89d589..0000000
--- a/gdb/symfile-mem.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Declarations for reading symbol files from memory into GDB.
-
- Copyright 2004 Free Software Foundation, Inc.
-
- This file is part of GDB.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-#if !defined (SYMFILE_MEM_H)
-#define SYMFILE_MEM_H
-
-/* You must #include "bfd.h" and "defs.h" before #including this file. */
-
-/* Forward declarations. */
-struct objfile;
-
-struct objfile *(symbol_file_add_from_memory
- (bfd *templ, CORE_ADDR addr, int from_tty));
-
-#endif /* SYMFILE_MEM_H */