Hi!

On Thu, Nov 14, 2019 at 07:01:47PM +0300, Konstantin Kharlamov wrote:
> Generally, people expect functions to accept arguments directly. But
> ones defined in gdbinit did not use the argument, which may be confusing
> for newcomers. But we can't change behavior to use the argument without
> breaking existing users of the gdbinit. Let's fix this by adding a check
> for whether a user passed an argument, and either use it or go with
> older behavior.
> 
> 2019-11-14  Konstantin Kharlamov  <hi-an...@yandex.ru>
> 
>         * gdbinit.in (pp, pr, prl, pt, pct, pgg, pgq, pgs, pge, pmz, ptc, pdn,
>         ptn, pdd, prc, pi, pbm, pel, trt): Make use of $arg0 if a user passed 
> it

(Lines in a changelog end in a dot).

I love this...  if it works :-)  How was it tested?  With what GDB versions?


Segher

Reply via email to