2011-03-02 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 2 Mar 2011 22:21:45 +0000 (22:21 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 2 Mar 2011 22:21:45 +0000 (22:21 +0000)
* infcall.c (call_function_by_hand): Add break statements for lint.

gdb/ChangeLog
gdb/infcall.c

index f03926faaad34ff397ba85323e300ea9eff64c92..51c509239fe07286650a805ba9e6a6fb7998c52e 100644 (file)
@@ -1,5 +1,7 @@
 2011-03-02  Michael Snyder  <msnyder@vmware.com>
 
+       * infcall.c (call_function_by_hand): Add break statements for lint.
+
        * utils.c (parse_escape): Escape the escape char.
 
        * python/py-inferior.c (build_inferior_list): Error out if 
index 75de56cadac2c7b5454293f2fd9d99b1b9f5ba35..af3a2615984b29a489a777e51ca828c07e0b2b08 100644 (file)
@@ -831,9 +831,11 @@ Evaluation of the expression containing the function\n\
 (%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 */
        }
     }