OSDN Git Service

2011-03-04 Michael Snyder <msnyder@vmware.com>
authormsnyder <msnyder>
Sat, 5 Mar 2011 03:31:22 +0000 (03:31 +0000)
committermsnyder <msnyder>
Sat, 5 Mar 2011 03:31:22 +0000 (03:31 +0000)
Reverting this patch:
* infcall.c (call_function_by_hand): Add break statements for lint.

gdb/ChangeLog
gdb/infcall.c

index dcace77..a79e62c 100644 (file)
@@ -1,6 +1,9 @@
 2011-03-04  Michael Snyder  <msnyder@vmware.com>
 
        Reverting this patch:
+       * infcall.c (call_function_by_hand): Add break statements for lint.
+
+       Reverting this patch:
        * cli/cli-script.c (script_from_file): Add break for lint.
 
 2011-03-04  Michael Snyder  <msnyder@vmware.com>
index af3a261..75de56c 100644 (file)
@@ -831,11 +831,9 @@ 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 */
        }
     }