aboutsummaryrefslogtreecommitdiff
path: root/gdb/corefile.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-11-28 11:56:15 +0000
committerYao Qi <yao@codesourcery.com>2012-11-28 11:56:15 +0000
commit7e20dfcd947ceb8b6f48863e9bae82205a63cc8a (patch)
treeee90521542b7d8a5942665acb3272f984e1fed88 /gdb/corefile.c
parentc23b5043ce222d89275b7fa1608f9bf7e0faa065 (diff)
downloadfsf-binutils-gdb-7e20dfcd947ceb8b6f48863e9bae82205a63cc8a.zip
fsf-binutils-gdb-7e20dfcd947ceb8b6f48863e9bae82205a63cc8a.tar.gz
fsf-binutils-gdb-7e20dfcd947ceb8b6f48863e9bae82205a63cc8a.tar.bz2
gdb/
2012-11-28 Yao Qi <yao@codesourcery.com> * breakpoint.c (_initialize_breakpoint): Call add_alias_cmd to abbreviate 'delete tracepoints' to 'delete tr'. * corefile.c (_initialize_core): Call add_alias_cmd to abbreviate 'set gnutarget' to 'set g'. * value.c (_initialize_values): Call add_alias_cmd to abbreviate 'show convenience' to 'show conv'.
Diffstat (limited to 'gdb/corefile.c')
-rw-r--r--gdb/corefile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/corefile.c b/gdb/corefile.c
index 78dbbc2..eab715d 100644
--- a/gdb/corefile.c
+++ b/gdb/corefile.c
@@ -456,6 +456,7 @@ Use `set gnutarget auto' to specify automatic detection."),
set_gnutarget_command,
show_gnutarget_string,
&setlist, &showlist);
+ add_alias_cmd ("g", "gnutarget", class_files, 1, &setlist);
if (getenv ("GNUTARGET"))
set_gnutarget (getenv ("GNUTARGET"));