9391c9977e
* 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> |
||
---|---|---|
.. | ||
.Sanitize | ||
3b1.mh | ||
3b1.mt | ||
altos.mh | ||
altos.mt | ||
apollo68b.mh | ||
apollo68b.mt | ||
apollo68v.mh | ||
cisco.mt | ||
delta68.mh | ||
delta68.mt | ||
dpx2.mh | ||
dpx2.mt | ||
es1800.mt | ||
hp300bsd.mh | ||
hp300bsd.mt | ||
hp300hpux.mh | ||
hp300hpux.mt | ||
isi.mh | ||
isi.mt | ||
m68klynx.mh | ||
m68klynx.mt | ||
m68kv4.mh | ||
m68kv4.mt | ||
monitor.mt | ||
nbsd.mh | ||
news.mh | ||
news.mt | ||
news1000.mh | ||
nm-apollo68b.h | ||
nm-apollo68v.h | ||
nm-delta68.h | ||
nm-dpx2.h | ||
nm-hp300bsd.h | ||
nm-hp300hpux.h | ||
nm-m68klynx.h | ||
nm-nbsd.h | ||
nm-news.h | ||
nm-sun2.h | ||
nm-sun3.h | ||
nm-sysv4.h | ||
os68k.mt | ||
st2000.mt | ||
sun2os3.mh | ||
sun2os3.mt | ||
sun2os4.mh | ||
sun2os4.mt | ||
sun3os3.mh | ||
sun3os3.mt | ||
sun3os4.mh | ||
sun3os4.mt | ||
tm-3b1.h | ||
tm-altos.h | ||
tm-apollo68b.h | ||
tm-cisco.h | ||
tm-delta68.h | ||
tm-dpx2.h | ||
tm-es1800.h | ||
tm-hp300bsd.h | ||
tm-hp300hpux.h | ||
tm-isi.h | ||
tm-m68k.h | ||
tm-m68klynx.h | ||
tm-m68kv4.h | ||
tm-mac.h | ||
tm-monitor.h | ||
tm-nbsd.h | ||
tm-news.h | ||
tm-os68k.h | ||
tm-st2000.h | ||
tm-sun2.h | ||
tm-sun2os4.h | ||
tm-sun3.h | ||
tm-sun3os4.h | ||
tm-vx68.h | ||
vxworks68.mt | ||
xm-3b1.h | ||
xm-altos.h | ||
xm-apollo68b.h | ||
xm-apollo68v.h | ||
xm-delta68.h | ||
xm-dpx2.h | ||
xm-hp300bsd.h | ||
xm-hp300hpux.h | ||
xm-isi.h | ||
xm-m68k.h | ||
xm-m68klynx.h | ||
xm-m68kv4.h | ||
xm-mpw.h | ||
xm-nbsd.h | ||
xm-news.h | ||
xm-news1000.h | ||
xm-sun2.h | ||
xm-sun3.h | ||
xm-sun3os4.h |