Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Add "cl" as alias for "clear"
@ 2010-07-05 19:54 Andreas Schwab
  2010-07-06 15:39 ` Tom Tromey
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2010-07-05 19:54 UTC (permalink / raw)
  To: gdb-patches

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."


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add "cl" as alias for "clear"
  2010-07-05 19:54 [PATCH] Add "cl" as alias for "clear" Andreas Schwab
@ 2010-07-06 15:39 ` Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2010-07-06 15:39 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb-patches

>>>>> "Andreas" == Andreas Schwab <schwab@linux-m68k.org> writes:

Andreas> 2010-07-05  Andreas Schwab  <schwab@linux-m68k.org>
Andreas> 	* breakpoint.c (_initialize_breakpoint): Add "cl" as alias for
Andreas> 	"clear".

This is ok.  Thanks.

Tom


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-06 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-05 19:54 [PATCH] Add "cl" as alias for "clear" Andreas Schwab
2010-07-06 15:39 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox