aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-05-21 17:54:24 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-05-21 17:54:24 +0000
commit0e479716ae7ddc472b819e5308b2484de38abc60 (patch)
treeec625e82070f5c27b861b2224235c63b05861d0a /gdb
parent214be669de06607c8d0e6f4b11a6fcac04c96175 (diff)
downloadgdb-0e479716ae7ddc472b819e5308b2484de38abc60.zip
gdb-0e479716ae7ddc472b819e5308b2484de38abc60.tar.gz
gdb-0e479716ae7ddc472b819e5308b2484de38abc60.tar.bz2
* infcmd.c (_initialize_infcmd): Add new "fin" alias for "finish".
Diffstat (limited to 'gdb')
-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\