From e74d7b43a83bd9037c9c6dd2ea93df68d0b0dd89 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 19 Apr 1991 01:38:55 +0000 Subject: [PATCH] * symfile.c: Rename add_syms_command to add_symbol_file_command. (_initialize_symfile, add_syms_addr_command): Rename add-syms to add-symbol-file. --- gdb/symfile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/symfile.c b/gdb/symfile.c index 9aa9ee149b..ab75f2289c 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -605,7 +605,7 @@ load_command (arg, from_tty) /* This function runs the add_syms command of our current target. */ void -add_syms_command (args, from_tty) +add_symbol_file_command (args, from_tty) char *args; int from_tty; { @@ -623,7 +623,7 @@ add_syms_addr_command (arg_string, from_tty) CORE_ADDR text_addr; if (arg_string == 0) - error ("add-syms takes a file name and an address"); + error ("add-symbol-file takes a file name and an address"); arg_string = tilde_expand (arg_string); make_cleanup (free, arg_string); @@ -634,7 +634,7 @@ add_syms_addr_command (arg_string, from_tty) *arg_string++ = (char) 0; if (name[0] == 0) - error ("add-syms takes a file name and an address"); + error ("add-symbol-file takes a file name and an address"); text_addr = parse_and_eval_address (arg_string); @@ -918,7 +918,7 @@ _initialize_symfile () The `file' command can also load symbol tables, as well as setting the file\n\ to execute."); - add_com ("add-syms", class_files, add_syms_command, + add_com ("add-symbol-file", class_files, add_symbol_file_command, "Load the symbols from FILE, assuming FILE has been dynamically loaded.\n\ The second argument provides the starting address of the file's text.");