darling-gdb/gdb/config/i386
Fred Fish 9391c9977e Changes from: David Mosberger-Tang <davidm@azstarnet.com>
* NEWS:  Add Alpha Linux as a new native configuration.

	* mdebugread.c (parse_symbol): When we find a malloc() symbol with
 	return type VOID, assume no debugging info is available for that
 	object file and patch the return value into VOID *.  Otherwise,
	operations requiring an implicit call to malloc() will fail.

	* infrun.c (wait_for_inferior): The criterion to detect entering a
 	sigtramp handler is now: (a) the current pc is inside a sigtramp
 	handler, (b) the previous pc is not in a sigtramp handler, and (c)
 	the current stack pointer is "inner" than the old one.  Condition
	(c) is new to avoid mistaking a return from a signal handler into
 	sigtramp as a new sigtramp invocation.

	* dcache.c (struct dcache_block): Declare addr as CORE_ADDR.  An
 	int may not be big enough to hold an address.
	(dcache_hit): Ditto.
	(dcache_peek_byte): Fix indentation.

	* configure.in (alpha-*-linux*): Add target.
	* configure: Rebuild

	* config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro.
	(SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
	(DYNAMIC_SIGTRAMP_OFFSET): Ditto.
	(SIGCONTEXT_ADDR): Ditto.
	(FRAME_PAST_SIGTRAMP_FRAME): Ditto.

	* config/alpha/alpha-linux.mh: New file.
	* config/alpha/alpha-linux.mt: Ditto.
	* config/alpha/nm-linux.h: Ditto.
	* config/alpha/tm-alphalinux.h: Ditto.
	* config/alpha/xm-alphalinux.h: Ditto.
	* config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h.
	* config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to
 	xm-alphaosf.h.
	* config/alpha/alpha-osf2.mh: Ditto.

	* blockframe.c (find_pc_partial_function): Pass PC to
 	SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems
 	that detect sigtramp code via designated code sequences (as is the
 	case for Linux/Alpha, for example).

	* config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END
	to ignore new PC argument.
	* config/m68k/tm-hp300bsd.h: Ditto.
	* config/vax/tm-vax.h: Ditto.

	* alpha-tdep.c (alpha_linux_sigtramp_offset): New function.
	(alpha_osf_skip_sigtramp_frame): Ditto.
	(push_sigtramp_desc): Ditto.
	(alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract
 	sigcontext address from frame.
	(alpha_saved_pc_after_call): When in sigtramp, use
 	alpha_frame_saved_pc() instead of read-register().
	(after_prologue): When inside a dynamically generated sigtramp
 	function, there is no prologue, so return address of first
 	instruction.
	(alpha_in_prologue): Fix typo in comment.
	(find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine
 	whether we're inside a dynamicaly generated sigtramp function.  If
 	so, create and push and appropriate procedure descriptor.
	(alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain
 	the frame past a sigtramp frame (if the current frame is indeed a
 	sigtramp function).
	(init_extra_frame_info): Don't read next frame register off of
 	stack-pointer when inside a dynamiccaly generated sigtramp.
	(alpha_pop_frame): Also unlink and destroy procedure descriptors
 	created for dynamically generated sigtramp functions.

	* alpha-nat.c: When compiling under Linux, include <asm/reg.h> and
 	<alpha/ptrace.h> instead of <machine/reg.h>
1996-05-26 21:41:40 +00:00
..
.Sanitize From: Miles Bader <miles@gnu.ai.mit.edu> 1996-04-08 05:50:30 +00:00
cygwin32.mh * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h, 1996-02-01 18:39:00 +00:00
cygwin32.mt * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h, 1996-02-01 18:39:00 +00:00
fbsd.mh * config/i386/nbsd.mh (REGEX, REGEX1): No longer define. 1994-11-29 21:47:48 +00:00
fbsd.mt * config/i386/nbsd.mh (REGEX, REGEX1): No longer define. 1994-11-29 21:47:48 +00:00
gdbserve.mt * config/i386/gdbserve.mt: New file, defs for i386 nlm stub. 1994-09-09 22:55:36 +00:00
go32.mh * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co]. 1993-04-06 05:50:54 +00:00
i386aix.mh * config/i386/{i386aix.mh, i386bsd.mh, i386lynx.mh, i386sco.mh, 1994-09-17 00:32:25 +00:00
i386aix.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
i386aout.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
i386bsd.mh * coredep.c: Renamed to core-aout.c 1996-01-11 20:08:15 +00:00
i386bsd.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
i386dgux.mh * coredep.c: Renamed to core-aout.c 1996-01-11 20:08:15 +00:00
i386lynx.mh * config/i386/{i386aix.mh, i386bsd.mh, i386lynx.mh, i386sco.mh, 1994-09-17 00:32:25 +00:00
i386lynx.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
i386m3.mh * coredep.c: Renamed to core-aout.c 1996-01-11 20:08:15 +00:00
i386m3.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
i386mach.mh New Mach stuff: 1993-10-07 20:13:08 +00:00
i386mk.mh * config/i386/{i386m3.mh,i386mk.mh}, config/mips/mipsm3.mh, 1993-10-30 13:42:43 +00:00
i386mk.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
i386nw.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
i386os9k.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
i386sco4.mh * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
i386sco5.mh * configure.in (case host): Add i386sco5 host. 1996-04-07 21:04:21 +00:00
i386sco.mh * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
i386sol2.mh * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
i386sol2.mt * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
i386v4.mh * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
i386v4.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
i386v32.mh * coredep.c: Renamed to core-aout.c 1996-01-11 20:08:15 +00:00
i386v.mh * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
i386v.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
linux.mh From Wilfried Moser <wilfried.moser@aut.alcatel.at>: 1996-01-10 18:40:24 +00:00
linux.mt * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
nbsd.mh * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o. 1996-02-21 02:00:10 +00:00
ncr3000.mh * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
ncr3000.mt * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
nm-fbsd.h * config/i386/nbsd.mh (REGEX, REGEX1): No longer define. 1994-11-29 21:47:48 +00:00
nm-gnu.h From: Miles Bader <miles@gnu.ai.mit.edu> 1996-04-08 05:50:30 +00:00
nm-i386aix.h Update FSF address. 1995-08-02 03:41:12 +00:00
nm-i386bsd.h Update FSF address. 1995-08-02 03:41:12 +00:00
nm-i386lynx.h Update FSF address. 1995-08-02 03:41:12 +00:00
nm-i386mach.h * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to 1996-02-01 02:59:15 +00:00
nm-i386sco4.h * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
nm-i386sco5.h * configure.in (case host): Add i386sco5 host. 1996-04-07 21:04:21 +00:00
nm-i386sco.h * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
nm-i386v4.h * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
nm-i386v.h * config/{*.mt, *.mh}: All target and host makefile fragment 1993-03-23 01:19:58 +00:00
nm-m3.h Update FSF address. 1995-08-02 03:41:12 +00:00
nm-nbsd.h * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out. 1996-03-15 20:12:35 +00:00
nm-ptx4.h * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to 1996-02-01 02:59:15 +00:00
nm-sun386.h * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to 1996-02-01 02:59:15 +00:00
nm-symmetry.h * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to 1996-02-01 02:59:15 +00:00
ptx4.mh * coredep.c: Renamed to core-aout.c 1996-01-11 20:08:15 +00:00
ptx4.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
ptx.mh * coredep.c: Renamed to core-aout.c 1996-01-11 20:08:15 +00:00
ptx.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
sun386.mh * Makefile.in (ANNOTATE_OBS): New definition. 1994-10-13 02:28:24 +00:00
sun386.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
symmetry.mh * coredep.c: Renamed to core-aout.c 1996-01-11 20:08:15 +00:00
symmetry.mt * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. 1995-01-17 04:53:00 +00:00
tm-cygwin32.h * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h, 1996-02-01 18:39:00 +00:00
tm-i386.h * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS 1996-01-04 07:23:24 +00:00
tm-i386aix.h * config/i386/tm-i386.h: New file containing generic i*86 target 1995-11-02 15:20:50 +00:00
tm-i386bsd.h Changes from: David Mosberger-Tang <davidm@azstarnet.com> 1996-05-26 21:41:40 +00:00
tm-i386gnu.h From: Miles Bader <miles@gnu.ai.mit.edu> 1996-04-08 05:50:30 +00:00
tm-i386lynx.h * config/i386/tm-i386.h: New file containing generic i*86 target 1995-11-02 15:20:50 +00:00
tm-i386m3.h * config/i386/tm-i386.h: New file containing generic i*86 target 1995-11-02 15:20:50 +00:00
tm-i386mk.h Update FSF address. 1995-08-02 03:41:12 +00:00
tm-i386nw.h * config/i386/tm-i386.h: New file containing generic i*86 target 1995-11-02 15:20:50 +00:00
tm-i386os9k.h * config/i386/tm-i386.h: New file containing generic i*86 target 1995-11-02 15:20:50 +00:00
tm-i386v4.h * config/i386/tm-i386.h: New file containing generic i*86 target 1995-11-02 15:20:50 +00:00
tm-i386v.h * config/i386/tm-i386.h: New file containing generic i*86 target 1995-11-02 15:20:50 +00:00
tm-nbsd.h * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out. 1996-03-15 20:12:35 +00:00
tm-ptx4.h Update FSF address. 1995-08-02 03:41:12 +00:00
tm-ptx.h * config/i386/tm-i386.h: New file containing generic i*86 target 1995-11-02 15:20:50 +00:00
tm-sun386.h * config/i386/tm-i386.h: New file containing generic i*86 target 1995-11-02 15:20:50 +00:00
tm-symmetry.h * config/i386/tm-i386.h: New file containing generic i*86 target 1995-11-02 15:20:50 +00:00
xm-cygwin32.h * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h, 1996-02-01 18:39:00 +00:00
xm-go32.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-i386aix.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-i386bsd.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-i386gnu.h From: Miles Bader <miles@gnu.ai.mit.edu> 1996-04-08 05:50:30 +00:00
xm-i386lynx.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-i386m3.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-i386mach.h * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to 1996-02-01 02:59:15 +00:00
xm-i386mk.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-i386sco.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-i386v4.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-i386v32.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-i386v.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-linux.h * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): 1996-01-31 20:35:51 +00:00
xm-nbsd.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-ptx4.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-ptx.h * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to 1996-02-01 02:59:15 +00:00
xm-sun386.h * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to 1996-02-01 02:59:15 +00:00
xm-symmetry.h * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to 1996-02-01 02:59:15 +00:00