aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/infcmd.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9d5234e..616ca6f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 16d25cc..2397c30 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -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\