OLD | NEW |
1 /* Variables that describe the inferior process running under GDB: | 1 /* Variables that describe the inferior process running under GDB: |
2 Where it is, why it stopped, and how to step it. | 2 Where it is, why it stopped, and how to step it. |
3 | 3 |
4 Copyright (C) 1986, 1988-1996, 1998-2001, 2003-2012 Free Software | 4 Copyright (C) 1986, 1988-1996, 1998-2001, 2003-2012 Free Software |
5 Foundation, Inc. | 5 Foundation, Inc. |
6 | 6 |
7 This file is part of GDB. | 7 This file is part of GDB. |
8 | 8 |
9 This program is free software; you can redistribute it and/or modify | 9 This program is free software; you can redistribute it and/or modify |
10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
(...skipping 18 matching lines...) Expand all Loading... |
29 struct gdbarch; | 29 struct gdbarch; |
30 struct regcache; | 30 struct regcache; |
31 struct ui_out; | 31 struct ui_out; |
32 struct terminal_info; | 32 struct terminal_info; |
33 | 33 |
34 #include "ptid.h" | 34 #include "ptid.h" |
35 | 35 |
36 /* For bpstat. */ | 36 /* For bpstat. */ |
37 #include "breakpoint.h" | 37 #include "breakpoint.h" |
38 | 38 |
39 /* For enum target_signal. */ | 39 /* For enum gdb_signal. */ |
40 #include "target.h" | 40 #include "target.h" |
41 | 41 |
42 /* For struct frame_id. */ | 42 /* For struct frame_id. */ |
43 #include "frame.h" | 43 #include "frame.h" |
44 | 44 |
45 #include "progspace.h" | 45 #include "progspace.h" |
46 | 46 |
47 struct infcall_suspend_state; | 47 struct infcall_suspend_state; |
48 struct infcall_control_state; | 48 struct infcall_control_state; |
49 | 49 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 /* Are we simulating synchronous execution? This is used in async gdb | 96 /* Are we simulating synchronous execution? This is used in async gdb |
97 to implement the 'run', 'continue' etc commands, which will not | 97 to implement the 'run', 'continue' etc commands, which will not |
98 redisplay the prompt until the execution is actually over. */ | 98 redisplay the prompt until the execution is actually over. */ |
99 extern int sync_execution; | 99 extern int sync_execution; |
100 | 100 |
101 /* Inferior environment. */ | 101 /* Inferior environment. */ |
102 | 102 |
103 extern void clear_proceed_status (void); | 103 extern void clear_proceed_status (void); |
104 | 104 |
105 extern void proceed (CORE_ADDR, enum target_signal, int); | 105 extern void proceed (CORE_ADDR, enum gdb_signal, int); |
106 | 106 |
107 extern int sched_multi; | 107 extern int sched_multi; |
108 | 108 |
109 /* When set, stop the 'step' command if we enter a function which has | 109 /* When set, stop the 'step' command if we enter a function which has |
110 no line number information. The normal behavior is that we step | 110 no line number information. The normal behavior is that we step |
111 over such function. */ | 111 over such function. */ |
112 extern int step_stop_if_no_debug; | 112 extern int step_stop_if_no_debug; |
113 | 113 |
114 /* If set, the inferior should be controlled in non-stop mode. In | 114 /* If set, the inferior should be controlled in non-stop mode. In |
115 this mode, each thread is controlled independently. Execution | 115 this mode, each thread is controlled independently. Execution |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 CORE_ADDR addr); | 147 CORE_ADDR addr); |
148 | 148 |
149 extern void wait_for_inferior (void); | 149 extern void wait_for_inferior (void); |
150 | 150 |
151 extern void prepare_for_detach (void); | 151 extern void prepare_for_detach (void); |
152 | 152 |
153 extern void fetch_inferior_event (void *); | 153 extern void fetch_inferior_event (void *); |
154 | 154 |
155 extern void init_wait_for_inferior (void); | 155 extern void init_wait_for_inferior (void); |
156 | 156 |
157 extern void close_exec_file (void); | |
158 | |
159 extern void reopen_exec_file (void); | 157 extern void reopen_exec_file (void); |
160 | 158 |
161 /* The `resume' routine should only be called in special circumstances. | 159 /* The `resume' routine should only be called in special circumstances. |
162 Normally, use `proceed', which handles a lot of bookkeeping. */ | 160 Normally, use `proceed', which handles a lot of bookkeeping. */ |
163 | 161 |
164 extern void resume (int, enum target_signal); | 162 extern void resume (int, enum gdb_signal); |
165 | 163 |
166 extern ptid_t user_visible_resume_ptid (int step); | 164 extern ptid_t user_visible_resume_ptid (int step); |
167 | 165 |
168 extern void insert_step_resume_breakpoint_at_sal (struct gdbarch *, | 166 extern void insert_step_resume_breakpoint_at_sal (struct gdbarch *, |
169 struct symtab_and_line , | 167 struct symtab_and_line , |
170 struct frame_id); | 168 struct frame_id); |
171 | 169 |
172 /* From misc files */ | 170 /* From misc files */ |
173 | 171 |
174 extern void default_print_registers_info (struct gdbarch *gdbarch, | 172 extern void default_print_registers_info (struct gdbarch *gdbarch, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 extern void post_create_inferior (struct target_ops *, int); | 239 extern void post_create_inferior (struct target_ops *, int); |
242 | 240 |
243 extern void attach_command (char *, int); | 241 extern void attach_command (char *, int); |
244 | 242 |
245 extern char *get_inferior_args (void); | 243 extern char *get_inferior_args (void); |
246 | 244 |
247 extern void set_inferior_args (char *); | 245 extern void set_inferior_args (char *); |
248 | 246 |
249 extern void set_inferior_args_vector (int, char **); | 247 extern void set_inferior_args_vector (int, char **); |
250 | 248 |
| 249 extern void all_registers_info (char *, int); |
| 250 |
251 extern void registers_info (char *, int); | 251 extern void registers_info (char *, int); |
252 | 252 |
253 extern void nexti_command (char *, int); | 253 extern void nexti_command (char *, int); |
254 | 254 |
255 extern void stepi_command (char *, int); | 255 extern void stepi_command (char *, int); |
256 | 256 |
257 extern void continue_1 (int all_threads); | 257 extern void continue_1 (int all_threads); |
258 | 258 |
259 extern void continue_command (char *, int); | 259 extern void continue_command (char *, int); |
260 | 260 |
261 extern void interrupt_target_command (char *args, int from_tty); | 261 extern void interrupt_target_command (char *args, int from_tty); |
262 | 262 |
263 extern void interrupt_target_1 (int all_threads); | 263 extern void interrupt_target_1 (int all_threads); |
264 | 264 |
265 extern void delete_longjmp_breakpoint_cleanup (void *arg); | 265 extern void delete_longjmp_breakpoint_cleanup (void *arg); |
266 | 266 |
267 extern void detach_command (char *, int); | 267 extern void detach_command (char *, int); |
268 | 268 |
269 extern void notice_new_inferior (ptid_t, int, int); | 269 extern void notice_new_inferior (ptid_t, int, int); |
270 | 270 |
271 extern struct value *get_return_value (struct type *func_type, | 271 extern struct value *get_return_value (struct value *function, |
272 struct type *value_type); | 272 struct type *value_type); |
273 | 273 |
274 /* Address at which inferior stopped. */ | 274 /* Address at which inferior stopped. */ |
275 | 275 |
276 extern CORE_ADDR stop_pc; | 276 extern CORE_ADDR stop_pc; |
277 | 277 |
278 /* Nonzero if stopped due to completion of a stack dummy routine. */ | 278 /* Nonzero if stopped due to completion of a stack dummy routine. */ |
279 | 279 |
280 extern enum stop_stack_kind stop_stack_dummy; | 280 extern enum stop_stack_kind stop_stack_dummy; |
281 | 281 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 | 349 |
350 /* True if we are debugging displaced stepping. */ | 350 /* True if we are debugging displaced stepping. */ |
351 extern int debug_displaced; | 351 extern int debug_displaced; |
352 | 352 |
353 /* Dump LEN bytes at BUF in hex to FILE, followed by a newline. */ | 353 /* Dump LEN bytes at BUF in hex to FILE, followed by a newline. */ |
354 void displaced_step_dump_bytes (struct ui_file *file, | 354 void displaced_step_dump_bytes (struct ui_file *file, |
355 const gdb_byte *buf, size_t len); | 355 const gdb_byte *buf, size_t len); |
356 | 356 |
357 struct displaced_step_closure *get_displaced_step_closure_by_addr (CORE_ADDR add
r); | 357 struct displaced_step_closure *get_displaced_step_closure_by_addr (CORE_ADDR add
r); |
358 | 358 |
error: old chunk mismatch |
None
OLD | NEW |