diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-06-18 17:31:34 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-06-18 17:31:34 +0000 |
commit | a9b8d892d692b8420b1803ee92b2de4fe9fdaf5f (patch) | |
tree | c2a29aed1d0e59605cdae98a432e32f3db987ed2 /gdb/dicos-tdep.c | |
parent | e2e4d78b2216962789c8a982d3e889ba6933321a (diff) | |
download | gdb-a9b8d892d692b8420b1803ee92b2de4fe9fdaf5f.zip gdb-a9b8d892d692b8420b1803ee92b2de4fe9fdaf5f.tar.gz gdb-a9b8d892d692b8420b1803ee92b2de4fe9fdaf5f.tar.bz2 |
gdb/
Switch i386 and derived targets to ON_STACK.
* amd64-dicos-tdep.c (amd64_dicos_push_dummy_code): Remove.
(amd64_dicos_init_abi): Remove its installment.
* dicos-tdep.c (dicos_init_abi): Remove the
set_gdbarch_call_dummy_location call. Update the comment here.
* i386-dicos-tdep.c (i386_dicos_push_dummy_code): Remove.
(i386_dicos_init_abi): Remove its installment.
* i386-tdep.c (i386_push_dummy_code): New function.
(i386_gdbarch_init): Call set_gdbarch_call_dummy_location, install
i386_push_dummy_code.
Diffstat (limited to 'gdb/dicos-tdep.c')
-rw-r--r-- | gdb/dicos-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dicos-tdep.c b/gdb/dicos-tdep.c index 5763561..aac253b 100644 --- a/gdb/dicos-tdep.c +++ b/gdb/dicos-tdep.c @@ -43,8 +43,8 @@ dicos_init_abi (struct gdbarch *gdbarch) /* There's no (standard definition of) entry point or a guaranteed text location with a symbol where to place the call dummy, so we - put it on the stack. */ - set_gdbarch_call_dummy_location (gdbarch, ON_STACK); + need it on the stack. Rely on i386_gdbarch_init used also for + amd64 to set up ON_STACK inferior calls. */ /* DICOS rewinds the PC itself. */ set_gdbarch_decr_pc_after_break (gdbarch, 0); |