aboutsummaryrefslogtreecommitdiff
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
parentba3bee0b4e7dc5199a6fdfc48b7e8dc1f6476b11 (diff)
downloadgdb-54d90d3515309ff2eaae83d9c95d787cefa0a207.zip
gdb-54d90d3515309ff2eaae83d9c95d787cefa0a207.tar.gz
gdb-54d90d3515309ff2eaae83d9c95d787cefa0a207.tar.bz2
* gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.cp/templates.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index c373022..014ed6f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
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
* gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
for i?86-*-linux*.
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 $"