New ARI warning Tue May 31 01:55:32 UTC 2011

GDB Administrator gdbadmin@sourceware.org
Tue May 31 01:56:00 GMT 2011


49,51c49,51
< gdb/arm-tdep.c:3655: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/arm-tdep.c:3655:		      sprintf (name_buf, ', reg_char, reg_scaled + i);
< gdb/arm-tdep.c:3986: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/arm-tdep.c:3986:      sprintf (name_buf, ', reg - 64);
< gdb/arm-tdep.c:3997: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/arm-tdep.c:3997:      sprintf (name_buf, ', reg - 256);
> gdb/arm-tdep.c:3655: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:3655:		      sprintf (name_buf, ', reg_char, reg_scaled + i);
> gdb/arm-tdep.c:3986: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:3986:      sprintf (name_buf, ', reg - 64);
> gdb/arm-tdep.c:3997: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:3997:      sprintf (name_buf, ', reg - 256);
53,57c53,57
< gdb/arm-tdep.c:7555: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/arm-tdep.c:7555:	      sprintf (name_buf, ', reg_char, i);
< gdb/arm-tdep.c:8005: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/arm-tdep.c:8005:  sprintf (name_buf, ', regnum << 1);
< gdb/arm-tdep.c:8057: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/arm-tdep.c:8057:      sprintf (name_buf, ', regnum >> 1);
< gdb/arm-tdep.c:8083: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/arm-tdep.c:8083:  sprintf (name_buf, ', regnum << 1);
< gdb/arm-tdep.c:8124: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/arm-tdep.c:8124:      sprintf (name_buf, ', regnum >> 1);
> gdb/arm-tdep.c:7555: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:7555:	      sprintf (name_buf, ', reg_char, i);
> gdb/arm-tdep.c:8005: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:8005:  sprintf (name_buf, ', regnum << 1);
> gdb/arm-tdep.c:8057: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:8057:      sprintf (name_buf, ', regnum >> 1);
> gdb/arm-tdep.c:8083: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:8083:  sprintf (name_buf, ', regnum << 1);
> gdb/arm-tdep.c:8124: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/arm-tdep.c:8124:      sprintf (name_buf, ', regnum >> 1);
73,74c73,74
< gdb/breakpoint.c:12320: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/breakpoint.c:12320:      sprintf (small_buf, ', hex_string (utp->addr));
< gdb/breakpoint.c:12351: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/breakpoint.c:12351:      sprintf (small_buf, ', utp->pass, tp->number);
> gdb/breakpoint.c:12320: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/breakpoint.c:12320:      sprintf (small_buf, ', hex_string (utp->addr));
> gdb/breakpoint.c:12351: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/breakpoint.c:12351:      sprintf (small_buf, ', utp->pass, tp->number);
77,79c77,79
< gdb/c-lang.c:238: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/c-lang.c:238:		  sprintf (octal, ', (int) (value & 0777));
< gdb/c-lang.c:240: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/c-lang.c:240:		  sprintf (octal, ', (long) value);
< gdb/c-lang.c:248: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/c-lang.c:248:		sprintf (octal, ', orig[i] & 0xff);
> gdb/c-lang.c:238: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/c-lang.c:238:		  sprintf (octal, ', (int) (value & 0777));
> gdb/c-lang.c:240: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/c-lang.c:240:		  sprintf (octal, ', (long) value);
> gdb/c-lang.c:248: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/c-lang.c:248:		sprintf (octal, ', orig[i] & 0xff);
81,82c81,82
< gdb/charset.c:534: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/charset.c:534:		    sprintf (octal, ', *inp & 0xff);
< gdb/cli-out.c:142: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/cli-out.c:142:  sprintf (buffer, ', value);
> 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);
96,97c96,97
< gdb/cli/cli-script.c:444: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/cli/cli-script.c:444:	sprintf (buffer, ', cmd->line);
< gdb/cli/cli-script.c:512: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/cli/cli-script.c:512:	sprintf (buffer, ', cmd->line);
> gdb/cli/cli-script.c:444: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli/cli-script.c:444:	sprintf (buffer, ', cmd->line);
> gdb/cli/cli-script.c:512: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli/cli-script.c:512:	sprintf (buffer, ', cmd->line);
103,104c103,104
< gdb/cli/cli-script.c:1499: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/cli/cli-script.c:1499:  sprintf (tmpbuf, ', comfull);
< gdb/cli/cli-script.c:1549: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/cli/cli-script.c:1549:  sprintf (tmpbuf, ', comfull);
> gdb/cli/cli-script.c:1499: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli/cli-script.c:1499:  sprintf (tmpbuf, ', comfull);
> gdb/cli/cli-script.c:1549: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cli/cli-script.c:1549:  sprintf (tmpbuf, ', comfull);
151c151
< gdb/cp-namespace.c:669: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/cp-namespace.c:669:	sprintf (concatenated_name, ',
> gdb/cp-namespace.c:669: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/cp-namespace.c:669:	sprintf (concatenated_name, ',
205c205
< gdb/dwarf2read.c:14194: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/dwarf2read.c:14194:      sprintf (fake_name, ', file);
> gdb/dwarf2read.c:14194: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/dwarf2read.c:14194:      sprintf (fake_name, ', file);
207,210c207,210
< gdb/elfread.c:853: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/elfread.c:853:  sprintf (name_got_plt, ' SYMBOL_GOT_PLT_SUFFIX, name);
< gdb/elfread.c:1145: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/elfread.c:1145:      s += sprintf (s, ');
< gdb/elfread.c:1149: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/elfread.c:1149:	  s += sprintf (s, ', (unsigned) *data++);
< gdb/elfread.c:1154: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/elfread.c:1154:	s += sprintf (s, ', (unsigned) *data++);
> gdb/elfread.c:853: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/elfread.c:853:  sprintf (name_got_plt, ' SYMBOL_GOT_PLT_SUFFIX, name);
> gdb/elfread.c:1145: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/elfread.c:1145:      s += sprintf (s, ');
> gdb/elfread.c:1149: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/elfread.c:1149:	  s += sprintf (s, ', (unsigned) *data++);
> gdb/elfread.c:1154: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/elfread.c:1154:	s += sprintf (s, ', (unsigned) *data++);
228c228
< gdb/expprint.c:667: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/expprint.c:667:	sprintf (buf, ', opcode);
> gdb/expprint.c:667: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/expprint.c:667:	sprintf (buf, ', opcode);
242,244c242,244
< gdb/frv-tdep.c:238: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/frv-tdep.c:238:      sprintf (buf, ', r);
< gdb/frv-tdep.c:257: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/frv-tdep.c:257:      sprintf (buf, ', r);
< gdb/gcore.c:135: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/gcore.c:135:      sprintf (corefilename_buffer, ', PIDGET (inferior_ptid));
> gdb/frv-tdep.c:238: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/frv-tdep.c:238:      sprintf (buf, ', r);
> gdb/frv-tdep.c:257: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/frv-tdep.c:257:      sprintf (buf, ', r);
> gdb/gcore.c:135: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gcore.c:135:      sprintf (corefilename_buffer, ', PIDGET (inferior_ptid));
288,290c288,290
< gdb/gnu-nat.c:2586: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/gnu-nat.c:2586:    sprintf (tid_str, ', proc->inf->pid);
< gdb/gnu-nat.c:2588: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/gnu-nat.c:2588:    sprintf (tid_str, ',
< gdb/gnu-nat.c:2606: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/gnu-nat.c:2606:      sprintf (tid_str, ', tid);
> gdb/gnu-nat.c:2586: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gnu-nat.c:2586:    sprintf (tid_str, ', proc->inf->pid);
> gdb/gnu-nat.c:2588: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gnu-nat.c:2588:    sprintf (tid_str, ',
> gdb/gnu-nat.c:2606: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/gnu-nat.c:2606:      sprintf (tid_str, ', tid);
297c297
< gdb/go32-nat.c:1251: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/go32-nat.c:1251:      sprintf (cpu_string, ',
> gdb/go32-nat.c:1251: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/go32-nat.c:1251:      sprintf (cpu_string, ',
382,388c382,388
< gdb/infrun.c:6259: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/infrun.c:6259:	    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:6265: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/infrun.c:6265:		    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:6267: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/infrun.c:6267:		    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:6272: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/infrun.c:6272:		    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:6274: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/infrun.c:6274:		    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:6279: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/infrun.c:6279:		    sprintf (argBuf, ', argv[0], ');
< gdb/infrun.c:6281: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/infrun.c:6281:		    sprintf (argBuf, ', argv[0], ');
> gdb/infrun.c:6257: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:6257:	    sprintf (argBuf, ', argv[0], ');
> gdb/infrun.c:6263: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:6263:		    sprintf (argBuf, ', argv[0], ');
> gdb/infrun.c:6265: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:6265:		    sprintf (argBuf, ', argv[0], ');
> gdb/infrun.c:6270: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:6270:		    sprintf (argBuf, ', argv[0], ');
> gdb/infrun.c:6272: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:6272:		    sprintf (argBuf, ', argv[0], ');
> gdb/infrun.c:6277: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:6277:		    sprintf (argBuf, ', argv[0], ');
> gdb/infrun.c:6279: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/infrun.c:6279:		    sprintf (argBuf, ', argv[0], ');
390c390
< gdb/interps.c:216: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/interps.c:216:	  sprintf (buffer, ',
> gdb/interps.c:215: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/interps.c:215:	  sprintf (buffer, ',
408c408
< gdb/jv-exp.y:345: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/jv-exp.y:345:		      sprintf ($$.ptr, ',
> gdb/jv-exp.y:345: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/jv-exp.y:345:		      sprintf ($$.ptr, ',
431,432c431,432
< gdb/linespec.c:430: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linespec.c:430:      sprintf (canonical_name, ', filename, symname);
< gdb/linespec.c:435: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linespec.c:435:      sprintf (canonical_name, ', filename, sal->line);
> gdb/linespec.c:430: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linespec.c:430:      sprintf (canonical_name, ', filename, symname);
> gdb/linespec.c:435: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linespec.c:435:      sprintf (canonical_name, ', filename, sal->line);
439,440c439
< gdb/linux-nat.c:1794: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:1794:      sprintf (args, ', (int) WSTOPSIG (status));
< gdb/linux-nat.c:2368: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:2368:  sprintf (buffer, ', lwp);
> gdb/linux-nat.c:1794: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:1794:      sprintf (args, ', (int) WSTOPSIG (status));
442c441
< gdb/linux-nat.c:4197: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:4197:  sprintf (name1, ', pid);
> gdb/linux-nat.c:4197: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4197:  sprintf (name1, ', pid);
448c447
< gdb/linux-nat.c:4248: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:4248:  sprintf (mapsfilename, ', pid);
> gdb/linux-nat.c:4248: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4248:  sprintf (mapsfilename, ', pid);
452,453c451,452
< gdb/linux-nat.c:4679: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:4679:  sprintf (fname1, ', pid);
< gdb/linux-nat.c:4686: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:4686:      sprintf (fname1, ', pid);
> gdb/linux-nat.c:4679: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4679:  sprintf (fname1, ', pid);
> gdb/linux-nat.c:4686: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4686:      sprintf (fname1, ', pid);
455,457c454,456
< gdb/linux-nat.c:4702: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:4702:      sprintf (fname1, ', pid);
< gdb/linux-nat.c:4711: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:4711:      sprintf (fname1, ', pid);
< gdb/linux-nat.c:4720: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:4720:      sprintf (fname1, ', pid);
> gdb/linux-nat.c:4702: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4702:      sprintf (fname1, ', pid);
> gdb/linux-nat.c:4711: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4711:      sprintf (fname1, ', pid);
> gdb/linux-nat.c:4720: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4720:      sprintf (fname1, ', pid);
460c459
< gdb/linux-nat.c:4782: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:4782:      sprintf (fname1, ', pid);
> gdb/linux-nat.c:4782: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4782:      sprintf (fname1, ', pid);
462c461
< gdb/linux-nat.c:4796: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:4796:      sprintf (fname1, ', pid);
> gdb/linux-nat.c:4796: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4796:      sprintf (fname1, ', pid);
464,466c463,465
< gdb/linux-nat.c:4918: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:4918:  sprintf (filename, ', PIDGET (inferior_ptid));
< gdb/linux-nat.c:5088: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:5088:  sprintf (fname, ', pid);
< gdb/linux-nat.c:5199: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/linux-nat.c:5199:	      sprintf (procentry, ', dp->d_name);
> gdb/linux-nat.c:4918: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4918:  sprintf (filename, ', PIDGET (inferior_ptid));
> gdb/linux-nat.c:5088: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:5088:  sprintf (fname, ', pid);
> gdb/linux-nat.c:5199: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:5199:	      sprintf (procentry, ', dp->d_name);
485,486c484,485
< gdb/m32c-tdep.c:204: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/m32c-tdep.c:204:  sprintf (type_name, ',
< gdb/m32c-tdep.c:212: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/m32c-tdep.c:212:  sprintf (type_name, ',
> gdb/m32c-tdep.c:204: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/m32c-tdep.c:204:  sprintf (type_name, ',
> gdb/m32c-tdep.c:212: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/m32c-tdep.c:212:  sprintf (type_name, ',
493c492
< gdb/m68hc11-tdep.c:251: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/m68hc11-tdep.c:251:      sprintf (buf, ', i - SOFT_D1_REGNUM + 1);
> gdb/m68hc11-tdep.c:251: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/m68hc11-tdep.c:251:      sprintf (buf, ', i - SOFT_D1_REGNUM + 1);
516,517c515,516
< gdb/mi/mi-main.c:1141: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/mi/mi-main.c:1141:	  sprintf (ptr, ', (unsigned char) valaddr[idx]);
< gdb/mi/mi-main.c:1541: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/mi/mi-main.c:1541:	  sprintf (p, ', read_result->data[i]);
> gdb/mi/mi-main.c:1141: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/mi/mi-main.c:1141:	  sprintf (ptr, ', (unsigned char) valaddr[idx]);
> gdb/mi/mi-main.c:1541: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/mi/mi-main.c:1541:	  sprintf (p, ', read_result->data[i]);
519c518
< gdb/mi/mi-out.c:205: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/mi/mi-out.c:205:  sprintf (buffer, ', value);
> gdb/mi/mi-out.c:205: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/mi/mi-out.c:205:  sprintf (buffer, ', value);
545,547c544,546
< gdb/monitor.c:169: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/monitor.c:169:	      sprintf (newstr, ', ch & 0xff);
< gdb/monitor.c:294: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/monitor.c:294:	      sprintf (sndbuf, format, arg_string);
< gdb/monitor.c:298: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/monitor.c:298:	      sprintf (sndbuf, format, arg_int);
> gdb/monitor.c:169: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/monitor.c:169:	      sprintf (newstr, ', ch & 0xff);
> gdb/monitor.c:294: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/monitor.c:294:	      sprintf (sndbuf, format, arg_string);
> gdb/monitor.c:298: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/monitor.c:298:	      sprintf (sndbuf, format, arg_int);
565c564
< gdb/mt-tdep.c:207: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/mt-tdep.c:207:    sprintf (name, ', dim_1, dim_2, stub);
> gdb/mt-tdep.c:207: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/mt-tdep.c:207:    sprintf (name, ', dim_1, dim_2, stub);
579,583c578,582
< gdb/nto-tdep.c:125: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/nto-tdep.c:125:  sprintf (arch_path, ', nto_root, arch, endian);
< gdb/nto-tdep.c:128: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/nto-tdep.c:128:  sprintf (buf, PATH_FMT, arch_path, arch_path, arch_path, arch_path,
< gdb/nto-tdep.c:135: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/nto-tdep.c:135:      sprintf (arch_path, ', solib);
< gdb/nto-tdep.c:176: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/nto-tdep.c:176:  sprintf (arch_path, ', nto_root, arch, endian);
< gdb/nto-tdep.c:178: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/nto-tdep.c:178:  sprintf (buf, ', arch_path);
> gdb/nto-tdep.c:125: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/nto-tdep.c:125:  sprintf (arch_path, ', nto_root, arch, endian);
> gdb/nto-tdep.c:128: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/nto-tdep.c:128:  sprintf (buf, PATH_FMT, arch_path, arch_path, arch_path, arch_path,
> gdb/nto-tdep.c:135: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/nto-tdep.c:135:      sprintf (arch_path, ', solib);
> gdb/nto-tdep.c:176: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/nto-tdep.c:176:  sprintf (arch_path, ', nto_root, arch, endian);
> gdb/nto-tdep.c:178: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/nto-tdep.c:178:  sprintf (buf, ', arch_path);
615,616c614,615
< gdb/ppc-linux-nat.c:604: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/ppc-linux-nat.c:604:	  sprintf (message, ', 
< gdb/ppc-linux-nat.c:1095: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/ppc-linux-nat.c:1095:	  sprintf (message, ', 
> 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:1095: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/ppc-linux-nat.c:1095:	  sprintf (message, ', 
633,639c632,638
< gdb/procfs.c:715: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:715:      sprintf (pi->pathname, MAIN_PROC_NAME_FMT, pid);
< gdb/procfs.c:722: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:722:      sprintf (pi->pathname, ', pid, tid);
< gdb/procfs.c:724: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:724:      sprintf (pi->pathname, MAIN_PROC_NAME_FMT, pid);
< gdb/procfs.c:821: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:821:      sprintf (procfile, ', pi->pid);
< gdb/procfs.c:886: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:886:  sprintf (pathname, ', pi->pid);
< gdb/procfs.c:1072: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:1072:  sprintf (errmsg, ', func, line, pi->pathname);
< gdb/procfs.c:1079: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:1079:  sprintf (errmsg, ', func, line, pi->pathname);
> gdb/procfs.c:715: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:715:      sprintf (pi->pathname, MAIN_PROC_NAME_FMT, pid);
> gdb/procfs.c:722: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:722:      sprintf (pi->pathname, ', pid, tid);
> gdb/procfs.c:724: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:724:      sprintf (pi->pathname, MAIN_PROC_NAME_FMT, pid);
> gdb/procfs.c:821: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:821:      sprintf (procfile, ', pi->pid);
> gdb/procfs.c:886: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:886:  sprintf (pathname, ', pi->pid);
> gdb/procfs.c:1072: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:1072:  sprintf (errmsg, ', func, line, pi->pathname);
> gdb/procfs.c:1079: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:1079:  sprintf (errmsg, ', func, line, pi->pathname);
648c647
< gdb/procfs.c:2741: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:2741:  sprintf (pathname, ', pi->pid);
> gdb/procfs.c:2741: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:2741:  sprintf (pathname, ', pi->pid);
662c661
< gdb/procfs.c:3357: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:3357:      sprintf (errmsg, ',
> gdb/procfs.c:3357: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:3357:      sprintf (errmsg, ',
667c666
< gdb/procfs.c:3755: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:3755:      sprintf (name, ', pi->pid, map->pr_mapname);
> gdb/procfs.c:3755: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:3755:      sprintf (name, ', pi->pid, map->pr_mapname);
687,689c686,688
< gdb/procfs.c:5011: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:5011:    sprintf (buf, ', PIDGET (ptid));
< gdb/procfs.c:5013: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:5013:    sprintf (buf, ', TIDGET (ptid));
< gdb/procfs.c:5228: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/procfs.c:5228:  sprintf (pathname, ', pi->pid);
> gdb/procfs.c:5011: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:5011:    sprintf (buf, ', PIDGET (ptid));
> gdb/procfs.c:5013: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:5013:    sprintf (buf, ', TIDGET (ptid));
> gdb/procfs.c:5228: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/procfs.c:5228:  sprintf (pathname, ', pi->pid);
711,712c710,711
< gdb/remote-fileio.c:541: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-fileio.c:541:  sprintf (buf + strlen (buf), ', retcode);
< gdb/remote-fileio.c:551: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-fileio.c:551:      sprintf (buf + strlen (buf), ', error);
> gdb/remote-fileio.c:541: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-fileio.c:541:  sprintf (buf + strlen (buf), ', retcode);
> gdb/remote-fileio.c:551: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-fileio.c:551:      sprintf (buf + strlen (buf), ', error);
714,715c713,714
< gdb/remote-m32r-sdi.c:381: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-m32r-sdi.c:381:    sprintf (hostname, ', SDIPORT);
< gdb/remote-m32r-sdi.c:386: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-m32r-sdi.c:386:	sprintf (hostname, ', args, SDIPORT);
> gdb/remote-m32r-sdi.c:381: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-m32r-sdi.c:381:    sprintf (hostname, ', SDIPORT);
> gdb/remote-m32r-sdi.c:386: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-m32r-sdi.c:386:	sprintf (hostname, ', args, SDIPORT);
718,720c717,719
< gdb/remote-mips.c:1266: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:1266:	sprintf (buff, ', cmd,
< gdb/remote-mips.c:1269: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:1269:	sprintf (buff, ', cmd,
< gdb/remote-mips.c:1462: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:1462:		sprintf (tbuff, ');
> gdb/remote-mips.c:1266: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:1266:	sprintf (buff, ', cmd,
> gdb/remote-mips.c:1269: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:1269:	sprintf (buff, ', cmd,
> gdb/remote-mips.c:1462: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:1462:		sprintf (tbuff, ');
724,728c723,727
< gdb/remote-mips.c:2591: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:2591:	  sprintf (buf, ', i);
< gdb/remote-mips.c:2633: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:2633:	      sprintf (buf, ', phex_nz (addr, addr_size));
< gdb/remote-mips.c:2639: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:2639:	      sprintf (buf, ',
< gdb/remote-mips.c:2706: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:2706:	  sprintf (buf, ', phex_nz (addr, addr_size),
< gdb/remote-mips.c:2712: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:2712:	  sprintf (buf, ', phex_nz (addr, addr_size));
> gdb/remote-mips.c:2591: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:2591:	  sprintf (buf, ', i);
> gdb/remote-mips.c:2633: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:2633:	      sprintf (buf, ', phex_nz (addr, addr_size));
> gdb/remote-mips.c:2639: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:2639:	      sprintf (buf, ',
> gdb/remote-mips.c:2706: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:2706:	  sprintf (buf, ', phex_nz (addr, addr_size),
> gdb/remote-mips.c:2712: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:2712:	  sprintf (buf, ', phex_nz (addr, addr_size));
731,734c730,733
< gdb/remote-mips.c:3027: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:3027:  sprintf (*buff, ');
< gdb/remote-mips.c:3054: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:3054:  sprintf (*buff, ');
< gdb/remote-mips.c:3057: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:3057:  sprintf (*buff, ');
< gdb/remote-mips.c:3123: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:3123:	  sprintf (p, ');
> gdb/remote-mips.c:3027: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:3027:  sprintf (*buff, ');
> gdb/remote-mips.c:3054: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:3054:  sprintf (*buff, ');
> gdb/remote-mips.c:3057: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:3057:  sprintf (*buff, ');
> gdb/remote-mips.c:3123: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:3123:	  sprintf (p, ');
736,739c735,738
< gdb/remote-mips.c:3245: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:3245:  sprintf (hexnumber, ', final);
< gdb/remote-mips.c:3260: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:3260:  sprintf (hexnumber, ', bintotal);
< gdb/remote-mips.c:3394: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:3394:  sprintf (buffer, ');
< gdb/remote-mips.c:3411: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:3411:	sprintf (buffer, ');
> gdb/remote-mips.c:3245: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:3245:  sprintf (hexnumber, ', final);
> gdb/remote-mips.c:3260: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:3260:  sprintf (hexnumber, ', bintotal);
> gdb/remote-mips.c:3394: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:3394:  sprintf (buffer, ');
> gdb/remote-mips.c:3411: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:3411:	sprintf (buffer, ');
742,743c741,742
< gdb/remote-mips.c:3491: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:3491:  sprintf (buffer, ');	 
< gdb/remote-mips.c:3576: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote-mips.c:3576:  sprintf (buf, ', args);
> gdb/remote-mips.c:3491: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:3491:  sprintf (buffer, ');	 
> gdb/remote-mips.c:3576: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote-mips.c:3576:  sprintf (buf, ', args);
749c748
< gdb/remote.c:475: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:475:	      sprintf (buf, ', adjusted_size);
> gdb/remote.c:475: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:475:	      sprintf (buf, ', adjusted_size);
756,757c755,756
< gdb/remote.c:1413: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:1413:    sprintf (rs->buf, ', pid);
< gdb/remote.c:1415: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:1415:    sprintf (rs->buf, ');
> gdb/remote.c:1413: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:1413:    sprintf (rs->buf, ', pid);
> gdb/remote.c:1415: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:1415:    sprintf (rs->buf, ');
759,762c758,761
< gdb/remote.c:2814: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:2814:  sprintf (p, ');
< gdb/remote.c:3539: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:3539:  sprintf (rs->buf, '
< gdb/remote.c:4128: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:4128:    sprintf (rs->buf, ', pid);
< gdb/remote.c:4207: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:4207:  sprintf (rs->buf, ', pid);
> gdb/remote.c:2814: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:2814:  sprintf (p, ');
> gdb/remote.c:3539: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:3539:  sprintf (rs->buf, '
> gdb/remote.c:4128: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:4128:    sprintf (rs->buf, ', pid);
> gdb/remote.c:4207: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:4207:  sprintf (rs->buf, ', pid);
765c764
< gdb/remote.c:5685: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:5685:  sprintf (rs->buf, ');
> gdb/remote.c:5685: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:5685:  sprintf (rs->buf, ');
768,770c767,769
< gdb/remote.c:7342: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:7342:  sprintf (rs->buf, ', pid);
< gdb/remote.c:7623: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:7623:      sprintf (p, ', bpsize);
< gdb/remote.c:7661: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:7661:      sprintf (p, ', bp_tgt->placed_size);
> gdb/remote.c:7342: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7342:  sprintf (rs->buf, ', pid);
> gdb/remote.c:7623: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7623:      sprintf (p, ', bpsize);
> gdb/remote.c:7661: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7661:      sprintf (p, ', bp_tgt->placed_size);
772,777c771,776
< gdb/remote.c:7703: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:7703:  sprintf (rs->buf, ', packet);
< gdb/remote.c:7707: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:7707:  sprintf (p, ', len);
< gdb/remote.c:7737: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:7737:  sprintf (rs->buf, ', packet);
< gdb/remote.c:7741: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:7741:  sprintf (p, ', len);
< gdb/remote.c:7834: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:7834:  sprintf (p, ', bp_tgt->placed_size);
< gdb/remote.c:7869: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:7869:  sprintf (p, ', bp_tgt->placed_size);
> gdb/remote.c:7703: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7703:  sprintf (rs->buf, ', packet);
> gdb/remote.c:7707: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7707:  sprintf (p, ', len);
> gdb/remote.c:7737: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7737:  sprintf (rs->buf, ', packet);
> gdb/remote.c:7741: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7741:  sprintf (p, ', len);
> gdb/remote.c:7834: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7834:  sprintf (p, ', bp_tgt->placed_size);
> gdb/remote.c:7869: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:7869:  sprintf (p, ', bp_tgt->placed_size);
779,786c778,785
< gdb/remote.c:9774: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:9774:      sprintf (buf, ', t->number, 
< gdb/remote.c:9791: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:9791:		sprintf (buf + strlen (buf), ', isize);
< gdb/remote.c:9835: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:9835:	      sprintf (buf + strlen (buf), ', aexpr->len);
< gdb/remote.c:9860: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:9860:	      sprintf (buf, ',
< gdb/remote.c:9877: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:9877:	      sprintf (buf, ',
< gdb/remote.c:9930: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:9930:  sprintf (rs->buf, ',
< gdb/remote.c:9952: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:9952:  sprintf (rs->buf, ', location->owner->number, addr_buf);
< gdb/remote.c:9968: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:9968:  sprintf (rs->buf, ', location->owner->number, addr_buf);
> gdb/remote.c:9774: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:9774:      sprintf (buf, ', t->number, 
> gdb/remote.c:9791: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:9791:		sprintf (buf + strlen (buf), ', isize);
> gdb/remote.c:9835: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:9835:	      sprintf (buf + strlen (buf), ', aexpr->len);
> gdb/remote.c:9860: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:9860:	      sprintf (buf, ',
> gdb/remote.c:9877: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:9877:	      sprintf (buf, ',
> gdb/remote.c:9930: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:9930:  sprintf (rs->buf, ',
> gdb/remote.c:9952: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:9952:  sprintf (rs->buf, ', location->owner->number, addr_buf);
> gdb/remote.c:9968: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:9968:  sprintf (rs->buf, ', location->owner->number, addr_buf);
788,796c787,795
< gdb/remote.c:10003: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:10003:      sprintf (target_buf + strlen (target_buf), 
< gdb/remote.c:10089: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:10089:      sprintf (p, ', num);
< gdb/remote.c:10092: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:10092:      sprintf (p, ', phex_nz (addr1, 0));
< gdb/remote.c:10095: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:10095:      sprintf (p, ', num);
< gdb/remote.c:10098: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:10098:      sprintf (p, ', phex_nz (addr1, 0), phex_nz (addr2, 0));
< gdb/remote.c:10101: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:10101:      sprintf (p, ', phex_nz (addr1, 0), phex_nz (addr2, 0));
< gdb/remote.c:10156: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:10156:  sprintf (rs->buf, ', tsvnum);
< gdb/remote.c:10245: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:10245:      sprintf (rs->buf, ', val);
< gdb/remote.c:10273: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/remote.c:10273:  sprintf (rs->buf, ', val);
> gdb/remote.c:10003: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:10003:      sprintf (target_buf + strlen (target_buf), 
> gdb/remote.c:10089: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:10089:      sprintf (p, ', num);
> gdb/remote.c:10092: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:10092:      sprintf (p, ', phex_nz (addr1, 0));
> gdb/remote.c:10095: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:10095:      sprintf (p, ', num);
> gdb/remote.c:10098: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:10098:      sprintf (p, ', phex_nz (addr1, 0), phex_nz (addr2, 0));
> gdb/remote.c:10101: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:10101:      sprintf (p, ', phex_nz (addr1, 0), phex_nz (addr2, 0));
> gdb/remote.c:10156: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:10156:  sprintf (rs->buf, ', tsvnum);
> gdb/remote.c:10245: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:10245:      sprintf (rs->buf, ', val);
> gdb/remote.c:10273: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/remote.c:10273:  sprintf (rs->buf, ', val);
852,853c851,852
< gdb/sol-thread.c:202: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/sol-thread.c:202:  sprintf (buf, ', errcode);
< gdb/sol-thread.c:233: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/sol-thread.c:233:  sprintf (buf, ', statecode);
> gdb/sol-thread.c:202: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:202:  sprintf (buf, ', errcode);
> gdb/sol-thread.c:233: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:233:  sprintf (buf, ', statecode);
857,861c856,860
< gdb/sol-thread.c:1150: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/sol-thread.c:1150:	sprintf (buf, ', GET_THREAD (ptid));
< gdb/sol-thread.c:1152: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/sol-thread.c:1152:	sprintf (buf, ',
< gdb/sol-thread.c:1155: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/sol-thread.c:1155:	sprintf (buf, ', GET_THREAD (ptid));
< gdb/sol-thread.c:1158: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/sol-thread.c:1158:    sprintf (buf, ', GET_LWP (ptid));
< gdb/sol-thread.c:1160: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/sol-thread.c:1160:    sprintf (buf, ', PIDGET (ptid));
> gdb/sol-thread.c:1150: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:1150:	sprintf (buf, ', GET_THREAD (ptid));
> gdb/sol-thread.c:1152: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:1152:	sprintf (buf, ',
> gdb/sol-thread.c:1155: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:1155:	sprintf (buf, ', GET_THREAD (ptid));
> gdb/sol-thread.c:1158: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:1158:    sprintf (buf, ', GET_LWP (ptid));
> gdb/sol-thread.c:1160: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/sol-thread.c:1160:    sprintf (buf, ', PIDGET (ptid));
875,879c874,878
< gdb/source.c:389: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/source.c:389:  sprintf (buf, ', DIRNAME_SEPARATOR);
< gdb/source.c:1316: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/source.c:1316:	  sprintf (name, ', line, s->filename);
< gdb/source.c:1358: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/source.c:1358:      sprintf (buf, ', current_source_line++);
< gdb/source.c:1364: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/source.c:1364:	      sprintf (buf, ', c + 0100);
< gdb/source.c:1381: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/source.c:1381:	      sprintf (buf, ', c);
> gdb/source.c:389: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/source.c:389:  sprintf (buf, ', DIRNAME_SEPARATOR);
> gdb/source.c:1316: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/source.c:1316:	  sprintf (name, ', line, s->filename);
> gdb/source.c:1358: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/source.c:1358:      sprintf (buf, ', current_source_line++);
> gdb/source.c:1364: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/source.c:1364:	      sprintf (buf, ', c + 0100);
> gdb/source.c:1381: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/source.c:1381:	      sprintf (buf, ', c);
912,915c911,914
< gdb/symtab.c:319: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/symtab.c:319:      sprintf (buf, ', const_prefix, volatile_prefix);
< gdb/symtab.c:325: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/symtab.c:325:      sprintf (buf, ', const_prefix, volatile_prefix);
< gdb/symtab.c:331: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/symtab.c:331:      sprintf (buf, ', const_prefix, volatile_prefix, len);
< gdb/symtab.c:3093: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/symtab.c:3093:	      sprintf (tmp, ', fix, ', opname);
> gdb/symtab.c:319: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/symtab.c:319:      sprintf (buf, ', const_prefix, volatile_prefix);
> gdb/symtab.c:325: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/symtab.c:325:      sprintf (buf, ', const_prefix, volatile_prefix);
> gdb/symtab.c:331: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/symtab.c:331:      sprintf (buf, ', const_prefix, volatile_prefix, len);
> gdb/symtab.c:3093: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/symtab.c:3093:	      sprintf (tmp, ', fix, ', opname);
978,981c977,980
< gdb/tracepoint.c:1200: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tracepoint.c:1200:	  sprintf (end, ', list->regs_mask[i]);
< gdb/tracepoint.c:1237: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tracepoint.c:1237:          sprintf (end, ', tmp2, (long) length);
< gdb/tracepoint.c:1239: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tracepoint.c:1239:          sprintf (end, ', list->list[i].type, tmp2, (long) length);
< gdb/tracepoint.c:1256: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tracepoint.c:1256:      sprintf (end, ', list->aexpr_list[i]->len);
> gdb/tracepoint.c:1200: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tracepoint.c:1200:	  sprintf (end, ', list->regs_mask[i]);
> gdb/tracepoint.c:1237: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tracepoint.c:1237:          sprintf (end, ', tmp2, (long) length);
> gdb/tracepoint.c:1239: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tracepoint.c:1239:          sprintf (end, ', list->list[i].type, tmp2, (long) length);
> gdb/tracepoint.c:1256: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tracepoint.c:1256:      sprintf (end, ', list->aexpr_list[i]->len);
985,988c984,987
< gdb/tracepoint.c:2654: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tracepoint.c:2654:  sprintf (buf, ',
< gdb/tracepoint.c:3184: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tracepoint.c:3184:      sprintf (buf, ', namebase);
< gdb/tracepoint.c:3189: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tracepoint.c:3189:      sprintf (buf, ', namebase, try_num++);
< gdb/tracepoint.c:3195: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tracepoint.c:3195:    sprintf (buf, ', namebase, try_num++);
> gdb/tracepoint.c:2654: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tracepoint.c:2654:  sprintf (buf, ',
> gdb/tracepoint.c:3184: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tracepoint.c:3184:      sprintf (buf, ', namebase);
> gdb/tracepoint.c:3189: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tracepoint.c:3189:      sprintf (buf, ', namebase, try_num++);
> gdb/tracepoint.c:3195: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tracepoint.c:3195:    sprintf (buf, ', namebase, try_num++);
1005c1004
< gdb/tui/tui-io.c:420: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-io.c:420:      sprintf (msg, ', len);
> gdb/tui/tui-io.c:420: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-io.c:420:      sprintf (msg, ', len);
1008,1009c1007,1008
< gdb/tui/tui-source.c:69: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-source.c:69:		  sprintf (name, ', s->filename, line_no);
< gdb/tui/tui-source.c:134: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-source.c:134:		      sprintf (src_line, ', cur_line_no);
> gdb/tui/tui-source.c:69: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-source.c:69:		  sprintf (name, ', s->filename, line_no);
> gdb/tui/tui-source.c:134: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-source.c:134:		      sprintf (src_line, ', cur_line_no);
1011,1019c1010,1018
< gdb/tui/tui-source.c:306: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-source.c:306:	  sprintf (src_line + i, ', warning_string);
< gdb/tui/tui-stack.c:97: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-stack.c:97:    sprintf (line_buf, ', loc->line_no);
< gdb/tui/tui-stack.c:160: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-stack.c:160:      sprintf (buf, ',
< gdb/tui/tui-stack.c:166: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-stack.c:166:      sprintf (buf, ',
< gdb/tui/tui-stack.c:182: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-stack.c:182:        sprintf (buf, ', PROC_PREFIX,
< gdb/tui/tui-stack.c:185: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-stack.c:185:        sprintf (buf, ', PROC_PREFIX,
< gdb/tui/tui-stack.c:192: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-stack.c:192:      sprintf (buf, ', LINE_PREFIX,
< gdb/tui/tui-win.c:470: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-win.c:470:  sprintf (cmd, ',
< gdb/tui/tui-win.c:473: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/tui/tui-win.c:473:  sprintf (cmd, ',
> gdb/tui/tui-source.c:306: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-source.c:306:	  sprintf (src_line + i, ', warning_string);
> gdb/tui/tui-stack.c:97: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-stack.c:97:    sprintf (line_buf, ', loc->line_no);
> gdb/tui/tui-stack.c:160: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-stack.c:160:      sprintf (buf, ',
> gdb/tui/tui-stack.c:166: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-stack.c:166:      sprintf (buf, ',
> gdb/tui/tui-stack.c:182: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-stack.c:182:        sprintf (buf, ', PROC_PREFIX,
> gdb/tui/tui-stack.c:185: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-stack.c:185:        sprintf (buf, ', PROC_PREFIX,
> 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:470: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-win.c:470:  sprintf (cmd, ',
> gdb/tui/tui-win.c:473: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/tui/tui-win.c:473:  sprintf (cmd, ',
1036c1035
< gdb/utils.c:3787: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/utils.c:3787:      sprintf (retp, ', *p);
> gdb/utils.c:3787: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/utils.c:3787:      sprintf (retp, ', *p);
1054c1053
< gdb/valops.c:3494: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/valops.c:3494:      sprintf (concatenated_name, ', namespace_name, name);
> gdb/valops.c:3494: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/valops.c:3494:      sprintf (concatenated_name, ', namespace_name, name);
1090,1091c1089,1090
< gdb/windows-nat.c:1874: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/windows-nat.c:1874:  sprintf (procexe, ', pid);
< gdb/windows-nat.c:2032: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/windows-nat.c:2032:      sprintf (cygallargs, ', exec_file, allargs);
> gdb/windows-nat.c:1874: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/windows-nat.c:1874:  sprintf (procexe, ', pid);
> gdb/windows-nat.c:2032: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/windows-nat.c:2032:      sprintf (cygallargs, ', exec_file, allargs);
1096c1095
< gdb/windows-nat.c:2580: code: sprintf: Do not use sprintf, instead use xstrprintf
gdb/windows-nat.c:2580:	  sprintf (newini, ',
> gdb/windows-nat.c:2580: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/windows-nat.c:2580:	  sprintf (newini, ',



More information about the Gdb-patches mailing list