2003-04-08 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 8 Apr 2003 21:56:10 +0000 (21:56 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 8 Apr 2003 21:56:10 +0000 (21:56 +0000)
commit4443bd8373866e76ec700a8bb3f5df8a50ba3714
tree9b8a010feedc37eff9c2dcde41f59f484c9f0418
parenta66624bc3e854775dc9857ce23ead38b741f9dbe
2003-04-08  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
(d10v_gdbarch_init): Do not set saved_pc_after_call.
* infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
conditionally, use frame_pc_unwind as an alternative.  Add
comments.
* arch-utils.c (init_frame_pc_default): Only call
SAVED_PC_AFTER_CALL when available.
gdb/ChangeLog
gdb/arch-utils.c
gdb/d10v-tdep.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/infrun.c