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.
+2014-09-09 Yao Qi <yao@codesourcery.com>
+
+ * gdb.mi/mi-var-display.exp: Set print symbol off.
+
2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
PR gdb/17035
mi_expect_stop "breakpoint-hit" "do_children_tests" "" ".*var-cmd.c" \
$line_dct_end { "" "disp=\"keep\"" } "run to main"
+# Prevent symbol on the address being printed.
+mi_gdb_test "-gdb-set print symbol off"
+
##### #####
# #
# Display tests #