[patch] expprint.c, check strchr return val for null.

Joel Brobecker brobecker@adacore.com
Tue Sep 4 14:30:00 GMT 2007


> 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



More information about the Gdb-patches mailing list