aboutsummaryrefslogtreecommitdiff
path: root/sim/arm
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-08-25 23:14:25 +0000
committerAndrew Cagney <cagney@redhat.com>1997-08-25 23:14:25 +0000
commit247fccdeb54a09a14287b2e829511803ad9d7cc1 (patch)
treec992df7132ca0c315cbcfd5ad81bbc4f16675936 /sim/arm
parent04f295b64859a6c6b01739fc4dd7fddce42db8d9 (diff)
downloadgdb-247fccdeb54a09a14287b2e829511803ad9d7cc1.zip
gdb-247fccdeb54a09a14287b2e829511803ad9d7cc1.tar.gz
gdb-247fccdeb54a09a14287b2e829511803ad9d7cc1.tar.bz2
Add ABFD argument to sim_open call. Pass through to sim_config so
that image properties such as endianness can be checked. More strongly document the expected behavour of each of the sim_* interfaces. Add default endian argument to simulator config macro SIM_AC_OPTION_ENDIAN. Use in sim_config.
Diffstat (limited to 'sim/arm')
-rw-r--r--sim/arm/ChangeLog18
-rw-r--r--sim/arm/wrapper.c15
2 files changed, 30 insertions, 3 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index 28314dd..40571c8 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,3 +1,21 @@
+Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+ * config.in: Ditto.
+
+Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * wrapper.c (sim_open): Add ABFD argument.
+
+Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * wrapper.c (sim_open): Add callback argument.
+ (sim_set_callbacks): Drop SIM_DESC argument.
+
+Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
* wrapper.c (sim_stop): Stub sim_stop function.
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c
index f1e6153..37a3723 100644
--- a/sim/arm/wrapper.c
+++ b/sim/arm/wrapper.c
@@ -146,6 +146,13 @@ sim_trace (sd)
return 1;
}
+int
+sim_stop (sd)
+ SIM_DESC sd;
+{
+ return 0;
+}
+
void
sim_resume (sd, step, siggnal)
SIM_DESC sd;
@@ -252,12 +259,15 @@ sim_fetch_register (sd, rn, memory)
SIM_DESC
-sim_open (kind, argv)
+sim_open (kind, ptr, abfd, argv)
SIM_OPEN_KIND kind;
+ host_callback *ptr;
+ struct _bfd *abfd;
char **argv;
{
sim_kind = kind;
myname = argv[0];
+ sim_callback = ptr;
return (SIM_DESC) 1;
}
@@ -327,8 +337,7 @@ sim_do_command (sd, cmd)
void
-sim_set_callbacks (sd, ptr)
- SIM_DESC sd;
+sim_set_callbacks (ptr)
host_callback *ptr;
{
sim_callback = ptr;