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 Nov 9 02:11:35 UTC 2012


47,48d46
< 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);
60a59,60
> 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);
79a80
> gdb/c-valprint.c:493: deprecated: deprecated set_value_type: Do not use deprecated set_value_type, see declaration for details
gdb/c-valprint.c:493:	      deprecated_set_value_type
80a82
> gdb/cli-out.c:142: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli-out.c:142:  sprintf (buffer, ', value);
106d107
< gdb/cli-out.c:142: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli-out.c:142:  sprintf (buffer, ', value);
213a215
> 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);
222d223
< 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);
225d225
< gdb/c-valprint.c:493: deprecated: deprecated set_value_type: Do not use deprecated set_value_type, see declaration for details
gdb/c-valprint.c:493:	      deprecated_set_value_type
270a271
> gdb/dwarf2-frame.c:1511: 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:1511:  return get_frame_base (this_frame);
276d276
< gdb/dwarf2-frame.c:1511: 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:1511:  return get_frame_base (this_frame);
321a322
> gdb/gdb-stabs.h:76: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/gdb-stabs.h:76:#define DBX_SYMFILE_INFO(o)	((o)->deprecated_sym_stab_info)
355d355
< gdb/gdb-stabs.h:76: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/gdb-stabs.h:76:#define DBX_SYMFILE_INFO(o)	((o)->deprecated_sym_stab_info)
380,382d379
< 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 ||
385a383,385
> 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 ||
548d547
< 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);
559a559
> 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);
747,763d746
< gdb/remote.c:1144: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1144:      char *legacy_name;
< gdb/remote.c:1146: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1146:      legacy_name = xstrprintf (', name);
< gdb/remote.c:1147: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1147:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
< gdb/remote.c:1149: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1149:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
< gdb/remote.c:1358: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1358:set_remote_protocol_Z_packet_cmd (char *args, int from_tty,				  struct cmd_list_element *c)
< gdb/remote.c:1371: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1371:show_remote_protocol_Z_packet_cmd (struct ui_file *file, int from_tty,				   struct cmd_list_element *c,				   const char *value)
< gdb/remote.c:2567: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:2567:	if (!(result = (*stepfunction) (&resultthreadlist[i++], context)))
< gdb/remote.c:5032: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5032:      deprecated_throw_reason (RETURN_QUIT);
< gdb/remote.c:5040: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5040:	  deprecated_throw_reason (RETURN_QUIT);
< gdb/remote.c:6143: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6143:store_register_using_P (const struct regcache *regcache, 			struct packet_reg *reg)
< gdb/remote.c:6184: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6184:store_registers_using_G (const struct regcache *regcache)
< gdb/remote.c:7907: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7907:  sprintf (buf, ', bp_tgt->persist);
< gdb/remote.c:7916: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7916:      sprintf (buf, ', aexpr->len);
< gdb/remote.c:8015: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:8015:watchpoint_to_Z_packet (int type)
< gdb/remote.c:9020: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:9020:  if (0 != (result = remote_get_threadinfo (ref, set, &threadinfo)))
< gdb/remote.c:10507: code: OP eol: Do not use &&, or || at the end of a line
gdb/remote.c:10507:      if ((s->flags & SEC_LOAD) == 0 ||
< gdb/remote.c:11012: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/remote.c:11012:  remote_ops.deprecated_xfer_memory = remote_xfer_memory;
802a786,802
> gdb/remote.c:1144: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1144:      char *legacy_name;
> gdb/remote.c:1146: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1146:      legacy_name = xstrprintf (', name);
> gdb/remote.c:1147: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1147:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
> gdb/remote.c:1149: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1149:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
> gdb/remote.c:1358: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1358:set_remote_protocol_Z_packet_cmd (char *args, int from_tty,				  struct cmd_list_element *c)
> gdb/remote.c:1371: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1371:show_remote_protocol_Z_packet_cmd (struct ui_file *file, int from_tty,				   struct cmd_list_element *c,				   const char *value)
> gdb/remote.c:2567: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:2567:	if (!(result = (*stepfunction) (&resultthreadlist[i++], context)))
> gdb/remote.c:5032: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5032:      deprecated_throw_reason (RETURN_QUIT);
> gdb/remote.c:5040: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5040:	  deprecated_throw_reason (RETURN_QUIT);
> gdb/remote.c:6143: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6143:store_register_using_P (const struct regcache *regcache, 			struct packet_reg *reg)
> gdb/remote.c:6184: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6184:store_registers_using_G (const struct regcache *regcache)
> gdb/remote.c:7907: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7907:  sprintf (buf, ', bp_tgt->persist);
> gdb/remote.c:7916: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7916:      sprintf (buf, ', aexpr->len);
> gdb/remote.c:8015: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:8015:watchpoint_to_Z_packet (int type)
> gdb/remote.c:9020: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:9020:  if (0 != (result = remote_get_threadinfo (ref, set, &threadinfo)))
> gdb/remote.c:10507: code: OP eol: Do not use &&, or || at the end of a line
gdb/remote.c:10507:      if ((s->flags & SEC_LOAD) == 0 ||
> gdb/remote.c:11012: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/remote.c:11012:  remote_ops.deprecated_xfer_memory = remote_xfer_memory;
842,843d841
< 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);
848,850c846,847
< gdb/sh64-tdep.c:1933: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/sh64-tdep.c:1933:  if (!frame_register_read (frame, regnum, raw_buffer))
< gdb/sh64-tdep.c:2049: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/sh64-tdep.c:2049:  if (!frame_register_read (frame, regnum, raw_buffer))
< gdb/sh64-tdep.c:2422: legacy: legacy register_sim_regno: Do not use legacy register_sim_regno, see declaration for details
gdb/sh64-tdep.c:2422:  set_gdbarch_register_sim_regno (gdbarch, legacy_register_sim_regno);
gdb/sh64-tdep.c:2422:  set_gdbarch_register_sim_regno (gdbarch, legacy_register_sim_regno);
> 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);
854a852,854
> gdb/sh64-tdep.c:1933: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/sh64-tdep.c:1933:  if (!frame_register_read (frame, regnum, raw_buffer))
> gdb/sh64-tdep.c:2049: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/sh64-tdep.c:2049:  if (!frame_register_read (frame, regnum, raw_buffer))
> gdb/sh64-tdep.c:2422: legacy: legacy register_sim_regno: Do not use legacy register_sim_regno, see declaration for details
gdb/sh64-tdep.c:2422:  set_gdbarch_register_sim_regno (gdbarch, legacy_register_sim_regno);
gdb/sh64-tdep.c:2422:  set_gdbarch_register_sim_regno (gdbarch, legacy_register_sim_regno);
856,865d855
< gdb/solib.c:1305: deprecate: SOLIB_CREATE_INFERIOR_HOOK: Replace SOLIB_CREATE_INFERIOR_HOOK with nothing, not needed?
gdb/solib.c:1305:#ifdef SOLIB_CREATE_INFERIOR_HOOK
< gdb/solib.c:1306: deprecate: SOLIB_CREATE_INFERIOR_HOOK: Replace SOLIB_CREATE_INFERIOR_HOOK with nothing, not needed?
gdb/solib.c:1306:      SOLIB_CREATE_INFERIOR_HOOK (PIDGET (inferior_ptid));
< gdb/solib-irix.c:309: deprecated: deprecated remove_raw_breakpoint: Do not use deprecated remove_raw_breakpoint, see declaration for details
gdb/solib-irix.c:309:  if (deprecated_remove_raw_breakpoint (target_gdbarch, base_breakpoint) != 0)
< gdb/solib-irix.c:342: deprecated: deprecated insert_raw_breakpoint: Do not use deprecated insert_raw_breakpoint, see declaration for details
gdb/solib-irix.c:342:      base_breakpoint = deprecated_insert_raw_breakpoint (target_gdbarch,
< gdb/solib-irix.c:562: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/solib-irix.c:562:  if ((debug_base = locate_base ()) == 0)
< gdb/solib-som.c:705: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/solib-som.c:705:  if ((lm = link_map_start ()) == 0)
< gdb/solib-spu.c:202: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:202:      unsigned long long addr;
< gdb/solib-spu.c:254: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:254:      unsigned long long addr;
< gdb/solib-spu.c:351: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:351:  unsigned long long addr;
< gdb/solib-sunos.c:646: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/solib-sunos.c:646:  if ((debug_base = locate_base ()) == 0)
876a867,876
> gdb/solib-irix.c:309: deprecated: deprecated remove_raw_breakpoint: Do not use deprecated remove_raw_breakpoint, see declaration for details
gdb/solib-irix.c:309:  if (deprecated_remove_raw_breakpoint (target_gdbarch, base_breakpoint) != 0)
> gdb/solib-irix.c:342: deprecated: deprecated insert_raw_breakpoint: Do not use deprecated insert_raw_breakpoint, see declaration for details
gdb/solib-irix.c:342:      base_breakpoint = deprecated_insert_raw_breakpoint (target_gdbarch,
> gdb/solib-irix.c:562: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/solib-irix.c:562:  if ((debug_base = locate_base ()) == 0)
> gdb/solib-som.c:705: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/solib-som.c:705:  if ((lm = link_map_start ()) == 0)
> gdb/solib-spu.c:202: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:202:      unsigned long long addr;
> gdb/solib-spu.c:254: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:254:      unsigned long long addr;
> gdb/solib-spu.c:351: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:351:  unsigned long long addr;
> gdb/solib-sunos.c:646: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/solib-sunos.c:646:  if ((debug_base = locate_base ()) == 0)
> gdb/solib.c:1305: deprecate: SOLIB_CREATE_INFERIOR_HOOK: Replace SOLIB_CREATE_INFERIOR_HOOK with nothing, not needed?
gdb/solib.c:1305:#ifdef SOLIB_CREATE_INFERIOR_HOOK
> gdb/solib.c:1306: deprecate: SOLIB_CREATE_INFERIOR_HOOK: Replace SOLIB_CREATE_INFERIOR_HOOK with nothing, not needed?
gdb/solib.c:1306:      SOLIB_CREATE_INFERIOR_HOOK (PIDGET (inferior_ptid));
884d883
< 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);
886a886
> 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);
983,984d982
< gdb/tui/tui.c:417: deprecated: deprecated safe_get_selected_frame: Do not use deprecated safe_get_selected_frame, see declaration for details
gdb/tui/tui.c:417:  if (deprecated_safe_get_selected_frame ())
< gdb/tui/tui.c:418: deprecated: deprecated safe_get_selected_frame: Do not use deprecated safe_get_selected_frame, see declaration for details
gdb/tui/tui.c:418:     tui_show_frame_info (deprecated_safe_get_selected_frame ());
1017a1016,1017
> gdb/tui/tui.c:417: deprecated: deprecated safe_get_selected_frame: Do not use deprecated safe_get_selected_frame, see declaration for details
gdb/tui/tui.c:417:  if (deprecated_safe_get_selected_frame ())
> gdb/tui/tui.c:418: deprecated: deprecated safe_get_selected_frame: Do not use deprecated safe_get_selected_frame, see declaration for details
gdb/tui/tui.c:418:     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]