aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog3
-rw-r--r--binutils/debug.c4
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