This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Sat May 28 01:53:47 UTC 2011
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: GDB Administrator <gdbadmin at sourceware dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 30 May 2011 20:34:55 +0200
- Subject: Re: New ARI warning Sat May 28 01:53:47 UTC 2011
- References: <20110528015347.GA10123@sourceware.org>
On Sat, 28 May 2011 03:53:47 +0200, GDB Administrator wrote:
> 439a440
> > gdb/linux-nat.c:2368: code: sprintf: Do not use sprintf, instead use xstrprintf
> gdb/linux-nat.c:2368: sprintf (buffer, ', lwp);
This is by me:
char buffer[MAXPATHLEN];
sprintf (buffer, "/proc/%ld/status", lwp);
I find the code perfectly correct, as I was told the ARI checks are only
differential I hope it can be kept as is.
Thanks,
Jan