This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] sim: constify prog_name
- From: Tom Tromey <tromey at redhat dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 04 Mar 2014 08:19:18 -0700
- Subject: Re: [PATCH] sim: constify prog_name
- Authentication-results: sourceware.org; auth=none
- References: <1393920331-14132-1-git-send-email-vapier at gentoo dot org>
>>>>> "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