* gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
This commit is contained in:
parent
ba3bee0b4e
commit
54d90d3515
@ -1,3 +1,7 @@
|
||||
2004-08-08 Daniel Jacobowitz <dan@debian.org>
|
||||
|
||||
* gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
|
||||
|
||||
2004-08-08 Daniel Jacobowitz <dan@debian.org>
|
||||
|
||||
PR gdb/1736
|
||||
|
@ -399,7 +399,7 @@ gdb_expect {
|
||||
-re "type = class Baz<int, ?'s'> {\r\n\[ \t\]*public:\r\n\[ \t\]*int x;\r\n\[ \t\]*int t;\r\n\r\n\[ \t\]*int baz\\(int, int\\);\r\n}\r\n$gdb_prompt $"
|
||||
{ # GCC 3.1, DWARF-2 output.
|
||||
kfail "gdb/57" "ptype Baz" }
|
||||
-re "type = class Baz<int, ?115> {\r\n\[ \t\]*public:\r\n\[ \t\]*int x;\r\n\[ \t\]*int t;\r\n\r\n\[ \t\]*int baz\\(int, int\\);\r\n}\r\n$gdb_prompt $"
|
||||
-re "type = class Baz<int, ?(\\(char\\))?115> {\r\n\[ \t\]*public:\r\n\[ \t\]*int x;\r\n\[ \t\]*int t;\r\n\r\n\[ \t\]*int baz\\(int, int\\);\r\n}\r\n$gdb_prompt $"
|
||||
{ # GCC 3.x, DWARF-2 output, running into gdb/57 and gdb/1512.
|
||||
kfail "gdb/57" "ptype Baz" }
|
||||
-re "No symbol \"Baz\" in current context.\r\n$gdb_prompt $"
|
||||
|
Loading…
Reference in New Issue
Block a user