Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] Add "del" as alias to "delete"
@ 2006-04-06 16:24 Joel Brobecker
  2006-04-06 16:30 ` Daniel Jacobowitz
  0 siblings, 1 reply; 11+ messages in thread
From: Joel Brobecker @ 2006-04-06 16:24 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 626 bytes --]

This is a followup on a suggestion made by Daniel in:

        http://sourceware.org/ml/gdb/2006-01/msg00205.html

Apparently, a message in GDB hinted that Daniel would not have time
in the near future to implement this, so I went ahead:

2006-04-06  Joel Brobecker  <brobecker@adacore.com>

        * breakpoint.c (_initialize_breakpoint): Add "del" as an alias
        of the "delete" command.

currently testing against the testsuite on x86-linux, but I don't expect
any regression. OK to commit?

Perhaps I should add a test too in one of the breakpoint testcases...
Will work on that as soon as this one is in.

-- 
Joel

[-- Attachment #2: del.diff --]
[-- Type: text/plain, Size: 666 bytes --]

Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.223
diff -u -p -r1.223 breakpoint.c
--- breakpoint.c	9 Feb 2006 11:24:46 -0000	1.223
+++ breakpoint.c	6 Apr 2006 16:19:29 -0000
@@ -7813,6 +7813,7 @@ Also a prefix command for deletion of ot
 The \"unset\" command is also an alias for \"delete\"."),
 		  &deletelist, "delete ", 1, &cmdlist);
   add_com_alias ("d", "delete", class_breakpoint, 1);
+  add_com_alias ("del", "delete", class_breakpoint, 1);
   if (xdb_commands)
     add_com ("db", class_breakpoint, delete_command, _("\
 Delete some breakpoints.\n\

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

end of thread, other threads:[~2006-05-17 15:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-06 16:24 [RFA] Add "del" as alias to "delete" Joel Brobecker
2006-04-06 16:30 ` Daniel Jacobowitz
2006-04-06 18:38   ` Joel Brobecker
2006-04-06 21:04     ` Michael Snyder
2006-04-06 21:11       ` Daniel Jacobowitz
2006-04-06 21:38         ` Michael Snyder
2006-05-17 16:02           ` Daniel Jacobowitz
2006-04-06 21:49         ` Andreas Schwab
2006-05-05 20:22     ` Daniel Jacobowitz
2006-05-05 22:50       ` Joel Brobecker
2006-04-06 19:14   ` Eli Zaretskii

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