This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] infcall.c, call_function_by_hand, add break statements for 'lint'
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 02 Mar 2011 14:26:27 -0800
- Subject: [commit] infcall.c, call_function_by_hand, add break statements for 'lint'
checked in.
2011-03-02 Michael Snyder <msnyder@vmware.com>
* infcall.c (call_function_by_hand): Add break statements for lint.
Index: infcall.c
===================================================================
RCS file: /cvs/src/src/gdb/infcall.c,v
retrieving revision 1.138
diff -u -p -r1.138 infcall.c
--- infcall.c 9 Jan 2011 03:08:56 -0000 1.138
+++ infcall.c 2 Mar 2011 22:20:38 -0000
@@ -831,9 +831,11 @@ Evaluation of the expression containing
(%s) will be abandoned.\n\
When the function is done executing, GDB will silently stop."),
e.message, name);
+ break; /* lint */
case RETURN_QUIT:
default:
throw_exception (e);
+ break; /* lint */
}
}