gdb/
authorYao Qi <yao@codesourcery.com>
Wed, 28 Nov 2012 11:56:15 +0000 (11:56 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 28 Nov 2012 11:56:15 +0000 (11:56 +0000)
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'.

gdb/ChangeLog
gdb/breakpoint.c
gdb/corefile.c
gdb/value.c

index 9f2ed17a34f27ec4688345ab42e3484df994d7ee..757e64ad4ed7380f67cb615d5217d255cc18f7c9 100644 (file)
@@ -1,3 +1,12 @@
+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'.
+
 2012-11-27  Joel Brobecker  <brobecker@adacore.com>
 
        * sparc-sol2-nat.c (supply_gregset): Fix first parameter in
index 5749fa70ad040db45c4b261f99c330923c76c7bb..57d443439ca267d4da22514180301df2c2f4cb4e 100644 (file)
@@ -16339,6 +16339,7 @@ Delete specified tracepoints.\n\
 Arguments are tracepoint numbers, separated by spaces.\n\
 No argument means delete all tracepoints."),
           &deletelist);
+  add_alias_cmd ("tr", "tracepoints", class_trace, 1, &deletelist);
 
   c = add_cmd ("tracepoints", class_trace, disable_trace_command, _("\
 Disable specified tracepoints.\n\
index 78dbbc2b86da3e0b332800b1ef5ec822ccd550bd..eab715d807f98835e795d5e841b41a32c8e66c74 100644 (file)
@@ -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"));
index 2a1e1f262d8effe8294bd3fe0205ef4a7581f6f8..07130ed460621ad95b7602193af78a8265447c3f 100644 (file)
@@ -3384,6 +3384,7 @@ A few convenience variables are given values automatically:\n\
 Convenience functions are defined via the Python API."
 #endif
           ), &showlist);
+  add_alias_cmd ("conv", "convenience", no_class, 1, &showlist);
 
   add_cmd ("values", no_set_class, show_values, _("\
 Elements of value history around item number IDX (or last ten)."),