* breakpoint.c (_initialize_breakpoint): Add "cl" as alias for
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 6 Jul 2010 16:17:44 +0000 (16:17 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 6 Jul 2010 16:17:44 +0000 (16:17 +0000)
"clear".

gdb/ChangeLog
gdb/breakpoint.c

index 375f055..2486faa 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-06  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * breakpoint.c (_initialize_breakpoint): Add "cl" as alias for
+       "clear".
+
 2010-07-06  Ken Werner  <ken.werner@de.ibm.com>
 
        * gdbtypes.h (floatformats_ieee_half): Add declaration.
index 4808298..3c93c4b 100644 (file)
@@ -11717,6 +11717,7 @@ With no argument, clears all breakpoints in the line that the selected frame\n\
 is executing in.\n\
 \n\
 See also the \"delete\" command which clears breakpoints by number."));
+  add_com_alias ("cl", "clear", class_breakpoint, 1);
 
   c = add_com ("break", class_breakpoint, break_command, _("\
 Set breakpoint at specified line or function.\n"