This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] expprint.c, check strchr return val for null.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: msnyder at sonic dot net
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 4 Sep 2007 07:30:37 -0700
- Subject: Re: [patch] expprint.c, check strchr return val for null.
- References: <17390.12.7.175.2.1188425405.squirrel@webmail.sonic.net>
> 2007-08-29 Michael Snyder <msnyder@access-company.com>
>
> * expprint.c (print_subexp_standard): Check strchr for null.
The extra assert looks good to me. But make sure to update Makefile.in
as well since you introduced a dependency on gdb_assert.h.
Thanks for all these patches!
--
Joel