diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-04-14 17:48:38 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-04-14 17:48:38 +0000 |
commit | 67b441e1281bb06d579858018050705524f0dcaa (patch) | |
tree | f56c407b2228f51e92d833ab17817fbf7fbd708a /gdb/vax-tdep.h | |
parent | 6672f2ae34dee699919822bbca9817b43355e483 (diff) | |
download | gdb-67b441e1281bb06d579858018050705524f0dcaa.zip gdb-67b441e1281bb06d579858018050705524f0dcaa.tar.gz gdb-67b441e1281bb06d579858018050705524f0dcaa.tar.bz2 |
* vax-tdep.h (vax_regnum): Add VAX_R0_REGNUM and VAX_R1_REGNUM.
* vax-tdep.c (vax_store_arguments): Remove struct_return and
struct_addr arguments. Don't push return value address.
(vax_push_dummy_call): Don't pass STRUCT_RETURN and STRUCT_ADDR as
arguments to vax_store_arguments. Store return value address in
R1.
(vax_store_struct_return, vax_extract_return_value)
(vax_store_return_value): Remove functions.
(vax_return_value): New function.
(vax_gdbarch_init): Set return value. Don't set
deprecated_store_struct_return, deprecated_extract_struct_return
and deprecated_store_return_value.
Diffstat (limited to 'gdb/vax-tdep.h')
-rw-r--r-- | gdb/vax-tdep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/vax-tdep.h b/gdb/vax-tdep.h index d27f1a8..444d758 100644 --- a/gdb/vax-tdep.h +++ b/gdb/vax-tdep.h @@ -26,6 +26,8 @@ enum vax_regnum { + VAX_R0_REGNUM, + VAX_R1_REGNUM, VAX_AP_REGNUM = 12, /* Argument pointer on user stack. */ VAX_FP_REGNUM, /* Address of executing stack frame. */ VAX_SP_REGNUM, /* Address of top of stack. */ |