2003-05-03 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sat, 3 May 2003 19:39:23 +0000 (19:39 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 3 May 2003 19:39:23 +0000 (19:39 +0000)
commit7043d8dc5edd566142805331c3caad571f9aef2f
tree569a445a897e50f81ae5cd31e4ea08124dc614de
parent92bf2b80f20268d032bb7f55103514324ff939b9
2003-05-03  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add
comments noteing that it replaces the old FIX_CALL_DUMMY code.
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (d10v_push_dummy_code): New function.
(d10v_gdbarch_init): Set push_dummy_code.
* infcall.c (legacy_push_dummy_code): New function.
(generic_push_dummy_code): New function.
(push_dummy_code): New function.
(call_function_by_hand): Call push_dummy_code.  Pass bp_addr,
instead of dummy_addr, to push_dummy_call.  Move call to
generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION
switch.
* sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code.

2003-05-03  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Document
push_dummy_code.  Add cross references.
gdb/ChangeLog
gdb/d10v-tdep.c
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/infcall.c
gdb/sparc-tdep.c