From 3ef09ab52201a68f7fae8922f312f45c9e1ab653 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Mon, 28 Feb 2011 18:43:27 +0000 Subject: [PATCH] 2011-02-28 Michael Snyder * jv-lang.c (java_primitive_type_from_name): Add missing break. --- gdb/ChangeLog | 2 ++ gdb/jv-lang.c | 1 + 2 files changed, 3 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6768c11ff8c..5aabdf8269e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2011-02-28 Michael Snyder + * jv-lang.c (java_primitive_type_from_name): Add missing break. + * opencl-lang.c (lval_func_check_validity): Rename inner variables. (lval_func_check_synthetic_pointer): Ditto. (lval_func_free_closure): Fix use-after-free. diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c index c854ea9c005..dc1b953e759 100644 --- a/gdb/jv-lang.c +++ b/gdb/jv-lang.c @@ -699,6 +699,7 @@ java_primitive_type_from_name (struct gdbarch *gdbarch, case 'c': if (namelen == 4 && memcmp (name, "char", 4) == 0) return builtin->builtin_char; + break; case 'd': if (namelen == 6 && memcmp (name, "double", 6) == 0) return builtin->builtin_double; -- 2.30.2