* gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
authorDaniel Jacobowitz <drow@false.org>
Mon, 9 Aug 2004 13:15:26 +0000 (13:15 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 9 Aug 2004 13:15:26 +0000 (13:15 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/templates.exp

index c373022c14a118095ac8c208cd01bf8786976b5c..014ed6f76b423731f4b9ff8f30a90a268e794a50 100644 (file)
@@ -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
index 8fb6f5c68a00a5c6aa17d513b8800435fe3c26f1..15e9a58f94c01ab933623e2702221fc39372f3b8 100644 (file)
@@ -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 $"