diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-09 02:10:35 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-09 02:10:35 +0000 |
commit | 25e3a86bb10e57d021b5dd8d9ddc6fe78c3c5c42 (patch) | |
tree | 8a42fc8cdce14c6da80eae2602d95f3157ee9ee1 /gdb/frame-base.c | |
parent | a9e5fdc21938b3d8733bdfc5931088319c921f78 (diff) | |
download | gdb-25e3a86bb10e57d021b5dd8d9ddc6fe78c3c5c42.zip gdb-25e3a86bb10e57d021b5dd8d9ddc6fe78c3c5c42.tar.gz gdb-25e3a86bb10e57d021b5dd8d9ddc6fe78c3c5c42.tar.bz2 |
2003-06-08 Andrew Cagney <cagney@redhat.com>
* frame.c (get_prev_frame): Remove reference to
frame_args_address_correct in comments.
* frame-base.c (default_frame_args_address): Delete code
conditional on FRAME_ARGS_ADDRESS_CORRECT.
* vax-tdep.c (vax_frame_args_address_correct): Delete.
(vax_frame_args_address): Merge in vax_frame_args_address_correct.
* config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete
(vax_frame_args_address_correct): Delete declaration.
Index: doc/ChangeLog
2003-06-08 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
documentation on FRAME_ARGS_ADDRESS_CORRECT.
Diffstat (limited to 'gdb/frame-base.c')
-rw-r--r-- | gdb/frame-base.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/frame-base.c b/gdb/frame-base.c index 34e1523..ad4689d 100644 --- a/gdb/frame-base.c +++ b/gdb/frame-base.c @@ -46,17 +46,7 @@ static CORE_ADDR default_frame_args_address (struct frame_info *next_frame, void **this_cache) { struct frame_info *this_frame = get_prev_frame (next_frame); - /* FRAME_ARGS_ADDRESS_CORRECT is just like FRAME_ARGS_ADDRESS except - that if it is unsure about the answer, it returns 0 instead of - guessing (this happens on the VAX and i960, for example). - - On most machines, we never have to guess about the args address, - so FRAME_ARGS_ADDRESS{,_CORRECT} are the same. */ -#ifdef FRAME_ARGS_ADDRESS_CORRECT - return FRAME_ARGS_ADDRESS_CORRECT (this_frame); -#else return FRAME_ARGS_ADDRESS (this_frame); -#endif } const struct frame_base default_frame_base = { |