diff options
author | Jim Blandy <jimb@codesourcery.com> | 2004-05-02 10:14:02 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2004-05-02 10:14:02 +0000 |
commit | eb4556d736ee14965782a320db1496fb070e54c3 (patch) | |
tree | 3fcf21764625660cd2d0cc44d1f9a5ab42129959 /gdb/config | |
parent | ad7b9a3686f628880fa3d7aa900f1211ae27e90e (diff) | |
download | gdb-eb4556d736ee14965782a320db1496fb070e54c3.zip gdb-eb4556d736ee14965782a320db1496fb070e54c3.tar.gz gdb-eb4556d736ee14965782a320db1496fb070e54c3.tar.bz2 |
Move the symbol-file-from-memory functions into their own file.
* symfile-mem.c, symfile-mem.h: New files.
* symfile.c (symbol_file_add_from_bfd): New function.
(symbol_file_add): Call symbol_file_add_from_bfd.
(symbol_file_add_from_memory, add_symbol_file_from_memory_command):
Moved to symfile-mem.c.
(_initialize_symfile): Move definition of
add-symbol-file-from-memory command to symfile-mem.c.
* symfile.h (symbol_file_add_from_bfd): New declaration.
* config/i386/linux.mt (TDEPFILES): Add symfile-mem.o.
* config/powerpc/linux.mt (TDEPFILES): Same.
* Makefile.in (SFILES): Add symfile-mem.c.
(symfile_mem_h): New variable.
(HFILES_NO_SRCDIR): Add symfile-mem.h.
(symfile-mem.o): New rule.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/linux.mt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/i386/linux.mt b/gdb/config/i386/linux.mt index 36115de..522453f 100644 --- a/gdb/config/i386/linux.mt +++ b/gdb/config/i386/linux.mt @@ -1,4 +1,4 @@ # Target: Intel 386 running GNU/Linux TDEPFILES= i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \ - solib.o solib-svr4.o + solib.o solib-svr4.o symfile-mem.o TM_FILE= tm-linux.h |