2002-12-01 Andrew Cagney <ac131313@redhat.com>

* gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Rename
	PC_IN_CALL_DUMMY.  Change to predicate.  Always allow call.
	* gdbarch.h, gdbarch.c: Re-generate.
	* config/sparc/tm-sparc.h, config/sparc/tm-sp64.h: Update.
	* config/mn10200/tm-mn10200.h, config/h8500/tm-h8500.h: Update.
	* config/pa/tm-hppa.h, frame.h: Update.
	* x86-64-tdep.c, vax-tdep.c, sparc-tdep.c: Update.
	* s390-tdep.c, ns32k-tdep.c, mn10300-tdep.c: Update.
	* m68k-tdep.c, i386-tdep.c, frv-tdep.c: Update.
	* cris-tdep.c, alpha-tdep.c: Update.
	* frame.c (set_unwind_by_pc, create_new_frame): Use either
	DEPRECATED_PC_IN_CALL_DUMMY or pc_in_dummy_frame.
	(get_prev_frame): Ditto.

Index: doc/ChangeLog
2002-12-01  Andrew Cagney  <ac131313@redhat.com>

	* gdbint.texinfo (Target Architecture Definition): Delete
	PC_IN_CALL_DUMMY.
This commit is contained in:
Andrew Cagney
2002-12-01 19:07:16 +00:00
parent 27bdea3da4
commit ae45cd1682
44 changed files with 262 additions and 201 deletions

View File

@@ -1683,9 +1683,9 @@ breakpoint_inserted_here_p (CORE_ADDR pc)
}
/* Return nonzero if FRAME is a dummy frame. We can't use
PC_IN_CALL_DUMMY because figuring out the saved SP would take too
much time, at least using get_saved_register on the 68k. This
means that for this function to work right a port must use the
DEPRECATED_PC_IN_CALL_DUMMY because figuring out the saved SP would
take too much time, at least using get_saved_register on the 68k.
This means that for this function to work right a port must use the
bp_call_dummy breakpoint. */
int