gdb.base/default.exp: Add missing $_as_string to "show convenience" test

When adding the $_as_string convenience function, I missed a new test
failure in default.exp.  The tests lists the convenience functions, so
$_as_string should be added to the expected list.

Fixes:

+FAIL: gdb.base/default.exp: show convenience ($_caller_is = <internal function _caller_is> not found)

gdb/testsuite/ChangeLog:

	* gdb.base/default.exp: Add $_as_string to the list of expected
	convenience functions.
This commit is contained in:
Simon Marchi 2016-03-14 12:42:54 -04:00
parent d834e6355e
commit fa4ff31331
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
* gdb.base/default.exp: Add $_as_string to the list of expected
convenience functions.
2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.base/maint.exp: New tests for 'maint info line-table'.

View File

@ -612,6 +612,7 @@ if ![skip_python_tests] {
{$_regex = <internal function _regex>} \
{$_streq = <internal function _streq>} \
{$_strlen = <internal function _strlen>} \
{$_as_string = <internal function _as_string>} \
{$_caller_is = <internal function _caller_is>} \
{$_caller_matches = <internal function _caller_matches>} \
{$_any_caller_is = <internal function _any_caller_is>} \