aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-18 15:59:14 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-18 15:59:14 +0000
commit7f55af320dacaf5665b1ab6b1530fbed20a07dbf (patch)
treec84e6eef693792dc9f7b8b640ad4bb3db9c672d6 /gdb/frame.h
parent05f13b9c26569280ca83876cc51e359466d9e404 (diff)
downloadgdb-7f55af320dacaf5665b1ab6b1530fbed20a07dbf.zip
gdb-7f55af320dacaf5665b1ab6b1530fbed20a07dbf.tar.gz
gdb-7f55af320dacaf5665b1ab6b1530fbed20a07dbf.tar.bz2
* 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/frame.h')
-rw-r--r--gdb/frame.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index f4c51e0..b5f535a 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -152,9 +152,6 @@ extern void frame_saved_regs_zalloc (struct frame_info *);
targets. If FRAME_CHAIN_VALID returns zero it means that the given frame
is the outermost one and has no caller.
- If a particular target needs a different definition, then it can override
- the definition here by providing one in the tm file.
-
XXXX - both default and alternate frame_chain_valid functions are
deprecated. New code should use dummy frames and one of the
generic functions. */
@@ -166,17 +163,6 @@ extern int generic_file_frame_chain_valid (CORE_ADDR, struct frame_info *);
extern int generic_func_frame_chain_valid (CORE_ADDR, struct frame_info *);
extern void generic_save_dummy_frame_tos (CORE_ADDR sp);
-#if !defined (FRAME_CHAIN_VALID)
-#if !defined (FRAME_CHAIN_VALID_ALTERNATE)
-#define FRAME_CHAIN_VALID(chain, thisframe) file_frame_chain_valid (chain, thisframe)
-#else
-/* Use the alternate method of avoiding running up off the end of the frame
- chain or following frames back into the startup code. See the comments
- in objfiles.h. */
-#define FRAME_CHAIN_VALID(chain, thisframe) func_frame_chain_valid (chain,thisframe)
-#endif /* FRAME_CHAIN_VALID_ALTERNATE */
-#endif /* FRAME_CHAIN_VALID */
-
/* The stack frame that the user has specified for commands to act on.
Note that one cannot assume this is the address of valid data. */