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.
This commit is contained in:
parent
a9e5fdc219
commit
25e3a86bb1
7 changed files with 34 additions and 37 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue