diff options
author | K. Richard Pixley <rich@cygnus> | 1993-04-01 04:52:59 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-04-01 04:52:59 +0000 |
commit | 05545edc03d841f44b1a7aef9f53471681c433e5 (patch) | |
tree | fcbb76b3c7ad48a3288a6c31c1aa726fd99ecbf1 /opcodes | |
parent | 4cb6685364c5f96c6ac08e2d57ff4c7304c40e60 (diff) | |
download | gdb-05545edc03d841f44b1a7aef9f53471681c433e5.zip gdb-05545edc03d841f44b1a7aef9f53471681c433e5.tar.gz gdb-05545edc03d841f44b1a7aef9f53471681c433e5.tar.bz2 |
* 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.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 6 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 2 | ||||
-rw-r--r-- | opcodes/m68k-dis.c | 2 |
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; |