* h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
authorK. Richard Pixley <rich@cygnus>
Thu, 1 Apr 1993 04:52:59 +0000 (04:52 +0000)
committerK. Richard Pixley <rich@cygnus>
Thu, 1 Apr 1993 04:52:59 +0000 (04:52 +0000)
  deliberately return non-zero to setjmp from longjmp.  Otherwise
  this code fails to compile.

opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/m68k-dis.c

index 41dc46f..a3ff6e7 100644 (file)
@@ -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().
index 6bdfa5f..e30b7fe 100644 (file)
@@ -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;
index 8c61dc6..265c113 100644 (file)
@@ -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;