diff options
author | Pierre Muller <muller@sourceware.org> | 2009-05-24 12:27:35 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2009-05-24 12:27:35 +0000 |
commit | 7099259781c6b3537acdd5b5ae0734caeb5610ba (patch) | |
tree | e25cf9062ac4758b2202076091c7c1e719a95cdc /gdb/symfile.c | |
parent | 5c93f09bedf7ff02efd6d82504bbc3c68df6d197 (diff) | |
download | gdb-7099259781c6b3537acdd5b5ae0734caeb5610ba.zip gdb-7099259781c6b3537acdd5b5ae0734caeb5610ba.tar.gz gdb-7099259781c6b3537acdd5b5ae0734caeb5610ba.tar.bz2 |
* symfile.c (add_shared_symbol_files_command): Remove
prototype and function.
(_initialize _symfile): Move "add-shared-symbol-files"
command and "assf" alias.
* windows-nat.c (_initialize_windows_nat): to here.
Change "add-shared-symbol-files" to alias.
* config/i386/cygwin.mh: Remove NAT_FILE.
* config/i386/mingw.mh: Remove NAT_FILE.
* config/i386/mingw64.mh: Remove NAT_FILE.
* config/i386/nm-cygwin.h: Remove file.
* config/i386/nm-cygwin64.h: Remove file.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index ea97d3c..4b8a576 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -96,8 +96,6 @@ static void symbol_file_add_main_1 (char *args, int from_tty, int flags); static void add_symbol_file_command (char *, int); -static void add_shared_symbol_files_command (char *, int); - static void reread_separate_symbols (struct objfile *objfile); static void cashier_psymtab (struct partial_symtab *); @@ -2234,16 +2232,7 @@ add_symbol_file_command (char *args, int from_tty) do_cleanups (my_cleanups); } -static void -add_shared_symbol_files_command (char *args, int from_tty) -{ -#ifdef ADD_SHARED_SYMBOL_FILES - ADD_SHARED_SYMBOL_FILES (args, from_tty); -#else - error (_("This command is not available in this configuration of GDB.")); -#endif -} - + /* Re-read symbols if a symbol-file has changed. */ void reread_symbols (void) @@ -4102,13 +4091,6 @@ with the text. SECT is a section name to be loaded at SECT_ADDR."), &cmdlist); set_cmd_completer (c, filename_completer); - c = add_cmd ("add-shared-symbol-files", class_files, - add_shared_symbol_files_command, _("\ -Load the symbols from shared objects in the dynamic linker's link map."), - &cmdlist); - c = add_alias_cmd ("assf", "add-shared-symbol-files", class_files, 1, - &cmdlist); - c = add_cmd ("load", class_files, load_command, _("\ Dynamically load FILE into the running program, and record its symbols\n\ for access from GDB.\n\ |