Add missing parentheses on 'print' (gdb.python/py-progspace.exp)
authorSergio Durigan Junior <sergiodj@redhat.com>
Wed, 20 Nov 2019 21:31:35 +0000 (16:31 -0500)
committerSergio Durigan Junior <sergiodj@redhat.com>
Wed, 20 Nov 2019 21:31:35 +0000 (16:31 -0500)
commit4f22c3f42ea5824134aaba555e5ad5bd82a36b36
tree89b4e3d12035df2ca46aef1c34187d180adec79d
parent6cdd651fda1315cb43a6a50223350da0da3f6dcf
Add missing parentheses on 'print' (gdb.python/py-progspace.exp)

Commit 33d569b709886a1208145806da80b689d9cae9da ("gdb/python: Return
None from Progspace.block_for_pc on error") added a few tests on
gdb.python/py-progspace.exp which use 'print', but forgot to use
parentheses when passing the arguments to be printed.  This fails on
Python 3.

This commit adds these missing parentheses.  Pushed as obvious.

gdb/testsuite/ChangeLog:
2019-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>

* gdb.python/py-progspace.exp: Add missing parentheses on some
'print' commands.

Change-Id: Iac0a7578855d128bbee3b98e7ea5888dae55fc00
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-progspace.exp
This page took 0.025048 seconds and 4 git commands to generate.