mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
a4b4f52058
* (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.
15 lines
387 B
C
15 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
|