summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2004-08-08 22:16:16 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2004-08-08 22:16:16 +0000
commit1ba3afa502a1e1e9611179a9f78f2dd55f1aacbf (patch)
tree40868a1874e5d5fbcc7d6d4de444eda48f60805c /gnu/usr.bin/binutils/gdb
parent279457d317669c35084274573083d2b1f3500679 (diff)
Correct handling of union return values on vax.
Fix stepping over functions on vax. ok tdeval@
Diffstat (limited to 'gnu/usr.bin/binutils/gdb')
-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