2011-03-01 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 2 Mar 2011 00:42:53 +0000 (00:42 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 2 Mar 2011 00:42:53 +0000 (00:42 +0000)
* jv-lang.c (evaluate_subexp_java): Conditional can't be true.

gdb/ChangeLog
gdb/jv-lang.c

index 66006b16ecf4d4ef4aa3a216cbf0e9f0ecf44351..8694cb13cbcda6b65d5a3b77f680b1fa060526c0 100644 (file)
@@ -1,5 +1,7 @@
 2011-03-01  Michael Snyder  <msnyder@vmware.com>
 
+       * jv-lang.c (evaluate_subexp_java): Conditional can't be true.
+
        * dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
 
        * cli/cli-dump.c (restore_binary_file): Validate ftell return value.
index dc1b953e7592224f12406db864a8613dc79562dd..fb2c0563118ee60531ac6fe420839fa3d2e7375a 100644 (file)
@@ -918,8 +918,6 @@ evaluate_subexp_java (struct type *expect_type, struct expression *exp,
          type = type_from_class (exp->gdbarch, java_class_from_object (arg1));
          arg1 = value_cast (lookup_pointer_type (type), arg1);
        }
-      if (noside == EVAL_SKIP)
-       goto nosideret;
       return value_ind (arg1);
 
     case BINOP_SUBSCRIPT: