New ARI warning Thu Jul 8 02:04:16 UTC 2010
GDB Administrator
gdbadmin@sourceware.org
Thu Jul 8 02:04:00 GMT 2010
1d0
< gdb/ada-lang.c:508: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/ada-lang.c:508:static void lim_warning (const char *format, ...) ATTR_FORMAT (printf, 1, 2);
31a31,33
> gdb/amd64-linux-nat.c:702: comment: GNU/Linux: Do not use 'Linux', instead use 'Linux kernel' or 'GNU/Linux system'; comments should clearly differentiate between the two (this test assumes that word 'Linux' appears on the same line as the word 'GNU' or 'kernel' or a kernel version
gdb/amd64-linux-nat.c:702:/* Get Linux/x86 target description from running target.
> gdb/amd64-linux-tdep.c:337: comment: GNU/Linux: Do not use 'Linux', instead use 'Linux kernel' or 'GNU/Linux system'; comments should clearly differentiate between the two (this test assumes that word 'Linux' appears on the same line as the word 'GNU' or 'kernel' or a kernel version
gdb/amd64-linux-tdep.c:337:/* amd64_canonicalize_syscall maps from the native amd64 Linux set
> gdb/amd64-linux-tdep.c:1265: comment: GNU/Linux: Do not use 'Linux', instead use 'Linux kernel' or 'GNU/Linux system'; comments should clearly differentiate between the two (this test assumes that word 'Linux' appears on the same line as the word 'GNU' or 'kernel' or a kernel version
gdb/amd64-linux-tdep.c:1265:/* Get Linux/x86 target description from core dump. */
36a39,40
> gdb/amd64-linux-tdep.c:1545: comment: GNU/Linux: Do not use 'Linux', instead use 'Linux kernel' or 'GNU/Linux system'; comments should clearly differentiate between the two (this test assumes that word 'Linux' appears on the same line as the word 'GNU' or 'kernel' or a kernel version
gdb/amd64-linux-tdep.c:1545: /* Initialize the Linux target description */
> gdb/amd64-linux-tdep.h:34: comment: GNU/Linux: Do not use 'Linux', instead use 'Linux kernel' or 'GNU/Linux system'; comments should clearly differentiate between the two (this test assumes that word 'Linux' appears on the same line as the word 'GNU' or 'kernel' or a kernel version
gdb/amd64-linux-tdep.h:34:/* Linux target description. */
40d43
< gdb/amd64-tdep.c:905: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/amd64-tdep.c:905:static int ATTR_FORMAT (printf, 2, 3)
44a48
> gdb/amd64-tdep.c:1881: deprecate: read_memory: Replace read_memory() with regcache_read() et.al.
gdb/amd64-tdep.c:1881: read_memory (pc + 1, buf, 3);
69d72
< gdb/arm-linux-tdep.c:647: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-linux-tdep.c:647:arm_linux_cleanup_svc (struct gdbarch *gdbarch ATTRIBUTE_UNUSED,
72d74
< gdb/arm-linux-tdep.c:768: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-linux-tdep.c:768:cleanup_kernel_helper_return (struct gdbarch *gdbarch ATTRIBUTE_UNUSED,
75d76
< gdb/arm-tdep.c:564: deprecated: deprecated pc_in_call_dummy: Do not use deprecated pc_in_call_dummy, see declaration for details
gdb/arm-tdep.c:564: if (deprecated_pc_in_call_dummy (gdbarch, pc))
80,91d80
< gdb/arm-tdep.c:3349: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:3349:copy_unmodified (struct gdbarch *gdbarch ATTRIBUTE_UNUSED, uint32_t insn,
< gdb/arm-tdep.c:3365: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:3365:cleanup_preload (struct gdbarch *gdbarch ATTRIBUTE_UNUSED,
< gdb/arm-tdep.c:3450: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:3450:cleanup_copro_load_store (struct gdbarch *gdbarch ATTRIBUTE_UNUSED,
< gdb/arm-tdep.c:3504: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:3504:cleanup_branch (struct gdbarch *gdbarch ATTRIBUTE_UNUSED, struct regcache *regs,
< gdb/arm-tdep.c:3528: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:3528:copy_b_bl_blx (struct gdbarch *gdbarch ATTRIBUTE_UNUSED, uint32_t insn,
< gdb/arm-tdep.c:3575: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:3575:copy_bx_blx_reg (struct gdbarch *gdbarch ATTRIBUTE_UNUSED, uint32_t insn,
< gdb/arm-tdep.c:3613: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:3613:cleanup_alu_imm (struct gdbarch *gdbarch ATTRIBUTE_UNUSED,
< gdb/arm-tdep.c:3674: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:3674:cleanup_alu_reg (struct gdbarch *gdbarch ATTRIBUTE_UNUSED,
< gdb/arm-tdep.c:3743: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:3743:cleanup_alu_shifted_reg (struct gdbarch *gdbarch ATTRIBUTE_UNUSED,
< gdb/arm-tdep.c:3817: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:3817:cleanup_load (struct gdbarch *gdbarch ATTRIBUTE_UNUSED, struct regcache *regs,
< gdb/arm-tdep.c:3847: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:3847:cleanup_store (struct gdbarch *gdbarch ATTRIBUTE_UNUSED, struct regcache *regs,
< gdb/arm-tdep.c:4180: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:4180:cleanup_block_load_pc (struct gdbarch *gdbarch ATTRIBUTE_UNUSED,
93,95d81
< gdb/arm-tdep.c:4376: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:4376:cleanup_svc (struct gdbarch *gdbarch ATTRIBUTE_UNUSED, struct regcache *regs,
< gdb/arm-tdep.c:4420: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:4420:copy_undef (struct gdbarch *gdbarch ATTRIBUTE_UNUSED, uint32_t insn,
< gdb/arm-tdep.c:4435: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings. Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/arm-tdep.c:4435:copy_unpred (struct gdbarch *gdbarch ATTRIBUTE_UNUSED, uint32_t insn,
110a97,98
> gdb/breakpoint.c:4336: deprecate: SOLIB_ADD: Replace SOLIB_ADD with nothing, not needed?
gdb/breakpoint.c:4336:#ifdef SOLIB_ADD
> gdb/breakpoint.c:4337: deprecate: SOLIB_ADD: Replace SOLIB_ADD with nothing, not needed?
gdb/breakpoint.c:4337: SOLIB_ADD (NULL, 0, ¤t_target, auto_solib_add);
141,142d128
< gdb/c-exp.y:2268: gettext: _ markup: All messages should be marked up with _.
gdb/c-exp.y:2268: error ("Invalid character '%c' in expression.", c);
< gdb/c-exp.y:2472: gettext: _ markup: All messages should be marked up with _.
gdb/c-exp.y:2472: error ("A %s in expression, near `%s'.", (msg ? msg : "error"), lexptr);
154,156d139
< gdb/cli-out.c:60: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/cli-out.c:60: va_list args) ATTR_FORMAT (printf, 6, 0);
< gdb/cli-out.c:65: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/cli-out.c:65: ATTR_FORMAT (printf, 3, 0);
< gdb/cli-out.c:104: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/cli-out.c:104: const char *format,...) ATTR_FORMAT (printf, 4, 5);
162,163d144
< gdb/cli/cli-cmds.h:129: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/cli/cli-cmds.h:129:extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
gdb/cli/cli-cmds.h:129:extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
< gdb/cli/cli-cmds.h:129: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/cli/cli-cmds.h:129:extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
gdb/cli/cli-cmds.h:129:extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
175d155
< gdb/cli/cli-dump.h:37: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/cli/cli-dump.h:37:extern struct value *parse_and_eval_with_error (char *exp, const char *fmt, ...) ATTR_FORMAT (printf, 2, 3);
203,204d182
< gdb/command.h:344: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/command.h:344:extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
gdb/command.h:344:extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
< gdb/command.h:344: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/command.h:344:extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
gdb/command.h:344:extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
208d185
< gdb/complaints.c:167: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/complaints.c:167:static void ATTR_FORMAT (printf, 4, 0)
211,212d187
< gdb/complaints.h:34: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/complaints.h:34: ...) ATTR_FORMAT (printf, 2, 3);
< gdb/complaints.h:37: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/complaints.h:37: ...) ATTR_FORMAT (printf, 4, 5);
221,223d195
< gdb/config/i386/nm-i386sol2.h:30: macro: nm CANNOT_STEP_HW_WATCHPOINTS: Do not define macros such as CANNOT_STEP_HW_WATCHPOINTS in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
gdb/config/i386/nm-i386sol2.h:30:#define CANNOT_STEP_HW_WATCHPOINTS
< gdb/config/i386/nm-linux.h:29: macro: nm FILL_FPXREGSET: Do not define macros such as FILL_FPXREGSET in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
gdb/config/i386/nm-linux.h:29:#define FILL_FPXREGSET
< gdb/config/nm-linux.h:24: macro: nm GET_THREAD_SIGNALS: Do not define macros such as GET_THREAD_SIGNALS in a tm, nm or xm file, in fact do not provide a tm, nm or xm file
gdb/config/nm-linux.h:24:#define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask)
254a227
> gdb/cp-namespace.c:593: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/cp-namespace.c:593: sprintf (concatenated_name, ', parent_name, nested_name);
279,333d251
< gdb/defs.h:276: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:276:#ifndef NORETURN
< gdb/defs.h:279: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:279:#define NORETURN volatile
< gdb/defs.h:281: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:281:#define NORETURN
< gdb/defs.h:290: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:290:#ifndef ATTR_NORETURN
< gdb/defs.h:292: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:292:#define ATTR_NORETURN __attribute__ ((noreturn))
< gdb/defs.h:294: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:294:#define ATTR_NORETURN
< gdb/defs.h:298: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:298:#ifndef ATTR_FORMAT
< gdb/defs.h:300: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:300:#define ATTR_FORMAT(type, x, y) __attribute__ ((format(type, x, y)))
< gdb/defs.h:302: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:302:#define ATTR_FORMAT(type, x, y)
< gdb/defs.h:402: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:402:extern int query (const char *, ...) ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:403: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:403:extern int nquery (const char *, ...) ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:404: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:404:extern int yquery (const char *, ...) ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:490: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:490:extern void vprintf_filtered (const char *, va_list) ATTR_FORMAT (printf, 1, 0);
< gdb/defs.h:492: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:492:extern void vfprintf_filtered (struct ui_file *, const char *, va_list) ATTR_FORMAT (printf, 2, 0);
< gdb/defs.h:494: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:494:extern void fprintf_filtered (struct ui_file *, const char *, ...) ATTR_FORMAT (printf, 2, 3);
< gdb/defs.h:496: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:496:extern void fprintfi_filtered (int, struct ui_file *, const char *, ...) ATTR_FORMAT (printf, 3, 4);
< gdb/defs.h:498: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:498:extern void printf_filtered (const char *, ...) ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:500: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:500:extern void printfi_filtered (int, const char *, ...) ATTR_FORMAT (printf, 2, 3);
< gdb/defs.h:502: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:502:extern void vprintf_unfiltered (const char *, va_list) ATTR_FORMAT (printf, 1, 0);
< gdb/defs.h:504: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:504:extern void vfprintf_unfiltered (struct ui_file *, const char *, va_list) ATTR_FORMAT (printf, 2, 0);
< gdb/defs.h:506: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:506:extern void fprintf_unfiltered (struct ui_file *, const char *, ...) ATTR_FORMAT (printf, 2, 3);
< gdb/defs.h:508: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:508:extern void printf_unfiltered (const char *, ...) ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:557: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:557:extern NORETURN void perror_with_name (const char *) ATTR_NORETURN;
gdb/defs.h:557:extern NORETURN void perror_with_name (const char *) ATTR_NORETURN;
< gdb/defs.h:557: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:557:extern NORETURN void perror_with_name (const char *) ATTR_NORETURN;
gdb/defs.h:557:extern NORETURN void perror_with_name (const char *) ATTR_NORETURN;
< gdb/defs.h:888: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:888:extern void xasprintf (char **ret, const char *format, ...) ATTR_FORMAT (printf, 2, 3);
< gdb/defs.h:890: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:890: ATTR_FORMAT (printf, 2, 0);
< gdb/defs.h:894: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:894:extern char *xstrprintf (const char *format, ...) ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:896: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:896: ATTR_FORMAT (printf, 1, 0);
< gdb/defs.h:900: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:900: ATTR_FORMAT (printf, 3, 4);
< gdb/defs.h:916: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:916:extern NORETURN void verror (const char *fmt, va_list ap)
< gdb/defs.h:917: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:917: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
gdb/defs.h:917: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
< gdb/defs.h:917: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:917: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
gdb/defs.h:917: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
< gdb/defs.h:919: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:919:extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:919:extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:919:extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:919: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:919:extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:919:extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:919:extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:919: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:919:extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:919:extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:919:extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:921: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:921:extern NORETURN void error_stream (struct ui_file *) ATTR_NORETURN;
gdb/defs.h:921:extern NORETURN void error_stream (struct ui_file *) ATTR_NORETURN;
< gdb/defs.h:921: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:921:extern NORETURN void error_stream (struct ui_file *) ATTR_NORETURN;
gdb/defs.h:921:extern NORETURN void error_stream (struct ui_file *) ATTR_NORETURN;
< gdb/defs.h:923: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:923:extern NORETURN void vfatal (const char *fmt, va_list ap)
< gdb/defs.h:924: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:924: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
gdb/defs.h:924: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
< gdb/defs.h:924: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:924: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
gdb/defs.h:924: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
< gdb/defs.h:926: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:926:extern NORETURN void fatal (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:926:extern NORETURN void fatal (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:926:extern NORETURN void fatal (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:926: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:926:extern NORETURN void fatal (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:926:extern NORETURN void fatal (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:926:extern NORETURN void fatal (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:926: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:926:extern NORETURN void fatal (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:926:extern NORETURN void fatal (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
gdb/defs.h:926:extern NORETURN void fatal (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:928: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:928:extern NORETURN void internal_verror (const char *file, int line,
< gdb/defs.h:930: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:930: ATTR_NORETURN ATTR_FORMAT (printf, 3, 0);
gdb/defs.h:930: ATTR_NORETURN ATTR_FORMAT (printf, 3, 0);
< gdb/defs.h:930: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:930: ATTR_NORETURN ATTR_FORMAT (printf, 3, 0);
gdb/defs.h:930: ATTR_NORETURN ATTR_FORMAT (printf, 3, 0);
< gdb/defs.h:932: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:932:extern NORETURN void internal_error (const char *file, int line,
< gdb/defs.h:933: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:933: const char *, ...) ATTR_NORETURN ATTR_FORMAT (printf, 3, 4);
gdb/defs.h:933: const char *, ...) ATTR_NORETURN ATTR_FORMAT (printf, 3, 4);
< gdb/defs.h:933: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:933: const char *, ...) ATTR_NORETURN ATTR_FORMAT (printf, 3, 4);
gdb/defs.h:933: const char *, ...) ATTR_NORETURN ATTR_FORMAT (printf, 3, 4);
< gdb/defs.h:937: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:937: ATTR_FORMAT (printf, 3, 0);
< gdb/defs.h:940: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:940: const char *, ...) ATTR_FORMAT (printf, 3, 4);
< gdb/defs.h:942: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:942:extern NORETURN void nomem (long) ATTR_NORETURN;
gdb/defs.h:942:extern NORETURN void nomem (long) ATTR_NORETURN;
< gdb/defs.h:942: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/defs.h:942:extern NORETURN void nomem (long) ATTR_NORETURN;
gdb/defs.h:942:extern NORETURN void nomem (long) ATTR_NORETURN;
< gdb/defs.h:944: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:944:extern void warning (const char *, ...) ATTR_FORMAT (printf, 1, 2);
< gdb/defs.h:946: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/defs.h:946:extern void vwarning (const char *, va_list args) ATTR_FORMAT (printf, 1, 0);
358d275
< gdb/disasm.c:338: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/disasm.c:338:static int ATTR_FORMAT (printf, 2, 3)
370a288,289
> gdb/dwarf2loc.c:767: deprecate: read_memory: Replace read_memory() with regcache_read() et.al.
gdb/dwarf2loc.c:767: read_memory (p->v.mem.addr + dest_offset, buffer, 1);
> gdb/dwarf2loc.c:768: deprecate: read_memory: Replace read_memory() with regcache_read() et.al.
gdb/dwarf2loc.c:768: read_memory (p->v.mem.addr + dest_offset + this_size - 1,
391,392d309
< gdb/exceptions.c:213: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.c:213:NORETURN void
< gdb/exceptions.c:242: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.c:242:NORETURN void
396,415d312
< gdb/exceptions.c:377: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/exceptions.c:377:NORETURN static void ATTR_NORETURN ATTR_FORMAT (printf, 3, 0)
gdb/exceptions.c:377:NORETURN static void ATTR_NORETURN ATTR_FORMAT (printf, 3, 0)
gdb/exceptions.c:377:NORETURN static void ATTR_NORETURN ATTR_FORMAT (printf, 3, 0)
< gdb/exceptions.c:377: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.c:377:NORETURN static void ATTR_NORETURN ATTR_FORMAT (printf, 3, 0)
gdb/exceptions.c:377:NORETURN static void ATTR_NORETURN ATTR_FORMAT (printf, 3, 0)
gdb/exceptions.c:377:NORETURN static void ATTR_NORETURN ATTR_FORMAT (printf, 3, 0)
< gdb/exceptions.c:377: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.c:377:NORETURN static void ATTR_NORETURN ATTR_FORMAT (printf, 3, 0)
gdb/exceptions.c:377:NORETURN static void ATTR_NORETURN ATTR_FORMAT (printf, 3, 0)
gdb/exceptions.c:377:NORETURN static void ATTR_NORETURN ATTR_FORMAT (printf, 3, 0)
< gdb/exceptions.c:399: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.c:399:NORETURN void
< gdb/exceptions.c:405: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.c:405:NORETURN void
< gdb/exceptions.c:411: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.c:411:NORETURN void
< gdb/exceptions.h:156: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/exceptions.h:156: ...) ATTR_FORMAT (printf, 3, 4);
< gdb/exceptions.h:169: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.h:169:extern NORETURN void throw_exception (struct gdb_exception exception) ATTR_NORETURN;
gdb/exceptions.h:169:extern NORETURN void throw_exception (struct gdb_exception exception) ATTR_NORETURN;
< gdb/exceptions.h:169: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.h:169:extern NORETURN void throw_exception (struct gdb_exception exception) ATTR_NORETURN;
gdb/exceptions.h:169:extern NORETURN void throw_exception (struct gdb_exception exception) ATTR_NORETURN;
< gdb/exceptions.h:170: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.h:170:extern NORETURN void throw_verror (enum errors, const char *fmt, va_list ap)
< gdb/exceptions.h:171: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/exceptions.h:171: ATTR_NORETURN ATTR_FORMAT (printf, 2, 0);
gdb/exceptions.h:171: ATTR_NORETURN ATTR_FORMAT (printf, 2, 0);
< gdb/exceptions.h:171: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.h:171: ATTR_NORETURN ATTR_FORMAT (printf, 2, 0);
gdb/exceptions.h:171: ATTR_NORETURN ATTR_FORMAT (printf, 2, 0);
< gdb/exceptions.h:172: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.h:172:extern NORETURN void throw_vfatal (const char *fmt, va_list ap)
< gdb/exceptions.h:173: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/exceptions.h:173: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
gdb/exceptions.h:173: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
< gdb/exceptions.h:173: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.h:173: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
gdb/exceptions.h:173: ATTR_NORETURN ATTR_FORMAT (printf, 1, 0);
< gdb/exceptions.h:174: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.h:174:extern NORETURN void throw_error (enum errors error, const char *fmt,
< gdb/exceptions.h:175: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/exceptions.h:175: ...) ATTR_NORETURN ATTR_FORMAT (printf, 2, 3);
gdb/exceptions.h:175: ...) ATTR_NORETURN ATTR_FORMAT (printf, 2, 3);
< gdb/exceptions.h:175: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.h:175: ...) ATTR_NORETURN ATTR_FORMAT (printf, 2, 3);
gdb/exceptions.h:175: ...) ATTR_NORETURN ATTR_FORMAT (printf, 2, 3);
< gdb/exceptions.h:179: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.h:179:extern NORETURN void deprecated_throw_reason (enum return_reason reason) ATTR_NORETURN;
gdb/exceptions.h:179:extern NORETURN void deprecated_throw_reason (enum return_reason reason) ATTR_NORETURN;
gdb/exceptions.h:179:extern NORETURN void deprecated_throw_reason (enum return_reason reason) ATTR_NORETURN;
< gdb/exceptions.h:179: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/exceptions.h:179:extern NORETURN void deprecated_throw_reason (enum return_reason reason) ATTR_NORETURN;
gdb/exceptions.h:179:extern NORETURN void deprecated_throw_reason (enum return_reason reason) ATTR_NORETURN;
gdb/exceptions.h:179:extern NORETURN void deprecated_throw_reason (enum return_reason reason) ATTR_NORETURN;
509,510d405
< gdb/go32-nat.c:2050: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/go32-nat.c:2050: printf_filtered ("Page Table entry for address 0x%llx:\n",
< gdb/go32-nat.c:2051: code: long long: Do not use 'long long', instead use LONGEST
gdb/go32-nat.c:2051: (unsigned long long)addr);
587a483,484
> gdb/i386-linux-nat.c:907: comment: GNU/Linux: Do not use 'Linux', instead use 'Linux kernel' or 'GNU/Linux system'; comments should clearly differentiate between the two (this test assumes that word 'Linux' appears on the same line as the word 'GNU' or 'kernel' or a kernel version
gdb/i386-linux-nat.c:907:/* Get Linux/x86 target description from running target. */
> gdb/i386-linux-nat.c:952: code: long long: Do not use 'long long', instead use LONGEST
gdb/i386-linux-nat.c:952: / sizeof (long long))];
591a489,490
> gdb/i386-linux-tdep.c:619: comment: GNU/Linux: Do not use 'Linux', instead use 'Linux kernel' or 'GNU/Linux system'; comments should clearly differentiate between the two (this test assumes that word 'Linux' appears on the same line as the word 'GNU' or 'kernel' or a kernel version
gdb/i386-linux-tdep.c:619:/* Get Linux/x86 target description from core dump. */
> gdb/i386-linux-tdep.c:626: comment: GNU/Linux: Do not use 'Linux', instead use 'Linux kernel' or 'GNU/Linux system'; comments should clearly differentiate between the two (this test assumes that word 'Linux' appears on the same line as the word 'GNU' or 'kernel' or a kernel version
gdb/i386-linux-tdep.c:626: /* Linux/i386. */
595a495,498
> gdb/i386-linux-tdep.c:915: comment: GNU/Linux: Do not use 'Linux', instead use 'Linux kernel' or 'GNU/Linux system'; comments should clearly differentiate between the two (this test assumes that word 'Linux' appears on the same line as the word 'GNU' or 'kernel' or a kernel version
gdb/i386-linux-tdep.c:915: /* Initialize the Linux target description */
> gdb/i386-linux-tdep.h:42: comment: GNU/Linux: Do not use 'Linux', instead use 'Linux kernel' or 'GNU/Linux system'; comments should clearly differentiate between the two (this test assumes that word 'Linux' appears on the same line as the word 'GNU' or 'kernel' or a kernel version
gdb/i386-linux-tdep.h:42:/* Linux target description. */
> gdb/i386-tdep.c:543: deprecate: read_memory: Replace read_memory() with regcache_read() et.al.
gdb/i386-tdep.c:543: read_memory (from, buf, len);
> gdb/i386-tdep.c:557: deprecate: write_memory: Replace write_memory() with regcache_read() et.al.
gdb/i386-tdep.c:557: write_memory (to, buf, len);
597a501
> gdb/i386-tdep.c:978: deprecate: read_memory: Replace read_memory() with regcache_read() et.al.
gdb/i386-tdep.c:978: read_memory (pc + delta, buf, sizeof (buf));
671a576,577
> gdb/infrun.c:2602: deprecated: deprecated target_wait_hook: Do not use deprecated target_wait_hook, see declaration for details
gdb/infrun.c:2602: if (deprecated_target_wait_hook)
> gdb/infrun.c:2604: deprecated: deprecated target_wait_hook: Do not use deprecated target_wait_hook, see declaration for details
gdb/infrun.c:2604: deprecated_target_wait_hook (waiton_ptid, &ecs->ws, TARGET_WNOHANG);
679,680d584
< gdb/infrun.c:3904: deprecate: SOLIB_ADD: Replace SOLIB_ADD with nothing, not needed?
gdb/infrun.c:3904: SOLIB_ADD (NULL, 0, ¤t_target, auto_solib_add);
< gdb/infrun.c:4031: deprecate: SOLIB_ADD: Replace SOLIB_ADD with nothing, not needed?
gdb/infrun.c:4031:#if defined(SOLIB_ADD)
738,739d641
< gdb/language.h:465: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/language.h:465:extern void type_error (const char *, ...) ATTR_FORMAT (printf, 1, 2);
< gdb/language.h:467: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/language.h:467:extern void range_error (const char *, ...) ATTR_FORMAT (printf, 1, 2);
741,744d642
< gdb/linespec.c:82: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/linespec.c:82:static NORETURN void cplusplus_error (const char *name,
< gdb/linespec.c:84: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/linespec.c:84: ATTR_NORETURN ATTR_FORMAT (printf, 2, 3);
gdb/linespec.c:84: ATTR_NORETURN ATTR_FORMAT (printf, 2, 3);
< gdb/linespec.c:84: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/linespec.c:84: ATTR_NORETURN ATTR_FORMAT (printf, 2, 3);
gdb/linespec.c:84: ATTR_NORETURN ATTR_FORMAT (printf, 2, 3);
< gdb/linespec.c:150: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/linespec.c:150:static NORETURN void
750,755d647
< gdb/linespec.c:964: code: OP eol: Do not use &&, or || at the end of a line
gdb/linespec.c:964: (ii = strstr (arg, ')) != NULL ||
< gdb/linespec.c:965: code: OP eol: Do not use &&, or || at the end of a line
gdb/linespec.c:965: (ii = strstr (arg, ')) != NULL ||
< gdb/linespec.c:966: code: OP eol: Do not use &&, or || at the end of a line
gdb/linespec.c:966: (ii = strstr (arg, ')) != NULL ||
< gdb/linespec.c:967: code: OP eol: Do not use &&, or || at the end of a line
gdb/linespec.c:967: (ii = strstr (arg, ')) != NULL ||
< gdb/linespec.c:968: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/linespec.c:968: if ((ii = strstr (arg, ')) != NULL || (ii = strstr (arg, ')) != NULL || (ii = strstr (arg, ')) != NULL || (ii = strstr (arg, ')) != NULL || (ii = strstr (arg, ')) != NULL || (ii = strstr (arg, ')) != NULL)
< gdb/linespec.c:1352: code: OP eol: Do not use &&, or || at the end of a line
gdb/linespec.c:1352: if (sym_class &&
756a649,650
> gdb/linespec.c:1442: gettext: trailing new line: A message should not have a trailing new line
gdb/linespec.c:1442: error (_("the class `%s' does not have any method instance named %s\n"),
> gdb/linespec.c:1603: gettext: trailing new line: A message should not have a trailing new line
gdb/linespec.c:1603: error (_("the class `%s' does not have any method instance named %s\n"),
771d664
< gdb/linux-nat.c:4116: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/linux-nat.c:4116: "Save segment, %lld bytes at %s (%c%c%c)",
837,838d729
< gdb/m32c-tdep.c:2431: gettext: _ markup: All messages should be marked up with _.
gdb/m32c-tdep.c:2431: error ("Cannot convert code address %s to function pointer:\n"
< gdb/m32c-tdep.c:2448: gettext: _ markup: All messages should be marked up with _.
gdb/m32c-tdep.c:2448: error ("Cannot convert code address %s to function pointer:\n"
884d774
< gdb/mi/mi-interp.c:47: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/mi/mi-interp.c:47: ATTR_FORMAT (printf, 1, 0);
912a803
> gdb/mi/mi-main.c:1121: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/mi/mi-main.c:1121: sprintf (ptr, ', (unsigned char) buffer[idx]);
920,924d810
< gdb/mi/mi-main.c:1020: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/mi/mi-main.c:1020: sprintf (ptr, ', (unsigned char) buffer[idx]);
< gdb/mi/mi-main.c:1060: gettext: _ markup: All messages should be marked up with _.
gdb/mi/mi-main.c:1060: error ("mi_cmd_data_write_register_values: Usage: -data-write-register-values <format> [<regnum1> <value1>...<regnumN> <valueN>]");
< gdb/mi/mi-main.c:1065: gettext: _ markup: All messages should be marked up with _.
gdb/mi/mi-main.c:1065: error ("mi_cmd_data_write_register_values: No registers.");
< gdb/mi/mi-main.c:1068: gettext: _ markup: All messages should be marked up with _.
gdb/mi/mi-main.c:1068: error ("mi_cmd_data_write_register_values: No regs and values specified.");
< gdb/mi/mi-main.c:1071: gettext: _ markup: All messages should be marked up with _.
gdb/mi/mi-main.c:1071: error ("mi_cmd_data_write_register_values: Regs and vals are not in pairs.");
928a815
> gdb/mi/mi-main.c:1521: deprecate: write_memory: Replace write_memory() with regcache_read() et.al.
gdb/mi/mi-main.c:1521: write_memory (addr, buffer, word_size);
932d818
< gdb/mi/mi-main.c:1417: deprecate: write_memory: Replace write_memory() with regcache_read() et.al.
gdb/mi/mi-main.c:1417: write_memory (addr, buffer, word_size);
937,938d822
< gdb/mi/mi-out.c:58: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/mi/mi-out.c:58: va_list args) ATTR_FORMAT (printf, 6, 0);
< gdb/mi/mi-out.c:63: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/mi/mi-out.c:63: ATTR_FORMAT (printf, 3, 0);
940,942d823
< gdb/mi/mi-parse.c:218: gettext: _ markup: All messages should be marked up with _.
gdb/mi/mi-parse.c:218: error ("Duplicate '--thread' option");
< gdb/mi/mi-parse.c:225: gettext: _ markup: All messages should be marked up with _.
gdb/mi/mi-parse.c:225: error ("Duplicate '--frame' option");
< gdb/mi/mi-parse.c:233: gettext: _ markup: All messages should be marked up with _.
gdb/mi/mi-parse.c:233: error ("Invalid value for the '%s' option",
977d857
< gdb/monitor.c:122: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/monitor.c:122:static void monitor_debug (const char *fmt, ...) ATTR_FORMAT(printf, 1, 2);
1015,1016d894
< gdb/nto-procfs.c:580: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/nto-procfs.c:580: printf_filtered ("\t\toffset=%016llx\n", printme.text.offset);
< gdb/nto-procfs.c:587: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/nto-procfs.c:587: printf_filtered ("\t\toffset=%016llx\n", printme.data.offset);
1101d978
< gdb/parser-defs.h:303: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/parser-defs.h:303:extern void parser_fprintf (FILE *, const char *, ...) ATTR_FORMAT (printf, 2 ,3);
1104a982
> gdb/ppc-linux-nat.c:1791: deprecated: deprecated value_modifiable: Do not use deprecated value_modifiable, see declaration for details
gdb/ppc-linux-nat.c:1791: if (VALUE_LVAL (v) == not_lval || deprecated_value_modifiable (v) == 0)
1181a1060
> gdb/procfs.c:3763: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:3763: sprintf (name, ', pi->pid, map->pr_mapname);
1209d1087
< gdb/procfs.c:5659: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:5659: sprintf (name, ', pi->pid, map->pr_mapname);
1211c1089,1092
< gdb/python/py-frame.c:52: gettext: _ markup: All messages should be marked up with _.
gdb/python/py-frame.c:52: error ("Frame is invalid."); \
> gdb/psymtab.c:154: code: OP eol: Do not use &&, or || at the end of a line
gdb/psymtab.c:154: if (!(objfile->flags & OBJF_REORDERED) &&
> gdb/python/py-cmd.c:192: gettext: _ markup: All messages should be marked up with _.
gdb/python/py-cmd.c:192: error ("%s", msg);
> gdb/python/py-inferior.c:327: deprecate: read_memory: Replace read_memory() with regcache_read() et.al.
gdb/python/py-inferior.c:327: read_memory (addr, buffer, length);
> gdb/python/py-inferior.c:396: deprecate: write_memory: Replace write_memory() with regcache_read() et.al.
gdb/python/py-inferior.c:396: write_memory (addr, buffer, length);
1240d1120
< gdb/remote-sim.c:73: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/remote-sim.c:73:static void gdb_os_error (host_callback *, const char *, ...) ATTR_NORETURN;
1245c1125
< gdb/remote.c:439: code: OP eol: Do not use &&, or || at the end of a line
gdb/remote.c:439: else if (buf[0] == '.' &&
> gdb/remote.c:471: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:471: sprintf (buf, ', adjusted_size);
1256c1136,1137
< gdb/remote.c:2454: regression: strdup: Do not use strdup(), instead use xstrdup()
gdb/remote.c:2454: VEC_last (thread_item_t, data->items)->extra = strdup (body_text);
> gdb/remote.c:2787: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:2787: sprintf (p, ');
> gdb/remote.c:3208: gettext: _ markup: All messages should be marked up with _.
gdb/remote.c:3208: error ("Remote refused setting non-stop mode with: %s", rs->buf);
1257a1139
> gdb/remote.c:3514: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:3514: sprintf (rs->buf, '
1278d1159
< gdb/remote.c:7594: code: OP eol: Do not use &&, or || at the end of a line
gdb/remote.c:7594: if (!current_target.to_shortname ||
1282a1164
> gdb/remote.c:9749: gettext: _ markup: All messages should be marked up with _.
gdb/remote.c:9749: error ("Static tracepoint not valid during download");
1295,1296c1177
< gdb/remote.c:9526: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:9526: if ((target_frameno = (int) strtol (++reply, &reply, 16)) == -1)
< gdb/remote.c:9530: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/remote.c:9530: if ((target_tracept = (int) strtol (++reply, &reply, 16)) == -1)
> gdb/remote.c:10042: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:10042: sprintf (rs->buf, ', tsvnum);
1300,1301d1180
< gdb/remote.h:64: deprecated: deprecated target_resume_hook: Do not use deprecated target_resume_hook, see declaration for details
gdb/remote.h:64:extern void (*deprecated_target_resume_hook) (void);
< gdb/remote.h:65: deprecated: deprecated target_wait_loop_hook: Do not use deprecated target_wait_loop_hook, see declaration for details
gdb/remote.h:65:extern void (*deprecated_target_wait_loop_hook) (void);
1307d1185
< gdb/rs6000-nat.c:203: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/rs6000-nat.c:203: printf ("rs6000_ptrace64 (%d, %d, 0x%llx, %08x, 0x%x) = 0x%x\n",
1377d1254
< gdb/serial.h:89: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/serial.h:89: const char *,...) ATTR_FORMAT (printf, 2, 3);
1387,1396d1263
< gdb/sh64-tdep.c:1333: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/sh64-tdep.c:1333: ("PC=%s SR=%016llx \n",
< gdb/sh64-tdep.c:1336: code: long long: Do not use 'long long', instead use LONGEST
gdb/sh64-tdep.c:1336: (long long) get_frame_register_unsigned (frame, SR_REGNUM));
< gdb/sh64-tdep.c:1339: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/sh64-tdep.c:1339: ("SSR=%016llx SPC=%016llx \n",
< gdb/sh64-tdep.c:1340: code: long long: Do not use 'long long', instead use LONGEST
gdb/sh64-tdep.c:1340: (long long) get_frame_register_unsigned (frame, SSR_REGNUM),
< gdb/sh64-tdep.c:1341: code: long long: Do not use 'long long', instead use LONGEST
gdb/sh64-tdep.c:1341: (long long) get_frame_register_unsigned (frame, SPC_REGNUM));
< gdb/sh64-tdep.c:1348: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/sh64-tdep.c:1348: ("\nR%d-R%d %016llx %016llx %016llx %016llx\n",
< gdb/sh64-tdep.c:1350: code: long long: Do not use 'long long', instead use LONGEST
gdb/sh64-tdep.c:1350: (long long) get_frame_register_unsigned (frame, i + 0),
< gdb/sh64-tdep.c:1351: code: long long: Do not use 'long long', instead use LONGEST
gdb/sh64-tdep.c:1351: (long long) get_frame_register_unsigned (frame, i + 1),
< gdb/sh64-tdep.c:1352: code: long long: Do not use 'long long', instead use LONGEST
gdb/sh64-tdep.c:1352: (long long) get_frame_register_unsigned (frame, i + 2),
< gdb/sh64-tdep.c:1353: code: long long: Do not use 'long long', instead use LONGEST
gdb/sh64-tdep.c:1353: (long long) get_frame_register_unsigned (frame, i + 3));
1427,1437d1293
< gdb/solib-pa64.c:500: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-pa64.c:500: printf (" text_base = 0x%llx\n", d->text_base);
< gdb/solib-pa64.c:501: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-pa64.c:501: printf (" text_size = 0x%llx\n", d->text_size);
< gdb/solib-pa64.c:502: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-pa64.c:502: printf (" data_base = 0x%llx\n", d->data_base);
< gdb/solib-pa64.c:503: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-pa64.c:503: printf (" data_size = 0x%llx\n", d->data_size);
< gdb/solib-pa64.c:504: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-pa64.c:504: printf (" unwind_base = 0x%llx\n", d->unwind_base);
< gdb/solib-pa64.c:505: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-pa64.c:505: printf (" linkage_ptr = 0x%llx\n", d->linkage_ptr);
< gdb/solib-pa64.c:506: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-pa64.c:506: printf (" phdr_base = 0x%llx\n", d->phdr_base);
< gdb/solib-pa64.c:507: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-pa64.c:507: printf (" tls_size = 0x%llx\n", d->tls_size);
< gdb/solib-pa64.c:508: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-pa64.c:508: printf (" tls_start_addr = 0x%llx\n", d->tls_start_addr);
< gdb/solib-pa64.c:509: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-pa64.c:509: printf (" unwind_size = 0x%llx\n", d->unwind_size);
< gdb/solib-pa64.c:510: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-pa64.c:510: printf (" tls_index = 0x%llx\n", d->tls_index);
1446d1301
< gdb/solib-spu.c:164: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/solib-spu.c:164: xsnprintf (new->so_name, sizeof new->so_name, "@0x%llx <%d>", addr, fd);
1469a1325
> gdb/solib-svr4.c:295: code: UCASE function: Function name is uppercase.
gdb/solib-svr4.c:295:IGNORE_FIRST_LINK_MAP_ENTRY (struct so_list *so)
1525d1380
< gdb/symfile.c:2222: deprecated: deprecated ibm6000_target: Do not use deprecated ibm6000_target, see declaration for details
gdb/symfile.c:2222:#ifdef DEPRECATED_IBM6000_TARGET
1533d1387
< gdb/symtab.c:848: code: OP eol: Do not use &&, or || at the end of a line
gdb/symtab.c:848: if (!(objfile->flags & OBJF_REORDERED) &&
1551d1404
< gdb/target.c:59: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/target.c:59:static void tcomplain (void) ATTR_NORETURN;
1565,1566d1417
< gdb/target.h:1460: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/target.h:1460:extern NORETURN void noprocess (void) ATTR_NORETURN;
gdb/target.h:1460:extern NORETURN void noprocess (void) ATTR_NORETURN;
< gdb/target.h:1460: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/target.h:1460:extern NORETURN void noprocess (void) ATTR_NORETURN;
gdb/target.h:1460:extern NORETURN void noprocess (void) ATTR_NORETURN;
1602,1611d1452
< gdb/tracepoint.c:495: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tracepoint.c:495: sprintf (tmpbuf, ',
< gdb/tracepoint.c:500: deprecated: deprecated readline_begin_hook: Do not use deprecated readline_begin_hook, see declaration for details
gdb/tracepoint.c:500: if (deprecated_readline_begin_hook)
< gdb/tracepoint.c:501: deprecated: deprecated readline_begin_hook: Do not use deprecated readline_begin_hook, see declaration for details
gdb/tracepoint.c:501: (*deprecated_readline_begin_hook) (', tmpbuf, end_msg);
< gdb/tracepoint.c:510: deprecated: deprecated readline_end_hook: Do not use deprecated readline_end_hook, see declaration for details
gdb/tracepoint.c:510: if (deprecated_readline_end_hook)
< gdb/tracepoint.c:511: deprecated: deprecated readline_end_hook: Do not use deprecated readline_end_hook, see declaration for details
gdb/tracepoint.c:511: (*deprecated_readline_end_hook) ();
< gdb/tracepoint.c:551: deprecated: deprecated readline_hook: Do not use deprecated readline_hook, see declaration for details
gdb/tracepoint.c:551: if (deprecated_readline_hook && instream == NULL)
< gdb/tracepoint.c:552: deprecated: deprecated readline_hook: Do not use deprecated readline_hook, see declaration for details
gdb/tracepoint.c:552: line = (*deprecated_readline_hook) (prompt);
< gdb/tracepoint.c:665: code: OP eol: Do not use &&, or || at the end of a line
gdb/tracepoint.c:665: if ((0 == strncasecmp (', p + 1, 3)) ||
< gdb/tracepoint.c:666: code: OP eol: Do not use &&, or || at the end of a line
gdb/tracepoint.c:666: (0 == strncasecmp (', p + 1, 3)) ||
< gdb/tracepoint.c:756: code: OP eol: Do not use &&, or || at the end of a line
gdb/tracepoint.c:756: if (*p == '.' ||
1614a1456
> gdb/tracepoint.c:1083: gettext: trailing new line: A message should not have a trailing new line
gdb/tracepoint.c:1083: warning (_("Can't collect args; no symbol table info available.\n"));
1619,1621c1461
< gdb/tracepoint.c:1281: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tracepoint.c:1281: sprintf (default_collect_line, ', default_collect);
< gdb/tracepoint.c:1542: gettext: _ markup: All messages should be marked up with _.
gdb/tracepoint.c:1542: error ("No tracepoints downloaded, not starting trace");
< gdb/tracepoint.c:1649: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/tracepoint.c:1649: printf_filtered (_("Trace buffer has %llu bytes free.\n"),
> gdb/tracepoint.c:1722: code: long long: Do not use 'long long', instead use LONGEST
gdb/tracepoint.c:1722: ((int) ((((long long) (ts->buffer_size
1630d1469
< gdb/tracepoint.c:2403: code: %ll: Do not use printf(%ll), instead use printf(%s,phex()) to dump a 'long long' value
gdb/tracepoint.c:2403: fprintf (fp, "status %c;%s:%x;tframes:%x;tfree:%llx\n",
1633a1473,1474
> gdb/tracepoint.c:3112: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tracepoint.c:3112: sprintf (buf, ', namebase, try_num++);
> gdb/tracepoint.c:3302: gettext: _ markup: All messages should be marked up with _.
gdb/tracepoint.c:3302: warning ("No traceframes present in this file.");
1639a1481
> gdb/tracepoint.c:3975: code: OP eol: Do not use &&, or || at the end of a line
gdb/tracepoint.c:3975: if ((s->flags & SEC_LOAD) == 0 ||
1642,1643d1483
< gdb/tracepoint.h:100: code: long long: Do not use 'long long', instead use LONGEST
gdb/tracepoint.h:100: unsigned long long buffer_size;
< gdb/tracepoint.h:102: code: long long: Do not use 'long long', instead use LONGEST
gdb/tracepoint.h:102: unsigned long long buffer_free;
1648d1487
< gdb/tui/tui-hooks.c:67: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/tui/tui-hooks.c:67:static int ATTR_FORMAT (printf, 1, 0)
1663,1666d1501
< gdb/tui/tui-out.c:73: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/tui/tui-out.c:73: ATTR_FORMAT (printf, 6, 0);
< gdb/tui/tui-out.c:78: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/tui/tui-out.c:78: ATTR_FORMAT (printf, 3, 0);
< gdb/tui/tui-out.c:118: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/tui/tui-out.c:118: ATTR_FORMAT (printf, 4, 5);
< gdb/tui/tui-out.c:225: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-out.c:225: sprintf (buffer, ', value);
1687,1692d1521
< gdb/ui-out.c:180: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/ui-out.c:180: va_list args) ATTR_FORMAT (printf, 6, 0);
< gdb/ui-out.c:185: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/ui-out.c:185: va_list args) ATTR_FORMAT (printf, 3, 0);
< gdb/ui-out.c:251: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/ui-out.c:251: ATTR_FORMAT (printf, 6, 0);
< gdb/ui-out.c:256: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/ui-out.c:256: ATTR_FORMAT (printf, 3, 0);
< gdb/ui-out.h:128: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/ui-out.h:128: ATTR_FORMAT (printf, 3, 4);
< gdb/ui-out.h:138: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/ui-out.h:138: ATTR_FORMAT (printf, 3, 4);
1695d1523
< gdb/utils.c:93: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/utils.c:93: va_list, int) ATTR_FORMAT (printf, 2, 0);
1698,1704d1525
< gdb/utils.c:807: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/utils.c:807:NORETURN void
< gdb/utils.c:813: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/utils.c:813:NORETURN void
< gdb/utils.c:826: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/utils.c:826:NORETURN void
< gdb/utils.c:832: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/utils.c:832:NORETURN void
< gdb/utils.c:841: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/utils.c:841:NORETURN void
< gdb/utils.c:917: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/utils.c:917:static void ATTR_FORMAT (printf, 4, 0)
< gdb/utils.c:1037: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/utils.c:1037:NORETURN void
1706,1709d1526
< gdb/utils.c:1044: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/utils.c:1044:NORETURN void
< gdb/utils.c:1175: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/utils.c:1175:NORETURN void
< gdb/utils.c:1241: regression: NORETURN: Do not use NORETURN, use ATTRIBUTE_NORETURN instead
gdb/utils.c:1241:NORETURN void
< gdb/utils.c:1453: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/utils.c:1453:static int ATTR_FORMAT (printf, 1, 0)
1741a1559
> gdb/valops.c:3294: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/valops.c:3294: sprintf (concatenated_name, ', namespace_name, name);
1799a1618,1620
> gdb/windows-nat.c:2621: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/windows-nat.c:2621:bad_OpenProcessToken (HANDLE w, DWORD x, PHANDLE y)
> gdb/windows-nat.c:2627: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/windows-nat.c:2627:bad_GetCurrentConsoleFont (HANDLE w, BOOL bMaxWindow, CONSOLE_FONT_INFO *f)
> gdb/windows-nat.c:2633: code: editCase function: Function name starts lower case but has uppercased letters.
gdb/windows-nat.c:2633:bad_GetConsoleFontSize (HANDLE w, DWORD nFont)
1827,1829d1647
< gdb/xml-support.h:202: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/xml-support.h:202: ATTR_FORMAT (printf, 2, 0);
< gdb/xml-support.h:208: regression: ATTR_FORMAT: Do not use ATTR_FORMAT, use ATTRIBUTE_PRINTF instead
gdb/xml-support.h:208: ATTR_NORETURN ATTR_FORMAT (printf, 2, 0);
gdb/xml-support.h:208: ATTR_NORETURN ATTR_FORMAT (printf, 2, 0);
< gdb/xml-support.h:208: regression: ATTR_NORETURN: Do not use ATTR_NORETURN, use ATTRIBUTE_NORETURN instead
gdb/xml-support.h:208: ATTR_NORETURN ATTR_FORMAT (printf, 2, 0);
gdb/xml-support.h:208: ATTR_NORETURN ATTR_FORMAT (printf, 2, 0);
More information about the Gdb-patches
mailing list