aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-05-22 09:31:44 +0000
committerPedro Alves <palves@redhat.com>2013-05-22 09:31:44 +0000
commitac90359cdce0c994537301749278c962c7407f7b (patch)
tree1a3642b5e4f0a927325f1887ea6922cd1f376c5f /gdb
parentad3d91277b03836774688242a5e5cca6b6db6a4f (diff)
downloadgdb-ac90359cdce0c994537301749278c962c7407f7b.zip
gdb-ac90359cdce0c994537301749278c962c7407f7b.tar.gz
gdb-ac90359cdce0c994537301749278c962c7407f7b.tar.bz2
Let the ARI know gdb_Py_DECREF is OK.
The ARI complains with: > gdb/python/python-internal.h:177: code: editCase function: Function name starts lower case but has uppercased letters. gdb/python/python-internal.h:177:gdb_Py_DECREF (void *op) gdb_Py_DECREF is just wrapping a python macro that happens to be mixed case. gdb/ 2013-05-22 Pedro Alves <palves@redhat.com> * python/python-internal.h (gdb_Py_DECREF): Tag with "ARI: editCase function".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/python/python-internal.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1d325d0..b2ef335 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-22 Pedro Alves <palves@redhat.com>
+
+ * python/python-internal.h (gdb_Py_DECREF): Tag with
+ "ARI: editCase function".
+
2013-05-21 Paul Pluzhnikov <ppluzhnikov@google.com>
* solib-svr4.c (svr4_free_so): Protect against NULL dereference.
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index b5c34b6..f47d48a 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -174,7 +174,7 @@ typedef unsigned long gdb_py_ulongest;
Wrap it ourselves, so that callers don't need to care. */
static inline void
-gdb_Py_DECREF (void *op)
+gdb_Py_DECREF (void *op) /* ARI: editCase function */
{
Py_DECREF (op);
}