aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
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/infcmd.c
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/infcmd.c')
-rw-r--r--gdb/infcmd.c1
1 files changed, 1 insertions, 0 deletions
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\