diff options
Diffstat (limited to 'sim')
37 files changed, 118 insertions, 44 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index ca21f15..90cc64f 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -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 .. diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index 262e2e7..244c475 100644 --- a/sim/arm/wrapper.c +++ b/sim/arm/wrapper.c @@ -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; diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index bd1b29b..daadcf6 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -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. diff --git a/sim/common/nrun.c b/sim/common/nrun.c index ef25d68..7c77f5c 100644 --- a/sim/common/nrun.c +++ b/sim/common/nrun.c @@ -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; diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h index 1fbd9b2..3f702f6 100644 --- a/sim/common/sim-base.h +++ b/sim/common/sim-base.h @@ -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 */ diff --git a/sim/common/sim-hload.c b/sim/common/sim-hload.c index b8726ba..07a608b 100644 --- a/sim/common/sim-hload.c +++ b/sim/common/sim-hload.c @@ -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; diff --git a/sim/common/sim-utils.h b/sim/common/sim-utils.h index 8e80e6a..661ac70 100644 --- a/sim/common/sim-utils.h +++ b/sim/common/sim-utils.h @@ -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, ...); diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 9c42d35..54d84e6 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -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>. diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c index 0f7295d..718acca 100644 --- a/sim/d10v/interp.c +++ b/sim/d10v/interp.c @@ -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; { diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index 92b2950..5bf54d7 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -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. diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c index 1931886..9d59471 100644 --- a/sim/erc32/interf.c +++ b/sim/erc32/interf.c @@ -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; { diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index 2753416..0e62569 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -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. diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index 2a066a3..cd60b86 100644 --- a/sim/h8300/compile.c +++ b/sim/h8300/compile.c @@ -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); diff --git a/sim/h8500/ChangeLog b/sim/h8500/ChangeLog index d42834c..fe72e49 100644 --- a/sim/h8500/ChangeLog +++ b/sim/h8500/ChangeLog @@ -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. diff --git a/sim/h8500/compile.c b/sim/h8500/compile.c index aec8ce9..5db2bee 100644 --- a/sim/h8500/compile.c +++ b/sim/h8500/compile.c @@ -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; { diff --git a/sim/i960/ChangeLog b/sim/i960/ChangeLog index 6a727fe..1f61c31 100644 --- a/sim/i960/ChangeLog +++ b/sim/i960/ChangeLog @@ -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. diff --git a/sim/i960/sim-if.c b/sim/i960/sim-if.c index 6179739..423dac0 100644 --- a/sim/i960/sim-if.c +++ b/sim/i960/sim-if.c @@ -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; { diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog index 532e024..b4097db 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -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. diff --git a/sim/m32r/sim-if.c b/sim/m32r/sim-if.c index a7cbe1c..95568cc 100644 --- a/sim/m32r/sim-if.c +++ b/sim/m32r/sim-if.c @@ -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; { diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog index abe5f55..325b887 100644 --- a/sim/m68hc11/ChangeLog +++ b/sim/m68hc11/ChangeLog @@ -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. diff --git a/sim/m68hc11/interp.c b/sim/m68hc11/interp.c index 74674ce..8a60606 100644 --- a/sim/m68hc11/interp.c +++ b/sim/m68hc11/interp.c @@ -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); diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index afa841f..be79bec 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -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. diff --git a/sim/mcore/interp.c b/sim/mcore/interp.c index 79c7d2e..bf04ed9 100644 --- a/sim/mcore/interp.c +++ b/sim/mcore/interp.c @@ -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; { diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 0482ab2..76c676c 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -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. diff --git a/sim/mips/interp.c b/sim/mips/interp.c index b2828e0..f8c14c8 100644 --- a/sim/mips/interp.c +++ b/sim/mips/interp.c @@ -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; { diff --git a/sim/mn10200/ChangeLog b/sim/mn10200/ChangeLog index 8a539c5..090b05c 100644 --- a/sim/mn10200/ChangeLog +++ b/sim/mn10200/ChangeLog @@ -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. diff --git a/sim/mn10200/interp.c b/sim/mn10200/interp.c index 43a8750..ea4e04f 100644 --- a/sim/mn10200/interp.c +++ b/sim/mn10200/interp.c @@ -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; { diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index ce01a53..9a5b602 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -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. diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c index 2003c2d..fd93b6d 100644 --- a/sim/mn10300/interp.c +++ b/sim/mn10300/interp.c @@ -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; { diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 26d0431..b625ac9 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -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", diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c index f2c2d19..22aa21b 100644 --- a/sim/ppc/sim_calls.c +++ b/sim/ppc/sim_calls.c @@ -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) { diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index 60b41f7..007bf46 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/ChangeLog @@ -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 diff --git a/sim/sh/interp.c b/sim/sh/interp.c index 8c2f359..887b7a6 100644 --- a/sim/sh/interp.c +++ b/sim/sh/interp.c @@ -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; { diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 5510497..9dcfd05 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -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. diff --git a/sim/v850/interp.c b/sim/v850/interp.c index 85b1795..62a4616 100644 --- a/sim/v850/interp.c +++ b/sim/v850/interp.c @@ -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; { diff --git a/sim/z8k/ChangeLog b/sim/z8k/ChangeLog index 11e2a45..1bc783b 100644 --- a/sim/z8k/ChangeLog +++ b/sim/z8k/ChangeLog @@ -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. diff --git a/sim/z8k/iface.c b/sim/z8k/iface.c index c76d63f..5104172 100644 --- a/sim/z8k/iface.c +++ b/sim/z8k/iface.c @@ -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; { |