summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.objc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-07-26 20:11:08 +0000
committerTom Tromey <tromey@redhat.com>2012-07-26 20:11:08 +0000
commitc9ead973670e9f822e7093146a6f05d08a5e0a33 (patch)
treec5758e05aca68eba7a7f1e4348fc30192e85c8a9 /gdb/testsuite/gdb.objc
parent1c3134475762978047d32e51f5a8e374b49d930e (diff)
downloadgdb-c9ead973670e9f822e7093146a6f05d08a5e0a33.tar.gz
* Makefile.in (SFILES): Remove objc-exp.y.
(YYFILES): Remove objc-exp.c. (YYOBJ): Remove objc-exp.o. (local-maintainer-clean): Don't mention objc-exp.c. * c-exp.y: Include objc-lang.h. (%union) <class>: New field. (NSSTRING, SELECTOR, CLASSNAME, OBJC_LBRAC): New tokens. (exp): Clone subscript production for OBJC_LBRAC. Add various Objective C productions. (msglist, msgarglist, msgarg): New productions. (array_mod, func_mod, operator): Clone productions for OBJC_LBRAC. (parse_string_or_char): Handle '@' strings. (lex_one_token): Return OBJC_LBRAC. Recognize @selector. (classify_name): Check la_name_of_this. Recognize ObjC class names. * objc-exp.y: Remove. * objc-lang.c (objc_language_defn): Use c_parse, c_error. * objc-lang.h (objc_parse, objc_error): Don't declare. gdb/testsuite * gdb.objc/print.exp (test_float_accepted): Remove kfails.
Diffstat (limited to 'gdb/testsuite/gdb.objc')
-rw-r--r--gdb/testsuite/gdb.objc/print.exp4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.objc/print.exp b/gdb/testsuite/gdb.objc/print.exp
index 96fb759c1ee..87b7fb393f2 100644
--- a/gdb/testsuite/gdb.objc/print.exp
+++ b/gdb/testsuite/gdb.objc/print.exp
@@ -32,13 +32,9 @@ proc test_float_accepted {} {
# Test all the suffixes (including no suffix).
gdb_test "p 1." " = 1"
gdb_test "p 1.5" " = 1.5"
- setup_kfail gdb/11925 "*-*-*"
gdb_test "p 1.f" " = 1"
- setup_kfail gdb/11925 "*-*-*"
gdb_test "p 1.5f" " = 1.5"
- setup_kfail gdb/11925 "*-*-*"
gdb_test "p 1.l" " = 1"
- setup_kfail gdb/11925 "*-*-*"
gdb_test "p 1.5l" " = 1.5"
# Test hexadecimal floating point.