aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-02 00:42:53 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-02 00:42:53 +0000
commit777666697aa35368f095be1fdede3cb4d3d2d183 (patch)
treeb099de78b231f2f368f5cb22cd7291ee09098c06 /gdb
parent62d5b8da6aa3ebe70ba85705c5216c3a137f133b (diff)
downloadgdb-777666697aa35368f095be1fdede3cb4d3d2d183.zip
gdb-777666697aa35368f095be1fdede3cb4d3d2d183.tar.gz
gdb-777666697aa35368f095be1fdede3cb4d3d2d183.tar.bz2
2011-03-01 Michael Snyder <msnyder@vmware.com>
* jv-lang.c (evaluate_subexp_java): Conditional can't be true.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/jv-lang.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 66006b1..8694cb1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c
index dc1b953..fb2c056 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: