Go to the previous, next section.
When GDB is configured and compiled, various macros are defined or left undefined, to control compilation when the host and target systems are the same. These macros should be defined (or left undefined) in `nm-system.h'.
ATTACH_DETACH
attach
and
detach
commands.
FETCH_INFERIOR_REGISTERS
fetch_inferior_registers
and store_inferior_registers
in
`HOST-nat.c'.
If this symbol is not defined, and `infptrace.c'
is included in this configuration, the default routines in
`infptrace.c' are used for these functions.
GET_LONGJMP_TARGET
This macro determines the target PC address that longjmp() will jump to, assuming that we have just stopped at a longjmp breakpoint. It takes a CORE_ADDR * as argument, and stores the target PC value through this pointer. It examines the current state of the machine as needed.
PROC_NAME_FMT
REGISTER_U_ADDR
USE_PROC_FS
U_REGS_OFFSET
FETCH_INFERIOR_REGISTERS
is not defined). If the default value
from `infptrace.c' is good enough, leave it undefined.
The default value means that u.u_ar0 points to the location of the
registers. I'm guessing that #define U_REGS_OFFSET 0
means that
u.u_ar0 is the location of the registers.
Go to the previous, next section.