gdbinit.in: call a function with "call", not "set"
authorKonstantin Kharlamov <Hi-Angel@yandex.ru>
Fri, 3 Jan 2020 19:35:48 +0000 (19:35 +0000)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Fri, 3 Jan 2020 19:35:48 +0000 (22:35 +0300)
commit582097cbc6507c553942d44be760db9368dc8430
tree12a52df0570b1a131dfb6e8a6a731dcb6ec49035
parentb4e7013794972ddfcaf042a775b06c94d20ba96b
gdbinit.in: call a function with "call", not "set"

Calling a function foo in gdb as "set foo()" results in a warning.
Disregarding, it looks wrong to call a function with "set". Let's use
"call" instead.

2019-11-14  Konstantin Kharlamov  <Hi-Angel@yandex.ru>

* gdbinit.in (pr, prl, pt, pct, pgg, pgq, pgs, pge, pmz, pdd, pbs, pbm):
Use "call" instead of "set".

From-SVN: r279866
gcc/ChangeLog
gcc/gdbinit.in