This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Add "cl" as alias for "clear"
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: gdb-patches at sourceware dot org
- Date: Mon, 05 Jul 2010 21:54:21 +0200
- Subject: [PATCH] Add "cl" as alias for "clear"
Before clone-inferior was added you could type cl to get clear. Tested
on powerpc-linux.
Andreas.
2010-07-05 Andreas Schwab <schwab@linux-m68k.org>
* breakpoint.c (_initialize_breakpoint): Add "cl" as alias for
"clear".
--- breakpoint.c.~1.499.~ 2010-07-05 21:41:11.000000000 +0200
+++ breakpoint.c 2010-07-05 21:41:19.000000000 +0200
@@ -11717,6 +11717,7 @@ With no argument, clears all breakpoints
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"
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."