| OLD | NEW |
| 1 /* Memory-access and commands for "inferior" process, for GDB. | 1 /* Memory-access and commands for "inferior" process, for GDB. |
| 2 | 2 |
| 3 Copyright (C) 1986-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1986-2013 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 This file is part of GDB. | 5 This file is part of GDB. |
| 6 | 6 |
| 7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
| 8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
| 9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
| 10 (at your option) any later version. | 10 (at your option) any later version. |
| 11 | 11 |
| 12 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
| 13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 GNU General Public License for more details. | 15 GNU General Public License for more details. |
| 16 | 16 |
| 17 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
| 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 19 |
| 20 #include "defs.h" | 20 #include "defs.h" |
| 21 #include "arch-utils.h" | 21 #include "arch-utils.h" |
| 22 #include <signal.h> | 22 #include <signal.h> |
| 23 #include "gdb_string.h" | 23 #include <string.h> |
| 24 #include "symtab.h" | 24 #include "symtab.h" |
| 25 #include "gdbtypes.h" | 25 #include "gdbtypes.h" |
| 26 #include "frame.h" | 26 #include "frame.h" |
| 27 #include "inferior.h" | 27 #include "inferior.h" |
| 28 #include "environ.h" | 28 #include "environ.h" |
| 29 #include "value.h" | 29 #include "value.h" |
| 30 #include "gdbcmd.h" | 30 #include "gdbcmd.h" |
| 31 #include "symfile.h" | 31 #include "symfile.h" |
| 32 #include "gdbcore.h" | 32 #include "gdbcore.h" |
| 33 #include "target.h" | 33 #include "target.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 49 #include "user-regs.h" | 49 #include "user-regs.h" |
| 50 #include "exceptions.h" | 50 #include "exceptions.h" |
| 51 #include "cli/cli-decode.h" | 51 #include "cli/cli-decode.h" |
| 52 #include "gdbthread.h" | 52 #include "gdbthread.h" |
| 53 #include "valprint.h" | 53 #include "valprint.h" |
| 54 #include "inline-frame.h" | 54 #include "inline-frame.h" |
| 55 #include "tracepoint.h" | 55 #include "tracepoint.h" |
| 56 #include "inf-loop.h" | 56 #include "inf-loop.h" |
| 57 #include "continuations.h" | 57 #include "continuations.h" |
| 58 #include "linespec.h" | 58 #include "linespec.h" |
| 59 | 59 #include "cli/cli-utils.h" |
| 60 /* Functions exported for general use, in inferior.h: */ | |
| 61 | |
| 62 void all_registers_info (char *, int); | |
| 63 | |
| 64 void registers_info (char *, int); | |
| 65 | |
| 66 void nexti_command (char *, int); | |
| 67 | |
| 68 void stepi_command (char *, int); | |
| 69 | |
| 70 void continue_command (char *, int); | |
| 71 | |
| 72 void interrupt_target_command (char *args, int from_tty); | |
| 73 | 60 |
| 74 /* Local functions: */ | 61 /* Local functions: */ |
| 75 | 62 |
| 76 static void nofp_registers_info (char *, int); | 63 static void nofp_registers_info (char *, int); |
| 77 | 64 |
| 78 static void print_return_value (struct value *function, | 65 static void print_return_value (struct value *function, |
| 79 struct type *value_type); | 66 struct type *value_type); |
| 80 | 67 |
| 81 static void until_next_command (int); | 68 static void until_next_command (int); |
| 82 | 69 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 Since various parts of infrun.c test this to see whether there is a program | 131 Since various parts of infrun.c test this to see whether there is a program |
| 145 being debugged it should be nonzero (currently 3 is used) for remote | 132 being debugged it should be nonzero (currently 3 is used) for remote |
| 146 debugging. */ | 133 debugging. */ |
| 147 | 134 |
| 148 ptid_t inferior_ptid; | 135 ptid_t inferior_ptid; |
| 149 | 136 |
| 150 /* Address at which inferior stopped. */ | 137 /* Address at which inferior stopped. */ |
| 151 | 138 |
| 152 CORE_ADDR stop_pc; | 139 CORE_ADDR stop_pc; |
| 153 | 140 |
| 154 /* Flag indicating that a command has proceeded the inferior past the | |
| 155 current breakpoint. */ | |
| 156 | |
| 157 int breakpoint_proceeded; | |
| 158 | |
| 159 /* Nonzero if stopped due to completion of a stack dummy routine. */ | 141 /* Nonzero if stopped due to completion of a stack dummy routine. */ |
| 160 | 142 |
| 161 enum stop_stack_kind stop_stack_dummy; | 143 enum stop_stack_kind stop_stack_dummy; |
| 162 | 144 |
| 163 /* Nonzero if stopped due to a random (unexpected) signal in inferior | 145 /* Nonzero if stopped due to a random (unexpected) signal in inferior |
| 164 process. */ | 146 process. */ |
error: old chunk mismatch |
None
| OLD | NEW |