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] sim: constify prog_name


>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:

Mike> There's no need for the prog_name handed down to the core to be mutable,
Mike> so add const markings to it and all the related funcs.

Mike> gdb/:
Mike> 2014-02-19  Mike Frysinger  <vapier@gentoo.org>
Mike> 	* remote-sim.c (gdbsim_load): Add const to prog.
Mike> include/gdb/:
Mike> 2014-02-19  Mike Frysinger  <vapier@gentoo.org>
Mike> 	* remote-sim.h (sim_load): Add const to prog.

FOAD, the gdb bits are ok.

Tom


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