This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] sim: constify sim_write source buffer
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 13 Apr 2010 08:35:32 -0700
- Subject: Re: [PATCH] sim: constify sim_write source buffer
- References: <1270936687-26687-1-git-send-email-vapier@gentoo.org>
> 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