aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-02 22:21:45 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-02 22:21:45 +0000
commitc38d16a719b158f15ebd7b99d60cfbf2e8c7b8b7 (patch)
treece7f38e71c8c84866e413c0fe3beedaa02b5e8e0 /gdb
parent905b671bb7f990dff3f2f01d71886e60a54d11f9 (diff)
downloadgdb-c38d16a719b158f15ebd7b99d60cfbf2e8c7b8b7.zip
gdb-c38d16a719b158f15ebd7b99d60cfbf2e8c7b8b7.tar.gz
gdb-c38d16a719b158f15ebd7b99d60cfbf2e8c7b8b7.tar.bz2
2011-03-02 Michael Snyder <msnyder@vmware.com>
* infcall.c (call_function_by_hand): Add break statements for lint.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/infcall.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f03926f..51c5092 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 75de56c..af3a261 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -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 */
}
}