This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] kod-cisco.c init sync_ids, exploit xrealloc()
- To: Fernando Nasser <fnasser at cygnus dot com>
- Subject: Re: [rfa] kod-cisco.c init sync_ids, exploit xrealloc()
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 30 Nov 2000 00:59:17 +1100
- Cc: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- References: <3A220E42.91B7B4EA@cygnus.com> <3A22283F.B8DAB6BA@cygnus.com>
Fernando Nasser wrote:
>
> Andrew Cagney wrote:
> >
> > Hello,
> >
> > The attatched simplifies the setting of ``sync_ids'' by exploiting
> > xrealloc()'s semantics (If NULL, act like xmalloc()). It also
> > eliminates a -Wuninitialized warning.
> >
> > Ok?
>
> Sure. Thanks.
Done
Andrew