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 Sun Jul 14 01:56:21 UTC 2019


74,107d73
< gdb/common/agent.c:154: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/common/agent.c:154:      warning (_('), strerror (errno));
< gdb/common/agent.c:173: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/common/agent.c:173:		 path, strerror (errno));
< gdb/common/array-view.h:252: code: function call in first column: Function name in first column should be restricted to function implementation
gdb/common/array-view.h:252:make_array_view (U *array, size_t size) noexcept
< gdb/common/buffer.c:100: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:100:	      sprintf (str, ', va_arg (ap, int));
< gdb/common/buffer.c:103: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:103:	      sprintf (str, ', va_arg (ap, unsigned int));
< gdb/common/buffer.c:106: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:106:	      sprintf (str, ', va_arg (ap, unsigned int));
< gdb/common/buffer.c:109: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:109:	      sprintf (str, ', va_arg (ap, unsigned int));
< gdb/common/buffer.c:116: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:116:		  sprintf (str, ', va_arg (ap, long));
< gdb/common/buffer.c:119: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:119:		  sprintf (str, ', va_arg (ap, unsigned long));
< gdb/common/buffer.c:122: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:122:		  sprintf (str, ', va_arg (ap, unsigned long));
< gdb/common/buffer.c:125: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:125:		  sprintf (str, ', va_arg (ap, unsigned long));
< gdb/common/buffer.c:132: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:132:		      sprintf (str, ' PRId64,
< gdb/common/buffer.c:133: code: long long: Do not use 'long long', instead use LONGEST
gdb/common/buffer.c:133:			       (int64_t) va_arg (ap, long long));
< gdb/common/buffer.c:136: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:136:		      sprintf (str, ' PRIu64,
< gdb/common/buffer.c:137: code: long long: Do not use 'long long', instead use LONGEST
gdb/common/buffer.c:137:			       (uint64_t) va_arg (ap, unsigned long long));
< gdb/common/buffer.c:140: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:140:		      sprintf (str, ' PRIx64,
< gdb/common/buffer.c:141: code: long long: Do not use 'long long', instead use LONGEST
gdb/common/buffer.c:141:			       (uint64_t) va_arg (ap, unsigned long long));
< gdb/common/buffer.c:144: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/common/buffer.c:144:		      sprintf (str, ' PRIo64,
< gdb/common/buffer.c:145: code: long long: Do not use 'long long', instead use LONGEST
gdb/common/buffer.c:145:			       (uint64_t) va_arg (ap, unsigned long long));
< gdb/common/common-exceptions.h:117: gettext: _ markup: All messages should be marked up with _.
gdb/common/common-exceptions.h:117:      error (GDB_NO_ERROR)
< gdb/common/common-types.h:28: code: long long: Do not use 'long long', instead use LONGEST
gdb/common/common-types.h:28:typedef unsigned long long CORE_ADDR;
< gdb/common/common-types.h:30: code: long long: Do not use 'long long', instead use LONGEST
gdb/common/common-types.h:30:typedef long long LONGEST;
< gdb/common/common-types.h:31: code: long long: Do not use 'long long', instead use LONGEST
gdb/common/common-types.h:31:typedef unsigned long long ULONGEST;
< gdb/common/common-types.h:52: code: long long: Do not use 'long long', instead use LONGEST
gdb/common/common-types.h:52:typedef long long LONGEST;
< gdb/common/common-types.h:53: code: long long: Do not use 'long long', instead use LONGEST
gdb/common/common-types.h:53:typedef unsigned long long ULONGEST;
< gdb/common/common-utils.c:92: regression: vsprintf: Do not use vsprintf(), instead use xstrvprintf
gdb/common/common-utils.c:92:  vsprintf (&str[0], fmt, vp);
< gdb/common/common-utils.c:114: regression: vsprintf: Do not use vsprintf(), instead use xstrvprintf
gdb/common/common-utils.c:114:  vsprintf (&str[0], fmt, args);
< gdb/common/common-utils.c:150: regression: vsprintf: Do not use vsprintf(), instead use xstrvprintf
gdb/common/common-utils.c:150:  vsprintf (&str[curr_size], fmt, args);
< gdb/common/common-utils.h:42: regression: __func__: Do not use __func__, ISO C 90 does not support this macro
gdb/common/common-utils.h:42:#define FUNCTION_NAME		__func__   
< gdb/common/gdb_optional.h:173: code: OP eol: Do not use &&, or || at the end of a line
gdb/common/gdb_optional.h:173:  T &&operator* () &&
< gdb/common/gdb_optional.h:176: code: OP eol: Do not use &&, or || at the end of a line
gdb/common/gdb_optional.h:176:  constexpr const T &&operator* () const &&
< 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);
< gdb/common/underlying.h:27: code: function call in first column: Function name in first column should be restricted to function implementation
gdb/common/underlying.h:27:to_underlying (E val) noexcept
221a188,221
> gdb/gdbsupport/agent.c:154: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/gdbsupport/agent.c:154:      warning (_('), strerror (errno));
> gdb/gdbsupport/agent.c:173: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/gdbsupport/agent.c:173:		 path, strerror (errno));
> gdb/gdbsupport/array-view.h:252: code: function call in first column: Function name in first column should be restricted to function implementation
gdb/gdbsupport/array-view.h:252:make_array_view (U *array, size_t size) noexcept
> gdb/gdbsupport/buffer.c:100: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:100:	      sprintf (str, ', va_arg (ap, int));
> gdb/gdbsupport/buffer.c:103: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:103:	      sprintf (str, ', va_arg (ap, unsigned int));
> gdb/gdbsupport/buffer.c:106: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:106:	      sprintf (str, ', va_arg (ap, unsigned int));
> gdb/gdbsupport/buffer.c:109: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:109:	      sprintf (str, ', va_arg (ap, unsigned int));
> gdb/gdbsupport/buffer.c:116: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:116:		  sprintf (str, ', va_arg (ap, long));
> gdb/gdbsupport/buffer.c:119: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:119:		  sprintf (str, ', va_arg (ap, unsigned long));
> gdb/gdbsupport/buffer.c:122: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:122:		  sprintf (str, ', va_arg (ap, unsigned long));
> gdb/gdbsupport/buffer.c:125: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:125:		  sprintf (str, ', va_arg (ap, unsigned long));
> gdb/gdbsupport/buffer.c:132: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:132:		      sprintf (str, ' PRId64,
> gdb/gdbsupport/buffer.c:133: code: long long: Do not use 'long long', instead use LONGEST
gdb/gdbsupport/buffer.c:133:			       (int64_t) va_arg (ap, long long));
> gdb/gdbsupport/buffer.c:136: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:136:		      sprintf (str, ' PRIu64,
> gdb/gdbsupport/buffer.c:137: code: long long: Do not use 'long long', instead use LONGEST
gdb/gdbsupport/buffer.c:137:			       (uint64_t) va_arg (ap, unsigned long long));
> gdb/gdbsupport/buffer.c:140: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:140:		      sprintf (str, ' PRIx64,
> gdb/gdbsupport/buffer.c:141: code: long long: Do not use 'long long', instead use LONGEST
gdb/gdbsupport/buffer.c:141:			       (uint64_t) va_arg (ap, unsigned long long));
> gdb/gdbsupport/buffer.c:144: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gdbsupport/buffer.c:144:		      sprintf (str, ' PRIo64,
> gdb/gdbsupport/buffer.c:145: code: long long: Do not use 'long long', instead use LONGEST
gdb/gdbsupport/buffer.c:145:			       (uint64_t) va_arg (ap, unsigned long long));
> gdb/gdbsupport/common-exceptions.h:117: gettext: _ markup: All messages should be marked up with _.
gdb/gdbsupport/common-exceptions.h:117:      error (GDB_NO_ERROR)
> gdb/gdbsupport/common-types.h:28: code: long long: Do not use 'long long', instead use LONGEST
gdb/gdbsupport/common-types.h:28:typedef unsigned long long CORE_ADDR;
> gdb/gdbsupport/common-types.h:30: code: long long: Do not use 'long long', instead use LONGEST
gdb/gdbsupport/common-types.h:30:typedef long long LONGEST;
> gdb/gdbsupport/common-types.h:31: code: long long: Do not use 'long long', instead use LONGEST
gdb/gdbsupport/common-types.h:31:typedef unsigned long long ULONGEST;
> gdb/gdbsupport/common-types.h:52: code: long long: Do not use 'long long', instead use LONGEST
gdb/gdbsupport/common-types.h:52:typedef long long LONGEST;
> gdb/gdbsupport/common-types.h:53: code: long long: Do not use 'long long', instead use LONGEST
gdb/gdbsupport/common-types.h:53:typedef unsigned long long ULONGEST;
> gdb/gdbsupport/common-utils.c:92: regression: vsprintf: Do not use vsprintf(), instead use xstrvprintf
gdb/gdbsupport/common-utils.c:92:  vsprintf (&str[0], fmt, vp);
> gdb/gdbsupport/common-utils.c:114: regression: vsprintf: Do not use vsprintf(), instead use xstrvprintf
gdb/gdbsupport/common-utils.c:114:  vsprintf (&str[0], fmt, args);
> gdb/gdbsupport/common-utils.c:150: regression: vsprintf: Do not use vsprintf(), instead use xstrvprintf
gdb/gdbsupport/common-utils.c:150:  vsprintf (&str[curr_size], fmt, args);
> gdb/gdbsupport/common-utils.h:42: regression: __func__: Do not use __func__, ISO C 90 does not support this macro
gdb/gdbsupport/common-utils.h:42:#define FUNCTION_NAME		__func__   
> gdb/gdbsupport/gdb_optional.h:173: code: OP eol: Do not use &&, or || at the end of a line
gdb/gdbsupport/gdb_optional.h:173:  T &&operator* () &&
> gdb/gdbsupport/gdb_optional.h:176: code: OP eol: Do not use &&, or || at the end of a line
gdb/gdbsupport/gdb_optional.h:176:  constexpr const T &&operator* () const &&
> gdb/gdbsupport/mingw-strerror.c:38: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/gdbsupport/mingw-strerror.c:38:    return strerror (errnum);
> gdb/gdbsupport/posix-strerror.c:29: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/gdbsupport/posix-strerror.c:29:  msg = strerror (errnum);
> gdb/gdbsupport/underlying.h:27: code: function call in first column: Function name in first column should be restricted to function implementation
gdb/gdbsupport/underlying.h:27:to_underlying (E val) noexcept
616a617
> gdb/valops.c:560: gettext: multiple messages: Do not use multiple calls to warning or error, instead use a single call
gdb/valops.c:560:      error (_('));
669,670c670,671
< 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:#endif  
< 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:#endif  
> gdb/gdbsupport/posix-strerror.c:0: internal: gdb/gdbsupport/posix-strerror.c missing strerror: Expecting 1 occurances of bug strerror in file gdb/gdbsupport/posix-strerror.c, only found 0
gdb/gdbsupport/posix-strerror.c:0:#endif  
> gdb/gdbsupport/mingw-strerror.c:0: internal: gdb/gdbsupport/mingw-strerror.c missing strerror: Expecting 1 occurances of bug strerror in file gdb/gdbsupport/mingw-strerror.c, only found 0
gdb/gdbsupport/mingw-strerror.c:0:#endif  


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