diff options
author | Nick Clifton <nickc@redhat.com> | 2013-10-09 16:21:26 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-10-09 16:21:26 +0000 |
commit | 35431c4c2363b6f3b7254e0c2783ae27e956afbc (patch) | |
tree | 5cb326ffa52d86445cd72f7ac99722fc74938767 /binutils | |
parent | aebcf7b7ec8e87eb07bbdef37dafac0b499e35cb (diff) | |
download | gdb-35431c4c2363b6f3b7254e0c2783ae27e956afbc.zip gdb-35431c4c2363b6f3b7254e0c2783ae27e956afbc.tar.gz gdb-35431c4c2363b6f3b7254e0c2783ae27e956afbc.tar.bz2 |
PR binutils/16023
* debug.c (debug_type_samep): Add missing break statement.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 3 | ||||
-rw-r--r-- | binutils/debug.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 48d3f0b..3fd83fb 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,8 @@ 2013-10-09 Nick Clifton <nickc@redhat.com> + PR binutils/16023 + * debug.c (debug_type_samep): Add missing break statement. + PR binutils/16024 * objdump.c (usage): Mark as a no-return function. (main): Add comment explaining why a break statement is not diff --git a/binutils/debug.c b/binutils/debug.c index ee0d62e..0aa1f50 100644 --- a/binutils/debug.c +++ b/binutils/debug.c @@ -1,6 +1,5 @@ /* debug.c -- Handle generic debugging information. - Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2005, 2007, - 2009 Free Software Foundation, Inc. + Copyright 1995-2013 Free Software Foundation, Inc. Written by Ian Lance Taylor <ian@cygnus.com>. This file is part of GNU Binutils. @@ -3156,6 +3155,7 @@ debug_type_samep (struct debug_handle *info, struct debug_type_s *t1, && t1->u.krange->upper == t2->u.krange->upper && debug_type_samep (info, t1->u.krange->type, t2->u.krange->type)); + break; case DEBUG_KIND_ARRAY: ret = (t1->u.karray->lower == t2->u.karray->lower |