old-cross-binutils/gdb/config/i386
Mark Kettenis 45a816d93e 2000-03-04 Mark Kettenis <kettenis@gnu.org>
Fix support for Linux/i386 signal trampolines.  The old approach
	didn't work for Linux 2.2 and beyond, and didn't work with recent
	versions of the GNU C library.
	* i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
	LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines.
	(linux_rt_sigtramp_code): New variable.
	(LINUX_RT_SIGTRAMP_LEN): New define.
	(i386_linux_rt_sigtramp_start): New function.  Detect start of
	signal trampolines for RT signals.
	(i386_linux_sigtramp): Removed.
	(i386_linux_in_sigtramp): New function.
	(i386_linux_sigcontext_addr): New function.  Recognize the names
	of the signal tranmpolines used by recent versions of the GNU C
	library, and add support for RT signals.
        (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):  New
	defines.  Moved here from config/i386/tm-linux.h.
	(i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
	Reimplement in terms of i386_linux_sigcontext_addr.
	* config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
        (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
        Moved to i386-tdep.c.
	(IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
2000-03-04 23:37:33 +00:00
..
cygwin.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
cygwin.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
embed.mt import gdb-1999-08-16 snapshot 1999-08-16 19:57:19 +00:00
fbsd.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
fbsd.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
gdbserve.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
go32.mh import gdb-19990422 snapshot 1999-04-26 18:34:20 +00:00
go32.mt import gdb-19990422 snapshot 1999-04-27 01:26:45 +00:00
i386aix.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386aix.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386aout.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386bsd.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386bsd.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386dgux.mh import gdb-2000-01-31 snapshot 2000-02-01 03:19:29 +00:00
i386gnu.mh 2000-02-26 Mark Kettenis <kettenis@gnu.org> 2000-02-26 13:46:56 +00:00
i386gnu.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386lynx.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386lynx.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386m3.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386m3.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386mach.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386mk.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386mk.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386nw.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386os9k.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386sco.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386sco4.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386sco5.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386sco5.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386sol2.mh import gdb-2000-01-31 snapshot 2000-02-01 03:19:29 +00:00
i386sol2.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386v.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386v.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386v4.mh import gdb-2000-01-31 snapshot 2000-02-01 03:19:29 +00:00
i386v4.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386v32.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
i386v42mp.mh import gdb-2000-01-31 snapshot 2000-02-01 03:19:29 +00:00
i386v42mp.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
linux.mh import gdb-1999-12-21 snapshot 1999-12-22 21:45:38 +00:00
linux.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
nbsd.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
nbsd.mt 2000-02-10 J.T. Conklin <jtc@redback.com> 2000-02-13 01:06:58 +00:00
ncr3000.mh import gdb-2000-01-31 snapshot 2000-02-01 03:19:29 +00:00
ncr3000.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
nm-fbsd.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-gnu.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-go32.h From Eli. Bring go32 target up-to-date with recent GDB i386 changes. 2000-02-29 08:16:40 +00:00
nm-i386aix.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-i386bsd.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-i386lynx.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-i386mach.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-i386sco.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-i386sco4.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-i386sco5.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-i386sol2.h import gdb-1999-11-08 snapshot 1999-11-09 01:23:30 +00:00
nm-i386v.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-i386v4.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-i386v42mp.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-linux.h import gdb-1999-12-06 snapshot 1999-12-07 03:56:43 +00:00
nm-m3.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-nbsd.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-ptx4.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-sun386.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
nm-symmetry.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
ptx.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
ptx.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
ptx4.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
ptx4.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
sun386.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
sun386.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
symmetry.mh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
symmetry.mt Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
tm-cygwin.h import gdb-1999-12-21 snapshot 1999-12-22 21:45:38 +00:00
tm-fbsd.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-go32.h From Eli. Bring go32 target up-to-date with recent GDB i386 changes. 2000-02-29 08:16:40 +00:00
tm-i386.h From J.T.: Convert i386 to updated frame_saved_regs. 2000-02-29 13:28:24 +00:00
tm-i386aix.h Attempt to fix AIX/i386 target. 2000-03-02 15:44:27 +00:00
tm-i386bsd.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-i386gnu.h import gdb-2000-01-31 snapshot 2000-02-01 03:19:29 +00:00
tm-i386lynx.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-i386m3.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-i386mk.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-i386nw.h import gdb-1999-12-13 snapshot 1999-12-14 01:06:04 +00:00
tm-i386os9k.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-i386sco5.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-i386sol2.h From Peter Schauer: Define Solaris/x86 MERGEPID. 2000-02-29 13:38:55 +00:00
tm-i386v.h import gdb-1999-12-06 snapshot 1999-12-07 03:56:43 +00:00
tm-i386v4.h import gdb-1999-12-13 snapshot 1999-12-14 01:06:04 +00:00
tm-i386v42mp.h import gdb-2000-01-10 snapshot 2000-01-11 03:07:37 +00:00
tm-linux.h 2000-03-04 Mark Kettenis <kettenis@gnu.org> 2000-03-04 23:37:33 +00:00
tm-nbsd.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-ptx.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-ptx4.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-sun386.h import gdb-1999-08-30 snapshot 1999-08-31 01:14:27 +00:00
tm-symmetry.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-vxworks.h import gdb-1999-07-19 snapshot 1999-07-19 23:30:11 +00:00
vxworks.mt import gdb-1999-07-19 snapshot 1999-07-19 23:30:11 +00:00
xm-cygwin.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-go32.h From Eli. Bring go32 target up-to-date with recent GDB i386 changes. 2000-02-29 08:16:40 +00:00
xm-i386aix.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-i386bsd.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-i386gnu.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-i386lynx.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-i386m3.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-i386mach.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-i386mk.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-i386sco.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-i386v.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-i386v4.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-i386v32.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-linux.h import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
xm-nbsd.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-ptx.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-ptx4.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-sun386.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-symmetry.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-windows.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00