summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2004-08-08 22:16:15 +0000
committerkettenis <kettenis@openbsd.org>2004-08-08 22:16:15 +0000
commitfc21cb9b405be4172cd0cf06c890ce06241e6f80 (patch)
tree6136bd4e74ef26bcabcd5e9fea622cdbef1be49b
parentAhh! This code brings out old memories. Eight years old but still (diff)
downloadwireguard-openbsd-fc21cb9b405be4172cd0cf06c890ce06241e6f80.tar.xz
wireguard-openbsd-fc21cb9b405be4172cd0cf06c890ce06241e6f80.zip
Correct handling of union return values on vax.
Fix stepping over functions on vax. ok tdeval@
-rw-r--r--gnu/usr.bin/binutils/gdb/vax-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/vax-tdep.c b/gnu/usr.bin/binutils/gdb/vax-tdep.c
index 1e8986cda52..7db432eef0e 100644
--- a/gnu/usr.bin/binutils/gdb/vax-tdep.c
+++ b/gnu/usr.bin/binutils/gdb/vax-tdep.c
@@ -212,7 +212,7 @@ vax_return_value (struct gdbarch *gdbarch, struct type *type,
char buf[8];
if (TYPE_CODE (type) == TYPE_CODE_STRUCT
- || TYPE_CODE (type) == TYPE_CODE_STRUCT
+ || TYPE_CODE (type) == TYPE_CODE_UNION
|| TYPE_CODE (type) == TYPE_CODE_ARRAY)
return RETURN_VALUE_STRUCT_CONVENTION;
@@ -369,7 +369,7 @@ vax_frame_this_id (struct frame_info *next_frame, void **this_cache,
if (cache->base == 0)
return;
- (*this_id) = frame_id_build (cache->base, frame_pc_unwind (next_frame));
+ (*this_id) = frame_id_build (cache->base, frame_func_unwind (next_frame));
}
static void