> Hello, > > Per hints in my last few posts, the architecture methods such as: > PC_IN_SIGTRAMP > PC_IN_DUMMY_FRAME > been made obsolete by the frame method: > get_frame_type > Consequently, this patch deprecates PC_IN_SIGTRAMP. > > I should note that architecture code is certainly free to have a local pc_in_sigtramp like function, its just that it isn't needed by core-GDB, and hence doesn't need to be in the architecture vector. > > Ref: [wip/rfc] signal trampoline frames > http://sources.redhat.com/ml/gdb-patches/2004-03/msg00353.html > which will provide a simpler way of implementing signal trampolines. > > Ref: [patch/rfc] Use frame_type for sigtramp test in infrun.c > http://sources.redhat.com/ml/gdb-patches/2004-03/msg00357.html > which eliminates the last few PC_IN_SIGTRAMP calls (well at least for non-legacy architectures). I've checked this in. For reference I've attached the final patch (I missed a few updates :-(). Andrew > Index: doc/ChangeLog > 2004-03-16 Andrew Cagney > > * gdbint.texinfo (Target Architecture Definition): Deprecate > references to PC_IN_SIGTRAMP. > > 2004-03-16 Andrew Cagney > > * gdbarch.sh (PC_IN_SIGTRAMP): Change to a function with > predicate, deprecate. > * gdbarch.h, gdbarch.c: Re-generate. > * ppc-linux-tdep.c: Update comment. > * m68k-tdep.c (m68k_sigtramp_frame_sniffer): Update. > * infrun.c (pc_in_sigtramp): Update. > * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Update. > * i386-tdep.c (i386_sigtramp_frame_sniffer): Update. > * i386-linux-tdep.c: Update. > * frv-tdep.c (frv_sigtramp_frame_sniffer): Update. > * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update. > * breakpoint.c (bpstat_what): Update. > * blockframe.c (find_pc_partial_function): Update. > * arm-tdep.c (arm_sigtramp_unwind_sniffer): Update. > * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Update. > * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Update. >