This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

New ARI warning Fri Dec 21 01:56:22 UTC 2012


45,46d44
< gdb/armnbsd-nat.c:502: deprecated: deprecated add_core_fns: Do not use deprecated add_core_fns, see declaration for details
gdb/armnbsd-nat.c:502:  deprecated_add_core_fns (&arm_netbsd_core_fns);
< gdb/armnbsd-nat.c:503: deprecated: deprecated add_core_fns: Do not use deprecated add_core_fns, see declaration for details
gdb/armnbsd-nat.c:503:  deprecated_add_core_fns (&arm_netbsd_elfcore_fns);
50a49,50
> gdb/armnbsd-nat.c:502: deprecated: deprecated add_core_fns: Do not use deprecated add_core_fns, see declaration for details
gdb/armnbsd-nat.c:502:  deprecated_add_core_fns (&arm_netbsd_core_fns);
> gdb/armnbsd-nat.c:503: deprecated: deprecated add_core_fns: Do not use deprecated add_core_fns, see declaration for details
gdb/armnbsd-nat.c:503:  deprecated_add_core_fns (&arm_netbsd_elfcore_fns);
65a66
> gdb/c-valprint.c:509: deprecated: deprecated set_value_type: Do not use deprecated set_value_type, see declaration for details
gdb/c-valprint.c:509:	      deprecated_set_value_type
182a184
> gdb/core-regset.c:123: deprecated: deprecated add_core_fns: Do not use deprecated add_core_fns, see declaration for details
gdb/core-regset.c:123:  deprecated_add_core_fns (&regset_core_fns);
191d192
< gdb/core-regset.c:123: deprecated: deprecated add_core_fns: Do not use deprecated add_core_fns, see declaration for details
gdb/core-regset.c:123:  deprecated_add_core_fns (&regset_core_fns);
193d193
< gdb/c-valprint.c:509: deprecated: deprecated set_value_type: Do not use deprecated set_value_type, see declaration for details
gdb/c-valprint.c:509:	      deprecated_set_value_type
229a230
> gdb/dwarf2-frame.c:1512: obsolete: get_frame_base: Replace get_frame_base with get_frame_id, get_frame_base_address, get_frame_locals_address, or get_frame_args_address.
gdb/dwarf2-frame.c:1512:  return get_frame_base (this_frame);
235d235
< gdb/dwarf2-frame.c:1512: obsolete: get_frame_base: Replace get_frame_base with get_frame_id, get_frame_base_address, get_frame_locals_address, or get_frame_args_address.
gdb/dwarf2-frame.c:1512:  return get_frame_base (this_frame);
322,324d321
< gdb/hppanbsd-nat.c:36: code: OP eol: Do not use &&, or || at the end of a line
gdb/hppanbsd-nat.c:36:  return ((regnum >= HPPA_R0_REGNUM && regnum <= HPPA_R31_REGNUM) ||
< gdb/hppanbsd-nat.c:37: code: OP eol: Do not use &&, or || at the end of a line
gdb/hppanbsd-nat.c:37:          (regnum >= HPPA_SAR_REGNUM && regnum <= HPPA_PCSQ_TAIL_REGNUM) ||
< gdb/hppanbsd-nat.c:38: code: OP eol: Do not use &&, or || at the end of a line
gdb/hppanbsd-nat.c:38:          regnum == HPPA_IPSW_REGNUM ||
327a325,327
> gdb/hppanbsd-nat.c:36: code: OP eol: Do not use &&, or || at the end of a line
gdb/hppanbsd-nat.c:36:  return ((regnum >= HPPA_R0_REGNUM && regnum <= HPPA_R31_REGNUM) ||
> gdb/hppanbsd-nat.c:37: code: OP eol: Do not use &&, or || at the end of a line
gdb/hppanbsd-nat.c:37:          (regnum >= HPPA_SAR_REGNUM && regnum <= HPPA_PCSQ_TAIL_REGNUM) ||
> gdb/hppanbsd-nat.c:38: code: OP eol: Do not use &&, or || at the end of a line
gdb/hppanbsd-nat.c:38:          regnum == HPPA_IPSW_REGNUM ||
488d487
< gdb/microblaze-tdep.c:716: deprecate: write_pc: Replace write_pc() with get_frame_base_address or get_frame_id; at present the inferior function call code still uses this when doing a DECR_PC_AFTER_BREAK
gdb/microblaze-tdep.c:716:  set_gdbarch_write_pc (gdbarch, microblaze_write_pc);
gdb/microblaze-tdep.c:716:  set_gdbarch_write_pc (gdbarch, microblaze_write_pc);
498a498
> gdb/microblaze-tdep.c:716: deprecate: write_pc: Replace write_pc() with get_frame_base_address or get_frame_id; at present the inferior function call code still uses this when doing a DECR_PC_AFTER_BREAK
gdb/microblaze-tdep.c:716:  set_gdbarch_write_pc (gdbarch, microblaze_write_pc);
gdb/microblaze-tdep.c:716:  set_gdbarch_write_pc (gdbarch, microblaze_write_pc);
665,681d664
< gdb/remote.c:1137: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1137:      char *legacy_name;
< gdb/remote.c:1139: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1139:      legacy_name = xstrprintf (', name);
< gdb/remote.c:1140: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1140:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
< gdb/remote.c:1142: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1142:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
< gdb/remote.c:1351: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1351:set_remote_protocol_Z_packet_cmd (char *args, int from_tty,				  struct cmd_list_element *c)
< gdb/remote.c:1364: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1364:show_remote_protocol_Z_packet_cmd (struct ui_file *file, int from_tty,				   struct cmd_list_element *c,				   const char *value)
< gdb/remote.c:2554: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:2554:	if (!(result = (*stepfunction) (&resultthreadlist[i++], context)))
< gdb/remote.c:5019: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5019:      deprecated_throw_reason (RETURN_QUIT);
< gdb/remote.c:5027: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5027:	  deprecated_throw_reason (RETURN_QUIT);
< gdb/remote.c:6227: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6227:store_register_using_P (const struct regcache *regcache, 			struct packet_reg *reg)
< gdb/remote.c:6268: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6268:store_registers_using_G (const struct regcache *regcache)
< gdb/remote.c:7952: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7952:  sprintf (buf, ', bp_tgt->persist);
< gdb/remote.c:7961: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7961:      sprintf (buf, ', aexpr->len);
< gdb/remote.c:8060: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:8060:watchpoint_to_Z_packet (int type)
< gdb/remote.c:9073: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:9073:  if (0 != (result = remote_get_threadinfo (ref, set, &threadinfo)))
< gdb/remote.c:10562: code: OP eol: Do not use &&, or || at the end of a line
gdb/remote.c:10562:      if ((s->flags & SEC_LOAD) == 0 ||
< gdb/remote.c:11063: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/remote.c:11063:  remote_ops.deprecated_xfer_memory = remote_xfer_memory;
718a702,718
> gdb/remote.c:1137: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1137:      char *legacy_name;
> gdb/remote.c:1139: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1139:      legacy_name = xstrprintf (', name);
> gdb/remote.c:1140: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1140:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
> gdb/remote.c:1142: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1142:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
> gdb/remote.c:1351: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1351:set_remote_protocol_Z_packet_cmd (char *args, int from_tty,				  struct cmd_list_element *c)
> gdb/remote.c:1364: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1364:show_remote_protocol_Z_packet_cmd (struct ui_file *file, int from_tty,				   struct cmd_list_element *c,				   const char *value)
> gdb/remote.c:2554: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:2554:	if (!(result = (*stepfunction) (&resultthreadlist[i++], context)))
> gdb/remote.c:5019: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5019:      deprecated_throw_reason (RETURN_QUIT);
> gdb/remote.c:5027: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5027:	  deprecated_throw_reason (RETURN_QUIT);
> gdb/remote.c:6227: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6227:store_register_using_P (const struct regcache *regcache, 			struct packet_reg *reg)
> gdb/remote.c:6268: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6268:store_registers_using_G (const struct regcache *regcache)
> gdb/remote.c:7952: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7952:  sprintf (buf, ', bp_tgt->persist);
> gdb/remote.c:7961: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7961:      sprintf (buf, ', aexpr->len);
> gdb/remote.c:8060: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:8060:watchpoint_to_Z_packet (int type)
> gdb/remote.c:9073: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:9073:  if (0 != (result = remote_get_threadinfo (ref, set, &threadinfo)))
> gdb/remote.c:10562: code: OP eol: Do not use &&, or || at the end of a line
gdb/remote.c:10562:      if ((s->flags & SEC_LOAD) == 0 ||
> gdb/remote.c:11063: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/remote.c:11063:  remote_ops.deprecated_xfer_memory = remote_xfer_memory;
758,759d757
< gdb/serial.c:550: deprecated: deprecated serial_fd: Do not use deprecated serial_fd, see declaration for details
gdb/serial.c:550:deprecated_serial_fd (struct serial *scb)
< gdb/serial.h:213: deprecated: deprecated serial_fd: Do not use deprecated serial_fd, see declaration for details
gdb/serial.h:213:extern int deprecated_serial_fd (struct serial *scb);
764,766d761
< gdb/sh64-tdep.c:1934: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/sh64-tdep.c:1934:  if (!deprecated_frame_register_read (frame, regnum, raw_buffer))
< gdb/sh64-tdep.c:2050: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/sh64-tdep.c:2050:  if (!deprecated_frame_register_read (frame, regnum, raw_buffer))
< gdb/sh64-tdep.c:2423: legacy: legacy register_sim_regno: Do not use legacy register_sim_regno, see declaration for details
gdb/sh64-tdep.c:2423:  set_gdbarch_register_sim_regno (gdbarch, legacy_register_sim_regno);
gdb/sh64-tdep.c:2423:  set_gdbarch_register_sim_regno (gdbarch, legacy_register_sim_regno);
770a766,768
> gdb/sh64-tdep.c:1934: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/sh64-tdep.c:1934:  if (!deprecated_frame_register_read (frame, regnum, raw_buffer))
> gdb/sh64-tdep.c:2050: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/sh64-tdep.c:2050:  if (!deprecated_frame_register_read (frame, regnum, raw_buffer))
> gdb/sh64-tdep.c:2423: legacy: legacy register_sim_regno: Do not use legacy register_sim_regno, see declaration for details
gdb/sh64-tdep.c:2423:  set_gdbarch_register_sim_regno (gdbarch, legacy_register_sim_regno);
gdb/sh64-tdep.c:2423:  set_gdbarch_register_sim_regno (gdbarch, legacy_register_sim_regno);
772,773c770,773
< gdb/solib.c:1302: deprecate: SOLIB_CREATE_INFERIOR_HOOK: Replace SOLIB_CREATE_INFERIOR_HOOK with nothing, not needed?
gdb/solib.c:1302:#ifdef SOLIB_CREATE_INFERIOR_HOOK
< gdb/solib.c:1303: deprecate: SOLIB_CREATE_INFERIOR_HOOK: Replace SOLIB_CREATE_INFERIOR_HOOK with nothing, not needed?
gdb/solib.c:1303:      SOLIB_CREATE_INFERIOR_HOOK (PIDGET (inferior_ptid));
> gdb/sol-thread.c:681: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/sol-thread.c:681:      if ((val = p_td_ta_map_id2thr (main_ta, pid, &th)) != TD_OK)
> gdb/sol-thread.c:683: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/sol-thread.c:683:      if ((val = p_td_thr_validate (&th)) != TD_OK)
> gdb/sol-thread.c:981: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/sol-thread.c:981:ps_lgetLDT (gdb_ps_prochandle_t ph, lwpid_t lwpid,	    struct ssd *pldt)
> gdb/sol-thread.c:1233: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/sol-thread.c:1233:#define resolve(X)   if (!(p_##X = dlsym (dlhandle, #X)))
782,786c782,783
< gdb/sol-thread.c:681: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/sol-thread.c:681:      if ((val = p_td_ta_map_id2thr (main_ta, pid, &th)) != TD_OK)
< gdb/sol-thread.c:683: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/sol-thread.c:683:      if ((val = p_td_thr_validate (&th)) != TD_OK)
< gdb/sol-thread.c:981: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/sol-thread.c:981:ps_lgetLDT (gdb_ps_prochandle_t ph, lwpid_t lwpid,	    struct ssd *pldt)
< gdb/sol-thread.c:1233: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/sol-thread.c:1233:#define resolve(X)   if (!(p_##X = dlsym (dlhandle, #X)))
< gdb/sparc64-linux-tdep.c:275: deprecate: write_pc: Replace write_pc() with get_frame_base_address or get_frame_id; at present the inferior function call code still uses this when doing a DECR_PC_AFTER_BREAK
gdb/sparc64-linux-tdep.c:275:  set_gdbarch_write_pc (gdbarch, sparc64_linux_write_pc);
gdb/sparc64-linux-tdep.c:275:  set_gdbarch_write_pc (gdbarch, sparc64_linux_write_pc);
> gdb/solib.c:1302: deprecate: SOLIB_CREATE_INFERIOR_HOOK: Replace SOLIB_CREATE_INFERIOR_HOOK with nothing, not needed?
gdb/solib.c:1302:#ifdef SOLIB_CREATE_INFERIOR_HOOK
> gdb/solib.c:1303: deprecate: SOLIB_CREATE_INFERIOR_HOOK: Replace SOLIB_CREATE_INFERIOR_HOOK with nothing, not needed?
gdb/solib.c:1303:      SOLIB_CREATE_INFERIOR_HOOK (PIDGET (inferior_ptid));
788a786
> gdb/sparc64-linux-tdep.c:275: deprecate: write_pc: Replace write_pc() with get_frame_base_address or get_frame_id; at present the inferior function call code still uses this when doing a DECR_PC_AFTER_BREAK
gdb/sparc64-linux-tdep.c:275:  set_gdbarch_write_pc (gdbarch, sparc64_linux_write_pc);
gdb/sparc64-linux-tdep.c:275:  set_gdbarch_write_pc (gdbarch, sparc64_linux_write_pc);
881,882d878
< gdb/tui/tui.c:422: deprecated: deprecated safe_get_selected_frame: Do not use deprecated safe_get_selected_frame, see declaration for details
gdb/tui/tui.c:422:  if (deprecated_safe_get_selected_frame ())
< gdb/tui/tui.c:423: deprecated: deprecated safe_get_selected_frame: Do not use deprecated safe_get_selected_frame, see declaration for details
gdb/tui/tui.c:423:     tui_show_frame_info (deprecated_safe_get_selected_frame ());
907a904,905
> gdb/tui/tui.c:422: deprecated: deprecated safe_get_selected_frame: Do not use deprecated safe_get_selected_frame, see declaration for details
gdb/tui/tui.c:422:  if (deprecated_safe_get_selected_frame ())
> gdb/tui/tui.c:423: deprecated: deprecated safe_get_selected_frame: Do not use deprecated safe_get_selected_frame, see declaration for details
gdb/tui/tui.c:423:     tui_show_frame_info (deprecated_safe_get_selected_frame ());


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]