From 05545edc03d841f44b1a7aef9f53471681c433e5 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Thu, 1 Apr 1993 04:52:59 +0000 Subject: [PATCH] * 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. --- opcodes/ChangeLog | 6 ++++++ opcodes/i386-dis.c | 2 +- opcodes/m68k-dis.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 41dc46f2df..a3ff6e7adc 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 6bdfa5f6f9..e30b7fee69 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 8c61dc6aeb..265c113c3c 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; -- 2.34.1