diff options
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index d99c4a62848..151c2c2b25c 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -4,19 +4,19 @@ This file is part of GDB. -GDB is free software; you can redistribute it and/or modify +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 1, or (at your option) -any later version. +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. -GDB is distributed in the hope that it will be useful, +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with GDB; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* For bpstat. */ #include "breakpoint.h" @@ -87,6 +87,13 @@ extern void init_wait_for_inferior (); extern void close_exec_file (); extern void reopen_exec_file (); +/* From infcmd.c */ +void attach_command ( +#ifdef __STDC__ + char *arg, int from_tty +#endif + ); + /* Last signal that the inferior received (why it stopped). */ extern int stop_signal; @@ -145,6 +152,13 @@ extern int step_over_calls; extern int step_multi; +/* Nonzero means expecting a trap and caller will handle it themselves. + It is used after attach, due to attaching to a process; + when running in the shell before the child program has been exec'd; + and when running some kinds of remote stuff (FIXME?). */ + +int stop_soon_quietly; + /* Nonzero if proceed is being used for a "finish" command or a similar situation when stop_registers should be saved. */ |