Make xmethods tests not to depend on inferior IO.
authorSiva Chandra <sivachandra@chromium.org>
Thu, 5 Jun 2014 14:03:56 +0000 (07:03 -0700)
committerSiva Chandra <sivachandra@chromium.org>
Wed, 18 Jun 2014 11:31:47 +0000 (04:31 -0700)
commit5d376983ca914e1cf36f4968cc87957f9033ebcd
tree6db5c4d47251aefdac6af4a0799a481332fa7241
parent5171def394398d2a3cc6583747e2f19602f0e1da
Make xmethods tests not to depend on inferior IO.

gdb/testsuite/

PR gdb/17017
* gdb.python/py-xmethods.cc: Add global function call counters and
increment them in their respective functions.  Remove "cout"
statements.
* gdb.python/py-xmethods.exp: Make tests check the global function
call counters instead of depending on inferior IO.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-xmethods.cc
gdb/testsuite/gdb.python/py-xmethods.exp