New ARI warning Thu Jun 12 02:12:23 UTC 2014 in gdb-7.8-branch

GDB Administrator
2014-06-12T02:12:43Z

13d12
< gdb/aix-thread.c:309: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/aix-thread.c:309: if (!(ms = lookup_minimal_symbol (name, NULL, NULL)))
16d14
< gdb/aix-thread.c:911: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/aix-thread.c:911: if (!(ms = lookup_minimal_symbol (stub_name, NULL, NULL)))
52a51
> gdb/cli/cli-decode.c:1402: deprecated: deprecated warn_user: Do not use deprecated warn_user, see declaration for details
gdb/cli/cli-decode.c:1402: if (found->deprecated_warn_user)
66,67d64
< gdb/cli/cli-setshow.c:455: deprecated: deprecated set_hook: Do not use deprecated set_hook, see declaration for details
gdb/cli/cli-setshow.c:455: if (deprecated_set_hook)
< gdb/cli/cli-setshow.c:456: deprecated: deprecated set_hook: Do not use deprecated set_hook, see declaration for details
gdb/cli/cli-setshow.c:456: deprecated_set_hook (c);
92a90
> gdb/common/common-utils.h:42: regression: __func__: Do not use __func__, ISO C 90 does not support this macro
gdb/common/common-utils.h:42:#define FUNCTION_NAME __func__
174d171
< gdb/defs.h:720: deprecated: deprecated flush_hook: Do not use deprecated flush_hook, see declaration for details
gdb/defs.h:720:extern void (*deprecated_flush_hook) (struct ui_file * stream);
185d181
< gdb/defs.h:737: deprecated: deprecated set_hook: Do not use deprecated set_hook, see declaration for details
gdb/defs.h:737:extern void (*deprecated_set_hook) (struct cmd_list_element * c);
230,231d225
< gdb/gdbarch.c:389: legacy: legacy register_sim_regno: Do not use legacy register_sim_regno, see declaration for details
gdb/gdbarch.c:389: legacy_register_sim_regno,
< gdb/gdbarch.c:537: legacy: legacy virtual_frame_pointer: Do not use legacy virtual_frame_pointer, see declaration for details
gdb/gdbarch.c:537: gdbarch->virtual_frame_pointer = legacy_virtual_frame_pointer;
255,259d248
< gdb/gdbcore.h:232: deprecated: deprecated core_resize_section_table: Do not use deprecated core_resize_section_table, see declaration for details
gdb/gdbcore.h:232:struct target_section *deprecated_core_resize_section_table (int num_added);
< gdb/gdbtypes.c:1689: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/gdbtypes.c:1689: else if (TYPE_CODE (type) == TYPE_CODE_ARRAY && TYPE_NFIELDS (type) == 1 && (TYPE_CODE (range_type = TYPE_INDEX_TYPE (type)) == TYPE_CODE_RANGE))
< gdb/gnu-nat.c:1659: code: UCASE function: Function name is uppercase.
gdb/gnu-nat.c:1659:S_exception_raise_request (mach_port_t port, mach_port_t reply_port, thread_t thread_port, task_t task_port, int exception, int code, int subcode)
< gdb/gnu-nat.c:1838: code: UCASE function: Function name is uppercase.
gdb/gnu-nat.c:1838:S_proc_wait_reply (mach_port_t reply, error_t err, int status, int sigcode, rusage_t rusage, pid_t pid)
< gdb/gnu-nat.c:1891: code: UCASE function: Function name is uppercase.
gdb/gnu-nat.c:1891:S_proc_setmsgport_reply (mach_port_t reply, error_t err, mach_port_t old_msg_port)
267d255
< gdb/go32-nat.c:961: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/go32-nat.c:961: go32_ops.deprecated_xfer_memory = go32_xfer_memory;
268a257,260
> gdb/guile/guile-internal.h:117: regression: __func__: Do not use __func__, ISO C 90 does not support this macro
gdb/guile/guile-internal.h:117:#define FUNC_NAME __func__
> gdb/guile/guile.c:411: gettext: multiple messages: Do not use multiple calls to warning or error, instead use a single call
gdb/guile/guile.c:411: error (_('));
> gdb/guile/scm-exception.c:86: 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/guile/scm-exception.c:86: "%print-exception-message";
> gdb/guile/scm-exception.c:94: 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/guile/scm-exception.c:94: "%print-exception-with-stack";
330,331d321
< gdb/infrun.c:4107: deprecated: deprecated context_hook: Do not use deprecated context_hook, see declaration for details
gdb/infrun.c:4107: if (deprecated_context_hook)
< gdb/infrun.c:4108: deprecated: deprecated context_hook: Do not use deprecated context_hook, see declaration for details
gdb/infrun.c:4108: deprecated_context_hook (pid_to_thread_id (ecs->ptid));
408d397
< gdb/minsyms.c:696: code: OP eol: Do not use &&, or || at the end of a line
gdb/minsyms.c:696: && ((best_symbol == NULL) ||
453d441
< gdb/nto-procfs.c:1395: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/nto-procfs.c:1395: procfs_ops.deprecated_xfer_memory = procfs_xfer_memory;
478,482d465
< gdb/ppc-sysv-tdep.c:1399: code: OP eol: Do not use &&, or || at the end of a line
gdb/ppc-sysv-tdep.c:1399: else if (TYPE_CODE (type) == TYPE_CODE_DECFLOAT &&
< gdb/ppc-sysv-tdep.c:1565: code: OP eol: Do not use &&, or || at the end of a line
gdb/ppc-sysv-tdep.c:1565: tdep->ppc_gp0_regnum +
< gdb/ppc-sysv-tdep.c:1606: code: OP eol: Do not use &&, or || at the end of a line
gdb/ppc-sysv-tdep.c:1606: tdep->ppc_gp0_regnum +
< gdb/ppc-sysv-tdep.c:1984: code: OP eol: Do not use &&, or || at the end of a line
gdb/ppc-sysv-tdep.c:1984: convert_typed_floating ((const bfd_byte *) writebuf +
< gdb/ppc-sysv-tdep.c:1997: code: OP eol: Do not use &&, or || at the end of a line
gdb/ppc-sysv-tdep.c:1997: (bfd_byte *) readbuf +
488d470
< gdb/procfs.c:196: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/procfs.c:196: t->deprecated_xfer_memory = procfs_xfer_memory;
533,534d514
< gdb/procfs.c:3985: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/procfs.c:3985: return (*ops->deprecated_xfer_memory) (offset, readbuf,
< gdb/procfs.c:3988: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/procfs.c:3988: return (*ops->deprecated_xfer_memory) (offset, (gdb_byte *) writebuf,
556d535
< gdb/remote-m32r-sdi.c:1633: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/remote-m32r-sdi.c:1633: m32r_ops.deprecated_xfer_memory = m32r_xfer_memory;
582d560
< gdb/remote-mips.c:3622: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/remote-mips.c:3622: mips_ops.deprecated_xfer_memory = mips_xfer_memory;
710,714d687
< gdb/target.c:585: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/target.c:585: INHERIT (deprecated_xfer_memory, t);
< gdb/target.c:721: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/target.c:721: de_fault (deprecated_xfer_memory,
< gdb/target.c:1961: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/target.c:1961: && ops->deprecated_xfer_memory != NULL)
< gdb/target.c:1974: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/target.c:1974: xfered = ops->deprecated_xfer_memory (offset, buffer, len,
< gdb/target.c:1979: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/target.c:1979: xfered = ops->deprecated_xfer_memory (offset, readbuf, len,
717,721d689
< gdb/target.c:4465: deprecated: deprecated debug_xfer_memory: Do not use deprecated debug_xfer_memory, see declaration for details
gdb/target.c:4465:deprecated_debug_xfer_memory (CORE_ADDR memaddr, bfd_byte *myaddr, int len,
< gdb/target.c:4471: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/target.c:4471: retval = debug_target.deprecated_xfer_memory (memaddr, myaddr, len, write,
< gdb/target.c:4916: deprecated: deprecated debug_xfer_memory: Do not use deprecated debug_xfer_memory, see declaration for details
gdb/target.c:4916: current_target.deprecated_xfer_memory = deprecated_debug_xfer_memory;
gdb/target.c:4916: current_target.deprecated_xfer_memory = deprecated_debug_xfer_memory;
< gdb/target.c:4916: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/target.c:4916: current_target.deprecated_xfer_memory = deprecated_debug_xfer_memory;
gdb/target.c:4916: current_target.deprecated_xfer_memory = deprecated_debug_xfer_memory;
< gdb/target.h:400: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/target.h:400: int (*deprecated_xfer_memory) (CORE_ADDR memaddr, gdb_byte *myaddr,
736d703
< gdb/top.c:259: deprecated: deprecated set_hook: Do not use deprecated set_hook, see declaration for details
gdb/top.c:259:void (*deprecated_set_hook) (struct cmd_list_element * c);