From fd7f724a31ff0c4a385597c0470fb5ed9d9a0e8c Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Wed, 31 Mar 2010 00:47:23 +0000 Subject: [PATCH] * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to appear in the output before main. Remove KFAIL for gdb/2215 aka bz 9320. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.java/jmisc.exp | 7 ++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 092593ff37c..e0e2ffef3dc 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-03-26 Keith Seitz + + * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to + appear in the output before main. + Remove KFAIL for gdb/2215 aka bz 9320. + 2010-03-30 Doug Evans * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined diff --git a/gdb/testsuite/gdb.java/jmisc.exp b/gdb/testsuite/gdb.java/jmisc.exp index e3ab6576e9f..638039392ac 100644 --- a/gdb/testsuite/gdb.java/jmisc.exp +++ b/gdb/testsuite/gdb.java/jmisc.exp @@ -79,11 +79,8 @@ if ![set_lang_java] then { gdb_expect { -re "type = class jmisc extends java.lang.Object \{\[\r\n\ \t]+void main\\(java\.lang\.String\\\[]\\);\[\r\n\ \t]+jmisc\\(\\);\[\r\n\ \t]+\}\[\r\n\ \t]+$gdb_prompt $" { pass "ptype jmisc" } - -re "type = class jmisc extends java.lang.Object \{\[\r\n\ \t]+void main\\(java\.lang\.String\\\[]\\)void;\[\r\n\ \t]+jmisc\\(\\);\[\r\n\ \t]+\}\[\r\n\ \t]+$gdb_prompt $" { - # Just because GCC includes the signature doesn't mean we - # should print it here. We already show the return type. - kfail "ptype jmisc" gdb/2215 - } + -re "type = class jmisc extends java.lang.Object \{\[\r\n\ \t]+jmisc\\(\\);\[\r\n\ \t]+void main\\(java\.lang\.String\\\[]\\);\[\r\n\ \t]+\}\[\r\n\ \t]+$gdb_prompt $" + { pass "ptype jmisc" } -re ".*$gdb_prompt $" { fail "ptype jmisc" } timeout { fail "ptype jmisc (timeout)" ; return } } -- 2.30.2