This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
New ARI warning Thu Apr 2 01:53:52 UTC 2015
- From: GDB Administrator <gdbadmin at sourceware dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 2 Apr 2015 01:53:53 +0000
- Subject: New ARI warning Thu Apr 2 01:53:52 UTC 2015
522a523,530
> gdb/python/py-unwind.c:148: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/python/py-unwind.c:148: if ((value = value_object_to_value (pyo_value)) != NULL)
> gdb/python/py-unwind.c:307: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/python/py-unwind.c:307: if (pyo_reg_value == NULL || (value = value_object_to_value (pyo_reg_value)) == NULL)
> gdb/python/py-unwind.c:487: regression: __FUNCTION__: Do not use __FUNCTION__, ISO C 90 does not support this macro
gdb/python/py-unwind.c:487: fprintf_unfiltered (gdb_stdlog, ', __FUNCTION__);
> gdb/python/py-unwind.c:503: code: %p: Do not use printf(%p), instead use printf(%s,paddr()) to dump a target address, or host_address_to_string() for a host address
gdb/python/py-unwind.c:503: TRACE_PY_UNWIND (1, "%s (frame=%p,...,reg=%d)\n", __FUNCTION__, this_frame,
gdb/python/py-unwind.c:503: TRACE_PY_UNWIND (1, ', __FUNCTION__, this_frame,
> gdb/python/py-unwind.c:503: regression: __FUNCTION__: Do not use __FUNCTION__, ISO C 90 does not support this macro
gdb/python/py-unwind.c:503: TRACE_PY_UNWIND (1, "%s (frame=%p,...,reg=%d)\n", __FUNCTION__, this_frame,
gdb/python/py-unwind.c:503: TRACE_PY_UNWIND (1, ', __FUNCTION__, this_frame,
> gdb/python/py-unwind.c:527: regression: __FUNCTION__: Do not use __FUNCTION__, ISO C 90 does not support this macro
gdb/python/py-unwind.c:527: TRACE_PY_UNWIND (3, ', __FUNCTION__,
> gdb/python/py-unwind.c:573: code: OP eol: Do not use &&, or || at the end of a line
gdb/python/py-unwind.c:573: cached_frame = xmalloc (sizeof (*cached_frame) +
> gdb/python/py-unwind.c:613: regression: __FUNCTION__: Do not use __FUNCTION__, ISO C 90 does not support this macro
gdb/python/py-unwind.c:613: TRACE_PY_UNWIND (3, ', __FUNCTION__);