This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Fix New ARI warning Tue Nov 6 01:58:48 UTC 2012


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]