This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
New ARI warning Wed Mar 13 02:32:01 UTC 2013 in -D 2013-03-13-gmt -r gdb_7_6-branch
- From: GDB Administrator <gdbadmin at sourceware dot org>
- To: gdb-patches at sourceware dot org
- Date: Wed, 13 Mar 2013 02:32:01 +0000
- Subject: New ARI warning Wed Mar 13 02:32:01 UTC 2013 in -D 2013-03-13-gmt -r gdb_7_6-branch
0a1
> gdb/aarch64-tdep.c:2621: 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/aarch64-tdep.c:2621: set_gdbarch_write_pc (gdbarch, aarch64_write_pc);
gdb/aarch64-tdep.c:2621: set_gdbarch_write_pc (gdbarch, aarch64_write_pc);
16,19d16
< gdb/amd64-linux-nat.c:982: 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:982:/* Get Linux/x86 target description from running target.
< gdb/amd64-linux-tdep.c:354: 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:354:/* amd64_canonicalize_syscall maps from the native amd64 Linux set
< gdb/amd64-linux-tdep.c:1281: 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:1281:/* Get Linux/x86 target description from core dump. */
< gdb/amd64-linux-tdep.c:1288: 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:1288: /* Linux/x86-64. */
21,26d17
< gdb/amd64-linux-tdep.c:1361: 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:1361: call. They are obtained from Linux Kernel source. */
< gdb/amd64-linux-tdep.c:1444: 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:1444: They are obtained from Linux Kernel source. */
< gdb/amd64-linux-tdep.c:1513: 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:1513: and "sys_fcntl64". They are obtained from Linux Kernel source. */
< gdb/amd64-linux-tdep.c:1623: 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:1623: /* 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. */
< gdb/amd64-tdep.c:1433: 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-tdep.c:1433: resume_execution in arch/x86/kernel/kprobes.c, Linux 2.6.28.
38,39d28
< gdb/arch-utils.c:525: deprecated: deprecated target_gdbarch_select_hack: Do not use deprecated target_gdbarch_select_hack, see declaration for details
gdb/arch-utils.c:525: deprecated_target_gdbarch_select_hack (new_gdbarch);
< gdb/arch-utils.c:559: deprecated: deprecated target_gdbarch_select_hack: Do not use deprecated target_gdbarch_select_hack, see declaration for details
gdb/arch-utils.c:559: deprecated_target_gdbarch_select_hack (gdbarch);
42,55d30
< gdb/arm-linux-nat.c:793: 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/arm-linux-nat.c:793: The Linux ptrace interface to hardware break-/watch-points presents the
< gdb/arm-linux-nat.c:798: 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/arm-linux-nat.c:798: The Linux vector is indexed as follows:
< gdb/arm-linux-tdep.c:871: 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/arm-linux-tdep.c:871:/* Support for displaced stepping of Linux SVC instructions. */
< gdb/arm-linux-tdep.c:979: 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/arm-linux-tdep.c:979:/* The following two functions implement single-stepping over calls to Linux
< gdb/arm-linux-tdep.c:1029: 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/arm-linux-tdep.c:1029:/* Linux-specific displaced step instruction copying function. Detects when
< gdb/arm-tdep.c:3654: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:3654: sprintf (name_buf, ', reg_char, reg_scaled + i);
< gdb/arm-tdep.c:3985: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:3985: sprintf (name_buf, ', reg - 64);
< gdb/arm-tdep.c:3996: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:3996: sprintf (name_buf, ', reg - 256);
< gdb/arm-tdep.c:7139: 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/arm-tdep.c:7139: for Linux, where some SVC instructions must be treated specially. */
< gdb/arm-tdep.c:9044: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:9044: sprintf (name_buf, ', reg_char, i);
< gdb/arm-tdep.c:9498: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:9498: sprintf (name_buf, ', regnum << 1);
< gdb/arm-tdep.c:9550: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:9550: sprintf (name_buf, ', regnum >> 1);
< gdb/arm-tdep.c:9575: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:9575: sprintf (name_buf, ', regnum << 1);
< gdb/arm-tdep.c:9616: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:9616: sprintf (name_buf, ', regnum >> 1);
61,62d35
< gdb/breakpoint.c:1025: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/breakpoint.c:1025: sprintf (location, ', b->number);
< gdb/breakpoint.c:1027: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/breakpoint.c:1027: sprintf (location, ', b->number, count);
73,74d45
< gdb/breakpoint.c:15065: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/breakpoint.c:15065: sprintf (small_buf, ', hex_string (utp->addr));
< gdb/breakpoint.c:15098: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/breakpoint.c:15098: sprintf (small_buf, ', utp->pass, tp->base.number);
78,79d48
< gdb/charset.c:534: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/charset.c:534: sprintf (octal, ', *inp & 0xff);
< gdb/cli-out.c:142: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli-out.c:142: sprintf (buffer, ', value);
92,93d60
< gdb/cli/cli-script.c:446: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli/cli-script.c:446: sprintf (buffer, ', cmd->line);
< gdb/cli/cli-script.c:514: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli/cli-script.c:514: sprintf (buffer, ', cmd->line);
99,101d65
< gdb/cli/cli-script.c:1532: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli/cli-script.c:1532: sprintf (tmpbuf, ', comfull);
< gdb/cli/cli-script.c:1582: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli/cli-script.c:1582: sprintf (tmpbuf, ', comfull);
< gdb/cli/cli-setshow.c:94: deprecated: deprecated show_value_hack: Do not use deprecated show_value_hack, see declaration for details
gdb/cli/cli-setshow.c:94:deprecated_show_value_hack (struct ui_file *ignore_file,
105,112c69
< gdb/coffread.c:454: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/coffread.c:454: objfile->deprecated_sym_stab_info = (struct dbx_symfile_info *)
< gdb/coffread.c:457: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/coffread.c:457: memset (objfile->deprecated_sym_stab_info, 0,
< gdb/coffread.c:461: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/coffread.c:461: objfile->deprecated_sym_private
< gdb/coffread.c:464: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/coffread.c:464: memset (objfile->deprecated_sym_private, 0,
< gdb/coffread.c:530: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/coffread.c:530: info = (struct coff_symfile_info *) objfile->deprecated_sym_private;
< gdb/coffread.c:531: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/coffread.c:531: dbxinfo = objfile->deprecated_sym_stab_info;
< gdb/coffread.c:683: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/coffread.c:683: if (objfile->deprecated_sym_private != NULL)
< gdb/coffread.c:685: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/coffread.c:685: xfree (objfile->deprecated_sym_private);
> gdb/cli/cli-setshow.c:614: deprecated: deprecated show_value_hack: Do not use deprecated show_value_hack, see declaration for details
gdb/cli/cli-setshow.c:614: deprecated_show_value_hack (gdb_stdout, from_tty, c, value);
133,135c90,96
< gdb/common/linux-osdata.c:1: 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/common/linux-osdata.c:1:/* Linux-specific functions to retrieve OS data.
< gdb/common/linux-osdata.c:29: regression: stat.h: Do not include stat.h or sys/stat.h, instead include gdb_stat.h
gdb/common/linux-osdata.c:29:#include <sys/stat.h>
< gdb/common/linux-osdata.c:30: regression: dirent.h: Do not include dirent.h, instead include gdb_dirent.h
gdb/common/linux-osdata.c:30:#include <dirent.h>
> gdb/common/gdb_string.h:59: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/common/gdb_string.h:59:extern char *strerror (int);
> gdb/common/linux-btrace.c:45: regression: wait.h: Do not include wait.h or sys/wait.h, instead include gdb_wait.h
gdb/common/linux-btrace.c:45:#include <sys/wait.h>
> gdb/common/linux-btrace.c:268: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/common/linux-btrace.c:268: warning (_('), strerror (errno));
> gdb/common/linux-btrace.c:276: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/common/linux-btrace.c:276: strerror (errno));
> gdb/common/linux-btrace.c:284: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/common/linux-btrace.c:284: strerror (errno));
> gdb/common/linux-btrace.c:295: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/common/linux-btrace.c:295: (long) pid, strerror (errno));
> gdb/common/linux-btrace.c:327: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/common/linux-btrace.c:327: (long) pid, strerror (errno));
161,166d121
< gdb/common/linux-osdata.h:1: 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/common/linux-osdata.h:1:/* Linux-specific functions to retrieve OS data.
< gdb/common/linux-procfs.c:1: 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/common/linux-procfs.c:1:/* Linux-specific PROCFS manipulation routines.
< gdb/common/linux-procfs.h:1: 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/common/linux-procfs.h:1:/* Linux-specific PROCFS manipulation routines.
< gdb/common/linux-ptrace.c:1: 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/common/linux-ptrace.c:1:/* Linux-specific ptrace manipulation routines.
< gdb/common/linux-ptrace.c:60: regression: wait.h: Do not include wait.h or sys/wait.h, instead include gdb_wait.h
gdb/common/linux-ptrace.c:60:#include <sys/wait.h>
< gdb/common/linux-ptrace.c:84: regression: strerror: Do not use strerror(), instead use safe_strerror()
gdb/common/linux-ptrace.c:84: strerror (errno));
207d161
< gdb/cp-namespace.c:708: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cp-namespace.c:708: sprintf (concatenated_name, ',
210,213d163
< gdb/dbxread.c:629: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/dbxread.c:629: objfile->deprecated_sym_stab_info = (struct dbx_symfile_info *)
< gdb/dbxread.c:631: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/dbxread.c:631: memset (objfile->deprecated_sym_stab_info, 0,
< gdb/dbxread.c:740: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/dbxread.c:740: if (objfile->deprecated_sym_stab_info != NULL)
< gdb/dbxread.c:754: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/dbxread.c:754: xfree (objfile->deprecated_sym_stab_info);
220,223d169
< gdb/dbxread.c:3350: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/dbxread.c:3350: info = objfile->deprecated_sym_stab_info;
< gdb/dbxread.c:3439: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/dbxread.c:3439: info = objfile->deprecated_sym_stab_info;
< gdb/dbxread.c:3530: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/dbxread.c:3530: objfile->deprecated_sym_stab_info = (struct dbx_symfile_info *)
< gdb/dbxread.c:3532: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/dbxread.c:3532: memset (objfile->deprecated_sym_stab_info, 0,
247d192
< gdb/defs.h:1058: deprecated: deprecated error_begin_hook: Do not use deprecated error_begin_hook, see declaration for details
gdb/defs.h:1058:extern void (*deprecated_error_begin_hook) (void);
253d197
< gdb/dummy-frame.c:68: deprecated: deprecated pc_in_call_dummy: Do not use deprecated pc_in_call_dummy, see declaration for details
gdb/dummy-frame.c:68:deprecated_pc_in_call_dummy (struct gdbarch *gdbarch, CORE_ADDR pc)
257a202,203
> gdb/dwarf2read.c:2641: deprecated: deprecated ok: Do not use deprecated ok, see declaration for details
gdb/dwarf2read.c:2641: int deprecated_ok,
> gdb/dwarf2read.c:2690: deprecated: deprecated ok: Do not use deprecated ok, see declaration for details
gdb/dwarf2read.c:2690: if (version < 6 && !deprecated_ok)
259,260d204
< gdb/dwarf2read.c:16801: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/dwarf2read.c:16801: sprintf (fake_name, ', file);
< gdb/elfread.c:250: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/elfread.c:250: struct dbx_symfile_info *dbx = objfile->deprecated_sym_stab_info;
265,270d208
< gdb/elfread.c:1267: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/elfread.c:1267: objfile->deprecated_sym_stab_info = (struct dbx_symfile_info *)
< gdb/elfread.c:1269: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/elfread.c:1269: memset ((char *) objfile->deprecated_sym_stab_info,
< gdb/elfread.c:1475: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/elfread.c:1475: struct dbx_symfile_info *dbxinfo = objfile->deprecated_sym_stab_info;
< gdb/elfread.c:1512: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/elfread.c:1512: if (objfile->deprecated_sym_stab_info != NULL)
< gdb/elfread.c:1514: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/elfread.c:1514: xfree (objfile->deprecated_sym_stab_info);
< gdb/elfread.c:1550: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/elfread.c:1550: struct dbx_symfile_info *dbx = objfile->deprecated_sym_stab_info;
282d219
< gdb/expprint.c:670: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/expprint.c:670: sprintf (buf, ', opcode);
284,286c221,223
< gdb/frame.c:778: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/frame.c:778: if (!frame_register_read (src, regnum, buf))
< gdb/frame.c:1103: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/frame.c:1103:frame_register_read (struct frame_info *frame, int regnum,
< gdb/frame.c:1224: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/frame.c:1224: frame_register_read (frame, regnum, buf);
> gdb/frame.c:778: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/frame.c:778: if (!deprecated_frame_register_read (src, regnum, buf))
> gdb/frame.c:1099: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/frame.c:1099:deprecated_frame_register_read (struct frame_info *frame, int regnum,
> gdb/frame.c:1220: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/frame.c:1220: deprecated_frame_register_read (frame, regnum, buf);
292,293c229
< gdb/frame.h:671: deprecated: deprecated pc_in_call_dummy: Do not use deprecated pc_in_call_dummy, see declaration for details
gdb/frame.h:671:extern int deprecated_pc_in_call_dummy (struct gdbarch *gdbarch, CORE_ADDR pc);
< gdb/frame.h:685: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/frame.h:685:extern int frame_register_read (struct frame_info *frame, int regnum,
> gdb/frame.h:673: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/frame.h:673:extern int deprecated_frame_register_read (struct frame_info *frame, int regnum,
296,298d231
< gdb/frv-tdep.c:236: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/frv-tdep.c:236: sprintf (buf, ', r);
< gdb/frv-tdep.c:255: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/frv-tdep.c:255: sprintf (buf, ', r);
< gdb/gcore.c:136: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gcore.c:136: sprintf (corefilename_buffer, ', PIDGET (inferior_ptid));
301,304d233
< 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)
< gdb/gdb_stat.h:23: regression: stat.h: Do not include stat.h or sys/stat.h, instead include gdb_stat.h
gdb/gdb_stat.h:23:#include <sys/stat.h>
< gdb/gdb_wait.h:23: regression: wait.h: Do not include wait.h or sys/wait.h, instead include gdb_wait.h
gdb/gdb_wait.h:23:#include <sys/wait.h>
< gdb/gdb_wait.h:26: regression: wait.h: Do not include wait.h or sys/wait.h, instead include gdb_wait.h
gdb/gdb_wait.h:26:#include <wait.h>
327d255
< gdb/gdbarch.c:4672: deprecated: deprecated target_gdbarch_select_hack: Do not use deprecated target_gdbarch_select_hack, see declaration for details
gdb/gdbarch.c:4672:deprecated_target_gdbarch_select_hack (struct gdbarch *new_gdbarch)
332d259
< gdb/gdbarch.h:1384: deprecated: deprecated target_gdbarch_select_hack: Do not use deprecated target_gdbarch_select_hack, see declaration for details
gdb/gdbarch.h:1384:extern void deprecated_target_gdbarch_select_hack (struct gdbarch *gdbarch);
345,347d271
< gdb/gnu-nat.c:2587: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gnu-nat.c:2587: sprintf (tid_str, ', proc->inf->pid);
< gdb/gnu-nat.c:2589: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gnu-nat.c:2589: sprintf (tid_str, ',
< gdb/gnu-nat.c:2607: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gnu-nat.c:2607: sprintf (tid_str, ', tid);
354d277
< gdb/go32-nat.c:1275: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/go32-nat.c:1275: sprintf (cpu_string, ',
368d290
< gdb/i386-linux-nat.c:954: 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:954:/* Get Linux/x86 target description from running target. */
370,374d291
< gdb/i386-linux-tdep.c:395: 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:395:/* i386_canonicalize_syscall maps from the native i386 Linux set
< gdb/i386-linux-tdep.c:413: 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:413: "record_arch_list". This instruction is "int 0x80" (Linux
< gdb/i386-linux-tdep.c:414: 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:414: Kernel2.4) or "sysenter" (Linux Kernel 2.6).
< gdb/i386-linux-tdep.c:637: 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:637:/* Get Linux/x86 target description from core dump. */
< gdb/i386-linux-tdep.c:644: 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:644: /* Linux/i386. */
376,384c293
< gdb/i386-linux-tdep.c:763: 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:763: call. They are obtained from Linux Kernel source. */
< gdb/i386-linux-tdep.c:839: 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:839: They are obtained from Linux Kernel source. */
< gdb/i386-linux-tdep.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-tdep.c:907: and "sys_fcntl64". They are obtained from Linux Kernel source. */
< gdb/i386-linux-tdep.c:979: 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:979: /* Initialize the Linux target description. */
< gdb/i386-linux-tdep.h:41: 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:41:/* Linux target description. */
< gdb/i386-nat.c:226: 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-nat.c:226: on fork/vfork/clone. Newer Linux kernels create such tasks with
< gdb/i386-nat.c:231: 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-nat.c:231: process to be compatible with the older Linux kernels.
< gdb/i386-tdep.c:613: 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-tdep.c:613: resume_execution in arch/i386/kernel/kprobes.c, Linux 2.6.20.
< gdb/i386-tdep.c:1754: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/i386-tdep.c:1754: && frame_register_read (this_frame, cache->saved_sp_reg, buf))
> gdb/i386-tdep.c:1803: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/i386-tdep.c:1803: && deprecated_frame_register_read (this_frame,
386,387d294
< gdb/i386-tdep.h:330: 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-tdep.h:330: include/asm-i386/kprobes.h in Linux 2.6. */
< gdb/ia64-hpux-tdep.c:39: 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/ia64-hpux-tdep.c:39: With Linux kernels, these stacked registers can be saved by simply
420c327
< gdb/infcmd.c:2084: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/infcmd.c:2084: if (! frame_register_read (frame, i, value_contents_raw (val)))
> gdb/infcmd.c:2157: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/infcmd.c:2157: if (! deprecated_frame_register_read (frame, i, value_contents_raw (val)))
446d352
< gdb/interps.c:213: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/interps.c:213: sprintf (buffer, ',
464c370
< gdb/jit.c:1064: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/jit.c:1064: value->defined = frame_register_read (priv->this_frame, gdb_reg,
> gdb/jit.c:1126: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/jit.c:1126: value->defined = deprecated_frame_register_read (priv->this_frame, gdb_reg,
480d385
< gdb/linux-nat.c:90: 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/linux-nat.c:90:version 2.4, Linux can either wait for event in main thread, or in secondary
482,483d386
< gdb/linux-nat.c:3273: 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/linux-nat.c:3273: on Linux 2.4, there is no signal issued for exiting LWPs
< gdb/linux-nat.c:3436: 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/linux-nat.c:3436: other than the leader exec'd. On an exec, the Linux
489,499d391
< gdb/linux-record.c:28: 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/linux-record.c:28: "sys_ptrace". The values of these macros were obtained from Linux
< gdb/linux-record.c:37: 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/linux-record.c:37: Linux Kernel source. */
< gdb/linux-record.c:58: 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/linux-record.c:58: "sys_ipc". The values of these macros were obtained from Linux
< gdb/linux-record.c:75: 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/linux-record.c:75: "sys_quotactl". The values of these macros were obtained from Linux
< gdb/linux-record.c:212: 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/linux-record.c:212:/* When the architecture process record get a Linux syscall
< gdb/linux-record.c:213: 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/linux-record.c:213: instruction, it will get a Linux syscall number of this
< gdb/linux-record.c:214: 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/linux-record.c:214: architecture and convert it to the Linux syscall number "num" which
< gdb/linux-record.c:215: 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/linux-record.c:215: is internal to GDB. Most Linux syscalls across architectures in
< gdb/linux-record.c:216: 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/linux-record.c:216: Linux would be similar and mostly differ by sizes of types and
< gdb/linux-record.h:179: 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/linux-record.h:179:/* Enum that defines the gdb-canonical set of Linux syscall identifiers.
< gdb/linux-tdep.c:179: 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/linux-tdep.c:179: /* Determine whether we are running on uClinux or normal Linux
506,507d397
< gdb/m32c-tdep.c:203: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/m32c-tdep.c:203: sprintf (type_name, ',
< gdb/m32c-tdep.c:211: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/m32c-tdep.c:211: sprintf (type_name, ',
514d403
< gdb/m68hc11-tdep.c:250: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/m68hc11-tdep.c:250: sprintf (buf, ', i - SOFT_D1_REGNUM + 1);
540d428
< gdb/mi/mi-out.c:201: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/mi/mi-out.c:201: sprintf (buffer, ', value);
549d436
< gdb/mips-tdep.c:538: 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/mips-tdep.c:538:/* Names of registers with Linux kernels. */
553,555c440,442
< gdb/mips-tdep.c:5988: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/mips-tdep.c:5988: if (!frame_register_read (frame, regno, raw_buffer))
< gdb/mips-tdep.c:6025: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/mips-tdep.c:6025: if (!frame_register_read (frame, regno, rare_buffer))
< gdb/mips-tdep.c:6258: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/mips-tdep.c:6258: if (!frame_register_read (frame, regnum, raw_buffer))
> gdb/mips-tdep.c:6037: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/mips-tdep.c:6037: if (!deprecated_frame_register_read (frame, regno, raw_buffer))
> gdb/mips-tdep.c:6074: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/mips-tdep.c:6074: if (!deprecated_frame_register_read (frame, regno, rare_buffer))
> gdb/mips-tdep.c:6307: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/mips-tdep.c:6307: if (!deprecated_frame_register_read (frame, regnum, raw_buffer))
585,588c472,475
< gdb/mt-tdep.c:688: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/mt-tdep.c:688: frame_register_read (frame, regnum, buff);
< gdb/mt-tdep.c:713: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/mt-tdep.c:713: frame_register_read (frame, MT_COPRO_REGNUM, buf);
< gdb/mt-tdep.c:734: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/mt-tdep.c:734: frame_register_read (frame, MT_MAC_REGNUM, buf);
< gdb/mt-tdep.c:740: obsolete: frame_register_read: Replace frame_register_read() with get_frame_register(), or possibly introduce a new method safe_get_frame_register()
gdb/mt-tdep.c:740: frame_register_read (frame, MT_EXMAC_REGNUM, buf);
> gdb/mt-tdep.c:688: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/mt-tdep.c:688: deprecated_frame_register_read (frame, regnum, buff);
> gdb/mt-tdep.c:713: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/mt-tdep.c:713: deprecated_frame_register_read (frame, MT_COPRO_REGNUM, buf);
> gdb/mt-tdep.c:734: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/mt-tdep.c:734: deprecated_frame_register_read (frame, MT_MAC_REGNUM, buf);
> gdb/mt-tdep.c:740: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/mt-tdep.c:740: deprecated_frame_register_read (frame, MT_EXMAC_REGNUM, buf);
597,611d483
< gdb/nto-tdep.c:124: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/nto-tdep.c:124: sprintf (arch_path, ', nto_root, arch, endian);
< gdb/nto-tdep.c:127: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/nto-tdep.c:127: sprintf (buf, PATH_FMT, arch_path, arch_path, arch_path, arch_path,
< gdb/nto-tdep.c:134: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/nto-tdep.c:134: sprintf (arch_path, ', solib);
< gdb/nto-tdep.c:175: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/nto-tdep.c:175: sprintf (arch_path, ', nto_root, arch, endian);
< gdb/nto-tdep.c:177: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/nto-tdep.c:177: sprintf (buf, ', arch_path);
< gdb/objc-exp.y:749: code: OP eol: Do not use &&, or || at the end of a line
gdb/objc-exp.y:749: if (innermost_block == 0 ||
< gdb/objc-exp.y:768: code: OP eol: Do not use &&, or || at the end of a line
gdb/objc-exp.y:768: if (innermost_block == 0 ||
< gdb/objc-exp.y:786: code: OP eol: Do not use &&, or || at the end of a line
gdb/objc-exp.y:786: else if (!have_full_symbols () &&
< gdb/objc-exp.y:1375: code: OP eol: Do not use &&, or || at the end of a line
gdb/objc-exp.y:1375: else if (got_e && (p[-1] == '.' || p[-1] == '.') &&
< gdb/objc-exp.y:1528: code: OP eol: Do not use &&, or || at the end of a line
gdb/objc-exp.y:1528: if (!(tokchr == '.' || tokchr == '.' ||
< gdb/objc-exp.y:1627: code: OP eol: Do not use &&, or || at the end of a line
gdb/objc-exp.y:1627: if (parse_language->la_language == language_cplus ||
< gdb/objc-exp.y:1639: code: OP eol: Do not use &&, or || at the end of a line
gdb/objc-exp.y:1639: if ((sym && SYMBOL_CLASS (sym) == LOC_BLOCK) ||
< gdb/objc-exp.y:1754: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/objc-exp.y:1754: if ((sym = lookup_struct_typedef (tmp, expression_context_block, 1)))
< gdb/objc-exp.y:1763: code: OP eol: Do not use &&, or || at the end of a line
gdb/objc-exp.y:1763: if (!sym &&
< gdb/objc-exp.y:1764: code: OP eol: Do not use &&, or || at the end of a line
gdb/objc-exp.y:1764: ((tokstart[0] >= '.' && tokstart[0] < '.' + input_radix - 10) ||
623,628c495
< gdb/objfiles.c:1090: 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/objfiles.c:1090: on some Linux systems (e.g. Fedora 11). */
< gdb/objfiles.h:308: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/objfiles.h:308: struct dbx_symfile_info *deprecated_sym_stab_info;
< gdb/objfiles.h:319: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/objfiles.h:319: void *deprecated_sym_private;
< gdb/osf-share/RIOS/cma_thread_io.h:410: code: function call in first column: Function name in first column should be restricted to function implementation
gdb/osf-share/RIOS/cma_thread_io.h:410:cma__init_thread_io (void);
< gdb/osf-share/RIOS/cma_thread_io.h:429: code: function call in first column: Function name in first column should be restricted to function implementation
gdb/osf-share/RIOS/cma_thread_io.h:429:cma__is_open (int fd);
< gdb/osf-share/cma_init.h:108: code: function call in first column: Function name in first column should be restricted to function implementation
gdb/osf-share/cma_init.h:108:cma__init_static (void);
> gdb/opencl-lang.c:806: deprecated: deprecated value_modifiable: Do not use deprecated value_modifiable, see declaration for details
gdb/opencl-lang.c:806: if (deprecated_value_modifiable (arg1)
636,637d502
< gdb/ppc-linux-nat.c:604: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/ppc-linux-nat.c:604: sprintf (message, ',
< gdb/ppc-linux-nat.c:1098: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/ppc-linux-nat.c:1098: sprintf (message, ',
639,640d503
< gdb/ppc-linux-tdep.c:77: 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/ppc-linux-tdep.c:77:/* Shared library operations for PowerPC-Linux. */
< gdb/ppc-linux-tdep.c:798: 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/ppc-linux-tdep.c:798:/* Wrappers to handle Linux-only registers. */
642,643d504
< gdb/ppc-linux-tdep.c:1853: 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/ppc-linux-tdep.c:1853: /* Initialize the Linux target descriptions. */
< gdb/ppc-linux-tdep.h:41: 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/ppc-linux-tdep.h:41:/* Linux target descriptions. */
667,668d527
< gdb/procfs.c:2116: code: OP eol: Do not use &&, or || at the end of a line
gdb/procfs.c:2116: if (signo > 0 &&
< gdb/procfs.c:2409: code: OP eol: Do not use &&, or || at the end of a line
gdb/procfs.c:2409: if (pi->ctl_fd == 0 &&
716d574
< gdb/record.c:602: 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/record.c:602: So if Linux delivered the signal to the child process during
722,723d579
< gdb/remote-m32r-sdi.c:378: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-m32r-sdi.c:378: sprintf (hostname, ', SDIPORT);
< gdb/remote-m32r-sdi.c:383: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-m32r-sdi.c:383: sprintf (hostname, ', args, SDIPORT);
808,809d663
< gdb/score-tdep.h:59: 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/score-tdep.h:59:/* Linux Core file support (dirty hack)
< gdb/score-tdep.h:61: 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/score-tdep.h:61: S+core Linux register set definition, copy from S+core Linux. */
817,818d670
< 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);
823,824c675,676
< 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:1934: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/sh64-tdep.c:1934: if (!deprecated_frame_register_read (frame, regnum, raw_buffer))
> gdb/sh64-tdep.c:2050: deprecated: deprecated frame_register_read: Do not use deprecated frame_register_read, see declaration for details
gdb/sh64-tdep.c:2050: if (!deprecated_frame_register_read (frame, regnum, raw_buffer))
827,828d678
< gdb/sol-thread.c:199: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:199: sprintf (buf, ', errcode);
< gdb/sol-thread.c:230: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:230: sprintf (buf, ', statecode);
832,836d681
< gdb/sol-thread.c:1147: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:1147: sprintf (buf, ', GET_THREAD (ptid));
< gdb/sol-thread.c:1149: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:1149: sprintf (buf, ',
< gdb/sol-thread.c:1152: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:1152: sprintf (buf, ', GET_THREAD (ptid));
< gdb/sol-thread.c:1155: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:1155: sprintf (buf, ', GET_LWP (ptid));
< gdb/sol-thread.c:1157: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:1157: sprintf (buf, ', PIDGET (ptid));
848,854d692
< gdb/somread.c:354: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/somread.c:354: if (objfile->deprecated_sym_stab_info != NULL)
< gdb/somread.c:356: deprecated: deprecated sym_stab_info: Do not use deprecated sym_stab_info, see declaration for details
gdb/somread.c:356: xfree (objfile->deprecated_sym_stab_info);
< gdb/source.c:387: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/source.c:387: sprintf (buf, ', DIRNAME_SEPARATOR);
< gdb/source.c:1296: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/source.c:1296: sprintf (name, ', line, s->filename);
< gdb/source.c:1340: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/source.c:1340: sprintf (buf, ', current_source_line++);
< gdb/source.c:1346: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/source.c:1346: sprintf (buf, ', c + 0100);
< gdb/source.c:1363: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/source.c:1363: sprintf (buf, ', c);
885d722
< gdb/symfile.c:2574: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/symfile.c:2574: objfile->deprecated_sym_private = NULL;
888,890d724
< gdb/symtab.c:411: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/symtab.c:411: sprintf (buf, ', const_prefix, volatile_prefix);
< gdb/symtab.c:417: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/symtab.c:417: sprintf (buf, ', const_prefix, volatile_prefix, len);
< gdb/symtab.c:3488: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/symtab.c:3488: sprintf (tmp, ', fix, ', opname);
908a743
> gdb/tilegx-tdep.c:1066: 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/tilegx-tdep.c:1066: set_gdbarch_write_pc (gdbarch, tilegx_write_pc);
gdb/tilegx-tdep.c:1066: set_gdbarch_write_pc (gdbarch, tilegx_write_pc);
956d790
< gdb/tui/tui-hooks.c:266: deprecated: deprecated target_wait_hook: Do not use deprecated target_wait_hook, see declaration for details
gdb/tui/tui-hooks.c:266: deprecated_target_wait_hook = tui_target_wait_hook;
961,962d794
< gdb/tui/tui-hooks.c:283: deprecated: deprecated detach_hook: Do not use deprecated detach_hook, see declaration for details
gdb/tui/tui-hooks.c:283: deprecated_detach_hook = tui_detach_hook;
< gdb/tui/tui-hooks.c:290: deprecated: deprecated target_wait_hook: Do not use deprecated target_wait_hook, see declaration for details
gdb/tui/tui-hooks.c:290: deprecated_target_wait_hook = 0;
967,968d798
< gdb/tui/tui-hooks.c:295: deprecated: deprecated detach_hook: Do not use deprecated detach_hook, see declaration for details
gdb/tui/tui-hooks.c:295: deprecated_detach_hook = 0;
< gdb/tui/tui-io.c:419: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-io.c:419: sprintf (msg, ', len);
980,982d809
< gdb/tui/tui-stack.c:192: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-stack.c:192: sprintf (buf, ', LINE_PREFIX,
< gdb/tui/tui-win.c:469: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-win.c:469: sprintf (cmd, ',
< gdb/tui/tui-win.c:472: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-win.c:472: sprintf (cmd, ',
999a827
> gdb/utils.h:288: deprecated: deprecated error_begin_hook: Do not use deprecated error_begin_hook, see declaration for details
gdb/utils.h:288:extern void (*deprecated_error_begin_hook) (void);
1018,1020d845
< gdb/valprint.c:1941: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/valprint.c:1941: sprintf (octal, ', (int) (value & 0777));
< gdb/valprint.c:1943: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/valprint.c:1943: sprintf (octal, ', (long) value);
< gdb/valprint.c:1951: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/valprint.c:1951: sprintf (octal, ', orig[i] & 0xff);
1027d851
< gdb/value.c:1203: deprecated: deprecated set_value_modifiable: Do not use deprecated set_value_modifiable, see declaration for details
gdb/value.c:1203:deprecated_set_value_modifiable (struct value *value, int modifiable)
1031d854
< gdb/value.h:93: deprecated: deprecated set_value_modifiable: Do not use deprecated set_value_modifiable, see declaration for details
gdb/value.h:93:extern void deprecated_set_value_modifiable (struct value *value,
1047,1048d869
< gdb/windows-nat.c:1897: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/windows-nat.c:1897: sprintf (procexe, ', pid);
< gdb/windows-nat.c:2097: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/windows-nat.c:2097: sprintf (cygallargs, ', exec_file, allargs);
1053d873
< gdb/windows-nat.c:2722: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/windows-nat.c:2722: sprintf (newini, ',
1064,1089d883
< gdb/xcoffread.c:598: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:598: ->deprecated_sym_private)->max_lineno_offset;
< gdb/xcoffread.c:833: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:833: ((struct coff_symfile_info *) objfile->deprecated_sym_private)
< gdb/xcoffread.c:969: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:969: objfile->deprecated_sym_private)->debugsec
< gdb/xcoffread.c:994: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:994: ((struct coff_symfile_info *) objfile->deprecated_sym_private)->strtbl;
< gdb/xcoffread.c:996: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:996: ((struct coff_symfile_info *) objfile->deprecated_sym_private)->debugsec;
< gdb/xcoffread.c:1039: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:1039: ((struct coff_symfile_info *) objfile->deprecated_sym_private)->symtbl
< gdb/xcoffread.c:1665: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:1665: objfile->deprecated_sym_private)->strtbl
< gdb/xcoffread.c:1681: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:1681: this_symtab_psymtab->objfile->deprecated_sym_private)->symtbl_num_syms;
< gdb/xcoffread.c:1683: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:1683: this_symtab_psymtab->objfile->deprecated_sym_private)->symtbl;
< gdb/xcoffread.c:1719: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:1719: (struct coff_symfile_info *)objfile->deprecated_sym_private;
< gdb/xcoffread.c:1923: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:1923: objfile->deprecated_sym_private
< gdb/xcoffread.c:1942: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:1942: if (objfile->deprecated_sym_private != NULL)
< gdb/xcoffread.c:1944: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:1944: xfree (objfile->deprecated_sym_private);
< gdb/xcoffread.c:1967: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:1967: ((struct coff_symfile_info *) objfile->deprecated_sym_private)->strtbl
< gdb/xcoffread.c:1987: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:1987: ((struct coff_symfile_info *) objfile->deprecated_sym_private)->strtbl
< gdb/xcoffread.c:2169: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:2169: objfile->deprecated_sym_private)->debugsec + symbol->n_offset;
< gdb/xcoffread.c:2174: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:2174: objfile->deprecated_sym_private)->strtbl + symbol->n_offset;
< gdb/xcoffread.c:2252: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:2252: objfile->deprecated_sym_private)->symtbl;
< gdb/xcoffread.c:2254: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:2254: objfile->deprecated_sym_private)->symtbl_num_syms;
< gdb/xcoffread.c:2933: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:2933: ((struct coff_symfile_info *) objfile->deprecated_sym_private)->toc_offset
< gdb/xcoffread.c:2944: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:2944: objfile->deprecated_sym_private)->toc_offset;
< gdb/xcoffread.c:2970: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:2970: info = (struct coff_symfile_info *) objfile->deprecated_sym_private;
< gdb/xcoffread.c:3012: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:3012: objfile->deprecated_sym_private)->debugsec
< gdb/xcoffread.c:3024: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:3024: ((struct coff_symfile_info *) objfile->deprecated_sym_private)->symtbl =
< gdb/xcoffread.c:3027: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:3027: objfile->deprecated_sym_private)->symtbl_num_syms
< gdb/xcoffread.c:3031: deprecated: deprecated sym_private: Do not use deprecated sym_private, see declaration for details
gdb/xcoffread.c:3031: objfile->deprecated_sym_private)->symtbl,