+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * remote-sim.c (gdbsim_load): Add const to prog.
+
2014-03-03 Tom Tromey <tromey@redhat.com>
* elfread.c (probe_key): Change to bfd_data.
gdbsim_load (struct target_ops *self, char *args, int fromtty)
{
char **argv;
- char *prog;
+ const char *prog;
struct sim_inferior_data *sim_data
= get_sim_inferior_data (current_inferior (), SIM_INSTANCE_NEEDED);
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * remote-sim.h (sim_load): Add const to prog.
+
2014-02-09 Doug Evans <xdje42@gmail.com>
* section-scripts.h: New file.
Such manipulation should probably (?) occure in
sim_create_inferior. */
-SIM_RC sim_load (SIM_DESC sd, char *prog, struct bfd *abfd, int from_tty);
+SIM_RC sim_load (SIM_DESC sd, const char *prog, struct bfd *abfd, int from_tty);
/* Prepare to run the simulated program.
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * wrapper.c (sim_load): Add const to prog.
+
2013-09-23 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
SIM_RC
sim_load (sd, prog, abfd, from_tty)
SIM_DESC sd;
- char *prog;
+ const char *prog;
bfd *abfd;
int from_tty ATTRIBUTE_UNUSED;
{
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_load): Add const to prog.
+
2013-09-23 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
-
- Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+ * Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
2012-03-24 Mike Frysinger <vapier@gentoo.org>
}
SIM_RC
-sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
+sim_load (SIM_DESC sd, const char *prog, bfd *abfd, int from_tty)
{
bfd *prog_bfd;
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-hload.c (sim_load): Add const to prog.
+ * sim-load.c (sim_load_file): Likewise.
+ * sim-utils.c (sim_analyze_program): Likewise.
+ * sim-utils.h (sim_analyze_program): Likewise.
+ (sim_load_file): Likewise.
+
2014-03-04 Mike Frysinger <vapier@gentoo.org>
* acinclude.m4 (build_warnings): Copy from gdb/configure.ac.
modeling a hardware platform. */
SIM_RC
-sim_load (SIM_DESC sd, char *prog_name, struct bfd *prog_bfd, int from_tty)
+sim_load (SIM_DESC sd, const char *prog_name, struct bfd *prog_bfd, int from_tty)
{
bfd *result_bfd;
bfd *
sim_load_file (SIM_DESC sd, const char *myname, host_callback *callback,
- char *prog, bfd *prog_bfd, int verbose_p, int lma_p,
+ const char *prog, bfd *prog_bfd, int verbose_p, int lma_p,
sim_write_fn do_write)
{
asection *s;
bfd open. */
SIM_RC
-sim_analyze_program (SIM_DESC sd, char *prog_name, bfd *prog_bfd)
+sim_analyze_program (SIM_DESC sd, const char *prog_name, bfd *prog_bfd)
{
asection *s;
SIM_ASSERT (STATE_MAGIC (sd) == SIM_MAGIC_NUMBER);
/* Utilities for manipulating the load image. */
-SIM_RC sim_analyze_program (SIM_DESC sd, char *prog_name,
+SIM_RC sim_analyze_program (SIM_DESC sd, const char *prog_name,
struct bfd *prog_bfd);
/* Load program PROG into the simulator using the function DO_LOAD.
typedef int sim_write_fn (SIM_DESC sd, SIM_ADDR mem,
const unsigned char *buf, int length);
struct bfd *sim_load_file (SIM_DESC sd, const char *myname,
- host_callback *callback, char *prog,
+ host_callback *callback, const char *prog,
struct bfd *prog_bfd, int verbose_p,
int lma_p, sim_write_fn do_load);
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_load): Add const to prog.
+
2014-03-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
}
SIM_RC
-sim_load (SIM_DESC sd, char *prog, struct bfd *abfd, int from_tty)
+sim_load (SIM_DESC sd, const char *prog, struct bfd *abfd, int from_tty)
{
extern bfd *sim_load_file (); /* ??? Don't know where this should live. */
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-if.c (sim_load): Add const to prog.
+
2014-03-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
files differently. */
SIM_RC
-sim_load (SIM_DESC sd, char *prog_name, struct bfd *prog_bfd,
+sim_load (SIM_DESC sd, const char *prog_name, struct bfd *prog_bfd,
int from_tty ATTRIBUTE_UNUSED)
{
bfd *result_bfd;
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_load): Add const to prog.
+
2014-03-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
SIM_RC
sim_load (sd, prog, abfd, from_tty)
SIM_DESC sd;
- char *prog;
+ const char *prog;
bfd *abfd;
int from_tty;
{
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * interf.c (sim_load): Add const to prog.
+
2013-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
PR sim/16018:
SIM_RC
sim_load(sd, prog, abfd, from_tty)
SIM_DESC sd;
- char *prog;
+ const char *prog;
bfd *abfd;
int from_tty;
{
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * compile.c (sim_load): Add const to prog.
+
2014-02-17 Mike Frysinger <vapier@gentoo.org>
PR gdb/16450
/* Called by gdb to load a program into memory. */
SIM_RC
-sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
+sim_load (SIM_DESC sd, const char *prog, bfd *abfd, int from_tty)
{
bfd *prog_bfd;
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * gdb-if.c (sim_load): Add const to prog.
+
2013-09-23 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
SIM_RC
-sim_load (SIM_DESC sd, char *prog, struct bfd * abfd, int from_tty)
+sim_load (SIM_DESC sd, const char *prog, struct bfd * abfd, int from_tty)
{
check_desc (sd);
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_load): Add const to prog.
+
2014-02-17 Mike Frysinger <vapier@gentoo.org>
PR gdb/16450
SIM_RC
sim_load (sd, prog, abfd, from_tty)
SIM_DESC sd;
- char * prog;
+ const char * prog;
bfd * abfd;
int from_tty;
{
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_load): Add const to prog.
+
2014-02-17 Mike Frysinger <vapier@gentoo.org>
PR gdb/16450
}
SIM_RC
-sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
+sim_load (SIM_DESC sd, const char *prog, bfd *abfd, int from_tty)
{
/* Do the right thing for ELF executables; this turns out to be
just about the right thing for any object format that:
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_load): Add const to prog.
+
2014-02-17 Mike Frysinger <vapier@gentoo.org>
PR gdb/16450
SIM_RC
sim_load (sd, prog, abfd, from_tty)
SIM_DESC sd;
- char * prog;
+ const char * prog;
bfd * abfd;
int from_tty;
{
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * sim_calls.c (sim_load): Add const to prog.
+
2014-02-17 Aaro Koskinen <aaro.koskinen@iki.fi>
PR gdb/12202
SIM_RC
-sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
+sim_load (SIM_DESC sd, const char *prog, bfd *abfd, int from_tty)
{
TRACE(trace_gdb, ("sim_load(prog=%s, from_tty=%d) called\n",
prog, from_tty));
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * gdb-if.c (sim_load): Add const to prog.
+
2013-09-23 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
/* Load a program. */
SIM_RC
-sim_load (SIM_DESC sd, char *prog, struct bfd *abfd, int from_tty)
+sim_load (SIM_DESC sd, const char *prog, struct bfd *abfd, int from_tty)
{
check_desc (sd);
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * gdb-if.c (sim_load): Add const to prog.
+
2014-02-17 Kevin Buettner <kevinb@redhat.com>
* gdb-if.c (rx_signal_to_host): Rename to
}
SIM_RC
-sim_load (SIM_DESC sd, char *prog, struct bfd *abfd, int from_tty)
+sim_load (SIM_DESC sd, const char *prog, struct bfd *abfd, int from_tty)
{
check_desc (sd);
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_load): Add const to prog.
+
2014-02-17 Mike Frysinger <vapier@gentoo.org>
PR gdb/16450
SIM_RC
sim_load (sd, prog, abfd, from_tty)
SIM_DESC sd;
- char *prog;
+ const char *prog;
bfd *abfd;
int from_tty;
{