aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-03-20 09:19:45 +0000
committerAndrew Cagney <cagney@redhat.com>2000-03-20 09:19:45 +0000
commitacd46a93b6df4fc321c5a7578f895c1ce81a6907 (patch)
treee6642e8728258f7f350fe3590ce86d16430708eb /gdb/command.c
parentb71896da7ef5d6427932ff0bd48e242a578e5b2e (diff)
downloadgdb-acd46a93b6df4fc321c5a7578f895c1ce81a6907.zip
gdb-acd46a93b6df4fc321c5a7578f895c1ce81a6907.tar.gz
gdb-acd46a93b6df4fc321c5a7578f895c1ce81a6907.tar.bz2
Document requirements on adding a ``!'' command.
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/command.c b/gdb/command.c
index 95965b2..e0b7ad7 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);