|
|
1.1 ! root 1: /* Variables that describe the inferior process running under GDB: ! 2: Where it is, why it stopped, and how to step it. ! 3: Copyright (C) 1986 Free Software Foundation, Inc. ! 4: ! 5: GDB is distributed in the hope that it will be useful, but WITHOUT ANY ! 6: WARRANTY. No author or distributor accepts responsibility to anyone ! 7: for the consequences of using it or for whether it serves any ! 8: particular purpose or works at all, unless he says so in writing. ! 9: Refer to the GDB General Public License for full details. ! 10: ! 11: Everyone is granted permission to copy, modify and redistribute GDB, ! 12: but only under the conditions described in the GDB General Public ! 13: License. A copy of this license is supposed to have been given to you ! 14: along with GDB so you can know your rights and responsibilities. It ! 15: should be in a file named COPYING. Among other things, the copyright ! 16: notice and this notice must be preserved on all copies. ! 17: ! 18: In other words, go ahead and share GDB, but don't try to stop ! 19: anyone else from sharing it farther. Help stamp out software hoarding! ! 20: */ ! 21: ! 22: /* File name for default use for standard in/out in the inferior. */ ! 23: ! 24: extern char *inferior_io_terminal; ! 25: ! 26: /* Pid of our debugged inferior, or 0 if no inferior now. */ ! 27: ! 28: extern int inferior_pid; ! 29: ! 30: /* Nonzero if debugging a remote machine via a serial link or ethernet. */ ! 31: ! 32: extern int remote_debugging; ! 33: ! 34: /* Last signal that the inferior received (why it stopped). */ ! 35: ! 36: extern int stop_signal; ! 37: ! 38: /* Address at which inferior stopped. */ ! 39: ! 40: extern CORE_ADDR stop_pc; ! 41: ! 42: /* Stack frame when program stopped. */ ! 43: ! 44: extern FRAME stop_frame; ! 45: ! 46: /* Number of breakpoint it stopped at, or 0 if none. */ ! 47: ! 48: extern int stop_breakpoint; ! 49: ! 50: /* Nonzero if stopped due to a step command. */ ! 51: ! 52: extern int stop_step; ! 53: ! 54: /* Nonzero if stopped due to completion of a stack dummy routine. */ ! 55: ! 56: extern int stop_stack_dummy; ! 57: ! 58: /* Range to single step within. ! 59: If this is nonzero, respond to a single-step signal ! 60: by continuing to step if the pc is in this range. */ ! 61: ! 62: extern CORE_ADDR step_range_start; /* Inclusive */ ! 63: extern CORE_ADDR step_range_end; /* Exclusive */ ! 64: ! 65: /* Stack frame address as of when stepping command was issued. ! 66: This is how we know when we step into a subroutine call, ! 67: and how to set the frame for the breakpoint used to step out. */ ! 68: ! 69: extern CORE_ADDR step_frame; ! 70: ! 71: /* 1 means step over all subroutine calls. ! 72: -1 means step over calls to undebuggable functions. */ ! 73: ! 74: extern int step_over_calls; ! 75: ! 76: /* If stepping, nonzero means step count is > 1 ! 77: so don't print frame next time inferior stops ! 78: if it stops due to stepping. */ ! 79: ! 80: extern int step_multi; ! 81: ! 82: /* Save register contents here when about to pop a stack dummy frame. */ ! 83: ! 84: extern char stop_registers[REGISTER_BYTES]; ! 85: ! 86: /* Nonzero if pc has been changed by the debugger ! 87: since the inferior stopped. */ ! 88: ! 89: extern int pc_changed;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.