aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/i386-dis.c2
-rw-r--r--opcodes/m68k-dis.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 41dc46f..a3ff6e7 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+Wed Mar 31 20:49:06 1993 K. Richard Pixley (rich@rtl.cygnus.com)
+
+ * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
+ deliberately return non-zero to setjmp from longjmp. Otherwise
+ this code fails to compile.
+
Wed Mar 31 17:04:31 1993 Stu Grossman (grossman@cygnus.com)
* m68k-dis.c: Fix prototype for fetch_arg().
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 6bdfa5f..e30b7fe 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -70,7 +70,7 @@ fetch_data (info, addr)
if (status != 0)
{
(*info->memory_error_func) (status, start, info);
- longjmp (priv->bailout);
+ longjmp (priv->bailout, 1);
}
else
priv->max_fetched = addr;
diff --git a/opcodes/m68k-dis.c b/opcodes/m68k-dis.c
index 8c61dc6..265c113 100644
--- a/opcodes/m68k-dis.c
+++ b/opcodes/m68k-dis.c
@@ -154,7 +154,7 @@ fetch_data (info, addr)
if (status != 0)
{
(*info->memory_error_func) (status, start, info);
- longjmp (priv->bailout);
+ longjmp (priv->bailout, 1);
}
else
priv->max_fetched = addr;