gdb.base/default.exp: Add missing $_as_string to "show convenience" test
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 14 Mar 2016 16:42:54 +0000 (12:42 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 14 Mar 2016 16:43:39 +0000 (12:43 -0400)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/default.exp

index 625359f..eec8604 100644 (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'.
index 10739ca..40bee20 100644 (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>} \