mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 06:20:30 +00:00
2003-02-28 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Allow const in the two Foo<volatile char *>::foo tests.
This commit is contained in:
parent
08a617dae2
commit
a9e0cf2cae
@ -1,3 +1,8 @@
|
||||
2003-02-28 David Carlton <carlton@math.stanford.edu>
|
||||
|
||||
* gdb.c++/templates.exp (do_tests): Allow const in the two
|
||||
Foo<volatile char *>::foo tests.
|
||||
|
||||
2003-02-27 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* gdb.base/restore.c (main): Return zero, so exit code
|
||||
|
@ -301,7 +301,7 @@ gdb_expect {
|
||||
|
||||
send_gdb "print Foo<volatile char *>::foo\n"
|
||||
gdb_expect {
|
||||
-re "\\$\[0-9\]* = \\{.*char \\*\\((class |)Foo<volatile char ?\\*> \\*, int, .*char \\*\\)\\} $hex <Foo<.*char.*\\*>::foo\\(int, .*char.*\\*\\)>\r\n$gdb_prompt $" { pass "print Foo<volatile char *>::foo" }
|
||||
-re "\\$\[0-9\]* = \\{.*char \\*\\((class |)Foo<volatile char ?\\*> \\*(| const), int, .*char \\*\\)\\} $hex <Foo<.*char.*\\*>::foo\\(int, .*char.*\\*\\)>\r\n$gdb_prompt $" { pass "print Foo<volatile char *>::foo" }
|
||||
-re "No symbol \"Foo<volatile char \\*>\" in current context.\r\n$gdb_prompt $"
|
||||
{ kfail "gdb/33" "print Foo<volatile char *>::foo" }
|
||||
-re "$gdb_prompt $" { fail "print Foo<volatile char *>::foo" }
|
||||
@ -310,7 +310,7 @@ gdb_expect {
|
||||
|
||||
send_gdb "print Foo<volatile char*>::foo\n"
|
||||
gdb_expect {
|
||||
-re "\\$\[0-9\]* = \\{.*char \\*\\((class |)Foo<volatile char ?\\*> \\*, int, .*char \\*\\)\\} $hex <Foo<.*char.*\\*>::foo\\(int, .*char.*\\*\\)>\r\n$gdb_prompt $" { pass "print Foo<volatile char*>::foo" }
|
||||
-re "\\$\[0-9\]* = \\{.*char \\*\\((class |)Foo<volatile char ?\\*> \\*(| const), int, .*char \\*\\)\\} $hex <Foo<.*char.*\\*>::foo\\(int, .*char.*\\*\\)>\r\n$gdb_prompt $" { pass "print Foo<volatile char*>::foo" }
|
||||
-re "No symbol \"Foo<volatile char\\*>\" in current context.\r\n$gdb_prompt $"
|
||||
{ kfail "gdb/33" "print Foo<volatile char*>::foo" }
|
||||
-re "$gdb_prompt $" { fail "print Foo<volatile char*>::foo" }
|
||||
|
Loading…
Reference in New Issue
Block a user