old-cross-binutils/gdb/config/alpha/tm-alphanw.h
Stu Grossman a4b4f52058 * nlmread.c (nlm_symtab_read): Clean up a bit.
* (nlm_symfile_read):  Record bounds of main() so that backtrace
	command will know where to stop.
	* objfiles.c (objfile_relocate):  Relocate entry point/func info
	for backtrace as well.
	* objfiles.h:  Define values for invalid PCs for entry point info.
	* symfile.c (init_entry_point_info):  Initialize invalid values
	with aforementioned macros.
	* config/alpha/tm-alphanw.h:  Turn on FRAME_CHAIN_VALID_ALTERNATE
	to cause backtrace to stop when it gets back to main().
	* config/i386/tm-i386nw.h:  Ditto.
1994-06-09 06:30:38 +00:00

14 lines
387 B
C

/* GDB target definitions for Alpha running Netware. */
/* Alpha/Netware uses NT PALcode, which causes call_pal bpt to give the PC of the
actual breakpoint, not PC+4, (like the OSF1 PALcode). */
#define DECR_PC_AFTER_BREAK 0
#define VM_MIN_ADDRESS ((CORE_ADDR)0)
#include "alpha/tm-alpha.h"
/* Stop backtracing when we wander into main. */
#define FRAME_CHAIN_VALID_ALTERNATE