diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-02-18 15:59:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-02-18 15:59:14 +0000 |
commit | 7f55af320dacaf5665b1ab6b1530fbed20a07dbf (patch) | |
tree | c84e6eef693792dc9f7b8b640ad4bb3db9c672d6 /gdb/gdbarch.sh | |
parent | 05f13b9c26569280ca83876cc51e359466d9e404 (diff) | |
download | ppe42-binutils-7f55af320dacaf5665b1ab6b1530fbed20a07dbf.tar.gz ppe42-binutils-7f55af320dacaf5665b1ab6b1530fbed20a07dbf.zip |
* gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
Default to func_frame_chain_valid.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h (FRAME_CHAIN_VALID): Delete definition.
Diffstat (limited to 'gdb/gdbarch.sh')
-rwxr-xr-x | gdb/gdbarch.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 996b87668d..310d3c4cd7 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -547,8 +547,14 @@ f:2:REMOTE_TRANSLATE_XFER_ADDRESS:void:remote_translate_xfer_address:CORE_ADDR g v:2:FRAME_ARGS_SKIP:CORE_ADDR:frame_args_skip::::0:-1 f:2:FRAMELESS_FUNCTION_INVOCATION:int:frameless_function_invocation:struct frame_info *fi:fi:::generic_frameless_function_invocation_not::0 f:2:FRAME_CHAIN:CORE_ADDR:frame_chain:struct frame_info *frame:frame::0:0 -# See comments on DUMMY_FRAME for why this is required at level 1. -f:1:FRAME_CHAIN_VALID:int:frame_chain_valid:CORE_ADDR chain, struct frame_info *thisframe:chain, thisframe::0:0 +# Define a default FRAME_CHAIN_VALID, in the form that is suitable for +# most targets. If FRAME_CHAIN_VALID returns zero it means that the +# given frame is the outermost one and has no caller. +# +# XXXX - both default and alternate frame_chain_valid functions are +# deprecated. New code should use dummy frames and one of the generic +# functions. +f:2:FRAME_CHAIN_VALID:int:frame_chain_valid:CORE_ADDR chain, struct frame_info *thisframe:chain, thisframe:::func_frame_chain_valid::0 f:2:FRAME_SAVED_PC:CORE_ADDR:frame_saved_pc:struct frame_info *fi:fi::0:0 f:2:FRAME_ARGS_ADDRESS:CORE_ADDR:frame_args_address:struct frame_info *fi:fi::0:0 f:2:FRAME_LOCALS_ADDRESS:CORE_ADDR:frame_locals_address:struct frame_info *fi:fi::0:0 |