From acd46a93b6df4fc321c5a7578f895c1ce81a6907 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 20 Mar 2000 09:19:45 +0000 Subject: [PATCH] Document requirements on adding a ``!'' command. --- gdb/ChangeLog | 5 +++++ gdb/command.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 98f7faa60e5..f11915cde1b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 20 19:58:45 2000 Andrew Cagney + + * command.c (_initialize_command): Document requirements for ``!'' + command. + Mon Mar 20 18:12:46 2000 Andrew Cagney From Fri 10 Mar 2000 Robert diff --git a/gdb/command.c b/gdb/command.c index 95965b2d7d6..e0b7ad79fd1 100644 --- a/gdb/command.c +++ b/gdb/command.c @@ -1678,6 +1678,12 @@ _initialize_command () "Execute the rest of the line as a shell command. \n\ With no arguments, run an inferior shell."); + /* NOTE: cagney/2000-03-20: Being able to enter ``(gdb) !ls'' would + be a really useful feature. Unfortunatly, the below wont do + this. Instead it adds support for the form ``(gdb) ! ls'' + (i.e. the space is required). If the ``!'' command below is + added the complains about no ``!'' command would be replaced by + complains about how the ``!'' command is broken :-) */ if (xdb_commands) add_com_alias ("!", "shell", class_support, 0);