diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2004-08-08 22:16:16 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2004-08-08 22:16:16 +0000 |
commit | 1ba3afa502a1e1e9611179a9f78f2dd55f1aacbf (patch) | |
tree | 40868a1874e5d5fbcc7d6d4de444eda48f60805c /gnu | |
parent | 279457d317669c35084274573083d2b1f3500679 (diff) |
Correct handling of union return values on vax.
Fix stepping over functions on vax.
ok tdeval@
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/vax-tdep.c | 4 |
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 |