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 Thu Nov 8 08:51:11 UTC 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);
215d213
< 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);
223a222
> 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);
225a225
> 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
271d270
< 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);
276a276
> 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);
322d321
< 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)
355a355
> 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/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);
385a383,385
> 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);
547a548
> 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);
559d559
< 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);
746a747,763
> 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;
786,802d802
< 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;
841a842,843
> 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);
846,847c848,850
< 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: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);
852,854d854
< 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);
855a856,865
> 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)
867,876d876
< 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));
883a884
> 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);
886d886
< 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);
982a983,984
> 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 ());
1016,1017d1017
< 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]