aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/python/py-param.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 00cff84..b2c0f47 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -9,6 +9,9 @@
2011-02-28 Michael Snyder <msnyder@vmware.com>
+ * python/py-param.c (set_parameter_value): Add missing
+ break statement.
+
* linux-record.c (record_linux_system_call): Add missing
break statement.
diff --git a/gdb/python/py-param.c b/gdb/python/py-param.c
index 22aa91d..644d1e2 100644
--- a/gdb/python/py-param.c
+++ b/gdb/python/py-param.c
@@ -214,9 +214,8 @@ set_parameter_value (parmpy_object *self, PyObject *value)
self->value.autoboolval = AUTO_BOOLEAN_TRUE;
else
self->value.autoboolval = AUTO_BOOLEAN_FALSE;
-
- break;
}
+ break;
case var_integer:
case var_zinteger: