set print symbol off in py-value.exp and scm-value.exp
authorYao Qi <yao@codesourcery.com>
Thu, 7 Aug 2014 08:10:51 +0000 (16:10 +0800)
committerYao Qi <yao@codesourcery.com>
Sun, 24 Aug 2014 12:21:40 +0000 (20:21 +0800)
commit3881fb67b7017669b3acaba919914954c16270a8
treefe0950ce3fb0e3e6bd1873ecc0d69131b0ed1e0c
parentca71f0dbc6c2315cc17c79d53ec6e902e10eb438
set print symbol off in py-value.exp and scm-value.exp

I see the following fails on arm-none-eabi target,

print sn^M
$14 = 0x0 <_ftext>^M
(gdb) FAIL: gdb.python/py-value.exp: print sn

print sn^M
$14 = 0x0 <_ftext>^M
(gdb) FAIL: gdb.guile/scm-value.exp: print sn

as <_ftext> is unexpected.  This patch is to set print symbol off to
avoid printing this.

gdb/testsuite:

2014-08-24  Yao Qi  <yao@codesourcery.com>

* gdb.guile/scm-value.exp (test_lazy_strings): Set print
symbol off.
* gdb.python/py-value.exp (test_lazy_strings): Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.guile/scm-value.exp
gdb/testsuite/gdb.python/py-value.exp
This page took 0.035646 seconds and 4 git commands to generate.