New ARI warning Thu Nov 8 08:35:44 UTC 2012

GDB Administrator gdbadmin@sourceware.org
Thu Nov 8 08:36:00 GMT 2012


46a47,48
> 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);
59,60d60
< 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);
80d79
< 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
82d80
< gdb/cli-out.c:142: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli-out.c:142:  sprintf (buffer, ', value);
107a106
> gdb/cli-out.c:142: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli-out.c:142:  sprintf (buffer, ', value);
145d143
< gdb/common/linux-osdata.c:30: regression: dirent.h: Do not include dirent.h, instead include gdb_dirent.h
gdb/common/linux-osdata.c:30:#include <dirent.h>
216d213
< 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);
224a222
> 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);
226a225
> 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
271d269
< 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);
276a275
> 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);
326d324
< 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)
359a358
> 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)
384,386d382
< gdb/hppa-tdep.c:117: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/hppa-tdep.c:117:hppa_extract_5R_store (unsigned word)
< gdb/hppa-tdep.c:3064: deprecate: read_pc: Replace READ_PC() with frame_pc_unwind; at present the inferior function call code still uses this
gdb/hppa-tdep.c:3064:  set_gdbarch_read_pc (gdbarch, hppa_read_pc);
gdb/hppa-tdep.c:3064:  set_gdbarch_read_pc (gdbarch, hppa_read_pc);
< gdb/hppa-tdep.c:3065: 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/hppa-tdep.c:3065:  set_gdbarch_write_pc (gdbarch, hppa_write_pc);
gdb/hppa-tdep.c:3065:  set_gdbarch_write_pc (gdbarch, hppa_write_pc);
389a386,388
> gdb/hppa-tdep.c:117: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/hppa-tdep.c:117:hppa_extract_5R_store (unsigned word)
> gdb/hppa-tdep.c:3064: deprecate: read_pc: Replace READ_PC() with frame_pc_unwind; at present the inferior function call code still uses this
gdb/hppa-tdep.c:3064:  set_gdbarch_read_pc (gdbarch, hppa_read_pc);
gdb/hppa-tdep.c:3064:  set_gdbarch_read_pc (gdbarch, hppa_read_pc);
> gdb/hppa-tdep.c:3065: 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/hppa-tdep.c:3065:  set_gdbarch_write_pc (gdbarch, hppa_write_pc);
gdb/hppa-tdep.c:3065:  set_gdbarch_write_pc (gdbarch, hppa_write_pc);
553a553
> 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);
565d564
< 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);
742a742,758
> gdb/remote.c:1145: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1145:      char *legacy_name;
> gdb/remote.c:1147: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1147:      legacy_name = xstrprintf (', name);
> gdb/remote.c:1148: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1148:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
> gdb/remote.c:1150: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1150:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
> gdb/remote.c:1359: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1359:set_remote_protocol_Z_packet_cmd (char *args, int from_tty,				  struct cmd_list_element *c)
> gdb/remote.c:1372: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1372:show_remote_protocol_Z_packet_cmd (struct ui_file *file, int from_tty,				   struct cmd_list_element *c,				   const char *value)
> gdb/remote.c:2568: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:2568:	if (!(result = (*stepfunction) (&resultthreadlist[i++], context)))
> gdb/remote.c:5034: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5034:      deprecated_throw_reason (RETURN_QUIT);
> gdb/remote.c:5042: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5042:	  deprecated_throw_reason (RETURN_QUIT);
> gdb/remote.c:6145: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6145:store_register_using_P (const struct regcache *regcache, 			struct packet_reg *reg)
> gdb/remote.c:6186: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6186:store_registers_using_G (const struct regcache *regcache)
> gdb/remote.c:7911: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7911:  sprintf (buf, ', bp_tgt->persist);
> gdb/remote.c:7920: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7920:      sprintf (buf, ', aexpr->len);
> gdb/remote.c:8019: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:8019:watchpoint_to_Z_packet (int type)
> gdb/remote.c:9032: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:9032:  if (0 != (result = remote_get_threadinfo (ref, set, &threadinfo)))
> gdb/remote.c:10521: code: OP eol: Do not use &&, or || at the end of a line
gdb/remote.c:10521:      if ((s->flags & SEC_LOAD) == 0 ||
> gdb/remote.c:11022: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/remote.c:11022:  remote_ops.deprecated_xfer_memory = remote_xfer_memory;
782,798d797
< gdb/remote.c:1145: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1145:      char *legacy_name;
< gdb/remote.c:1147: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1147:      legacy_name = xstrprintf (', name);
< gdb/remote.c:1148: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1148:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
< gdb/remote.c:1150: legacy: legacy name: Do not use legacy name, see declaration for details
gdb/remote.c:1150:      add_alias_cmd (legacy_name, cmd_name, class_obscure, 0,
< gdb/remote.c:1359: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1359:set_remote_protocol_Z_packet_cmd (char *args, int from_tty,				  struct cmd_list_element *c)
< gdb/remote.c:1372: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:1372:show_remote_protocol_Z_packet_cmd (struct ui_file *file, int from_tty,				   struct cmd_list_element *c,				   const char *value)
< gdb/remote.c:2568: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:2568:	if (!(result = (*stepfunction) (&resultthreadlist[i++], context)))
< gdb/remote.c:5034: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5034:      deprecated_throw_reason (RETURN_QUIT);
< gdb/remote.c:5042: deprecated: deprecated throw_reason: Do not use deprecated throw_reason, see declaration for details
gdb/remote.c:5042:	  deprecated_throw_reason (RETURN_QUIT);
< gdb/remote.c:6145: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6145:store_register_using_P (const struct regcache *regcache, 			struct packet_reg *reg)
< gdb/remote.c:6186: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:6186:store_registers_using_G (const struct regcache *regcache)
< gdb/remote.c:7911: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7911:  sprintf (buf, ', bp_tgt->persist);
< gdb/remote.c:7920: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7920:      sprintf (buf, ', aexpr->len);
< gdb/remote.c:8019: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/remote.c:8019:watchpoint_to_Z_packet (int type)
< gdb/remote.c:9032: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:9032:  if (0 != (result = remote_get_threadinfo (ref, set, &threadinfo)))
< gdb/remote.c:10521: code: OP eol: Do not use &&, or || at the end of a line
gdb/remote.c:10521:      if ((s->flags & SEC_LOAD) == 0 ||
< gdb/remote.c:11022: deprecated: deprecated xfer_memory: Do not use deprecated xfer_memory, see declaration for details
gdb/remote.c:11022:  remote_ops.deprecated_xfer_memory = remote_xfer_memory;
837a837,838
> 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);
842,843c843,845
< 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);
> gdb/sh64-tdep.c:1934: 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:1934:  if (!frame_register_read (frame, regnum, raw_buffer))
> gdb/sh64-tdep.c:2050: 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:2050:  if (!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);
848,850d849
< gdb/sh64-tdep.c:1934: 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:1934:  if (!frame_register_read (frame, regnum, raw_buffer))
< gdb/sh64-tdep.c:2050: 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:2050:  if (!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);
851a851,860
> 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/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:707: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/solib-som.c:707:  if ((lm = link_map_start ()) == 0)
> gdb/solib-spu.c:203: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:203:      unsigned long long addr;
> gdb/solib-spu.c:255: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:255:      unsigned long long addr;
> gdb/solib-spu.c:352: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:352:  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)
863,872d871
< 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:707: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/solib-som.c:707:  if ((lm = link_map_start ()) == 0)
< gdb/solib-spu.c:203: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:203:      unsigned long long addr;
< gdb/solib-spu.c:255: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:255:      unsigned long long addr;
< gdb/solib-spu.c:352: code: long long: Do not use 'long long', instead use LONGEST
gdb/solib-spu.c:352:  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: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));
879a879
> 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);
882d881
< 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);
978a978,979
> 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 ());
1012,1013d1012
< 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 ());



More information about the Gdb-patches mailing list