Set print symbol off in mi-var-display.exp
authorYao Qi <yao@codesourcery.com>
Sat, 30 Aug 2014 09:46:21 +0000 (17:46 +0800)
committerYao Qi <yao@codesourcery.com>
Tue, 9 Sep 2014 01:57:01 +0000 (09:57 +0800)
commit4c122fc3154566369237c6194def4bd88a074f7e
tree9cdd09ea7ef9b1bc1f07e6e86072de273f975245
parent0a62cfe5676e271b40b5f85efeecbdd36d63a375
Set print symbol off in mi-var-display.exp

Hi,
I see the following fail on arm-none-eabi target,

-var-evaluate-expression -f nat foo^M
^done,value="0x3 <_ftext+2>"^M
(gdb) ^M
FAIL: gdb.mi/mi-var-display.exp: eval variable -f nat foo

the "<_ftext+2>" isn't expected in the test, so "set print symbol off"
can prevent printing it.  It is obvious and I'll commit it in three
days if no comments.

gdb/testsuite:

2014-09-09  Yao Qi  <yao@codesourcery.com>

* gdb.mi/mi-var-display.exp: Set print symbol off.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-display.exp