* main.c, symfile.c, source.c, exec.c, core.c: Use it for

"directory", "source", "cd", "symbol-file" "add-symbol-file",
	"load", "file", "exec-file", "core-file" commands.
This commit is contained in:
Jim Kingdon
1993-06-14 20:50:12 +00:00
parent 672f4045d6
commit df0f0dcced
3 changed files with 18 additions and 13 deletions

View File

@@ -25,6 +25,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "inferior.h"
#include "symtab.h"
#include "command.h"
#include "gdbcmd.h"
#include "bfd.h"
#include "target.h"
#include "gdbcore.h"
@@ -286,10 +287,10 @@ read_memory_unsigned_integer (memaddr, len)
void
_initialize_core()
{
add_com ("core-file", class_files, core_file_command,
"Use FILE as core dump for examining memory and registers.\n\
struct cmd_list_element *c;
c = add_cmd ("core-file", class_files, core_file_command,
"Use FILE as core dump for examining memory and registers.\n\
No arg means have no core file. This command has been superseded by the\n\
`target core' and `detach' commands.");
`target core' and `detach' commands.", &cmdlist);
c->completer = filename_completer;
}