* infcmd.c (_initialize_infcmd): Add new "fin" alias for "finish".
authorJoel Brobecker <brobecker@gnat.com>
Wed, 21 May 2008 17:54:24 +0000 (17:54 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 21 May 2008 17:54:24 +0000 (17:54 +0000)
gdb/ChangeLog
gdb/infcmd.c

index 9d5234e098054a56879d7343813ae3ea9adf0f2a..616ca6f6bbc2dd7a364c448e04799a58f8e0bce5 100644 (file)
@@ -1,3 +1,7 @@
+2008-05-21  Joel Brobecker  <brobecker@adacore.com>
+
+       * infcmd.c (_initialize_infcmd): Add new "fin" alias for "finish".
+
 2008-05-21  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * frame.h (SIZEOF_FRAME_SAVED_REGS): Remove.
index 16d25cc91c5c1e8c5683e028927fd4db34a1f015..2397c30a09e12492b678d528039273652ad6f004 100644 (file)
@@ -2251,6 +2251,7 @@ Argument N means do this N times (or till program stops for another reason)."));
   add_com ("finish", class_run, finish_command, _("\
 Execute until selected stack frame returns.\n\
 Upon return, the value returned is printed and put in the value history."));
+  add_com_alias ("fin", "finish", class_run, 1);
 
   add_com ("next", class_run, next_command, _("\
 Step program, proceeding through subroutine calls.\n\