aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-04 18:31:22 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-04 18:31:22 +0000
commit7f5936f9feb7caa5b26a43c489060190dd0f08df (patch)
treee056c2d3035b2b527768b8b6d62bc7cdd4839b30 /gdb
parent12f23c24faef13b3b0467c5cb5fa9ca99d8d1fd9 (diff)
downloadgdb-7f5936f9feb7caa5b26a43c489060190dd0f08df.zip
gdb-7f5936f9feb7caa5b26a43c489060190dd0f08df.tar.gz
gdb-7f5936f9feb7caa5b26a43c489060190dd0f08df.tar.bz2
2011-03-04 Michael Snyder <msnyder@vmware.com>
Reverting this patch: * infcall.c (call_function_by_hand): Add break statements for lint.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/infcall.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dcace77..a79e62c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
diff --git a/gdb/infcall.c b/gdb/infcall.c
index af3a261..75de56c 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -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 */
}
}