* gdb.base/printcmds.exp: Don't xfail the ptype command. This is

a bug.
This commit is contained in:
Jim Blandy 2002-05-10 20:25:26 +00:00
parent 2654e6d432
commit ecac9a4eaf
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-05-10 Jim Blandy <jimb@redhat.com> 2002-05-10 Jim Blandy <jimb@redhat.com>
* gdb.base/printcmds.exp: Don't xfail the ptype command. This is
a bug.
* gdb.base/printcmds.exp (test_integer_literals_rejected): * gdb.base/printcmds.exp (test_integer_literals_rejected):
Recognize more detailed error message produced by the macro Recognize more detailed error message produced by the macro
expander's lexical analyzer. expander's lexical analyzer.

View File

@ -627,7 +627,7 @@ proc test_print_string_constants {} {
gdb_test "p *\"foo\"" " = 102 'f'" gdb_test "p *\"foo\"" " = 102 'f'"
gdb_test "ptype *\"foo\"" " = char" gdb_test "ptype *\"foo\"" " = char"
gdb_test "p &*\"foo\"" " = \"foo\"" gdb_test "p &*\"foo\"" " = \"foo\""
setup_xfail "*-*-*" # setup_kfail "gdb/538"
gdb_test "ptype &*\"foo\"" "type = char \\*" gdb_test "ptype &*\"foo\"" "type = char \\*"
gdb_test "p (char *)\"foo\"" " = \"foo\"" gdb_test "p (char *)\"foo\"" " = \"foo\""
} }