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 Tue Jul 7 02:05:21 UTC 2015 in gdb-7.10-branch


87a88,89
> gdb/common/mingw-strerror.c:38: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/common/mingw-strerror.c:38:    return strerror (errnum);
> gdb/common/posix-strerror.c:29: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/common/posix-strerror.c:29:  msg = strerror (errnum);
127d128
< gdb/defs.h:651: deprecated: deprecated init_ui_hook: Do not use deprecated init_ui_hook, see declaration for details
gdb/defs.h:651:extern void (*deprecated_init_ui_hook) (char *argv0);
173,174d173
< gdb/frame.c:1576: deprecated: deprecated selected_frame_level_changed_hook: Do not use deprecated selected_frame_level_changed_hook, see declaration for details
gdb/frame.c:1576:  if (deprecated_selected_frame_level_changed_hook)
< gdb/frame.c:1577: deprecated: deprecated selected_frame_level_changed_hook: Do not use deprecated selected_frame_level_changed_hook, see declaration for details
gdb/frame.c:1577:    deprecated_selected_frame_level_changed_hook (frame_relative_level (fi));
178d176
< gdb/frame.h:766: deprecated: deprecated selected_frame_level_changed_hook: Do not use deprecated selected_frame_level_changed_hook, see declaration for details
gdb/frame.h:766:extern void (*deprecated_selected_frame_level_changed_hook) (int);
179a178
> gdb/ft32-tdep.c:501: deprecate: read_pc: Replace READ_PC() with frame_pc_unwind; at present the inferior function call code still uses this
gdb/ft32-tdep.c:501:  set_gdbarch_read_pc (gdbarch, ft32_read_pc);
gdb/ft32-tdep.c:501:  set_gdbarch_read_pc (gdbarch, ft32_read_pc);
221,224d219
< gdb/hppa-hpux-tdep.c:454: code: OP eol: Do not use &&, or || at the end of a line
gdb/hppa-hpux-tdep.c:454:      if ((curr_inst == 0xe2a00000) ||
< gdb/hppa-hpux-tdep.c:455: code: OP eol: Do not use &&, or || at the end of a line
gdb/hppa-hpux-tdep.c:455:	  (curr_inst == 0xe2a00002) ||
< gdb/hppa-hpux-tdep.c:456: code: OP eol: Do not use &&, or || at the end of a line
gdb/hppa-hpux-tdep.c:456:	  (curr_inst == 0xeaa0d000) ||
< gdb/hppa-hpux-tdep.c:1490: deprecate: read_pc: Replace READ_PC() with frame_pc_unwind; at present the inferior function call code still uses this
gdb/hppa-hpux-tdep.c:1490:  set_gdbarch_read_pc (gdbarch, hppa_hpux_read_pc);
gdb/hppa-hpux-tdep.c:1490:  set_gdbarch_read_pc (gdbarch, hppa_hpux_read_pc);
280,287d274
< gdb/infrun.c:6989: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:6989:	    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:6995: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:6995:		    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:6997: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:6997:		    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:7002: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:7002:		    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:7004: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:7004:		    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:7009: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:7009:		    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:7011: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:7011:		    sprintf (argBuf, ', argv[0], ');
< gdb/interps.c:365: deprecated: deprecated init_ui_hook: Do not use deprecated init_ui_hook, see declaration for details
gdb/interps.c:365:  deprecated_init_ui_hook = 0;
390a378,379
> gdb/nat/linux-btrace.c:273: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.c:273:		     unsigned long long size)
> gdb/nat/linux-btrace.c:277: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.c:277:  unsigned long long read = 0;
395a385,399
> gdb/nat/linux-btrace.c:456: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-btrace.c:456:      warning (_('), strerror (errno));
> gdb/nat/linux-btrace.c:464: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-btrace.c:464:		   strerror (errno));
> gdb/nat/linux-btrace.c:472: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-btrace.c:472:		   strerror (errno));
> gdb/nat/linux-btrace.c:483: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-btrace.c:483:		   (long) pid, strerror (errno));
> gdb/nat/linux-btrace.c:519: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-btrace.c:519:		   (long) pid, strerror (errno));
> gdb/nat/linux-btrace.c:645: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.c:645:  unsigned long long size, pages, data_offset, data_size;
> gdb/nat/linux-btrace.c:677: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.c:677:  pages = (((unsigned long long) conf->size) + PAGE_SIZE - 1) / PAGE_SIZE;
> gdb/nat/linux-btrace.c:698: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.c:698:      if ((unsigned long long) length < size)
> gdb/nat/linux-btrace.c:749: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.c:749:  unsigned long long pages, size;
> gdb/nat/linux-btrace.c:791: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.c:791:  pages = (((unsigned long long) conf->size) + PAGE_SIZE - 1) / PAGE_SIZE;
> gdb/nat/linux-btrace.c:812: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.c:812:      if ((unsigned long long) length < size)
> gdb/nat/linux-btrace.c:941: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.c:941:  unsigned long long data_head, data_tail, buffer_size, size;
> gdb/nat/linux-btrace.h:41: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.h:41:  unsigned long long size;
> gdb/nat/linux-btrace.h:44: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.h:44:  volatile unsigned long long *data_head;
> gdb/nat/linux-btrace.h:47: code: long long: Do not use 'long long', instead use LONGEST
gdb/nat/linux-btrace.h:47:  unsigned long long last_head;
421,428d424
< gdb/nat/linux-ptrace.c:76: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-ptrace.c:76:				strerror (err), err, warnings);
< gdb/nat/linux-ptrace.c:79: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-ptrace.c:79:				strerror (err), err);
< gdb/nat/linux-ptrace.c:114: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-ptrace.c:114:	       strerror (errno));
< gdb/nat/linux-ptrace.c:126: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-ptrace.c:126:	       strerror (errno));
< gdb/nat/linux-ptrace.c:134: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-ptrace.c:134:		 strerror (errno));
< gdb/nat/linux-ptrace.c:164: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-ptrace.c:164:	       (long) got_pid, strerror (errno));
< gdb/nat/linux-ptrace.c:208: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-ptrace.c:208:	       strerror (errno));
< gdb/nat/linux-ptrace.c:223: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/nat/linux-ptrace.c:223:	       (long) got_pid, strerror (errno));
522a519,526
> gdb/python/py-unwind.c:150: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/python/py-unwind.c:150:      if ((value = value_object_to_value (pyo_value)) != NULL)
> gdb/python/py-unwind.c:309: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/python/py-unwind.c:309:    if (pyo_reg_value == NULL      || (value = value_object_to_value (pyo_reg_value)) == NULL)
> gdb/python/py-unwind.c:489: regression: __FUNCTION__: Do not use __FUNCTION__, ISO C 90 does not support this macro
gdb/python/py-unwind.c:489:      fprintf_unfiltered (gdb_stdlog, ', __FUNCTION__);
> gdb/python/py-unwind.c:505: 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/python/py-unwind.c:505:  TRACE_PY_UNWIND (1, "%s (frame=%p,...,reg=%d)\n", __FUNCTION__, this_frame,
gdb/python/py-unwind.c:505:  TRACE_PY_UNWIND (1, ', __FUNCTION__, this_frame,
> gdb/python/py-unwind.c:505: regression: __FUNCTION__: Do not use __FUNCTION__, ISO C 90 does not support this macro
gdb/python/py-unwind.c:505:  TRACE_PY_UNWIND (1, "%s (frame=%p,...,reg=%d)\n", __FUNCTION__, this_frame,
gdb/python/py-unwind.c:505:  TRACE_PY_UNWIND (1, ', __FUNCTION__, this_frame,
> gdb/python/py-unwind.c:529: regression: __FUNCTION__: Do not use __FUNCTION__, ISO C 90 does not support this macro
gdb/python/py-unwind.c:529:  TRACE_PY_UNWIND (3, ', __FUNCTION__,
> gdb/python/py-unwind.c:575: code: OP eol: Do not use &&, or || at the end of a line
gdb/python/py-unwind.c:575:    cached_frame = xmalloc (sizeof (*cached_frame) +
> gdb/python/py-unwind.c:615: regression: __FUNCTION__: Do not use __FUNCTION__, ISO C 90 does not support this macro
gdb/python/py-unwind.c:615:  TRACE_PY_UNWIND (3, ', __FUNCTION__);
615d618
< gdb/rs6000-tdep.c:5400: code: OP eol: Do not use &&, or || at the end of a line
gdb/rs6000-tdep.c:5400:	wordsize = info.bfd_arch_info->bits_per_word /
638d640
< gdb/solib-som.c:709: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/solib-som.c:709:  if ((lm = link_map_start ()) == 0)
647d648
< gdb/stack.c:55: deprecated: deprecated selected_frame_level_changed_hook: Do not use deprecated selected_frame_level_changed_hook, see declaration for details
gdb/stack.c:55:void (*deprecated_selected_frame_level_changed_hook) (int);
676d676
< gdb/top.c:181: deprecated: deprecated init_ui_hook: Do not use deprecated init_ui_hook, see declaration for details
gdb/top.c:181:void (*deprecated_init_ui_hook) (char *argv0);
698,699d697
< gdb/top.c:1975: deprecated: deprecated init_ui_hook: Do not use deprecated init_ui_hook, see declaration for details
gdb/top.c:1975:  if (deprecated_init_ui_hook)
< gdb/top.c:1976: deprecated: deprecated init_ui_hook: Do not use deprecated init_ui_hook, see declaration for details
gdb/top.c:1976:    deprecated_init_ui_hook (argv0);
715d712
< gdb/tui/tui-hooks.c:199: deprecated: deprecated selected_frame_level_changed_hook: Do not use deprecated selected_frame_level_changed_hook, see declaration for details
gdb/tui/tui-hooks.c:199:  deprecated_selected_frame_level_changed_hook
718d714
< gdb/tui/tui-hooks.c:223: deprecated: deprecated selected_frame_level_changed_hook: Do not use deprecated selected_frame_level_changed_hook, see declaration for details
gdb/tui/tui-hooks.c:223:  deprecated_selected_frame_level_changed_hook = 0;
787a784
> gdb/value.c:3677: deprecated: deprecated set_value_type: Do not use deprecated set_value_type, see declaration for details
gdb/value.c:3677:  deprecated_set_value_type (value, TYPE_TARGET_TYPE (original_type));
805d801
< gdb/windows-nat.c:2600: deprecated: deprecated init_ui_hook: Do not use deprecated init_ui_hook, see declaration for details
gdb/windows-nat.c:2600:  deprecated_init_ui_hook = set_windows_aliases;
822a819,820
> gdb/common/mingw-strerror.c:0: internal: gdb/common/mingw-strerror.c missing strerror: Expecting 1 occurances of bug strerror in file gdb/common/mingw-strerror.c, only found 0
gdb/common/mingw-strerror.c:0:
> gdb/common/posix-strerror.c:0: internal: gdb/common/posix-strerror.c missing strerror: Expecting 1 occurances of bug strerror in file gdb/common/posix-strerror.c, only found 0
gdb/common/posix-strerror.c:0:


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