This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] sim: check asprintf return values
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org, toolchain-devel at blackfin dot uclinux dot org
- Date: Wed, 12 Jan 2011 16:23:11 -0500
- Subject: Re: [PATCH] sim: check asprintf return values
- References: <1293743311-13288-1-git-send-email-vapier@gentoo.org> <201101121306.14814.vapier@gentoo.org>
> > * sim-module.c (sim_pre_argv_init): Return SIM_RC_FAIL when asprintf
> > fails.
> > * sim-options.c (sim_parse_args): Issue an error and return SIM_RC_FAIL
> > when asprintf fails.
> > * sim-utils.c (sim_do_commandf): Issue an error and return when
> > asprintf fails.
> > * sim-watch.c (sim_watchpoint_install): Return SIM_RC_FAIL when
> > asprintf fails.
Sorry for the delay in the review. This looks OK to me.
--
Joel