From 1d34db41516b2dc86ae743d28b9034b5673035ef Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 7 Jul 2002 21:31:06 +0000 Subject: [PATCH] From Peter Schauer : * i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for tdep->sc_sp_offset. --- gdb/ChangeLog | 6 ++++++ gdb/i386-sol2-tdep.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f1b366bb28f..2515ed1948c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-07-07 Mark Kettenis + + From Peter Schauer : + * i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for + tdep->sc_sp_offset. + 2002-07-05 Daniel Jacobowitz Fix PR gdb/595, gdb/602 diff --git a/gdb/i386-sol2-tdep.c b/gdb/i386-sol2-tdep.c index 023e446fa83..ba01111a5d3 100644 --- a/gdb/i386-sol2-tdep.c +++ b/gdb/i386-sol2-tdep.c @@ -46,7 +46,7 @@ i386_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) set_gdbarch_pc_in_sigtramp (gdbarch, i386_sol2_pc_in_sigtramp); tdep->sigcontext_addr = i386bsd_sigcontext_addr; tdep->sc_pc_offset = 36 + 14 * 4; - tdep->sc_sp_offset = 36 + 7 * 4; + tdep->sc_sp_offset = 36 + 17 * 4; /* Assume that the prototype flag can be trusted. */ set_gdbarch_coerce_float_to_double (gdbarch, -- 2.30.2