[PATCH] sim: constify sim_write source buffer

Joel Brobecker brobecker@adacore.com
Tue Apr 13 15:35:00 GMT 2010


> include/gdb/:
> 2010-04-10  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* remote-sim.h (sim_write): Add const to buf arg.
> 
> sim/common/:
> 2010-04-10  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* sim-hrw.c (sim_write): Add const to buf arg.
> 	* sim-utils.h (sim_write_fn): Likewise.

This is OK.

If you feel courageous, I noticed that the .h files in the include/gdb
subdirectory are still using the PARAMS macro. We stopped using them
a very long time ago... A patch removing them is pre-approved.


-- 
Joel



More information about the Gdb-patches mailing list