This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] i386 Solaris sc_sp_offset definition


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,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]