aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-10-02 23:37:30 +0000
committerAndrew Cagney <cagney@redhat.com>1997-10-02 23:37:30 +0000
commit63fe2cc799d36a834c5606a9170799ed818410d7 (patch)
tree874c914ad0d536e15e7a68ecd6d34fd20c816fe7 /sim/ppc
parent46d2f9e1d69bfe0518b0f7e7421e66ce26a9e9f3 (diff)
downloadfsf-binutils-gdb-63fe2cc799d36a834c5606a9170799ed818410d7.zip
fsf-binutils-gdb-63fe2cc799d36a834c5606a9170799ed818410d7.tar.gz
fsf-binutils-gdb-63fe2cc799d36a834c5606a9170799ed818410d7.tar.bz2
Fix typo, WITH_TARGET_WORD_BITSIZE not WITH_TARGET_BITSIZE.
Diffstat (limited to 'sim/ppc')
-rw-r--r--sim/ppc/ChangeLog17
-rw-r--r--sim/ppc/sim_calls.c8
2 files changed, 23 insertions, 2 deletions
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);
}