aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2010-04-30 16:22:42 +0000
committerPierre Muller <muller@sourceware.org>2010-04-30 16:22:42 +0000
commit3c0ee1a46468d89b8865cd70616af4558c499b16 (patch)
treeffe848c160eed07df70cff10369b2e66819162fa /gdb
parentea1fae46d894fe78aec8a26e8e167b5352265624 (diff)
downloadgdb-3c0ee1a46468d89b8865cd70616af4558c499b16.zip
gdb-3c0ee1a46468d89b8865cd70616af4558c499b16.tar.gz
gdb-3c0ee1a46468d89b8865cd70616af4558c499b16.tar.bz2
* python/py-param.c (parm_constants): Avoid ARI warning
by adding ARI comment. (parmpy_init): Likewise.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/python/py-param.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1b9094f..889437e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2010-04-30 Pierre Muller <muller@ics.u-strasbg.fr>
+ * python/py-param.c (parm_constants): Avoid ARI warning
+ by adding ARI comment.
+ (parmpy_init): Likewise.
+
+2010-04-30 Pierre Muller <muller@ics.u-strasbg.fr>
+
* windows-tdep.c (windows_get_tlb_type): Remember last GDBARCH
and created type for re-use.
diff --git a/gdb/python/py-param.c b/gdb/python/py-param.c
index 36f96f5..20ac993 100644
--- a/gdb/python/py-param.c
+++ b/gdb/python/py-param.c
@@ -36,7 +36,7 @@ struct parm_constant
struct parm_constant parm_constants[] =
{
- { "PARAM_BOOLEAN", var_boolean },
+ { "PARAM_BOOLEAN", var_boolean }, /* ARI: var_boolean */
{ "PARAM_AUTO_BOOLEAN", var_auto_boolean },
{ "PARAM_UINTEGER", var_uinteger },
{ "PARAM_INTEGER", var_integer },
@@ -475,7 +475,8 @@ parmpy_init (PyObject *self, PyObject *args, PyObject *kwds)
return -1;
}
- if (parmclass != var_boolean && parmclass != var_auto_boolean
+ if (parmclass != var_boolean /* ARI: var_boolean */
+ && parmclass != var_auto_boolean
&& parmclass != var_uinteger && parmclass != var_integer
&& parmclass != var_string && parmclass != var_string_noescape
&& parmclass != var_optional_filename && parmclass != var_filename