diff options
author | Doug Evans <dje@google.com> | 2015-09-15 13:21:28 -0700 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2015-09-15 13:21:28 -0700 |
commit | b326e5870e54f52d52c32388f7f6e07454e2f2c2 (patch) | |
tree | ac6057d733108b0a95d5722100612fd44c12e791 /gdb/testsuite/gdb.base | |
parent | 92b3f0082674ecdb4dad89d722acd069aef0dafa (diff) | |
download | gdb-b326e5870e54f52d52c32388f7f6e07454e2f2c2.zip gdb-b326e5870e54f52d52c32388f7f6e07454e2f2c2.tar.gz gdb-b326e5870e54f52d52c32388f7f6e07454e2f2c2.tar.bz2 |
Handle clang naming of function static local variable.
clang names the local variable t_structs_a.buf.
gdb/testsuite/ChangeLog:
* gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
of function static local variable.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/callfuncs.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp index 263ec55..fda3cb7 100644 --- a/gdb/testsuite/gdb.base/callfuncs.exp +++ b/gdb/testsuite/gdb.base/callfuncs.exp @@ -222,7 +222,7 @@ proc do_function_calls {} { "call inferior func with struct - returns long double _Complex" } - gdb_test "p t_structs_a(struct_val1)" "= (.unsigned char .. )?<buf.*> \"foo\"" \ + gdb_test "p t_structs_a(struct_val1)" "= (.unsigned char .. )?<.*buf.*> \"foo\"" \ "call inferior func with struct - returns char *" # Restore default value. |