This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
New ARI warning Sat Jan 21 01:55:38 UTC 2012
- From: GDB Administrator <gdbadmin at sourceware dot org>
- To: gdb-patches at sourceware dot org
- Date: Sat, 21 Jan 2012 01:55:39 +0000
- Subject: New ARI warning Sat Jan 21 01:55:38 UTC 2012
369a370
> gdb/inf-child.c:36: regression: stat.h: Do not include stat.h or sys/stat.h, instead include gdb_stat.h
gdb/inf-child.c:36:#include <sys/stat.h>
445,451d445
< gdb/linux-nat.c:4403: code: long long: Do not use 'long long', instead use LONGEST
gdb/linux-nat.c:4403: long long *addr,
< gdb/linux-nat.c:4404: code: long long: Do not use 'long long', instead use LONGEST
gdb/linux-nat.c:4404: long long *endaddr,
< gdb/linux-nat.c:4406: code: long long: Do not use 'long long', instead use LONGEST
gdb/linux-nat.c:4406: long long *offset,
< gdb/linux-nat.c:4407: code: long long: Do not use 'long long', instead use LONGEST
gdb/linux-nat.c:4407: char *device, long long *inode, char *filename)
< gdb/linux-nat.c:4437: code: long long: Do not use 'long long', instead use LONGEST
gdb/linux-nat.c:4437: long long addr, endaddr, size, offset, inode;
< gdb/linux-nat.c:4443: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4443: sprintf (mapsfilename, ', pid);
< gdb/linux-nat.c:4444: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/linux-nat.c:4444: if ((mapsfile = fopen (mapsfilename, ')) == NULL)
456,467d449
< gdb/linux-nat.c:4868: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/linux-nat.c:4868: if ((procfile = fopen (fname1, ')) != NULL)
< gdb/linux-nat.c:4883: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4883: sprintf (fname1, ', pid);
< gdb/linux-nat.c:4892: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4892: sprintf (fname1, ', pid);
< gdb/linux-nat.c:4901: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4901: sprintf (fname1, ', pid);
< gdb/linux-nat.c:4902: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/linux-nat.c:4902: if ((procfile = fopen (fname1, ')) != NULL)
< gdb/linux-nat.c:4904: code: long long: Do not use 'long long', instead use LONGEST
gdb/linux-nat.c:4904: long long addr, endaddr, size, offset, inode;
< gdb/linux-nat.c:4963: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4963: sprintf (fname1, ', pid);
< gdb/linux-nat.c:4964: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/linux-nat.c:4964: if ((procfile = fopen (fname1, ')) != NULL)
< gdb/linux-nat.c:4977: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:4977: sprintf (fname1, ', pid);
< gdb/linux-nat.c:4978: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/linux-nat.c:4978: if ((procfile = fopen (fname1, ')) != NULL)
< gdb/linux-nat.c:5163: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:5163: sprintf (filename, ', PIDGET (inferior_ptid));
< gdb/linux-nat.c:5333: code: sprintf: Do not use sprintf, instead use xsnprintf or xstrprintf
gdb/linux-nat.c:5333: sprintf (fname, ', pid);
478a461
> gdb/linux-tdep.c:413: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/linux-tdep.c:413: if (*p == '.' && (ep = strchr (p, '.')) != NULL)
938a922,923
> gdb/target.c:3261: code: %p: Do not use printf(%p), instead use printf(%s,paddr()) to dump a target address, or host_address_to_string() for a host address
gdb/target.c:3261: "target_fileio_pwrite (%d,%p,%d,%s) "
> gdb/target.c:3291: code: %p: Do not use printf(%p), instead use printf(%s,paddr()) to dump a target address, or host_address_to_string() for a host address
gdb/target.c:3291: "target_fileio_pread (%d,%p,%d,%s) "