summaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorsergiodj <sergiodj>2012-09-18 20:14:46 +0000
committersergiodj <sergiodj>2012-09-18 20:14:46 +0000
commitb7e3a9ffb93089006cd78a77be7d8a844339a5e3 (patch)
treee5c2baea794ccec8c338125024035835823fe8c2 /gdb/infcmd.c
parent3e4b455de18aa6687598aa3d8cda03440cd6facf (diff)
downloadgdb-b7e3a9ffb93089006cd78a77be7d8a844339a5e3.tar.gz
gdb/ChangeLog:
2012-09-18 Sergio Durigan Junior <sergiodj@redhat.com> * infcmd.c (_initialize_infcmd): Register `j' as an alias for `jump'. gdb/doc/ChangeLog: 2012-09-18 Sergio Durigan Junior <sergiodj@redhat.com> * gdb.texinfo (jump): Mention new alias `j' for `jump'.
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 cce624e464f..fd035df9055 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -3104,6 +3104,7 @@ Usage: jump <location>\n\
Give as argument either LINENUM or *ADDR, where ADDR is an expression\n\
for an address to start at."));
set_cmd_completer (c, location_completer);
+ add_com_alias ("j", "jump", class_run, 1);
if (xdb_commands)
{