GNU Binutils with patches for OS216
リビジョン | e74d7b43a83bd9037c9c6dd2ea93df68d0b0dd89 (tree) |
---|---|
日時 | 1991-04-19 10:38:55 |
作者 | Jim Kingdon <jkingdon@engr...> |
コミッター | Jim Kingdon |
* symfile.c: Rename add_syms_command to add_symbol_file_command.
(_initialize_symfile, add_syms_addr_command):
Rename add-syms to add-symbol-file.
@@ -605,7 +605,7 @@ load_command (arg, from_tty) | ||
605 | 605 | /* This function runs the add_syms command of our current target. */ |
606 | 606 | |
607 | 607 | void |
608 | -add_syms_command (args, from_tty) | |
608 | +add_symbol_file_command (args, from_tty) | |
609 | 609 | char *args; |
610 | 610 | int from_tty; |
611 | 611 | { |
@@ -623,7 +623,7 @@ add_syms_addr_command (arg_string, from_tty) | ||
623 | 623 | CORE_ADDR text_addr; |
624 | 624 | |
625 | 625 | if (arg_string == 0) |
626 | - error ("add-syms takes a file name and an address"); | |
626 | + error ("add-symbol-file takes a file name and an address"); | |
627 | 627 | |
628 | 628 | arg_string = tilde_expand (arg_string); |
629 | 629 | make_cleanup (free, arg_string); |
@@ -634,7 +634,7 @@ add_syms_addr_command (arg_string, from_tty) | ||
634 | 634 | *arg_string++ = (char) 0; |
635 | 635 | |
636 | 636 | if (name[0] == 0) |
637 | - error ("add-syms takes a file name and an address"); | |
637 | + error ("add-symbol-file takes a file name and an address"); | |
638 | 638 | |
639 | 639 | text_addr = parse_and_eval_address (arg_string); |
640 | 640 |
@@ -918,7 +918,7 @@ _initialize_symfile () | ||
918 | 918 | The `file' command can also load symbol tables, as well as setting the file\n\ |
919 | 919 | to execute."); |
920 | 920 | |
921 | - add_com ("add-syms", class_files, add_syms_command, | |
921 | + add_com ("add-symbol-file", class_files, add_symbol_file_command, | |
922 | 922 | "Load the symbols from FILE, assuming FILE has been dynamically loaded.\n\ |
923 | 923 | The second argument provides the starting address of the file's text."); |
924 | 924 |