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.
This commit is contained in:
parent
92b3f00826
commit
b326e5870e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-09-15 Doug Evans <dje@google.com>
|
||||
|
||||
* gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
|
||||
of function static local variable.
|
||||
|
||||
2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
|
||||
|
||||
* gdb.threads/tls-so_extern.exp: New test file.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue