darling-gdb/gdb/config
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
..
a29k import gdb-1999-08-30 snapshot 1999-08-31 01:14:27 +00:00
alpha 2000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com> 2000-03-03 02:18:26 +00:00
arc import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
arm Update copyright date in file. 2000-02-28 20:51:08 +00:00
convex import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
d10v Stop GDB mis-aligning the stack when doing inferior function calls. 2000-02-09 04:46:47 +00:00
d30v import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
fr30 Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control. 2000-02-22 19:18:53 +00:00
gould import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
h8300 import gdb-1999-12-13 snapshot 1999-12-14 01:06:04 +00:00
h8500 import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
i386 2000-03-04 Mark Kettenis <kettenis@gnu.org> 2000-03-04 23:37:33 +00:00
i960 import gdb-1999-11-08 snapshot 1999-11-09 01:23:30 +00:00
m32r Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control. 2000-02-22 19:18:53 +00:00
m68k import gdb-2000-01-31 snapshot 2000-02-01 03:19:29 +00:00
m88k import gdb-2000-01-31 snapshot 2000-02-01 03:19:29 +00:00
mcore import gdb-1999-12-13 snapshot 1999-12-14 01:06:04 +00:00
mips * configure.tgt: Add arm, mips, sh wince targets. 2000-02-24 03:31:45 +00:00
mn10200 import gdb-1999-12-13 snapshot 1999-12-14 01:06:04 +00:00
mn10300 import gdb-2000-02-01 snapshot 2000-02-02 00:21:19 +00:00
none import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
ns32k import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
pa Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control. 2000-02-22 19:18:53 +00:00
powerpc Shared library, function calling fixes for GNU/Linux PPC port. 2000-02-24 23:06:48 +00:00
pyr import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
romp import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
rs6000 Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control. 2000-02-22 19:18:53 +00:00
sh * configure.tgt: Add arm, mips, sh wince targets. 2000-02-24 03:31:45 +00:00
sparc Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control. 2000-02-22 19:18:53 +00:00
tahoe import gdb-1999-08-30 snapshot 1999-08-31 01:14:27 +00:00
tic80 import gdb-1999-08-30 snapshot 1999-08-31 01:14:27 +00:00
v850 import gdb-1999-12-13 snapshot 1999-12-14 01:06:04 +00:00
vax import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
w65 import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
z8k import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
nm-empty.h Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
nm-gnu.h import gdb-1999-12-21 snapshot 1999-12-22 21:45:38 +00:00
nm-linux.h import gdb-1999-12-21 snapshot 1999-12-22 21:45:38 +00:00
nm-lynx.h import gdb-1999-12-21 snapshot 1999-12-22 21:45:38 +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-12-13 snapshot 1999-12-14 01:06:04 +00:00
nm-sysv4.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-linux.h import gdb-1999-12-06 snapshot 1999-12-07 03:56:43 +00:00
tm-lynx.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-nbsd.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-sunos.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-sysv4.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
tm-vxworks.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-aix4.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-lynx.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-mpw.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
xm-nbsd.h import gdb-1999-12-13 snapshot 1999-12-14 01:06:04 +00:00
xm-sysv4.h import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00