* arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
authorDaniel Jacobowitz <drow@false.org>
Sun, 5 Jan 2003 01:39:56 +0000 (01:39 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 5 Jan 2003 01:39:56 +0000 (01:39 +0000)
commit516034834f1bcade05e3dcd85e9c7c8b899adbd6
tree7dfa0fc3ff5a3e7da16a50ff725fac9a561d7ec8
parent95f90d2595724210a3f27456baeb6eed02ece2bc
* arm-tdep.c (arm_frame_chain_valid):  Remove unnecessary test.
* d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
* hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.

* blockframe.c: Include "gdbcmd.h" and "command.h".
(backtrace_below_main): New variable.
(file_frame_chain_valid, func_frame_chain_valid)
(nonnull_frame_chain_valid, generic_file_frame_chain_valid)
(generic_func_frame_chain_valid): Remove functions.
(frame_chain_valid, do_flush_frames_sfunc): New functions.
(_initialize_blockframe): New function.
* Makefile.in (blockframe.o): Update dependencies.
* frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
comment.  Call frame_chain_valid ().
* frame.h: Remove old prototypes.  Add prototype for
frame_chain_valid and update comments to match.
* gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
Remove old comment.
* gdbarch.h: Regenerated.
* gdbarch.c: Regenerated.

Plus updates to all other targets not to provide a FRAME_CHAIN_VALID.
40 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/alpha-tdep.c
gdb/arm-tdep.c
gdb/avr-tdep.c
gdb/blockframe.c
gdb/config/m32r/tm-m32r.h
gdb/config/m68k/tm-apollo68b.h
gdb/config/m68k/tm-m68kv4.h
gdb/config/m68k/tm-monitor.h
gdb/config/m68k/tm-os68k.h
gdb/config/m68k/tm-vx68.h
gdb/config/mn10200/tm-mn10200.h
gdb/config/sparc/tm-sparclite.h
gdb/cris-tdep.c
gdb/d10v-tdep.c
gdb/frame.c
gdb/frame.h
gdb/frv-tdep.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/h8300-tdep.c
gdb/hppa-tdep.c
gdb/i386-tdep.c
gdb/ia64-tdep.c
gdb/m68hc11-tdep.c
gdb/m68k-tdep.c
gdb/mcore-tdep.c
gdb/mips-tdep.c
gdb/mn10300-tdep.c
gdb/ns32k-tdep.c
gdb/ppcnbsd-tdep.c
gdb/rs6000-tdep.c
gdb/s390-tdep.c
gdb/sh-tdep.c
gdb/sparc-tdep.c
gdb/v850-tdep.c
gdb/vax-tdep.c
gdb/x86-64-tdep.c