old-cross-binutils/gdb/config
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
..
a29k Update FSF address. 1995-08-02 03:41:12 +00:00
alpha Changes from: David Mosberger-Tang <davidm@azstarnet.com> 1996-05-26 21:41:40 +00:00
arc Update FSF address. 1995-08-02 03:41:12 +00:00
arm * arm-xdep.c: Move native-specific code to here from arm-tdep.c. 1996-04-05 04:32:27 +00:00
h8300 * coffread.c (coff_symtab_read): Handle C_LABEL symbols like 1996-05-15 14:28:34 +00:00
h8500 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt, 1996-01-05 20:05:36 +00:00
i386 Changes from: David Mosberger-Tang <davidm@azstarnet.com> 1996-05-26 21:41:40 +00:00
i960 * corelow.c (add_to_thread_list): Make sure reg_sect is non-null 1996-04-17 00:48:09 +00:00
m68k Changes from: David Mosberger-Tang <davidm@azstarnet.com> 1996-05-26 21:41:40 +00:00
m88k * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used. 1996-01-30 02:51:56 +00:00
mips * configure.in: Check for setpgid function. 1996-04-05 04:22:08 +00:00
none Update FSF address. 1995-08-02 03:41:12 +00:00
ns32k * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o. 1996-02-21 02:00:10 +00:00
pa * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software 1996-02-01 00:40:59 +00:00
powerpc Add bieginning of Solaris/PowerPC support 1996-04-30 17:23:41 +00:00
rs6000 oops, forgot the sanitize files for the aix4* changes 1996-01-11 18:07:03 +00:00
sh move stub.c up to main dir 1996-05-17 20:44:15 +00:00
sparc * config/sparc/sparclite.mt: Add the sparc simulator. 1996-05-20 03:25:57 +00:00
vax Changes from: David Mosberger-Tang <davidm@azstarnet.com> 1996-05-26 21:41:40 +00:00
w65 Update FSF address. 1995-08-02 03:41:12 +00:00
z8k Update FSF address. 1995-08-02 03:41:12 +00:00
.Sanitize From: Miles Bader <miles@gnu.ai.mit.edu> 1996-04-08 05:50:30 +00:00
nm-empty.h * configure.in (config/nm-empty.h): If cross only, use instead 1994-09-04 23:16:22 +00:00
nm-gnu.h From: Miles Bader <miles@gnu.ai.mit.edu> 1996-04-08 05:50:30 +00:00
nm-lynx.h * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move 1993-11-17 07:56:28 +00:00
nm-m3.h * config/nm-m3.h (ATTACH_NO_WAIT): Define. 1996-04-12 06:15:16 +00:00
nm-nbsd.h * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined. 1996-02-21 01:52:37 +00:00
nm-sysv4.h Update FSF address. 1995-08-02 03:41:12 +00:00
tm-lynx.h Update FSF address. 1995-08-02 03:41:12 +00:00
tm-magic.h * magic.h: Renamed to gmagic.h to avoid <magic.h> conflict. 1995-11-28 19:33:22 +00:00
tm-nbsd.h * config/nm-nbsd.h (link_object, lo_name, etc): Move to here 1996-03-06 04:01:02 +00:00
tm-sunos.h Update FSF address. 1995-08-02 03:41:12 +00:00
tm-sysv4.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-aix4.h Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com> 1996-01-11 00:16:56 +00:00
xm-lynx.h Update FSF address. 1995-08-02 03:41:12 +00:00
xm-mpw.h * config/xm-mpw.h: New file, all-Mac host support. 1995-10-27 05:19:11 +00:00
xm-nbsd.h * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined. 1996-02-21 01:52:37 +00:00
xm-sysv4.h Update FSF address. 1995-08-02 03:41:12 +00:00