aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-lang.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-02-28 18:43:27 +0000
committerMichael Snyder <msnyder@vmware.com>2011-02-28 18:43:27 +0000
commit3ef09ab52201a68f7fae8922f312f45c9e1ab653 (patch)
treea2d90fefc25a07a99a903360ad1f060fb7614a9f /gdb/jv-lang.c
parent8f9a01eecea08017f5b1c9685055aeda424051ed (diff)
downloadgdb-3ef09ab52201a68f7fae8922f312f45c9e1ab653.zip
gdb-3ef09ab52201a68f7fae8922f312f45c9e1ab653.tar.gz
gdb-3ef09ab52201a68f7fae8922f312f45c9e1ab653.tar.bz2
2011-02-28 Michael Snyder <msnyder@vmware.com>
* jv-lang.c (java_primitive_type_from_name): Add missing break.
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r--gdb/jv-lang.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c
index c854ea9..dc1b953 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;