aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog18
-rw-r--r--sim/ppc/ChangeLog17
-rw-r--r--sim/ppc/sim_calls.c8
-rw-r--r--sim/testsuite/v850eq-elf/Makefile.in8
-rw-r--r--sim/tic80/ChangeLog5
-rw-r--r--sim/tic80/configure.in1
6 files changed, 51 insertions, 6 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 0e8d54f..32c103a 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,21 @@
+Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Oct 2 19:43:52 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * aclocal.m4 (sim-bitsize): Fix typo, WITH_TARGET_WORD_BITSIZE not
+ WITH_TARGET_BITSIZE.
+
+Thu Sep 25 23:20:20 1997 Felix Lee <flee@yin.cygnus.com>
+
+ * sim-profile.c (profile_print_core): label needs empty statement.
+
+Thu Sep 25 11:20:47 1997 Stu Grossman <grossman@babylon-5.cygnus.com>
+
+ * sim-break.c (sim_set_breakpoint sim_clear_breakpoint): Use ZALLOC
+ and zfree instead of xmalloc and free. Prevents warnings.
+
Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 75821bf..00b5c79 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,20 @@
+Mon Sep 29 10:05:01 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim_calls.c (zfree): Use free, not mfree.
+ (sim_io_flush_stdoutput): Replace gdb_flush with callback ->
+ flush_stdout.
+
+Fri Sep 26 09:50:29 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * ppc-instructions:
+ (ldhau): From Johannes Reisinger, update rA after load.
+
+Tue Sep 9 22:13:23 1997 Felix Lee <flee@cygnus.com>
+
+ * basics.h (CONCAT*): token-pasting macros, if ALMOST_STDC,
+ for MSVC.
+ * words.h: __int64 instead of long long for MSVC.
+
Wed Aug 27 10:24:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
* sim_calls.c (sim_create_inferior): Check the simulator was
diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c
index 7b6c4d4..4d73291 100644
--- a/sim/ppc/sim_calls.c
+++ b/sim/ppc/sim_calls.c
@@ -200,6 +200,10 @@ sim_create_inferior (SIM_DESC sd,
unsigned_word entry_point;
TRACE(trace_gdb, ("sim_create_inferior(start_address=0x%x, ...)\n",
entry_point));
+
+ if (simulator == NULL)
+ error ("No program loaded");
+
if (abfd != NULL)
entry_point = bfd_get_start_address (abfd);
else
@@ -369,7 +373,7 @@ sim_io_flush_stdoutput(void)
{
switch (CURRENT_STDIO) {
case DO_USE_STDIO:
- gdb_flush (gdb_stdout);
+ callbacks->flush_stdout (callbacks);
break;
case DONT_USE_STDIO:
break;
@@ -393,5 +397,5 @@ zalloc(long size)
void zfree(void *data)
{
- mfree(NULL, data);
+ free(NULL, data);
}
diff --git a/sim/testsuite/v850eq-elf/Makefile.in b/sim/testsuite/v850eq-elf/Makefile.in
index 7c91e57..1cb5c95 100644
--- a/sim/testsuite/v850eq-elf/Makefile.in
+++ b/sim/testsuite/v850eq-elf/Makefile.in
@@ -59,15 +59,15 @@ RUNTEST_FOR_TARGET = `\
AS_FOR_TARGET = `\
- if [ -x ../../../gas/as.new ]; then \
- echo ../../../gas/as.new ; \
+ if [ -x ../../../gas/as-new ]; then \
+ echo ../../../gas/as-new ; \
else \
echo $(target_alias)-as ; \
fi`
LD_FOR_TARGET = `\
- if [ -x ../../../ld/ld.new ]; then \
- echo ../../../ld/ld.new ; \
+ if [ -x ../../../ld/ld-new ]; then \
+ echo ../../../ld/ld-new ; \
else \
echo $(target_alias)-ld ; \
fi`
diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog
index bfb89a4..77655dd 100644
--- a/sim/tic80/ChangeLog
+++ b/sim/tic80/ChangeLog
@@ -1,3 +1,8 @@
+Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure.in (SIM_AC_OPTIONS_BITSIZE): Define.
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/tic80/configure.in b/sim/tic80/configure.in
index a747b17..730b62e 100644
--- a/sim/tic80/configure.in
+++ b/sim/tic80/configure.in
@@ -12,6 +12,7 @@ SIM_AC_OPTION_ALIGNMENT(FORCED_ALIGNMENT)
SIM_AC_OPTION_HOSTENDIAN
SIM_AC_OPTION_WARNINGS
SIM_AC_OPTION_RESERVED_BITS(1)
+SIM_AC_OPTION_BITSIZE(32,31)
dnl For UNIX emulation
AC_CHECK_HEADERS(stdlib.h unistd.h string.h strings.h)