This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] i386 Solaris sc_sp_offset definition
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Cc: Peter dot Schauer at Regent dot E-Technik dot TU-Muenchen dot DE
- Date: Sun, 7 Jul 2002 23:30:15 +0200 (CEST)
- Subject: [PATCH] i386 Solaris sc_sp_offset definition
- References: <200207071558.RAA08904@reisser.regent.e-technik.tu-muenchen.de>
Thanks to Peter Schauer for pointing this out.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>:
* i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for
tdep->sc_sp_offset.
Index: i386-sol2-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-sol2-tdep.c,v
retrieving revision 1.5
diff -u -p -r1.5 i386-sol2-tdep.c
--- i386-sol2-tdep.c 2 Jul 2002 09:12:37 -0000 1.5
+++ i386-sol2-tdep.c 7 Jul 2002 21:28:42 -0000
@@ -46,7 +46,7 @@ i386_sol2_init_abi (struct gdbarch_info
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,