aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-08-09 13:15:26 +0000
committerDaniel Jacobowitz <drow@false.org>2004-08-09 13:15:26 +0000
commit54d90d3515309ff2eaae83d9c95d787cefa0a207 (patch)
tree21d1bc9ed582cf97ddd98d49cfba17d2df20b2d9 /gdb/testsuite/gdb.cp
parentba3bee0b4e7dc5199a6fdfc48b7e8dc1f6476b11 (diff)
downloadgdb-54d90d3515309ff2eaae83d9c95d787cefa0a207.zip
gdb-54d90d3515309ff2eaae83d9c95d787cefa0a207.tar.gz
gdb-54d90d3515309ff2eaae83d9c95d787cefa0a207.tar.bz2
* gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/templates.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/templates.exp b/gdb/testsuite/gdb.cp/templates.exp
index 8fb6f5c..15e9a58 100644
--- a/gdb/testsuite/gdb.cp/templates.exp
+++ b/gdb/testsuite/gdb.cp/templates.exp
@@ -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 $"