This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix New ARI warning Tue Nov 6 01:58:48 UTC 2012
- From: Pedro Alves <palves at redhat dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: devans at sourceware dot org, gdb-patches at sourceware dot org
- Date: Tue, 06 Nov 2012 19:02:19 +0000
- Subject: Re: [RFA] Fix New ARI warning Tue Nov 6 01:58:48 UTC 2012
- References: <20121106015848.GA5296@sourceware.org> <5098efb2.05fd440a.7696.ffffd821SMTPIN_ADDED@mx.google.com>
On 11/06/2012 11:08 AM, Pierre Muller wrote:
>> 281a282,283
>>> gdb/dwarf2read.c:8612: regression: xasprintf: Do not use xasprintf(),
>> instead use xstrprintf
>> gdb/dwarf2read.c:8612: xasprintf (&virtual_dwo_name, ',
>>> gdb/dwarf2read.c:8984: regression: xasprintf: Do not use xasprintf(),
>> instead use xstrprintf
>> gdb/dwarf2read.c:8984: xasprintf (&dwp_name, ', dwarf2_per_objfile-
>>> objfile->name);
>
> Doug,
>
> could you check the patch below
> which removes the new ARI warnings about use of
> xasprintf function in the commit
>
> http://sourceware.org/ml/gdb-cvs/2012-11/msg00027.html
Déjà vu :-)
http://sourceware.org/ml/gdb-patches/2009-03/msg00576.html
This removes the last use of xasprintf in the tree; we should delete
it to avoid new uses creeping in.
--
Pedro Alves