From 516034834f1bcade05e3dcd85e9c7c8b899adbd6 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 5 Jan 2003 01:39:56 +0000 Subject: * 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. --- gdb/ppcnbsd-tdep.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gdb/ppcnbsd-tdep.c') diff --git a/gdb/ppcnbsd-tdep.c b/gdb/ppcnbsd-tdep.c index ba863d0..21ab858 100644 --- a/gdb/ppcnbsd-tdep.c +++ b/gdb/ppcnbsd-tdep.c @@ -208,9 +208,6 @@ static void ppcnbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { - /* Stop at main. */ - set_gdbarch_frame_chain_valid (gdbarch, generic_func_frame_chain_valid); - set_gdbarch_pc_in_sigtramp (gdbarch, ppcnbsd_pc_in_sigtramp); set_solib_svr4_fetch_link_map_offsets (gdbarch, -- cgit v1.1