diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-09-18 20:14:56 +0000 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-09-18 20:14:56 +0000 |
commit | c1d780c2c7b5c8fe0a330f77263ec2eec16b541f (patch) | |
tree | 41978a618851fc1f674070f835a18808045d863a /gdb | |
parent | 4ae24af054894eef0a5a45ab48aeef263d2739ec (diff) | |
download | gdb-c1d780c2c7b5c8fe0a330f77263ec2eec16b541f.zip gdb-c1d780c2c7b5c8fe0a330f77263ec2eec16b541f.tar.gz gdb-c1d780c2c7b5c8fe0a330f77263ec2eec16b541f.tar.bz2 |
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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 3 | ||||
-rw-r--r-- | gdb/infcmd.c | 1 |
4 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f89617c..6c8fcdb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-09-18 Sergio Durigan Junior <sergiodj@redhat.com> + + * infcmd.c (_initialize_infcmd): Register `j' as an alias for + `jump'. + 2012-09-18 Joel Brobecker <brobecker@adacore.com> * linespec.c (iterate_over_all_matching_symtabs): Use the correct diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 2323374..d928ed0 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2012-09-18 Sergio Durigan Junior <sergiodj@redhat.com> + + * gdb.texinfo (jump): Mention new alias `j' for `jump'. + 2012-09-18 Yao Qi <yao@codesourcery.com> * gdb.texinfo (GDB/MI Async Records): Document new MI diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index cd4513b..ddcbbad 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -15495,8 +15495,11 @@ an address of your own choosing, with the following commands: @table @code @kindex jump +@kindex j @r{(@code{jump})} @item jump @var{linespec} +@itemx j @var{linespec} @itemx jump @var{location} +@itemx j @var{location} Resume execution at line @var{linespec} or at address given by @var{location}. Execution stops again immediately if there is a breakpoint there. @xref{Specify Location}, for a description of the diff --git a/gdb/infcmd.c b/gdb/infcmd.c index cce624e..fd035df 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) { |