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: [patch] expprint.c, check strchr return val for null.


> 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


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