aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog6
-rw-r--r--sim/common/nrun.c2
-rw-r--r--sim/common/sim-base.h2
-rw-r--r--sim/common/sim-hload.c2
-rw-r--r--sim/common/sim-utils.h10
5 files changed, 14 insertions, 8 deletions
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, ...);