+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.h: Note SIM_HAVE_PROFILE is deprecated.
+
2015-03-24 Mike Frysinger <vapier@gentoo.org>
* tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated.
/* Define this if the simulator supports profiling.
See the mips simulator for an example.
This enables the `-p foo' and `-s bar' options.
- The target is required to provide sim_set_profile{,_size}. */
+ The target is required to provide sim_set_profile{,_size}.
+ TODO: This is specific to the old run.o main. */
/* #define SIM_HAVE_PROFILE */
/* Define this if the simulator uses an instruction cache.
+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
+ * interf.c (sim_set_callbacks, sim_size, sim_trace): Delete.
+
2015-03-17 Jiri Gaisler <jiri@gaisler.se>
* func.c (exec_cmd): Silence compiler warnings when calling system().
return (TIME_OUT);
}
-void
-sim_set_callbacks (ptr)
- host_callback *ptr;
-{
- sim_callback = ptr;
-}
-
-void
-sim_size (memsize)
- int memsize;
-{
-}
-
SIM_DESC
sim_open (kind, callback, abfd, argv)
SIM_OPEN_KIND kind;
if (sis_gdb_break) flush_windows ();
}
-int
-sim_trace (sd)
- SIM_DESC sd;
-{
- /* FIXME: unfinished */
- sim_resume (sd, 0, 0);
- return 1;
-}
-
void
sim_do_command(sd, cmd)
SIM_DESC sd;
+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
+ * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
+ * tconfig.h (SIM_HAVE_PROFILE): Delete.
+
2015-03-16 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
h8_set_mask (sd, oldmask);
}
-int
-sim_trace (SIM_DESC sd)
-{
- /* FIXME: Unfinished. */
- (*sim_callback->printf_filtered) (sim_callback,
- "sim_trace: trace not supported.\n");
- return 1; /* Done. */
-}
-
int
sim_write (SIM_DESC sd, SIM_ADDR addr, const unsigned char *buffer, int size)
{
sim_engine_get_run_state (sd, reason, sigrc);
}
-/* FIXME: Rename to sim_set_mem_size. */
-
-void
-sim_size (int n)
-{
- /* Memory size is fixed. */
-}
-
static void
set_simcache_size (SIM_DESC sd, int n)
{
return SIM_RC_OK;
}
-
-void
-sim_set_callbacks (struct host_callback_struct *ptr)
-{
- sim_callback = ptr;
-}
/* h8300 target configuration file. */
-/* Define this if the simulator supports profiling.
- See the mips simulator for an example.
- This enables the `-p foo' and `-s bar' options.
- The target is required to provide sim_set_profile{,_size}. */
-/* #define SIM_HAVE_PROFILE */
-
/* Define this if the simulator uses an instruction cache.
See the h8/300 simulator for an example.
This enables the `-c size' option to set the size of the cache.
+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
+ * compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks,
+ sim_size, sim_trace): Delete.
+ * sim-main.h (sim_set_profile, sim_set_profile_size): Delete.
+
2015-03-24 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
return;
}
-void
-sim_set_profile (int n)
-{
-}
-
-void
-sim_set_profile_size (int n)
-{
-}
-
/* Generic implementation of sim_engine_run that works within the
sim_engine setjmp/longjmp framework. */
}
}
-int
-sim_trace (SIM_DESC sd)
-{
- sim_resume (sd, 0, 0);
- return 1;
-}
-
void
sim_info (SIM_DESC sd, int verbose)
{
return sim_prepare_for_program (sd, abfd);
}
-
-void
-sim_set_callbacks (host_callback *p)
-{
- /* m6811_callback = p; */
-}
-
-
int
sim_fetch_register (SIM_DESC sd, int rn, unsigned char *memory, int length)
{
return 2;
}
-void
-sim_size (int s)
-{
- ;
-}
-
/* Halt the simulator after just one instruction */
static void
sim_state_base base;
};
-extern void sim_set_profile (int n);
-extern void sim_set_profile_size (int n);
extern void sim_board_reset (SIM_DESC sd);
#define PRINT_TIME 0x01