From: Michael Snyder Date: Wed, 2 Mar 2011 00:42:53 +0000 (+0000) Subject: 2011-03-01 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=777666697aa35368f095be1fdede3cb4d3d2d183;p=binutils-gdb.git 2011-03-01 Michael Snyder * jv-lang.c (evaluate_subexp_java): Conditional can't be true. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 66006b16ecf..8694cb13cbc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2011-03-01 Michael Snyder + * 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. diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c index dc1b953e759..fb2c0563118 100644 --- a/gdb/jv-lang.c +++ b/gdb/jv-lang.c @@ -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: