Index: arm/ChangeLog

2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.

Index: common/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd.
	* sim-hload.c (sim_load), sim-base.h (sim_state_base): Ditto.
	* nrun.c (main): Ditto.

Index: d10v/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: erc32/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: h8300/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: h8500/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: i960/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: m32r/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: m68hc11/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* interp.c (sim_prepare_for_program, sim_open)
	(sim_create_inferior): Rename _bfd to bfd.

Index: mcore/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: mips/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* interp.c (sim_open):
	(sim_create_inferior):

Index: mn10200/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: mn10300/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* interp.c (sim_open, sim_create_inferior, sim_open)
	(sim_create_inferior): Rename _bfd to bfd.

Index: ppc/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* sim_calls.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: sh/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd
	to bfd.

Index: v850/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.

Index: z8k/ChangeLog
2003-02-27  Andrew Cagney  <cagney@redhat.com>

	* iface.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
This commit is contained in:
Andrew Cagney 2003-02-27 23:26:34 +00:00
parent 27cddce2ee
commit 6b4a89357a
37 changed files with 118 additions and 44 deletions

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
2003-01-10 Ben Elliston <bje@redhat.com>
* README.Cygnus: Rename from this ..

View file

@ -204,7 +204,7 @@ sim_resume (sd, step, siggnal)
SIM_RC
sim_create_inferior (sd, abfd, argv, env)
SIM_DESC sd ATTRIBUTE_UNUSED;
struct _bfd * abfd;
struct bfd * abfd;
char ** argv;
char ** env;
{
@ -610,7 +610,7 @@ SIM_DESC
sim_open (kind, ptr, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *ptr;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
sim_kind = kind;

View file

@ -1,3 +1,9 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd.
* sim-hload.c (sim_load), sim-base.h (sim_state_base): Ditto.
* nrun.c (main): Ditto.
2003-02-26 Andrew Cagney <cagney@redhat.com>
* sim-engine.h (sim_engine_abort): Add noreturn attribute.

View file

@ -47,7 +47,7 @@ main (int argc, char **argv)
{
char *name;
char **prog_argv = NULL;
struct _bfd *prog_bfd;
struct bfd *prog_bfd;
enum sim_stop reason;
int sigrc = 0;
int single_step = 0;

View file

@ -171,7 +171,7 @@ typedef struct {
#define STATE_PROG_ARGV(sd) ((sd)->base.prog_argv)
/* The program's bfd. */
struct _bfd *prog_bfd;
struct bfd *prog_bfd;
#define STATE_PROG_BFD(sd) ((sd)->base.prog_bfd)
/* Symbol table for prog_bfd */

View file

@ -31,7 +31,7 @@ SIM_RC
sim_load (sd, prog_name, prog_bfd, from_tty)
SIM_DESC sd;
char *prog_name;
struct _bfd *prog_bfd;
struct bfd *prog_bfd;
int from_tty;
{
bfd *result_bfd;

View file

@ -49,7 +49,7 @@ unsigned long sim_elapsed_time_since (SIM_ELAPSED_TIME start);
/* Utilities for manipulating the load image. */
SIM_RC sim_analyze_program (SIM_DESC sd, char *prog_name,
struct _bfd *prog_bfd);
struct bfd *prog_bfd);
/* Load program PROG into the simulator using the function DO_LOAD.
If PROG_BFD is non-NULL, the file has already been opened.
@ -65,10 +65,10 @@ SIM_RC sim_analyze_program (SIM_DESC sd, char *prog_name,
typedef int sim_write_fn PARAMS ((SIM_DESC sd, SIM_ADDR mem,
unsigned char *buf, int length));
struct _bfd *sim_load_file (SIM_DESC sd, const char *myname,
host_callback *callback, char *prog,
struct _bfd *prog_bfd, int verbose_p,
int lma_p, sim_write_fn do_load);
struct bfd *sim_load_file (SIM_DESC sd, const char *myname,
host_callback *callback, char *prog,
struct bfd *prog_bfd, int verbose_p,
int lma_p, sim_write_fn do_load);
/* Internal version of sim_do_command, include formatting */
void sim_do_commandf (SIM_DESC sd, const char *fmt, ...);

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2002-11-13 Andrew Cagney <cagney@redhat.com>
* simops.c: Include <string.h>.

View file

@ -788,7 +788,7 @@ SIM_DESC
sim_open (kind, callback, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *callback;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
struct simops *s;
@ -1194,7 +1194,7 @@ sim_info (sd, verbose)
SIM_RC
sim_create_inferior (sd, abfd, argv, env)
SIM_DESC sd;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
char **env;
{

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2002-06-16 Andrew Cagney <ac131313@redhat.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.

View file

@ -184,7 +184,7 @@ SIM_DESC
sim_open (kind, callback, abfd, argv)
SIM_OPEN_KIND kind;
struct host_callback_struct *callback;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
@ -304,7 +304,7 @@ sim_load(sd, prog, abfd, from_tty)
SIM_RC
sim_create_inferior(sd, abfd, argv, env)
SIM_DESC sd;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
char **env;
{

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2003-02-05 Kazu Hirata <kazu@cs.umass.edu>
* compile.c (init_pointers): Abort if wreg never gets initialized.

View file

@ -2125,7 +2125,7 @@ set_h8300h (int h_flag, int s_flag)
SIM_DESC
sim_open (SIM_OPEN_KIND kind,
struct host_callback_struct *ptr,
struct _bfd *abfd,
struct bfd *abfd,
char **argv)
{
/* FIXME: Much of the code in sim_load can be moved here. */
@ -2228,7 +2228,7 @@ sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
}
SIM_RC
sim_create_inferior (SIM_DESC sd, struct _bfd *abfd, char **argv, char **env)
sim_create_inferior (SIM_DESC sd, struct bfd *abfd, char **argv, char **env)
{
if (abfd != NULL)
cpu.pc = bfd_get_start_address (abfd);

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2002-06-16 Andrew Cagney <ac131313@redhat.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.

View file

@ -2443,7 +2443,7 @@ SIM_DESC
sim_open (kind, cb, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *cb;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
sim_kind = kind;
@ -2484,7 +2484,7 @@ sim_load (sd, prog, abfd, from_tty)
SIM_RC
sim_create_inferior (sd, abfd, argv, env)
SIM_DESC sd;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
char **env;
{

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2002-06-16 Andrew Cagney <ac131313@redhat.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.

View file

@ -52,7 +52,7 @@ SIM_DESC
sim_open (kind, callback, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *callback;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
char c;
@ -178,7 +178,7 @@ sim_close (sd, quitting)
SIM_RC
sim_create_inferior (sd, abfd, argv, envp)
SIM_DESC sd;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
char **envp;
{

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2002-12-19 Doug Evans <dje@sebabeach.org>
* arch.c,arch.h,cpuall.h: Regenerate.

View file

@ -56,7 +56,7 @@ SIM_DESC
sim_open (kind, callback, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *callback;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
SIM_DESC sd = sim_state_alloc (kind, callback);
@ -199,7 +199,7 @@ sim_close (sd, quitting)
SIM_RC
sim_create_inferior (sd, abfd, argv, envp)
SIM_DESC sd;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
char **envp;
{

View file

@ -1,3 +1,8 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_prepare_for_program, sim_open)
(sim_create_inferior): Rename _bfd to bfd.
2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
* dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.

View file

@ -295,7 +295,7 @@ sim_hw_configure (SIM_DESC sd)
}
static int
sim_prepare_for_program (SIM_DESC sd, struct _bfd* abfd)
sim_prepare_for_program (SIM_DESC sd, struct bfd* abfd)
{
sim_cpu *cpu;
@ -341,7 +341,7 @@ sim_prepare_for_program (SIM_DESC sd, struct _bfd* abfd)
SIM_DESC
sim_open (SIM_OPEN_KIND kind, host_callback *callback,
struct _bfd *abfd, char **argv)
struct bfd *abfd, char **argv)
{
SIM_DESC sd;
sim_cpu *cpu;
@ -486,7 +486,7 @@ sim_info (SIM_DESC sd, int verbose)
}
SIM_RC
sim_create_inferior (SIM_DESC sd, struct _bfd *abfd,
sim_create_inferior (SIM_DESC sd, struct bfd *abfd,
char **argv, char **env)
{
return sim_prepare_for_program (sd, abfd);

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2002-06-16 Andrew Cagney <ac131313@redhat.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.

View file

@ -1901,7 +1901,7 @@ SIM_DESC
sim_open (kind, cb, abfd, argv)
SIM_OPEN_KIND kind;
host_callback * cb;
struct _bfd * abfd;
struct bfd * abfd;
char ** argv;
{
int osize = sim_memory_size;
@ -2009,7 +2009,7 @@ sim_load (sd, prog, abfd, from_tty)
SIM_RC
sim_create_inferior (sd, prog_bfd, argv, env)
SIM_DESC sd;
struct _bfd * prog_bfd;
struct bfd * prog_bfd;
char ** argv;
char ** env;
{

View file

@ -1,3 +1,8 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open):
(sim_create_inferior):
2003-01-14 Chris Demetriou <cgd@broadcom.com>
* mips.igen (LUXC1, SUXC1): New, for mipsV and mips64.

View file

@ -326,7 +326,7 @@ SIM_DESC
sim_open (kind, cb, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *cb;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
SIM_DESC sd = sim_state_alloc (kind, cb);
@ -971,7 +971,7 @@ sim_fetch_register (sd,rn,memory,length)
SIM_RC
sim_create_inferior (sd, abfd, argv,env)
SIM_DESC sd;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
char **env;
{

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2002-06-16 Andrew Cagney <ac131313@redhat.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.

View file

@ -211,7 +211,7 @@ SIM_DESC
sim_open (kind, cb, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *cb;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
struct simops *s;
@ -717,7 +717,7 @@ sim_info (sd, verbose)
SIM_RC
sim_create_inferior (sd, abfd, argv, env)
SIM_DESC sd;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
char **env;
{

View file

@ -1,3 +1,8 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior, sim_open)
(sim_create_inferior): Rename _bfd to bfd.
2003-02-26 Andrew Cagney <cagney@redhat.com>
* am33.igen: Call sim_engine_abort instead of abort.

View file

@ -312,7 +312,7 @@ SIM_DESC
sim_open (kind, cb, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *cb;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
struct simops *s;
@ -852,7 +852,7 @@ sim_info (sd, verbose)
SIM_RC
sim_create_inferior (sd, abfd, argv, env)
SIM_DESC sd;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
char **env;
{
@ -946,7 +946,7 @@ SIM_DESC
sim_open (kind, cb, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *cb;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
SIM_DESC sd = sim_state_alloc (kind, cb);
@ -1170,7 +1170,7 @@ sim_close (sd, quitting)
SIM_RC
sim_create_inferior (sd, prog_bfd, argv, env)
SIM_DESC sd;
struct _bfd *prog_bfd;
struct bfd *prog_bfd;
char **argv;
char **env;
{

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* sim_calls.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2002-09-27 Andrew Cagney <ac131313@redhat.com>
* hw_disk.c (hw_disk_init_address): Set device type to "block",

View file

@ -85,7 +85,7 @@ static host_callback *callbacks;
SIM_DESC
sim_open (SIM_OPEN_KIND kind,
host_callback *callback,
struct _bfd *abfd,
struct bfd *abfd,
char **argv)
{
callbacks = callback;
@ -244,7 +244,7 @@ sim_info (SIM_DESC sd, int verbose)
SIM_RC
sim_create_inferior (SIM_DESC sd,
struct _bfd *abfd,
struct bfd *abfd,
char **argv,
char **envp)
{

View file

@ -1,3 +1,8 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (init_dsp, sim_open, sim_create_inferior): Rename _bfd
to bfd.
Fri Oct 11 16:22:28 2002 J"orn Rennecke <joern.rennecke@superh.com>
* interp.c (trap): Return int. Take extra parameter for address

View file

@ -1424,7 +1424,7 @@ sim_size (power)
static void
init_dsp (abfd)
struct _bfd *abfd;
struct bfd *abfd;
{
int was_dsp = target_dsp;
unsigned long mach = bfd_get_mach (abfd);
@ -2140,7 +2140,7 @@ SIM_DESC
sim_open (kind, cb, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *cb;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
char **p;
@ -2239,7 +2239,7 @@ sim_load (sd, prog, abfd, from_tty)
SIM_RC
sim_create_inferior (sd, prog_bfd, argv, env)
SIM_DESC sd;
struct _bfd *prog_bfd;
struct bfd *prog_bfd;
char **argv;
char **env;
{

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2002-11-30 Andrew Cagney <cagney@redhat.com>
* simops.c: Use int, 1, 0 instead of boolean, true and false.

View file

@ -192,7 +192,7 @@ SIM_DESC
sim_open (kind, cb, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *cb;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
SIM_DESC sd = sim_state_alloc (kind, cb);
@ -297,7 +297,7 @@ sim_close (sd, quitting)
SIM_RC
sim_create_inferior (sd, prog_bfd, argv, env)
SIM_DESC sd;
struct _bfd *prog_bfd;
struct bfd *prog_bfd;
char **argv;
char **env;
{

View file

@ -1,3 +1,7 @@
2003-02-27 Andrew Cagney <cagney@redhat.com>
* iface.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
2002-06-16 Andrew Cagney <ac131313@redhat.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.

View file

@ -183,7 +183,7 @@ SIM_DESC
sim_open (kind, cb, abfd, argv)
SIM_OPEN_KIND kind;
host_callback *cb;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
{
/* FIXME: The code in sim_load that determines the exact z8k arch
@ -237,7 +237,7 @@ sim_load (sd, prog, abfd, from_tty)
SIM_RC
sim_create_inferior (sd, abfd, argv, env)
SIM_DESC sd;
struct _bfd *abfd;
struct bfd *abfd;
char **argv;
char **env;
{