* 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 9d5234e..616ca6f 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 16d25cc..2397c30 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\