https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22466
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alexander Monakov <amona...@gcc.gnu.org>: https://gcc.gnu.org/g:2c2e9f7a5d4b5db97f268ae247b3a82b1610a543 commit r10-6048-g2c2e9f7a5d4b5db97f268ae247b3a82b1610a543 Author: Alexander Monakov <amona...@ispras.ru> Date: Fri Jan 17 18:15:44 2020 +0300 gdbinit.in: make shorthands accept an explicit argument Make gdb shorthands such as 'pr' accept an argument, in addition to implictly taking register '$' as the thing to examine. The 'eval ...' one-liners are used to workaround GDB bug #22466. * gdbinit.in (help-gcc-hooks): New command. (pp, pr, prl, pt, pct, pgg, pgq, pgs, pge, pmz, ptc, pdn, ptn, pdd, prc, pi, pbm, pel, trt): Take $arg0 instead of $ if supplied. Update documentation.