GDB (xrefs)
Loading...
Searching...
No Matches
/tmp/gdb-13.1/gdb/target-delegates.c
Go to the documentation of this file.
1/* *INDENT-OFF* */ /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */
2/* vi:set ro: */
3
4/* Boilerplate target methods for GDB
5
6 Copyright (C) 2013-2023 Free Software Foundation, Inc.
7
8 This file is part of GDB.
9
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3 of the License, or
13 (at your option) any later version.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>. */
22
23/* To regenerate this file, run:
24 ./make-target-delegates.py
25*/
26
27struct dummy_target : public target_ops
28{
29 const target_info &info () const override;
30
31 strata stratum () const override;
32
33 void post_attach (int arg0) override;
34 void detach (inferior *arg0, int arg1) override;
35 void disconnect (const char *arg0, int arg1) override;
36 void resume (ptid_t arg0, int arg1, enum gdb_signal arg2) override;
37 void commit_resumed () override;
38 ptid_t wait (ptid_t arg0, struct target_waitstatus *arg1, target_wait_flags arg2) override;
39 void fetch_registers (struct regcache *arg0, int arg1) override;
40 void store_registers (struct regcache *arg0, int arg1) override;
41 void prepare_to_store (struct regcache *arg0) override;
42 void files_info () override;
43 int insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
44 int remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) override;
45 bool stopped_by_sw_breakpoint () override;
46 bool supports_stopped_by_sw_breakpoint () override;
47 bool stopped_by_hw_breakpoint () override;
48 bool supports_stopped_by_hw_breakpoint () override;
49 int can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2) override;
50 int ranged_break_num_registers () override;
51 int insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
52 int remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
53 int remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
54 int insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
55 int insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
56 int remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
57 bool stopped_by_watchpoint () override;
58 bool have_steppable_watchpoint () override;
59 bool stopped_data_address (CORE_ADDR *arg0) override;
60 bool watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2) override;
61 int region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1) override;
62 bool can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) override;
63 int masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1) override;
64 int can_do_single_step () override;
65 bool supports_terminal_ours () override;
66 void terminal_init () override;
67 void terminal_inferior () override;
68 void terminal_save_inferior () override;
69 void terminal_ours_for_output () override;
70 void terminal_ours () override;
71 void terminal_info (const char *arg0, int arg1) override;
72 void kill () override;
73 void load (const char *arg0, int arg1) override;
74 int insert_fork_catchpoint (int arg0) override;
75 int remove_fork_catchpoint (int arg0) override;
76 int insert_vfork_catchpoint (int arg0) override;
77 int remove_vfork_catchpoint (int arg0) override;
78 void follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4) override;
79 int insert_exec_catchpoint (int arg0) override;
80 int remove_exec_catchpoint (int arg0) override;
81 void follow_exec (inferior *arg0, ptid_t arg1, const char *arg2) override;
82 int set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3) override;
83 void mourn_inferior () override;
84 void pass_signals (gdb::array_view<const unsigned char> arg0) override;
85 void program_signals (gdb::array_view<const unsigned char> arg0) override;
86 bool thread_alive (ptid_t arg0) override;
87 void update_thread_list () override;
88 std::string pid_to_str (ptid_t arg0) override;
89 const char *extra_thread_info (thread_info *arg0) override;
90 const char *thread_name (thread_info *arg0) override;
91 thread_info *thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2) override;
92 gdb::byte_vector thread_info_to_thread_handle (struct thread_info *arg0) override;
93 void stop (ptid_t arg0) override;
94 void interrupt () override;
95 void pass_ctrlc () override;
96 void rcmd (const char *arg0, struct ui_file *arg1) override;
97 const char *pid_to_exec_file (int arg0) override;
98 void log_command (const char *arg0) override;
99 const target_section_table *get_section_table () override;
101 bool attach_no_wait () override;
102 bool can_async_p () override;
103 bool is_async_p () override;
104 void async (bool arg0) override;
105 int async_wait_fd () override;
106 bool has_pending_events () override;
107 void thread_events (int arg0) override;
108 bool supports_non_stop () override;
109 bool always_non_stop_p () override;
110 int find_memory_regions (find_memory_region_ftype arg0, void *arg1) override;
111 gdb::unique_xmalloc_ptr<char> make_corefile_notes (bfd *arg0, int *arg1) override;
112 gdb_byte *get_bookmark (const char *arg0, int arg1) override;
113 void goto_bookmark (const gdb_byte *arg0, int arg1) override;
114 CORE_ADDR get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) override;
115 enum target_xfer_status xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6) override;
116 ULONGEST get_memory_xfer_limit () override;
117 std::vector<mem_region> memory_map () override;
118 void flash_erase (ULONGEST arg0, LONGEST arg1) override;
119 void flash_done () override;
120 const struct target_desc *read_description () override;
121 ptid_t get_ada_task_ptid (long arg0, ULONGEST arg1) override;
122 int auxv_parse (const gdb_byte **arg0, const gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) override;
123 int search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) override;
124 bool can_execute_reverse () override;
126 bool supports_multi_process () override;
127 bool supports_enable_disable_tracepoint () override;
128 bool supports_disable_randomization () override;
129 bool supports_string_tracing () override;
131 bool supports_dumpcore () override;
132 void dumpcore (const char *arg0) override;
133 bool can_run_breakpoint_commands () override;
134 struct gdbarch *thread_architecture (ptid_t arg0) override;
135 struct address_space *thread_address_space (ptid_t arg0) override;
136 bool filesystem_is_local () override;
137 void trace_init () override;
138 void download_tracepoint (struct bp_location *arg0) override;
139 bool can_download_tracepoint () override;
140 void download_trace_state_variable (const trace_state_variable &arg0) override;
141 void enable_tracepoint (struct bp_location *arg0) override;
142 void disable_tracepoint (struct bp_location *arg0) override;
143 void trace_set_readonly_regions () override;
144 void trace_start () override;
145 int get_trace_status (struct trace_status *arg0) override;
146 void get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1) override;
147 void trace_stop () override;
148 int trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) override;
149 bool get_trace_state_variable_value (int arg0, LONGEST *arg1) override;
150 int save_trace_data (const char *arg0) override;
151 int upload_tracepoints (struct uploaded_tp **arg0) override;
152 int upload_trace_state_variables (struct uploaded_tsv **arg0) override;
153 LONGEST get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) override;
154 int get_min_fast_tracepoint_insn_len () override;
155 void set_disconnected_tracing (int arg0) override;
156 void set_circular_trace_buffer (int arg0) override;
157 void set_trace_buffer_size (LONGEST arg0) override;
158 bool set_trace_notes (const char *arg0, const char *arg1, const char *arg2) override;
159 int core_of_thread (ptid_t arg0) override;
160 int verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) override;
161 bool get_tib_address (ptid_t arg0, CORE_ADDR *arg1) override;
162 void set_permissions () override;
163 bool static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) override;
164 std::vector<static_tracepoint_marker> static_tracepoint_markers_by_strid (const char *arg0) override;
166 bool use_agent (bool arg0) override;
167 bool can_use_agent () override;
168 struct btrace_target_info *enable_btrace (thread_info *arg0, const struct btrace_config *arg1) override;
169 void disable_btrace (struct btrace_target_info *arg0) override;
170 void teardown_btrace (struct btrace_target_info *arg0) override;
171 enum btrace_error read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) override;
172 const struct btrace_config *btrace_conf (const struct btrace_target_info *arg0) override;
173 enum record_method record_method (ptid_t arg0) override;
174 void stop_recording () override;
175 void info_record () override;
176 void save_record (const char *arg0) override;
177 bool supports_delete_record () override;
178 void delete_record () override;
179 bool record_is_replaying (ptid_t arg0) override;
180 bool record_will_replay (ptid_t arg0, int arg1) override;
181 void record_stop_replaying () override;
182 void goto_record_begin () override;
183 void goto_record_end () override;
184 void goto_record (ULONGEST arg0) override;
185 void insn_history (int arg0, gdb_disassembly_flags arg1) override;
186 void insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) override;
187 void insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) override;
188 void call_history (int arg0, record_print_flags arg1) override;
189 void call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) override;
190 void call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) override;
191 bool augmented_libraries_svr4_read () override;
192 const struct frame_unwind *get_unwinder () override;
193 const struct frame_unwind *get_tailcall_unwinder () override;
194 void prepare_to_generate_core () override;
195 void done_generating_core () override;
196 bool supports_memory_tagging () override;
197 bool fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3) override;
198 bool store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3) override;
199};
200
202{
203 const target_info &info () const override;
204
205 strata stratum () const override;
206
207 void post_attach (int arg0) override;
208 void detach (inferior *arg0, int arg1) override;
209 void disconnect (const char *arg0, int arg1) override;
210 void resume (ptid_t arg0, int arg1, enum gdb_signal arg2) override;
211 void commit_resumed () override;
212 ptid_t wait (ptid_t arg0, struct target_waitstatus *arg1, target_wait_flags arg2) override;
213 void fetch_registers (struct regcache *arg0, int arg1) override;
214 void store_registers (struct regcache *arg0, int arg1) override;
215 void prepare_to_store (struct regcache *arg0) override;
216 void files_info () override;
217 int insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
218 int remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) override;
219 bool stopped_by_sw_breakpoint () override;
220 bool supports_stopped_by_sw_breakpoint () override;
221 bool stopped_by_hw_breakpoint () override;
222 bool supports_stopped_by_hw_breakpoint () override;
223 int can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2) override;
224 int ranged_break_num_registers () override;
225 int insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
226 int remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
227 int remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
228 int insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
229 int insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
230 int remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
231 bool stopped_by_watchpoint () override;
232 bool have_steppable_watchpoint () override;
233 bool stopped_data_address (CORE_ADDR *arg0) override;
234 bool watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2) override;
235 int region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1) override;
236 bool can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) override;
237 int masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1) override;
238 int can_do_single_step () override;
239 bool supports_terminal_ours () override;
240 void terminal_init () override;
241 void terminal_inferior () override;
242 void terminal_save_inferior () override;
243 void terminal_ours_for_output () override;
244 void terminal_ours () override;
245 void terminal_info (const char *arg0, int arg1) override;
246 void kill () override;
247 void load (const char *arg0, int arg1) override;
248 int insert_fork_catchpoint (int arg0) override;
249 int remove_fork_catchpoint (int arg0) override;
250 int insert_vfork_catchpoint (int arg0) override;
251 int remove_vfork_catchpoint (int arg0) override;
252 void follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4) override;
253 int insert_exec_catchpoint (int arg0) override;
254 int remove_exec_catchpoint (int arg0) override;
255 void follow_exec (inferior *arg0, ptid_t arg1, const char *arg2) override;
256 int set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3) override;
257 void mourn_inferior () override;
258 void pass_signals (gdb::array_view<const unsigned char> arg0) override;
259 void program_signals (gdb::array_view<const unsigned char> arg0) override;
260 bool thread_alive (ptid_t arg0) override;
261 void update_thread_list () override;
262 std::string pid_to_str (ptid_t arg0) override;
263 const char *extra_thread_info (thread_info *arg0) override;
264 const char *thread_name (thread_info *arg0) override;
265 thread_info *thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2) override;
266 gdb::byte_vector thread_info_to_thread_handle (struct thread_info *arg0) override;
267 void stop (ptid_t arg0) override;
268 void interrupt () override;
269 void pass_ctrlc () override;
270 void rcmd (const char *arg0, struct ui_file *arg1) override;
271 const char *pid_to_exec_file (int arg0) override;
272 void log_command (const char *arg0) override;
273 const target_section_table *get_section_table () override;
275 bool attach_no_wait () override;
276 bool can_async_p () override;
277 bool is_async_p () override;
278 void async (bool arg0) override;
279 int async_wait_fd () override;
280 bool has_pending_events () override;
281 void thread_events (int arg0) override;
282 bool supports_non_stop () override;
283 bool always_non_stop_p () override;
284 int find_memory_regions (find_memory_region_ftype arg0, void *arg1) override;
285 gdb::unique_xmalloc_ptr<char> make_corefile_notes (bfd *arg0, int *arg1) override;
286 gdb_byte *get_bookmark (const char *arg0, int arg1) override;
287 void goto_bookmark (const gdb_byte *arg0, int arg1) override;
288 CORE_ADDR get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) override;
289 enum target_xfer_status xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6) override;
290 ULONGEST get_memory_xfer_limit () override;
291 std::vector<mem_region> memory_map () override;
292 void flash_erase (ULONGEST arg0, LONGEST arg1) override;
293 void flash_done () override;
294 const struct target_desc *read_description () override;
295 ptid_t get_ada_task_ptid (long arg0, ULONGEST arg1) override;
296 int auxv_parse (const gdb_byte **arg0, const gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) override;
297 int search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) override;
298 bool can_execute_reverse () override;
300 bool supports_multi_process () override;
301 bool supports_enable_disable_tracepoint () override;
302 bool supports_disable_randomization () override;
303 bool supports_string_tracing () override;
305 bool supports_dumpcore () override;
306 void dumpcore (const char *arg0) override;
307 bool can_run_breakpoint_commands () override;
308 struct gdbarch *thread_architecture (ptid_t arg0) override;
309 struct address_space *thread_address_space (ptid_t arg0) override;
310 bool filesystem_is_local () override;
311 void trace_init () override;
312 void download_tracepoint (struct bp_location *arg0) override;
313 bool can_download_tracepoint () override;
314 void download_trace_state_variable (const trace_state_variable &arg0) override;
315 void enable_tracepoint (struct bp_location *arg0) override;
316 void disable_tracepoint (struct bp_location *arg0) override;
317 void trace_set_readonly_regions () override;
318 void trace_start () override;
319 int get_trace_status (struct trace_status *arg0) override;
320 void get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1) override;
321 void trace_stop () override;
322 int trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) override;
323 bool get_trace_state_variable_value (int arg0, LONGEST *arg1) override;
324 int save_trace_data (const char *arg0) override;
325 int upload_tracepoints (struct uploaded_tp **arg0) override;
326 int upload_trace_state_variables (struct uploaded_tsv **arg0) override;
327 LONGEST get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) override;
328 int get_min_fast_tracepoint_insn_len () override;
329 void set_disconnected_tracing (int arg0) override;
330 void set_circular_trace_buffer (int arg0) override;
331 void set_trace_buffer_size (LONGEST arg0) override;
332 bool set_trace_notes (const char *arg0, const char *arg1, const char *arg2) override;
333 int core_of_thread (ptid_t arg0) override;
334 int verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) override;
335 bool get_tib_address (ptid_t arg0, CORE_ADDR *arg1) override;
336 void set_permissions () override;
337 bool static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) override;
338 std::vector<static_tracepoint_marker> static_tracepoint_markers_by_strid (const char *arg0) override;
340 bool use_agent (bool arg0) override;
341 bool can_use_agent () override;
342 struct btrace_target_info *enable_btrace (thread_info *arg0, const struct btrace_config *arg1) override;
343 void disable_btrace (struct btrace_target_info *arg0) override;
344 void teardown_btrace (struct btrace_target_info *arg0) override;
345 enum btrace_error read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) override;
346 const struct btrace_config *btrace_conf (const struct btrace_target_info *arg0) override;
347 enum record_method record_method (ptid_t arg0) override;
348 void stop_recording () override;
349 void info_record () override;
350 void save_record (const char *arg0) override;
351 bool supports_delete_record () override;
352 void delete_record () override;
353 bool record_is_replaying (ptid_t arg0) override;
354 bool record_will_replay (ptid_t arg0, int arg1) override;
355 void record_stop_replaying () override;
356 void goto_record_begin () override;
357 void goto_record_end () override;
358 void goto_record (ULONGEST arg0) override;
359 void insn_history (int arg0, gdb_disassembly_flags arg1) override;
360 void insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) override;
361 void insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) override;
362 void call_history (int arg0, record_print_flags arg1) override;
363 void call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) override;
364 void call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) override;
365 bool augmented_libraries_svr4_read () override;
366 const struct frame_unwind *get_unwinder () override;
367 const struct frame_unwind *get_tailcall_unwinder () override;
368 void prepare_to_generate_core () override;
369 void done_generating_core () override;
370 bool supports_memory_tagging () override;
371 bool fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3) override;
372 bool store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3) override;
373};
374
375void
377{
378 this->beneath ()->post_attach (arg0);
379}
380
381void
383{
384}
385
386void
388{
389 gdb_printf (gdb_stdlog, "-> %s->post_attach (...)\n", this->beneath ()->shortname ());
390 this->beneath ()->post_attach (arg0);
391 gdb_printf (gdb_stdlog, "<- %s->post_attach (", this->beneath ()->shortname ());
393 gdb_puts (")\n", gdb_stdlog);
394}
395
396void
398{
399 this->beneath ()->detach (arg0, arg1);
400}
401
402void
404{
405}
406
407void
409{
410 gdb_printf (gdb_stdlog, "-> %s->detach (...)\n", this->beneath ()->shortname ());
411 this->beneath ()->detach (arg0, arg1);
412 gdb_printf (gdb_stdlog, "<- %s->detach (", this->beneath ()->shortname ());
414 gdb_puts (", ", gdb_stdlog);
416 gdb_puts (")\n", gdb_stdlog);
417}
418
419void
420target_ops::disconnect (const char *arg0, int arg1)
421{
422 this->beneath ()->disconnect (arg0, arg1);
423}
424
425void
426dummy_target::disconnect (const char *arg0, int arg1)
427{
428 tcomplain ();
429}
430
431void
432debug_target::disconnect (const char *arg0, int arg1)
433{
434 gdb_printf (gdb_stdlog, "-> %s->disconnect (...)\n", this->beneath ()->shortname ());
435 this->beneath ()->disconnect (arg0, arg1);
436 gdb_printf (gdb_stdlog, "<- %s->disconnect (", this->beneath ()->shortname ());
438 gdb_puts (", ", gdb_stdlog);
440 gdb_puts (")\n", gdb_stdlog);
441}
442
443void
444target_ops::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
445{
446 this->beneath ()->resume (arg0, arg1, arg2);
447}
448
449void
450dummy_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
451{
452 noprocess ();
453}
454
455void
456debug_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
457{
458 gdb_printf (gdb_stdlog, "-> %s->resume (...)\n", this->beneath ()->shortname ());
459 this->beneath ()->resume (arg0, arg1, arg2);
460 gdb_printf (gdb_stdlog, "<- %s->resume (", this->beneath ()->shortname ());
462 gdb_puts (", ", gdb_stdlog);
464 gdb_puts (", ", gdb_stdlog);
466 gdb_puts (")\n", gdb_stdlog);
467}
468
469void
471{
472 this->beneath ()->commit_resumed ();
473}
474
475void
477{
478}
479
480void
482{
483 gdb_printf (gdb_stdlog, "-> %s->commit_resumed (...)\n", this->beneath ()->shortname ());
484 this->beneath ()->commit_resumed ();
485 gdb_printf (gdb_stdlog, "<- %s->commit_resumed (", this->beneath ()->shortname ());
486 gdb_puts (")\n", gdb_stdlog);
487}
488
489ptid_t
490target_ops::wait (ptid_t arg0, struct target_waitstatus *arg1, target_wait_flags arg2)
491{
492 return this->beneath ()->wait (arg0, arg1, arg2);
493}
494
495ptid_t
496dummy_target::wait (ptid_t arg0, struct target_waitstatus *arg1, target_wait_flags arg2)
497{
498 return default_target_wait (this, arg0, arg1, arg2);
499}
500
501ptid_t
502debug_target::wait (ptid_t arg0, struct target_waitstatus *arg1, target_wait_flags arg2)
503{
504 ptid_t result;
505 gdb_printf (gdb_stdlog, "-> %s->wait (...)\n", this->beneath ()->shortname ());
506 result = this->beneath ()->wait (arg0, arg1, arg2);
507 gdb_printf (gdb_stdlog, "<- %s->wait (", this->beneath ()->shortname ());
509 gdb_puts (", ", gdb_stdlog);
511 gdb_puts (", ", gdb_stdlog);
513 gdb_puts (") = ", gdb_stdlog);
515 gdb_puts ("\n", gdb_stdlog);
516 return result;
517}
518
519void
520target_ops::fetch_registers (struct regcache *arg0, int arg1)
521{
522 this->beneath ()->fetch_registers (arg0, arg1);
523}
524
525void
527{
528}
529
530void
532{
533 gdb_printf (gdb_stdlog, "-> %s->fetch_registers (...)\n", this->beneath ()->shortname ());
534 this->beneath ()->fetch_registers (arg0, arg1);
535 gdb_printf (gdb_stdlog, "<- %s->fetch_registers (", this->beneath ()->shortname ());
537 gdb_puts (", ", gdb_stdlog);
539 gdb_puts (")\n", gdb_stdlog);
540}
541
542void
543target_ops::store_registers (struct regcache *arg0, int arg1)
544{
545 this->beneath ()->store_registers (arg0, arg1);
546}
547
548void
550{
551 noprocess ();
552}
553
554void
556{
557 gdb_printf (gdb_stdlog, "-> %s->store_registers (...)\n", this->beneath ()->shortname ());
558 this->beneath ()->store_registers (arg0, arg1);
559 gdb_printf (gdb_stdlog, "<- %s->store_registers (", this->beneath ()->shortname ());
561 gdb_puts (", ", gdb_stdlog);
563 gdb_puts (")\n", gdb_stdlog);
564}
565
566void
568{
569 this->beneath ()->prepare_to_store (arg0);
570}
571
572void
574{
575 noprocess ();
576}
577
578void
580{
581 gdb_printf (gdb_stdlog, "-> %s->prepare_to_store (...)\n", this->beneath ()->shortname ());
582 this->beneath ()->prepare_to_store (arg0);
583 gdb_printf (gdb_stdlog, "<- %s->prepare_to_store (", this->beneath ()->shortname ());
585 gdb_puts (")\n", gdb_stdlog);
586}
587
588void
590{
591 this->beneath ()->files_info ();
592}
593
594void
596{
597}
598
599void
601{
602 gdb_printf (gdb_stdlog, "-> %s->files_info (...)\n", this->beneath ()->shortname ());
603 this->beneath ()->files_info ();
604 gdb_printf (gdb_stdlog, "<- %s->files_info (", this->beneath ()->shortname ());
605 gdb_puts (")\n", gdb_stdlog);
606}
607
608int
610{
611 return this->beneath ()->insert_breakpoint (arg0, arg1);
612}
613
614int
616{
617 noprocess ();
618}
619
620int
622{
623 int result;
624 gdb_printf (gdb_stdlog, "-> %s->insert_breakpoint (...)\n", this->beneath ()->shortname ());
625 result = this->beneath ()->insert_breakpoint (arg0, arg1);
626 gdb_printf (gdb_stdlog, "<- %s->insert_breakpoint (", this->beneath ()->shortname ());
628 gdb_puts (", ", gdb_stdlog);
630 gdb_puts (") = ", gdb_stdlog);
631 target_debug_print_int (result);
632 gdb_puts ("\n", gdb_stdlog);
633 return result;
634}
635
636int
638{
639 return this->beneath ()->remove_breakpoint (arg0, arg1, arg2);
640}
641
642int
644{
645 noprocess ();
646}
647
648int
650{
651 int result;
652 gdb_printf (gdb_stdlog, "-> %s->remove_breakpoint (...)\n", this->beneath ()->shortname ());
653 result = this->beneath ()->remove_breakpoint (arg0, arg1, arg2);
654 gdb_printf (gdb_stdlog, "<- %s->remove_breakpoint (", this->beneath ()->shortname ());
656 gdb_puts (", ", gdb_stdlog);
658 gdb_puts (", ", gdb_stdlog);
660 gdb_puts (") = ", gdb_stdlog);
661 target_debug_print_int (result);
662 gdb_puts ("\n", gdb_stdlog);
663 return result;
664}
665
666bool
668{
669 return this->beneath ()->stopped_by_sw_breakpoint ();
670}
671
672bool
674{
675 return false;
676}
677
678bool
680{
681 bool result;
682 gdb_printf (gdb_stdlog, "-> %s->stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
683 result = this->beneath ()->stopped_by_sw_breakpoint ();
684 gdb_printf (gdb_stdlog, "<- %s->stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
685 gdb_puts (") = ", gdb_stdlog);
687 gdb_puts ("\n", gdb_stdlog);
688 return result;
689}
690
691bool
693{
694 return this->beneath ()->supports_stopped_by_sw_breakpoint ();
695}
696
697bool
699{
700 return false;
701}
702
703bool
705{
706 bool result;
707 gdb_printf (gdb_stdlog, "-> %s->supports_stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
708 result = this->beneath ()->supports_stopped_by_sw_breakpoint ();
709 gdb_printf (gdb_stdlog, "<- %s->supports_stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
710 gdb_puts (") = ", gdb_stdlog);
712 gdb_puts ("\n", gdb_stdlog);
713 return result;
714}
715
716bool
718{
719 return this->beneath ()->stopped_by_hw_breakpoint ();
720}
721
722bool
724{
725 return false;
726}
727
728bool
730{
731 bool result;
732 gdb_printf (gdb_stdlog, "-> %s->stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
733 result = this->beneath ()->stopped_by_hw_breakpoint ();
734 gdb_printf (gdb_stdlog, "<- %s->stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
735 gdb_puts (") = ", gdb_stdlog);
737 gdb_puts ("\n", gdb_stdlog);
738 return result;
739}
740
741bool
743{
744 return this->beneath ()->supports_stopped_by_hw_breakpoint ();
745}
746
747bool
749{
750 return false;
751}
752
753bool
755{
756 bool result;
757 gdb_printf (gdb_stdlog, "-> %s->supports_stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
758 result = this->beneath ()->supports_stopped_by_hw_breakpoint ();
759 gdb_printf (gdb_stdlog, "<- %s->supports_stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
760 gdb_puts (") = ", gdb_stdlog);
762 gdb_puts ("\n", gdb_stdlog);
763 return result;
764}
765
766int
767target_ops::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
768{
769 return this->beneath ()->can_use_hw_breakpoint (arg0, arg1, arg2);
770}
771
772int
773dummy_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
774{
775 return 0;
776}
777
778int
779debug_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
780{
781 int result;
782 gdb_printf (gdb_stdlog, "-> %s->can_use_hw_breakpoint (...)\n", this->beneath ()->shortname ());
783 result = this->beneath ()->can_use_hw_breakpoint (arg0, arg1, arg2);
784 gdb_printf (gdb_stdlog, "<- %s->can_use_hw_breakpoint (", this->beneath ()->shortname ());
786 gdb_puts (", ", gdb_stdlog);
788 gdb_puts (", ", gdb_stdlog);
790 gdb_puts (") = ", gdb_stdlog);
791 target_debug_print_int (result);
792 gdb_puts ("\n", gdb_stdlog);
793 return result;
794}
795
796int
798{
799 return this->beneath ()->ranged_break_num_registers ();
800}
801
802int
804{
805 return -1;
806}
807
808int
810{
811 int result;
812 gdb_printf (gdb_stdlog, "-> %s->ranged_break_num_registers (...)\n", this->beneath ()->shortname ());
813 result = this->beneath ()->ranged_break_num_registers ();
814 gdb_printf (gdb_stdlog, "<- %s->ranged_break_num_registers (", this->beneath ()->shortname ());
815 gdb_puts (") = ", gdb_stdlog);
816 target_debug_print_int (result);
817 gdb_puts ("\n", gdb_stdlog);
818 return result;
819}
820
821int
823{
824 return this->beneath ()->insert_hw_breakpoint (arg0, arg1);
825}
826
827int
829{
830 return -1;
831}
832
833int
835{
836 int result;
837 gdb_printf (gdb_stdlog, "-> %s->insert_hw_breakpoint (...)\n", this->beneath ()->shortname ());
838 result = this->beneath ()->insert_hw_breakpoint (arg0, arg1);
839 gdb_printf (gdb_stdlog, "<- %s->insert_hw_breakpoint (", this->beneath ()->shortname ());
841 gdb_puts (", ", gdb_stdlog);
843 gdb_puts (") = ", gdb_stdlog);
844 target_debug_print_int (result);
845 gdb_puts ("\n", gdb_stdlog);
846 return result;
847}
848
849int
851{
852 return this->beneath ()->remove_hw_breakpoint (arg0, arg1);
853}
854
855int
857{
858 return -1;
859}
860
861int
863{
864 int result;
865 gdb_printf (gdb_stdlog, "-> %s->remove_hw_breakpoint (...)\n", this->beneath ()->shortname ());
866 result = this->beneath ()->remove_hw_breakpoint (arg0, arg1);
867 gdb_printf (gdb_stdlog, "<- %s->remove_hw_breakpoint (", this->beneath ()->shortname ());
869 gdb_puts (", ", gdb_stdlog);
871 gdb_puts (") = ", gdb_stdlog);
872 target_debug_print_int (result);
873 gdb_puts ("\n", gdb_stdlog);
874 return result;
875}
876
877int
878target_ops::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
879{
880 return this->beneath ()->remove_watchpoint (arg0, arg1, arg2, arg3);
881}
882
883int
884dummy_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
885{
886 return -1;
887}
888
889int
890debug_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
891{
892 int result;
893 gdb_printf (gdb_stdlog, "-> %s->remove_watchpoint (...)\n", this->beneath ()->shortname ());
894 result = this->beneath ()->remove_watchpoint (arg0, arg1, arg2, arg3);
895 gdb_printf (gdb_stdlog, "<- %s->remove_watchpoint (", this->beneath ()->shortname ());
897 gdb_puts (", ", gdb_stdlog);
899 gdb_puts (", ", gdb_stdlog);
901 gdb_puts (", ", gdb_stdlog);
903 gdb_puts (") = ", gdb_stdlog);
904 target_debug_print_int (result);
905 gdb_puts ("\n", gdb_stdlog);
906 return result;
907}
908
909int
910target_ops::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
911{
912 return this->beneath ()->insert_watchpoint (arg0, arg1, arg2, arg3);
913}
914
915int
916dummy_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
917{
918 return -1;
919}
920
921int
922debug_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
923{
924 int result;
925 gdb_printf (gdb_stdlog, "-> %s->insert_watchpoint (...)\n", this->beneath ()->shortname ());
926 result = this->beneath ()->insert_watchpoint (arg0, arg1, arg2, arg3);
927 gdb_printf (gdb_stdlog, "<- %s->insert_watchpoint (", this->beneath ()->shortname ());
929 gdb_puts (", ", gdb_stdlog);
931 gdb_puts (", ", gdb_stdlog);
933 gdb_puts (", ", gdb_stdlog);
935 gdb_puts (") = ", gdb_stdlog);
936 target_debug_print_int (result);
937 gdb_puts ("\n", gdb_stdlog);
938 return result;
939}
940
941int
942target_ops::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
943{
944 return this->beneath ()->insert_mask_watchpoint (arg0, arg1, arg2);
945}
946
947int
948dummy_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
949{
950 return 1;
951}
952
953int
954debug_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
955{
956 int result;
957 gdb_printf (gdb_stdlog, "-> %s->insert_mask_watchpoint (...)\n", this->beneath ()->shortname ());
958 result = this->beneath ()->insert_mask_watchpoint (arg0, arg1, arg2);
959 gdb_printf (gdb_stdlog, "<- %s->insert_mask_watchpoint (", this->beneath ()->shortname ());
961 gdb_puts (", ", gdb_stdlog);
963 gdb_puts (", ", gdb_stdlog);
965 gdb_puts (") = ", gdb_stdlog);
966 target_debug_print_int (result);
967 gdb_puts ("\n", gdb_stdlog);
968 return result;
969}
970
971int
972target_ops::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
973{
974 return this->beneath ()->remove_mask_watchpoint (arg0, arg1, arg2);
975}
976
977int
978dummy_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
979{
980 return 1;
981}
982
983int
984debug_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
985{
986 int result;
987 gdb_printf (gdb_stdlog, "-> %s->remove_mask_watchpoint (...)\n", this->beneath ()->shortname ());
988 result = this->beneath ()->remove_mask_watchpoint (arg0, arg1, arg2);
989 gdb_printf (gdb_stdlog, "<- %s->remove_mask_watchpoint (", this->beneath ()->shortname ());
991 gdb_puts (", ", gdb_stdlog);
993 gdb_puts (", ", gdb_stdlog);
995 gdb_puts (") = ", gdb_stdlog);
996 target_debug_print_int (result);
997 gdb_puts ("\n", gdb_stdlog);
998 return result;
999}
1000
1001bool
1003{
1004 return this->beneath ()->stopped_by_watchpoint ();
1005}
1006
1007bool
1009{
1010 return false;
1011}
1012
1013bool
1015{
1016 bool result;
1017 gdb_printf (gdb_stdlog, "-> %s->stopped_by_watchpoint (...)\n", this->beneath ()->shortname ());
1018 result = this->beneath ()->stopped_by_watchpoint ();
1019 gdb_printf (gdb_stdlog, "<- %s->stopped_by_watchpoint (", this->beneath ()->shortname ());
1020 gdb_puts (") = ", gdb_stdlog);
1021 target_debug_print_bool (result);
1022 gdb_puts ("\n", gdb_stdlog);
1023 return result;
1024}
1025
1026bool
1028{
1029 return this->beneath ()->have_steppable_watchpoint ();
1030}
1031
1032bool
1034{
1035 return false;
1036}
1037
1038bool
1040{
1041 bool result;
1042 gdb_printf (gdb_stdlog, "-> %s->have_steppable_watchpoint (...)\n", this->beneath ()->shortname ());
1043 result = this->beneath ()->have_steppable_watchpoint ();
1044 gdb_printf (gdb_stdlog, "<- %s->have_steppable_watchpoint (", this->beneath ()->shortname ());
1045 gdb_puts (") = ", gdb_stdlog);
1046 target_debug_print_bool (result);
1047 gdb_puts ("\n", gdb_stdlog);
1048 return result;
1049}
1050
1051bool
1053{
1054 return this->beneath ()->stopped_data_address (arg0);
1055}
1056
1057bool
1059{
1060 return false;
1061}
1062
1063bool
1065{
1066 bool result;
1067 gdb_printf (gdb_stdlog, "-> %s->stopped_data_address (...)\n", this->beneath ()->shortname ());
1068 result = this->beneath ()->stopped_data_address (arg0);
1069 gdb_printf (gdb_stdlog, "<- %s->stopped_data_address (", this->beneath ()->shortname ());
1071 gdb_puts (") = ", gdb_stdlog);
1072 target_debug_print_bool (result);
1073 gdb_puts ("\n", gdb_stdlog);
1074 return result;
1075}
1076
1077bool
1078target_ops::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1079{
1080 return this->beneath ()->watchpoint_addr_within_range (arg0, arg1, arg2);
1081}
1082
1083bool
1084dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1085{
1086 return default_watchpoint_addr_within_range (this, arg0, arg1, arg2);
1087}
1088
1089bool
1090debug_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1091{
1092 bool result;
1093 gdb_printf (gdb_stdlog, "-> %s->watchpoint_addr_within_range (...)\n", this->beneath ()->shortname ());
1094 result = this->beneath ()->watchpoint_addr_within_range (arg0, arg1, arg2);
1095 gdb_printf (gdb_stdlog, "<- %s->watchpoint_addr_within_range (", this->beneath ()->shortname ());
1097 gdb_puts (", ", gdb_stdlog);
1099 gdb_puts (", ", gdb_stdlog);
1101 gdb_puts (") = ", gdb_stdlog);
1102 target_debug_print_bool (result);
1103 gdb_puts ("\n", gdb_stdlog);
1104 return result;
1105}
1106
1107int
1109{
1110 return this->beneath ()->region_ok_for_hw_watchpoint (arg0, arg1);
1111}
1112
1113int
1115{
1116 return default_region_ok_for_hw_watchpoint (this, arg0, arg1);
1117}
1118
1119int
1121{
1122 int result;
1123 gdb_printf (gdb_stdlog, "-> %s->region_ok_for_hw_watchpoint (...)\n", this->beneath ()->shortname ());
1124 result = this->beneath ()->region_ok_for_hw_watchpoint (arg0, arg1);
1125 gdb_printf (gdb_stdlog, "<- %s->region_ok_for_hw_watchpoint (", this->beneath ()->shortname ());
1127 gdb_puts (", ", gdb_stdlog);
1129 gdb_puts (") = ", gdb_stdlog);
1130 target_debug_print_int (result);
1131 gdb_puts ("\n", gdb_stdlog);
1132 return result;
1133}
1134
1135bool
1136target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1137{
1138 return this->beneath ()->can_accel_watchpoint_condition (arg0, arg1, arg2, arg3);
1139}
1140
1141bool
1142dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1143{
1144 return false;
1145}
1146
1147bool
1148debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1149{
1150 bool result;
1151 gdb_printf (gdb_stdlog, "-> %s->can_accel_watchpoint_condition (...)\n", this->beneath ()->shortname ());
1152 result = this->beneath ()->can_accel_watchpoint_condition (arg0, arg1, arg2, arg3);
1153 gdb_printf (gdb_stdlog, "<- %s->can_accel_watchpoint_condition (", this->beneath ()->shortname ());
1155 gdb_puts (", ", gdb_stdlog);
1157 gdb_puts (", ", gdb_stdlog);
1159 gdb_puts (", ", gdb_stdlog);
1161 gdb_puts (") = ", gdb_stdlog);
1162 target_debug_print_bool (result);
1163 gdb_puts ("\n", gdb_stdlog);
1164 return result;
1165}
1166
1167int
1168target_ops::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1169{
1170 return this->beneath ()->masked_watch_num_registers (arg0, arg1);
1171}
1172
1173int
1174dummy_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1175{
1176 return -1;
1177}
1178
1179int
1180debug_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1181{
1182 int result;
1183 gdb_printf (gdb_stdlog, "-> %s->masked_watch_num_registers (...)\n", this->beneath ()->shortname ());
1184 result = this->beneath ()->masked_watch_num_registers (arg0, arg1);
1185 gdb_printf (gdb_stdlog, "<- %s->masked_watch_num_registers (", this->beneath ()->shortname ());
1187 gdb_puts (", ", gdb_stdlog);
1189 gdb_puts (") = ", gdb_stdlog);
1190 target_debug_print_int (result);
1191 gdb_puts ("\n", gdb_stdlog);
1192 return result;
1193}
1194
1195int
1197{
1198 return this->beneath ()->can_do_single_step ();
1199}
1200
1201int
1203{
1204 return -1;
1205}
1206
1207int
1209{
1210 int result;
1211 gdb_printf (gdb_stdlog, "-> %s->can_do_single_step (...)\n", this->beneath ()->shortname ());
1212 result = this->beneath ()->can_do_single_step ();
1213 gdb_printf (gdb_stdlog, "<- %s->can_do_single_step (", this->beneath ()->shortname ());
1214 gdb_puts (") = ", gdb_stdlog);
1215 target_debug_print_int (result);
1216 gdb_puts ("\n", gdb_stdlog);
1217 return result;
1218}
1219
1220bool
1222{
1223 return this->beneath ()->supports_terminal_ours ();
1224}
1225
1226bool
1228{
1229 return false;
1230}
1231
1232bool
1234{
1235 bool result;
1236 gdb_printf (gdb_stdlog, "-> %s->supports_terminal_ours (...)\n", this->beneath ()->shortname ());
1237 result = this->beneath ()->supports_terminal_ours ();
1238 gdb_printf (gdb_stdlog, "<- %s->supports_terminal_ours (", this->beneath ()->shortname ());
1239 gdb_puts (") = ", gdb_stdlog);
1240 target_debug_print_bool (result);
1241 gdb_puts ("\n", gdb_stdlog);
1242 return result;
1243}
1244
1245void
1247{
1248 this->beneath ()->terminal_init ();
1249}
1250
1251void
1253{
1254}
1255
1256void
1258{
1259 gdb_printf (gdb_stdlog, "-> %s->terminal_init (...)\n", this->beneath ()->shortname ());
1260 this->beneath ()->terminal_init ();
1261 gdb_printf (gdb_stdlog, "<- %s->terminal_init (", this->beneath ()->shortname ());
1262 gdb_puts (")\n", gdb_stdlog);
1263}
1264
1265void
1267{
1268 this->beneath ()->terminal_inferior ();
1269}
1270
1271void
1273{
1274}
1275
1276void
1278{
1279 gdb_printf (gdb_stdlog, "-> %s->terminal_inferior (...)\n", this->beneath ()->shortname ());
1280 this->beneath ()->terminal_inferior ();
1281 gdb_printf (gdb_stdlog, "<- %s->terminal_inferior (", this->beneath ()->shortname ());
1282 gdb_puts (")\n", gdb_stdlog);
1283}
1284
1285void
1287{
1288 this->beneath ()->terminal_save_inferior ();
1289}
1290
1291void
1293{
1294}
1295
1296void
1298{
1299 gdb_printf (gdb_stdlog, "-> %s->terminal_save_inferior (...)\n", this->beneath ()->shortname ());
1300 this->beneath ()->terminal_save_inferior ();
1301 gdb_printf (gdb_stdlog, "<- %s->terminal_save_inferior (", this->beneath ()->shortname ());
1302 gdb_puts (")\n", gdb_stdlog);
1303}
1304
1305void
1307{
1308 this->beneath ()->terminal_ours_for_output ();
1309}
1310
1311void
1313{
1314}
1315
1316void
1318{
1319 gdb_printf (gdb_stdlog, "-> %s->terminal_ours_for_output (...)\n", this->beneath ()->shortname ());
1320 this->beneath ()->terminal_ours_for_output ();
1321 gdb_printf (gdb_stdlog, "<- %s->terminal_ours_for_output (", this->beneath ()->shortname ());
1322 gdb_puts (")\n", gdb_stdlog);
1323}
1324
1325void
1327{
1328 this->beneath ()->terminal_ours ();
1329}
1330
1331void
1333{
1334}
1335
1336void
1338{
1339 gdb_printf (gdb_stdlog, "-> %s->terminal_ours (...)\n", this->beneath ()->shortname ());
1340 this->beneath ()->terminal_ours ();
1341 gdb_printf (gdb_stdlog, "<- %s->terminal_ours (", this->beneath ()->shortname ());
1342 gdb_puts (")\n", gdb_stdlog);
1343}
1344
1345void
1346target_ops::terminal_info (const char *arg0, int arg1)
1347{
1348 this->beneath ()->terminal_info (arg0, arg1);
1349}
1350
1351void
1352dummy_target::terminal_info (const char *arg0, int arg1)
1353{
1354 default_terminal_info (this, arg0, arg1);
1355}
1356
1357void
1358debug_target::terminal_info (const char *arg0, int arg1)
1359{
1360 gdb_printf (gdb_stdlog, "-> %s->terminal_info (...)\n", this->beneath ()->shortname ());
1361 this->beneath ()->terminal_info (arg0, arg1);
1362 gdb_printf (gdb_stdlog, "<- %s->terminal_info (", this->beneath ()->shortname ());
1364 gdb_puts (", ", gdb_stdlog);
1366 gdb_puts (")\n", gdb_stdlog);
1367}
1368
1369void
1371{
1372 this->beneath ()->kill ();
1373}
1374
1375void
1377{
1378 noprocess ();
1379}
1380
1381void
1383{
1384 gdb_printf (gdb_stdlog, "-> %s->kill (...)\n", this->beneath ()->shortname ());
1385 this->beneath ()->kill ();
1386 gdb_printf (gdb_stdlog, "<- %s->kill (", this->beneath ()->shortname ());
1387 gdb_puts (")\n", gdb_stdlog);
1388}
1389
1390void
1391target_ops::load (const char *arg0, int arg1)
1392{
1393 this->beneath ()->load (arg0, arg1);
1394}
1395
1396void
1397dummy_target::load (const char *arg0, int arg1)
1398{
1399 tcomplain ();
1400}
1401
1402void
1403debug_target::load (const char *arg0, int arg1)
1404{
1405 gdb_printf (gdb_stdlog, "-> %s->load (...)\n", this->beneath ()->shortname ());
1406 this->beneath ()->load (arg0, arg1);
1407 gdb_printf (gdb_stdlog, "<- %s->load (", this->beneath ()->shortname ());
1409 gdb_puts (", ", gdb_stdlog);
1411 gdb_puts (")\n", gdb_stdlog);
1412}
1413
1414int
1416{
1417 return this->beneath ()->insert_fork_catchpoint (arg0);
1418}
1419
1420int
1422{
1423 return 1;
1424}
1425
1426int
1428{
1429 int result;
1430 gdb_printf (gdb_stdlog, "-> %s->insert_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1431 result = this->beneath ()->insert_fork_catchpoint (arg0);
1432 gdb_printf (gdb_stdlog, "<- %s->insert_fork_catchpoint (", this->beneath ()->shortname ());
1434 gdb_puts (") = ", gdb_stdlog);
1435 target_debug_print_int (result);
1436 gdb_puts ("\n", gdb_stdlog);
1437 return result;
1438}
1439
1440int
1442{
1443 return this->beneath ()->remove_fork_catchpoint (arg0);
1444}
1445
1446int
1448{
1449 return 1;
1450}
1451
1452int
1454{
1455 int result;
1456 gdb_printf (gdb_stdlog, "-> %s->remove_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1457 result = this->beneath ()->remove_fork_catchpoint (arg0);
1458 gdb_printf (gdb_stdlog, "<- %s->remove_fork_catchpoint (", this->beneath ()->shortname ());
1460 gdb_puts (") = ", gdb_stdlog);
1461 target_debug_print_int (result);
1462 gdb_puts ("\n", gdb_stdlog);
1463 return result;
1464}
1465
1466int
1468{
1469 return this->beneath ()->insert_vfork_catchpoint (arg0);
1470}
1471
1472int
1474{
1475 return 1;
1476}
1477
1478int
1480{
1481 int result;
1482 gdb_printf (gdb_stdlog, "-> %s->insert_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1483 result = this->beneath ()->insert_vfork_catchpoint (arg0);
1484 gdb_printf (gdb_stdlog, "<- %s->insert_vfork_catchpoint (", this->beneath ()->shortname ());
1486 gdb_puts (") = ", gdb_stdlog);
1487 target_debug_print_int (result);
1488 gdb_puts ("\n", gdb_stdlog);
1489 return result;
1490}
1491
1492int
1494{
1495 return this->beneath ()->remove_vfork_catchpoint (arg0);
1496}
1497
1498int
1500{
1501 return 1;
1502}
1503
1504int
1506{
1507 int result;
1508 gdb_printf (gdb_stdlog, "-> %s->remove_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1509 result = this->beneath ()->remove_vfork_catchpoint (arg0);
1510 gdb_printf (gdb_stdlog, "<- %s->remove_vfork_catchpoint (", this->beneath ()->shortname ());
1512 gdb_puts (") = ", gdb_stdlog);
1513 target_debug_print_int (result);
1514 gdb_puts ("\n", gdb_stdlog);
1515 return result;
1516}
1517
1518void
1519target_ops::follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4)
1520{
1521 this->beneath ()->follow_fork (arg0, arg1, arg2, arg3, arg4);
1522}
1523
1524void
1525dummy_target::follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4)
1526{
1527 default_follow_fork (this, arg0, arg1, arg2, arg3, arg4);
1528}
1529
1530void
1531debug_target::follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4)
1532{
1533 gdb_printf (gdb_stdlog, "-> %s->follow_fork (...)\n", this->beneath ()->shortname ());
1534 this->beneath ()->follow_fork (arg0, arg1, arg2, arg3, arg4);
1535 gdb_printf (gdb_stdlog, "<- %s->follow_fork (", this->beneath ()->shortname ());
1537 gdb_puts (", ", gdb_stdlog);
1539 gdb_puts (", ", gdb_stdlog);
1541 gdb_puts (", ", gdb_stdlog);
1543 gdb_puts (", ", gdb_stdlog);
1545 gdb_puts (")\n", gdb_stdlog);
1546}
1547
1548int
1550{
1551 return this->beneath ()->insert_exec_catchpoint (arg0);
1552}
1553
1554int
1556{
1557 return 1;
1558}
1559
1560int
1562{
1563 int result;
1564 gdb_printf (gdb_stdlog, "-> %s->insert_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1565 result = this->beneath ()->insert_exec_catchpoint (arg0);
1566 gdb_printf (gdb_stdlog, "<- %s->insert_exec_catchpoint (", this->beneath ()->shortname ());
1568 gdb_puts (") = ", gdb_stdlog);
1569 target_debug_print_int (result);
1570 gdb_puts ("\n", gdb_stdlog);
1571 return result;
1572}
1573
1574int
1576{
1577 return this->beneath ()->remove_exec_catchpoint (arg0);
1578}
1579
1580int
1582{
1583 return 1;
1584}
1585
1586int
1588{
1589 int result;
1590 gdb_printf (gdb_stdlog, "-> %s->remove_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1591 result = this->beneath ()->remove_exec_catchpoint (arg0);
1592 gdb_printf (gdb_stdlog, "<- %s->remove_exec_catchpoint (", this->beneath ()->shortname ());
1594 gdb_puts (") = ", gdb_stdlog);
1595 target_debug_print_int (result);
1596 gdb_puts ("\n", gdb_stdlog);
1597 return result;
1598}
1599
1600void
1601target_ops::follow_exec (inferior *arg0, ptid_t arg1, const char *arg2)
1602{
1603 this->beneath ()->follow_exec (arg0, arg1, arg2);
1604}
1605
1606void
1607dummy_target::follow_exec (inferior *arg0, ptid_t arg1, const char *arg2)
1608{
1609}
1610
1611void
1612debug_target::follow_exec (inferior *arg0, ptid_t arg1, const char *arg2)
1613{
1614 gdb_printf (gdb_stdlog, "-> %s->follow_exec (...)\n", this->beneath ()->shortname ());
1615 this->beneath ()->follow_exec (arg0, arg1, arg2);
1616 gdb_printf (gdb_stdlog, "<- %s->follow_exec (", this->beneath ()->shortname ());
1618 gdb_puts (", ", gdb_stdlog);
1620 gdb_puts (", ", gdb_stdlog);
1622 gdb_puts (")\n", gdb_stdlog);
1623}
1624
1625int
1626target_ops::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1627{
1628 return this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3);
1629}
1630
1631int
1632dummy_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1633{
1634 return 1;
1635}
1636
1637int
1638debug_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1639{
1640 int result;
1641 gdb_printf (gdb_stdlog, "-> %s->set_syscall_catchpoint (...)\n", this->beneath ()->shortname ());
1642 result = this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3);
1643 gdb_printf (gdb_stdlog, "<- %s->set_syscall_catchpoint (", this->beneath ()->shortname ());
1645 gdb_puts (", ", gdb_stdlog);
1647 gdb_puts (", ", gdb_stdlog);
1649 gdb_puts (", ", gdb_stdlog);
1651 gdb_puts (") = ", gdb_stdlog);
1652 target_debug_print_int (result);
1653 gdb_puts ("\n", gdb_stdlog);
1654 return result;
1655}
1656
1657void
1659{
1660 this->beneath ()->mourn_inferior ();
1661}
1662
1663void
1665{
1667}
1668
1669void
1671{
1672 gdb_printf (gdb_stdlog, "-> %s->mourn_inferior (...)\n", this->beneath ()->shortname ());
1673 this->beneath ()->mourn_inferior ();
1674 gdb_printf (gdb_stdlog, "<- %s->mourn_inferior (", this->beneath ()->shortname ());
1675 gdb_puts (")\n", gdb_stdlog);
1676}
1677
1678void
1679target_ops::pass_signals (gdb::array_view<const unsigned char> arg0)
1680{
1681 this->beneath ()->pass_signals (arg0);
1682}
1683
1684void
1685dummy_target::pass_signals (gdb::array_view<const unsigned char> arg0)
1686{
1687}
1688
1689void
1690debug_target::pass_signals (gdb::array_view<const unsigned char> arg0)
1691{
1692 gdb_printf (gdb_stdlog, "-> %s->pass_signals (...)\n", this->beneath ()->shortname ());
1693 this->beneath ()->pass_signals (arg0);
1694 gdb_printf (gdb_stdlog, "<- %s->pass_signals (", this->beneath ()->shortname ());
1696 gdb_puts (")\n", gdb_stdlog);
1697}
1698
1699void
1700target_ops::program_signals (gdb::array_view<const unsigned char> arg0)
1701{
1702 this->beneath ()->program_signals (arg0);
1703}
1704
1705void
1706dummy_target::program_signals (gdb::array_view<const unsigned char> arg0)
1707{
1708}
1709
1710void
1711debug_target::program_signals (gdb::array_view<const unsigned char> arg0)
1712{
1713 gdb_printf (gdb_stdlog, "-> %s->program_signals (...)\n", this->beneath ()->shortname ());
1714 this->beneath ()->program_signals (arg0);
1715 gdb_printf (gdb_stdlog, "<- %s->program_signals (", this->beneath ()->shortname ());
1717 gdb_puts (")\n", gdb_stdlog);
1718}
1719
1720bool
1722{
1723 return this->beneath ()->thread_alive (arg0);
1724}
1725
1726bool
1728{
1729 return false;
1730}
1731
1732bool
1734{
1735 bool result;
1736 gdb_printf (gdb_stdlog, "-> %s->thread_alive (...)\n", this->beneath ()->shortname ());
1737 result = this->beneath ()->thread_alive (arg0);
1738 gdb_printf (gdb_stdlog, "<- %s->thread_alive (", this->beneath ()->shortname ());
1740 gdb_puts (") = ", gdb_stdlog);
1741 target_debug_print_bool (result);
1742 gdb_puts ("\n", gdb_stdlog);
1743 return result;
1744}
1745
1746void
1748{
1749 this->beneath ()->update_thread_list ();
1750}
1751
1752void
1754{
1755}
1756
1757void
1759{
1760 gdb_printf (gdb_stdlog, "-> %s->update_thread_list (...)\n", this->beneath ()->shortname ());
1761 this->beneath ()->update_thread_list ();
1762 gdb_printf (gdb_stdlog, "<- %s->update_thread_list (", this->beneath ()->shortname ());
1763 gdb_puts (")\n", gdb_stdlog);
1764}
1765
1766std::string
1768{
1769 return this->beneath ()->pid_to_str (arg0);
1770}
1771
1772std::string
1774{
1775 return default_pid_to_str (this, arg0);
1776}
1777
1778std::string
1780{
1781 std::string result;
1782 gdb_printf (gdb_stdlog, "-> %s->pid_to_str (...)\n", this->beneath ()->shortname ());
1783 result = this->beneath ()->pid_to_str (arg0);
1784 gdb_printf (gdb_stdlog, "<- %s->pid_to_str (", this->beneath ()->shortname ());
1786 gdb_puts (") = ", gdb_stdlog);
1788 gdb_puts ("\n", gdb_stdlog);
1789 return result;
1790}
1791
1792const char *
1794{
1795 return this->beneath ()->extra_thread_info (arg0);
1796}
1797
1798const char *
1800{
1801 return NULL;
1802}
1803
1804const char *
1806{
1807 const char * result;
1808 gdb_printf (gdb_stdlog, "-> %s->extra_thread_info (...)\n", this->beneath ()->shortname ());
1809 result = this->beneath ()->extra_thread_info (arg0);
1810 gdb_printf (gdb_stdlog, "<- %s->extra_thread_info (", this->beneath ()->shortname ());
1812 gdb_puts (") = ", gdb_stdlog);
1814 gdb_puts ("\n", gdb_stdlog);
1815 return result;
1816}
1817
1818const char *
1820{
1821 return this->beneath ()->thread_name (arg0);
1822}
1823
1824const char *
1826{
1827 return NULL;
1828}
1829
1830const char *
1832{
1833 const char * result;
1834 gdb_printf (gdb_stdlog, "-> %s->thread_name (...)\n", this->beneath ()->shortname ());
1835 result = this->beneath ()->thread_name (arg0);
1836 gdb_printf (gdb_stdlog, "<- %s->thread_name (", this->beneath ()->shortname ());
1838 gdb_puts (") = ", gdb_stdlog);
1840 gdb_puts ("\n", gdb_stdlog);
1841 return result;
1842}
1843
1845target_ops::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1846{
1847 return this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2);
1848}
1849
1851dummy_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1852{
1853 return NULL;
1854}
1855
1857debug_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1858{
1859 thread_info * result;
1860 gdb_printf (gdb_stdlog, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath ()->shortname ());
1861 result = this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2);
1862 gdb_printf (gdb_stdlog, "<- %s->thread_handle_to_thread_info (", this->beneath ()->shortname ());
1864 gdb_puts (", ", gdb_stdlog);
1866 gdb_puts (", ", gdb_stdlog);
1868 gdb_puts (") = ", gdb_stdlog);
1870 gdb_puts ("\n", gdb_stdlog);
1871 return result;
1872}
1873
1874gdb::byte_vector
1875target_ops::thread_info_to_thread_handle (struct thread_info *arg0)
1876{
1877 return this->beneath ()->thread_info_to_thread_handle (arg0);
1878}
1879
1880gdb::byte_vector
1882{
1883 return gdb::byte_vector ();
1884}
1885
1886gdb::byte_vector
1888{
1889 gdb::byte_vector result;
1890 gdb_printf (gdb_stdlog, "-> %s->thread_info_to_thread_handle (...)\n", this->beneath ()->shortname ());
1891 result = this->beneath ()->thread_info_to_thread_handle (arg0);
1892 gdb_printf (gdb_stdlog, "<- %s->thread_info_to_thread_handle (", this->beneath ()->shortname ());
1894 gdb_puts (") = ", gdb_stdlog);
1896 gdb_puts ("\n", gdb_stdlog);
1897 return result;
1898}
1899
1900void
1901target_ops::stop (ptid_t arg0)
1902{
1903 this->beneath ()->stop (arg0);
1904}
1905
1906void
1908{
1909}
1910
1911void
1913{
1914 gdb_printf (gdb_stdlog, "-> %s->stop (...)\n", this->beneath ()->shortname ());
1915 this->beneath ()->stop (arg0);
1916 gdb_printf (gdb_stdlog, "<- %s->stop (", this->beneath ()->shortname ());
1918 gdb_puts (")\n", gdb_stdlog);
1919}
1920
1921void
1923{
1924 this->beneath ()->interrupt ();
1925}
1926
1927void
1929{
1930}
1931
1932void
1934{
1935 gdb_printf (gdb_stdlog, "-> %s->interrupt (...)\n", this->beneath ()->shortname ());
1936 this->beneath ()->interrupt ();
1937 gdb_printf (gdb_stdlog, "<- %s->interrupt (", this->beneath ()->shortname ());
1938 gdb_puts (")\n", gdb_stdlog);
1939}
1940
1941void
1943{
1944 this->beneath ()->pass_ctrlc ();
1945}
1946
1947void
1949{
1951}
1952
1953void
1955{
1956 gdb_printf (gdb_stdlog, "-> %s->pass_ctrlc (...)\n", this->beneath ()->shortname ());
1957 this->beneath ()->pass_ctrlc ();
1958 gdb_printf (gdb_stdlog, "<- %s->pass_ctrlc (", this->beneath ()->shortname ());
1959 gdb_puts (")\n", gdb_stdlog);
1960}
1961
1962void
1963target_ops::rcmd (const char *arg0, struct ui_file *arg1)
1964{
1965 this->beneath ()->rcmd (arg0, arg1);
1966}
1967
1968void
1969dummy_target::rcmd (const char *arg0, struct ui_file *arg1)
1970{
1971 default_rcmd (this, arg0, arg1);
1972}
1973
1974void
1975debug_target::rcmd (const char *arg0, struct ui_file *arg1)
1976{
1977 gdb_printf (gdb_stdlog, "-> %s->rcmd (...)\n", this->beneath ()->shortname ());
1978 this->beneath ()->rcmd (arg0, arg1);
1979 gdb_printf (gdb_stdlog, "<- %s->rcmd (", this->beneath ()->shortname ());
1981 gdb_puts (", ", gdb_stdlog);
1983 gdb_puts (")\n", gdb_stdlog);
1984}
1985
1986const char *
1988{
1989 return this->beneath ()->pid_to_exec_file (arg0);
1990}
1991
1992const char *
1994{
1995 return NULL;
1996}
1997
1998const char *
2000{
2001 const char * result;
2002 gdb_printf (gdb_stdlog, "-> %s->pid_to_exec_file (...)\n", this->beneath ()->shortname ());
2003 result = this->beneath ()->pid_to_exec_file (arg0);
2004 gdb_printf (gdb_stdlog, "<- %s->pid_to_exec_file (", this->beneath ()->shortname ());
2006 gdb_puts (") = ", gdb_stdlog);
2008 gdb_puts ("\n", gdb_stdlog);
2009 return result;
2010}
2011
2012void
2013target_ops::log_command (const char *arg0)
2014{
2015 this->beneath ()->log_command (arg0);
2016}
2017
2018void
2020{
2021}
2022
2023void
2025{
2026 gdb_printf (gdb_stdlog, "-> %s->log_command (...)\n", this->beneath ()->shortname ());
2027 this->beneath ()->log_command (arg0);
2028 gdb_printf (gdb_stdlog, "<- %s->log_command (", this->beneath ()->shortname ());
2030 gdb_puts (")\n", gdb_stdlog);
2031}
2032
2035{
2036 return this->beneath ()->get_section_table ();
2037}
2038
2041{
2042 return default_get_section_table ();
2043}
2044
2047{
2048 const target_section_table * result;
2049 gdb_printf (gdb_stdlog, "-> %s->get_section_table (...)\n", this->beneath ()->shortname ());
2050 result = this->beneath ()->get_section_table ();
2051 gdb_printf (gdb_stdlog, "<- %s->get_section_table (", this->beneath ()->shortname ());
2052 gdb_puts (") = ", gdb_stdlog);
2054 gdb_puts ("\n", gdb_stdlog);
2055 return result;
2056}
2057
2060{
2061 return this->beneath ()->get_thread_control_capabilities ();
2062}
2063
2066{
2067 return tc_none;
2068}
2069
2072{
2074 gdb_printf (gdb_stdlog, "-> %s->get_thread_control_capabilities (...)\n", this->beneath ()->shortname ());
2075 result = this->beneath ()->get_thread_control_capabilities ();
2076 gdb_printf (gdb_stdlog, "<- %s->get_thread_control_capabilities (", this->beneath ()->shortname ());
2077 gdb_puts (") = ", gdb_stdlog);
2079 gdb_puts ("\n", gdb_stdlog);
2080 return result;
2081}
2082
2083bool
2085{
2086 return this->beneath ()->attach_no_wait ();
2087}
2088
2089bool
2091{
2092 return 0;
2093}
2094
2095bool
2097{
2098 bool result;
2099 gdb_printf (gdb_stdlog, "-> %s->attach_no_wait (...)\n", this->beneath ()->shortname ());
2100 result = this->beneath ()->attach_no_wait ();
2101 gdb_printf (gdb_stdlog, "<- %s->attach_no_wait (", this->beneath ()->shortname ());
2102 gdb_puts (") = ", gdb_stdlog);
2103 target_debug_print_bool (result);
2104 gdb_puts ("\n", gdb_stdlog);
2105 return result;
2106}
2107
2108bool
2110{
2111 return this->beneath ()->can_async_p ();
2112}
2113
2114bool
2116{
2117 return false;
2118}
2119
2120bool
2122{
2123 bool result;
2124 gdb_printf (gdb_stdlog, "-> %s->can_async_p (...)\n", this->beneath ()->shortname ());
2125 result = this->beneath ()->can_async_p ();
2126 gdb_printf (gdb_stdlog, "<- %s->can_async_p (", this->beneath ()->shortname ());
2127 gdb_puts (") = ", gdb_stdlog);
2128 target_debug_print_bool (result);
2129 gdb_puts ("\n", gdb_stdlog);
2130 return result;
2131}
2132
2133bool
2135{
2136 return this->beneath ()->is_async_p ();
2137}
2138
2139bool
2141{
2142 return false;
2143}
2144
2145bool
2147{
2148 bool result;
2149 gdb_printf (gdb_stdlog, "-> %s->is_async_p (...)\n", this->beneath ()->shortname ());
2150 result = this->beneath ()->is_async_p ();
2151 gdb_printf (gdb_stdlog, "<- %s->is_async_p (", this->beneath ()->shortname ());
2152 gdb_puts (") = ", gdb_stdlog);
2153 target_debug_print_bool (result);
2154 gdb_puts ("\n", gdb_stdlog);
2155 return result;
2156}
2157
2158void
2160{
2161 this->beneath ()->async (arg0);
2162}
2163
2164void
2166{
2167 tcomplain ();
2168}
2169
2170void
2172{
2173 gdb_printf (gdb_stdlog, "-> %s->async (...)\n", this->beneath ()->shortname ());
2174 this->beneath ()->async (arg0);
2175 gdb_printf (gdb_stdlog, "<- %s->async (", this->beneath ()->shortname ());
2177 gdb_puts (")\n", gdb_stdlog);
2178}
2179
2180int
2182{
2183 return this->beneath ()->async_wait_fd ();
2184}
2185
2186int
2188{
2189 noprocess ();
2190}
2191
2192int
2194{
2195 int result;
2196 gdb_printf (gdb_stdlog, "-> %s->async_wait_fd (...)\n", this->beneath ()->shortname ());
2197 result = this->beneath ()->async_wait_fd ();
2198 gdb_printf (gdb_stdlog, "<- %s->async_wait_fd (", this->beneath ()->shortname ());
2199 gdb_puts (") = ", gdb_stdlog);
2200 target_debug_print_int (result);
2201 gdb_puts ("\n", gdb_stdlog);
2202 return result;
2203}
2204
2205bool
2207{
2208 return this->beneath ()->has_pending_events ();
2209}
2210
2211bool
2213{
2214 return false;
2215}
2216
2217bool
2219{
2220 bool result;
2221 gdb_printf (gdb_stdlog, "-> %s->has_pending_events (...)\n", this->beneath ()->shortname ());
2222 result = this->beneath ()->has_pending_events ();
2223 gdb_printf (gdb_stdlog, "<- %s->has_pending_events (", this->beneath ()->shortname ());
2224 gdb_puts (") = ", gdb_stdlog);
2225 target_debug_print_bool (result);
2226 gdb_puts ("\n", gdb_stdlog);
2227 return result;
2228}
2229
2230void
2232{
2233 this->beneath ()->thread_events (arg0);
2234}
2235
2236void
2238{
2239}
2240
2241void
2243{
2244 gdb_printf (gdb_stdlog, "-> %s->thread_events (...)\n", this->beneath ()->shortname ());
2245 this->beneath ()->thread_events (arg0);
2246 gdb_printf (gdb_stdlog, "<- %s->thread_events (", this->beneath ()->shortname ());
2248 gdb_puts (")\n", gdb_stdlog);
2249}
2250
2251bool
2253{
2254 return this->beneath ()->supports_non_stop ();
2255}
2256
2257bool
2259{
2260 return false;
2261}
2262
2263bool
2265{
2266 bool result;
2267 gdb_printf (gdb_stdlog, "-> %s->supports_non_stop (...)\n", this->beneath ()->shortname ());
2268 result = this->beneath ()->supports_non_stop ();
2269 gdb_printf (gdb_stdlog, "<- %s->supports_non_stop (", this->beneath ()->shortname ());
2270 gdb_puts (") = ", gdb_stdlog);
2271 target_debug_print_bool (result);
2272 gdb_puts ("\n", gdb_stdlog);
2273 return result;
2274}
2275
2276bool
2278{
2279 return this->beneath ()->always_non_stop_p ();
2280}
2281
2282bool
2284{
2285 return false;
2286}
2287
2288bool
2290{
2291 bool result;
2292 gdb_printf (gdb_stdlog, "-> %s->always_non_stop_p (...)\n", this->beneath ()->shortname ());
2293 result = this->beneath ()->always_non_stop_p ();
2294 gdb_printf (gdb_stdlog, "<- %s->always_non_stop_p (", this->beneath ()->shortname ());
2295 gdb_puts (") = ", gdb_stdlog);
2296 target_debug_print_bool (result);
2297 gdb_puts ("\n", gdb_stdlog);
2298 return result;
2299}
2300
2301int
2303{
2304 return this->beneath ()->find_memory_regions (arg0, arg1);
2305}
2306
2307int
2309{
2310 return dummy_find_memory_regions (this, arg0, arg1);
2311}
2312
2313int
2315{
2316 int result;
2317 gdb_printf (gdb_stdlog, "-> %s->find_memory_regions (...)\n", this->beneath ()->shortname ());
2318 result = this->beneath ()->find_memory_regions (arg0, arg1);
2319 gdb_printf (gdb_stdlog, "<- %s->find_memory_regions (", this->beneath ()->shortname ());
2321 gdb_puts (", ", gdb_stdlog);
2323 gdb_puts (") = ", gdb_stdlog);
2324 target_debug_print_int (result);
2325 gdb_puts ("\n", gdb_stdlog);
2326 return result;
2327}
2328
2329gdb::unique_xmalloc_ptr<char>
2331{
2332 return this->beneath ()->make_corefile_notes (arg0, arg1);
2333}
2334
2335gdb::unique_xmalloc_ptr<char>
2337{
2338 return dummy_make_corefile_notes (this, arg0, arg1);
2339}
2340
2341gdb::unique_xmalloc_ptr<char>
2343{
2344 gdb::unique_xmalloc_ptr<char> result;
2345 gdb_printf (gdb_stdlog, "-> %s->make_corefile_notes (...)\n", this->beneath ()->shortname ());
2346 result = this->beneath ()->make_corefile_notes (arg0, arg1);
2347 gdb_printf (gdb_stdlog, "<- %s->make_corefile_notes (", this->beneath ()->shortname ());
2349 gdb_puts (", ", gdb_stdlog);
2351 gdb_puts (") = ", gdb_stdlog);
2353 gdb_puts ("\n", gdb_stdlog);
2354 return result;
2355}
2356
2357gdb_byte *
2358target_ops::get_bookmark (const char *arg0, int arg1)
2359{
2360 return this->beneath ()->get_bookmark (arg0, arg1);
2361}
2362
2363gdb_byte *
2364dummy_target::get_bookmark (const char *arg0, int arg1)
2365{
2366 tcomplain ();
2367}
2368
2369gdb_byte *
2370debug_target::get_bookmark (const char *arg0, int arg1)
2371{
2372 gdb_byte * result;
2373 gdb_printf (gdb_stdlog, "-> %s->get_bookmark (...)\n", this->beneath ()->shortname ());
2374 result = this->beneath ()->get_bookmark (arg0, arg1);
2375 gdb_printf (gdb_stdlog, "<- %s->get_bookmark (", this->beneath ()->shortname ());
2377 gdb_puts (", ", gdb_stdlog);
2379 gdb_puts (") = ", gdb_stdlog);
2381 gdb_puts ("\n", gdb_stdlog);
2382 return result;
2383}
2384
2385void
2386target_ops::goto_bookmark (const gdb_byte *arg0, int arg1)
2387{
2388 this->beneath ()->goto_bookmark (arg0, arg1);
2389}
2390
2391void
2392dummy_target::goto_bookmark (const gdb_byte *arg0, int arg1)
2393{
2394 tcomplain ();
2395}
2396
2397void
2398debug_target::goto_bookmark (const gdb_byte *arg0, int arg1)
2399{
2400 gdb_printf (gdb_stdlog, "-> %s->goto_bookmark (...)\n", this->beneath ()->shortname ());
2401 this->beneath ()->goto_bookmark (arg0, arg1);
2402 gdb_printf (gdb_stdlog, "<- %s->goto_bookmark (", this->beneath ()->shortname ());
2404 gdb_puts (", ", gdb_stdlog);
2406 gdb_puts (")\n", gdb_stdlog);
2407}
2408
2409CORE_ADDR
2410target_ops::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2411{
2412 return this->beneath ()->get_thread_local_address (arg0, arg1, arg2);
2413}
2414
2415CORE_ADDR
2416dummy_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2417{
2419}
2420
2421CORE_ADDR
2422debug_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2423{
2424 CORE_ADDR result;
2425 gdb_printf (gdb_stdlog, "-> %s->get_thread_local_address (...)\n", this->beneath ()->shortname ());
2426 result = this->beneath ()->get_thread_local_address (arg0, arg1, arg2);
2427 gdb_printf (gdb_stdlog, "<- %s->get_thread_local_address (", this->beneath ()->shortname ());
2429 gdb_puts (", ", gdb_stdlog);
2431 gdb_puts (", ", gdb_stdlog);
2433 gdb_puts (") = ", gdb_stdlog);
2435 gdb_puts ("\n", gdb_stdlog);
2436 return result;
2437}
2438
2440target_ops::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2441{
2442 return this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2443}
2444
2446dummy_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2447{
2448 return TARGET_XFER_E_IO;
2449}
2450
2452debug_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2453{
2454 enum target_xfer_status result;
2455 gdb_printf (gdb_stdlog, "-> %s->xfer_partial (...)\n", this->beneath ()->shortname ());
2456 result = this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2457 gdb_printf (gdb_stdlog, "<- %s->xfer_partial (", this->beneath ()->shortname ());
2459 gdb_puts (", ", gdb_stdlog);
2461 gdb_puts (", ", gdb_stdlog);
2463 gdb_puts (", ", gdb_stdlog);
2465 gdb_puts (", ", gdb_stdlog);
2467 gdb_puts (", ", gdb_stdlog);
2469 gdb_puts (", ", gdb_stdlog);
2471 gdb_puts (") = ", gdb_stdlog);
2473 gdb_puts ("\n", gdb_stdlog);
2474 return result;
2475}
2476
2477ULONGEST
2479{
2480 return this->beneath ()->get_memory_xfer_limit ();
2481}
2482
2483ULONGEST
2485{
2486 return ULONGEST_MAX;
2487}
2488
2489ULONGEST
2491{
2492 ULONGEST result;
2493 gdb_printf (gdb_stdlog, "-> %s->get_memory_xfer_limit (...)\n", this->beneath ()->shortname ());
2494 result = this->beneath ()->get_memory_xfer_limit ();
2495 gdb_printf (gdb_stdlog, "<- %s->get_memory_xfer_limit (", this->beneath ()->shortname ());
2496 gdb_puts (") = ", gdb_stdlog);
2498 gdb_puts ("\n", gdb_stdlog);
2499 return result;
2500}
2501
2502std::vector<mem_region>
2503target_ops::memory_map ()
2504{
2505 return this->beneath ()->memory_map ();
2506}
2507
2508std::vector<mem_region>
2510{
2511 return std::vector<mem_region> ();
2512}
2513
2514std::vector<mem_region>
2516{
2517 std::vector<mem_region> result;
2518 gdb_printf (gdb_stdlog, "-> %s->memory_map (...)\n", this->beneath ()->shortname ());
2519 result = this->beneath ()->memory_map ();
2520 gdb_printf (gdb_stdlog, "<- %s->memory_map (", this->beneath ()->shortname ());
2521 gdb_puts (") = ", gdb_stdlog);
2523 gdb_puts ("\n", gdb_stdlog);
2524 return result;
2525}
2526
2527void
2528target_ops::flash_erase (ULONGEST arg0, LONGEST arg1)
2529{
2530 this->beneath ()->flash_erase (arg0, arg1);
2531}
2532
2533void
2534dummy_target::flash_erase (ULONGEST arg0, LONGEST arg1)
2535{
2536 tcomplain ();
2537}
2538
2539void
2540debug_target::flash_erase (ULONGEST arg0, LONGEST arg1)
2541{
2542 gdb_printf (gdb_stdlog, "-> %s->flash_erase (...)\n", this->beneath ()->shortname ());
2543 this->beneath ()->flash_erase (arg0, arg1);
2544 gdb_printf (gdb_stdlog, "<- %s->flash_erase (", this->beneath ()->shortname ());
2546 gdb_puts (", ", gdb_stdlog);
2548 gdb_puts (")\n", gdb_stdlog);
2549}
2550
2551void
2553{
2554 this->beneath ()->flash_done ();
2555}
2556
2557void
2559{
2560 tcomplain ();
2561}
2562
2563void
2565{
2566 gdb_printf (gdb_stdlog, "-> %s->flash_done (...)\n", this->beneath ()->shortname ());
2567 this->beneath ()->flash_done ();
2568 gdb_printf (gdb_stdlog, "<- %s->flash_done (", this->beneath ()->shortname ());
2569 gdb_puts (")\n", gdb_stdlog);
2570}
2571
2572const struct target_desc *
2574{
2575 return this->beneath ()->read_description ();
2576}
2577
2578const struct target_desc *
2580{
2581 return NULL;
2582}
2583
2584const struct target_desc *
2586{
2587 const struct target_desc * result;
2588 gdb_printf (gdb_stdlog, "-> %s->read_description (...)\n", this->beneath ()->shortname ());
2589 result = this->beneath ()->read_description ();
2590 gdb_printf (gdb_stdlog, "<- %s->read_description (", this->beneath ()->shortname ());
2591 gdb_puts (") = ", gdb_stdlog);
2593 gdb_puts ("\n", gdb_stdlog);
2594 return result;
2595}
2596
2597ptid_t
2598target_ops::get_ada_task_ptid (long arg0, ULONGEST arg1)
2599{
2600 return this->beneath ()->get_ada_task_ptid (arg0, arg1);
2601}
2602
2603ptid_t
2604dummy_target::get_ada_task_ptid (long arg0, ULONGEST arg1)
2605{
2606 return default_get_ada_task_ptid (this, arg0, arg1);
2607}
2608
2609ptid_t
2610debug_target::get_ada_task_ptid (long arg0, ULONGEST arg1)
2611{
2612 ptid_t result;
2613 gdb_printf (gdb_stdlog, "-> %s->get_ada_task_ptid (...)\n", this->beneath ()->shortname ());
2614 result = this->beneath ()->get_ada_task_ptid (arg0, arg1);
2615 gdb_printf (gdb_stdlog, "<- %s->get_ada_task_ptid (", this->beneath ()->shortname ());
2617 gdb_puts (", ", gdb_stdlog);
2619 gdb_puts (") = ", gdb_stdlog);
2621 gdb_puts ("\n", gdb_stdlog);
2622 return result;
2623}
2624
2625int
2626target_ops::auxv_parse (const gdb_byte **arg0, const gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2627{
2628 return this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3);
2629}
2630
2631int
2632dummy_target::auxv_parse (const gdb_byte **arg0, const gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2633{
2634 return default_auxv_parse (this, arg0, arg1, arg2, arg3);
2635}
2636
2637int
2638debug_target::auxv_parse (const gdb_byte **arg0, const gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2639{
2640 int result;
2641 gdb_printf (gdb_stdlog, "-> %s->auxv_parse (...)\n", this->beneath ()->shortname ());
2642 result = this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3);
2643 gdb_printf (gdb_stdlog, "<- %s->auxv_parse (", this->beneath ()->shortname ());
2645 gdb_puts (", ", gdb_stdlog);
2647 gdb_puts (", ", gdb_stdlog);
2649 gdb_puts (", ", gdb_stdlog);
2651 gdb_puts (") = ", gdb_stdlog);
2652 target_debug_print_int (result);
2653 gdb_puts ("\n", gdb_stdlog);
2654 return result;
2655}
2656
2657int
2658target_ops::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2659{
2660 return this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4);
2661}
2662
2663int
2664dummy_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2665{
2666 return default_search_memory (this, arg0, arg1, arg2, arg3, arg4);
2667}
2668
2669int
2670debug_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2671{
2672 int result;
2673 gdb_printf (gdb_stdlog, "-> %s->search_memory (...)\n", this->beneath ()->shortname ());
2674 result = this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4);
2675 gdb_printf (gdb_stdlog, "<- %s->search_memory (", this->beneath ()->shortname ());
2677 gdb_puts (", ", gdb_stdlog);
2679 gdb_puts (", ", gdb_stdlog);
2681 gdb_puts (", ", gdb_stdlog);
2683 gdb_puts (", ", gdb_stdlog);
2685 gdb_puts (") = ", gdb_stdlog);
2686 target_debug_print_int (result);
2687 gdb_puts ("\n", gdb_stdlog);
2688 return result;
2689}
2690
2691bool
2693{
2694 return this->beneath ()->can_execute_reverse ();
2695}
2696
2697bool
2699{
2700 return false;
2701}
2702
2703bool
2705{
2706 bool result;
2707 gdb_printf (gdb_stdlog, "-> %s->can_execute_reverse (...)\n", this->beneath ()->shortname ());
2708 result = this->beneath ()->can_execute_reverse ();
2709 gdb_printf (gdb_stdlog, "<- %s->can_execute_reverse (", this->beneath ()->shortname ());
2710 gdb_puts (") = ", gdb_stdlog);
2711 target_debug_print_bool (result);
2712 gdb_puts ("\n", gdb_stdlog);
2713 return result;
2714}
2715
2718{
2719 return this->beneath ()->execution_direction ();
2720}
2721
2724{
2725 return default_execution_direction (this);
2726}
2727
2730{
2731 enum exec_direction_kind result;
2732 gdb_printf (gdb_stdlog, "-> %s->execution_direction (...)\n", this->beneath ()->shortname ());
2733 result = this->beneath ()->execution_direction ();
2734 gdb_printf (gdb_stdlog, "<- %s->execution_direction (", this->beneath ()->shortname ());
2735 gdb_puts (") = ", gdb_stdlog);
2737 gdb_puts ("\n", gdb_stdlog);
2738 return result;
2739}
2740
2741bool
2743{
2744 return this->beneath ()->supports_multi_process ();
2745}
2746
2747bool
2749{
2750 return false;
2751}
2752
2753bool
2755{
2756 bool result;
2757 gdb_printf (gdb_stdlog, "-> %s->supports_multi_process (...)\n", this->beneath ()->shortname ());
2758 result = this->beneath ()->supports_multi_process ();
2759 gdb_printf (gdb_stdlog, "<- %s->supports_multi_process (", this->beneath ()->shortname ());
2760 gdb_puts (") = ", gdb_stdlog);
2761 target_debug_print_bool (result);
2762 gdb_puts ("\n", gdb_stdlog);
2763 return result;
2764}
2765
2766bool
2768{
2769 return this->beneath ()->supports_enable_disable_tracepoint ();
2770}
2771
2772bool
2774{
2775 return false;
2776}
2777
2778bool
2780{
2781 bool result;
2782 gdb_printf (gdb_stdlog, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath ()->shortname ());
2783 result = this->beneath ()->supports_enable_disable_tracepoint ();
2784 gdb_printf (gdb_stdlog, "<- %s->supports_enable_disable_tracepoint (", this->beneath ()->shortname ());
2785 gdb_puts (") = ", gdb_stdlog);
2786 target_debug_print_bool (result);
2787 gdb_puts ("\n", gdb_stdlog);
2788 return result;
2789}
2790
2791bool
2793{
2794 return this->beneath ()->supports_disable_randomization ();
2795}
2796
2797bool
2799{
2801}
2802
2803bool
2805{
2806 bool result;
2807 gdb_printf (gdb_stdlog, "-> %s->supports_disable_randomization (...)\n", this->beneath ()->shortname ());
2808 result = this->beneath ()->supports_disable_randomization ();
2809 gdb_printf (gdb_stdlog, "<- %s->supports_disable_randomization (", this->beneath ()->shortname ());
2810 gdb_puts (") = ", gdb_stdlog);
2811 target_debug_print_bool (result);
2812 gdb_puts ("\n", gdb_stdlog);
2813 return result;
2814}
2815
2816bool
2818{
2819 return this->beneath ()->supports_string_tracing ();
2820}
2821
2822bool
2824{
2825 return false;
2826}
2827
2828bool
2830{
2831 bool result;
2832 gdb_printf (gdb_stdlog, "-> %s->supports_string_tracing (...)\n", this->beneath ()->shortname ());
2833 result = this->beneath ()->supports_string_tracing ();
2834 gdb_printf (gdb_stdlog, "<- %s->supports_string_tracing (", this->beneath ()->shortname ());
2835 gdb_puts (") = ", gdb_stdlog);
2836 target_debug_print_bool (result);
2837 gdb_puts ("\n", gdb_stdlog);
2838 return result;
2839}
2840
2841bool
2843{
2845}
2846
2847bool
2849{
2850 return false;
2851}
2852
2853bool
2855{
2856 bool result;
2857 gdb_printf (gdb_stdlog, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath ()->shortname ());
2859 gdb_printf (gdb_stdlog, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath ()->shortname ());
2860 gdb_puts (") = ", gdb_stdlog);
2861 target_debug_print_bool (result);
2862 gdb_puts ("\n", gdb_stdlog);
2863 return result;
2864}
2865
2866bool
2868{
2869 return this->beneath ()->supports_dumpcore ();
2870}
2871
2872bool
2874{
2875 return false;
2876}
2877
2878bool
2880{
2881 bool result;
2882 gdb_printf (gdb_stdlog, "-> %s->supports_dumpcore (...)\n", this->beneath ()->shortname ());
2883 result = this->beneath ()->supports_dumpcore ();
2884 gdb_printf (gdb_stdlog, "<- %s->supports_dumpcore (", this->beneath ()->shortname ());
2885 gdb_puts (") = ", gdb_stdlog);
2886 target_debug_print_bool (result);
2887 gdb_puts ("\n", gdb_stdlog);
2888 return result;
2889}
2890
2891void
2892target_ops::dumpcore (const char *arg0)
2893{
2894 this->beneath ()->dumpcore (arg0);
2895}
2896
2897void
2898dummy_target::dumpcore (const char *arg0)
2899{
2900}
2901
2902void
2903debug_target::dumpcore (const char *arg0)
2904{
2905 gdb_printf (gdb_stdlog, "-> %s->dumpcore (...)\n", this->beneath ()->shortname ());
2906 this->beneath ()->dumpcore (arg0);
2907 gdb_printf (gdb_stdlog, "<- %s->dumpcore (", this->beneath ()->shortname ());
2909 gdb_puts (")\n", gdb_stdlog);
2910}
2911
2912bool
2914{
2915 return this->beneath ()->can_run_breakpoint_commands ();
2916}
2917
2918bool
2920{
2921 return false;
2922}
2923
2924bool
2926{
2927 bool result;
2928 gdb_printf (gdb_stdlog, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath ()->shortname ());
2929 result = this->beneath ()->can_run_breakpoint_commands ();
2930 gdb_printf (gdb_stdlog, "<- %s->can_run_breakpoint_commands (", this->beneath ()->shortname ());
2931 gdb_puts (") = ", gdb_stdlog);
2932 target_debug_print_bool (result);
2933 gdb_puts ("\n", gdb_stdlog);
2934 return result;
2935}
2936
2937struct gdbarch *
2939{
2940 return this->beneath ()->thread_architecture (arg0);
2941}
2942
2943struct gdbarch *
2945{
2946 return NULL;
2947}
2948
2949struct gdbarch *
2951{
2952 struct gdbarch * result;
2953 gdb_printf (gdb_stdlog, "-> %s->thread_architecture (...)\n", this->beneath ()->shortname ());
2954 result = this->beneath ()->thread_architecture (arg0);
2955 gdb_printf (gdb_stdlog, "<- %s->thread_architecture (", this->beneath ()->shortname ());
2957 gdb_puts (") = ", gdb_stdlog);
2959 gdb_puts ("\n", gdb_stdlog);
2960 return result;
2961}
2962
2963struct address_space *
2965{
2966 return this->beneath ()->thread_address_space (arg0);
2967}
2968
2969struct address_space *
2971{
2972 return NULL;
2973}
2974
2975struct address_space *
2977{
2978 struct address_space * result;
2979 gdb_printf (gdb_stdlog, "-> %s->thread_address_space (...)\n", this->beneath ()->shortname ());
2980 result = this->beneath ()->thread_address_space (arg0);
2981 gdb_printf (gdb_stdlog, "<- %s->thread_address_space (", this->beneath ()->shortname ());
2983 gdb_puts (") = ", gdb_stdlog);
2985 gdb_puts ("\n", gdb_stdlog);
2986 return result;
2987}
2988
2989bool
2991{
2992 return this->beneath ()->filesystem_is_local ();
2993}
2994
2995bool
2997{
2998 return true;
2999}
3000
3001bool
3003{
3004 bool result;
3005 gdb_printf (gdb_stdlog, "-> %s->filesystem_is_local (...)\n", this->beneath ()->shortname ());
3006 result = this->beneath ()->filesystem_is_local ();
3007 gdb_printf (gdb_stdlog, "<- %s->filesystem_is_local (", this->beneath ()->shortname ());
3008 gdb_puts (") = ", gdb_stdlog);
3009 target_debug_print_bool (result);
3010 gdb_puts ("\n", gdb_stdlog);
3011 return result;
3012}
3013
3014void
3016{
3017 this->beneath ()->trace_init ();
3018}
3019
3020void
3022{
3023 tcomplain ();
3024}
3025
3026void
3028{
3029 gdb_printf (gdb_stdlog, "-> %s->trace_init (...)\n", this->beneath ()->shortname ());
3030 this->beneath ()->trace_init ();
3031 gdb_printf (gdb_stdlog, "<- %s->trace_init (", this->beneath ()->shortname ());
3032 gdb_puts (")\n", gdb_stdlog);
3033}
3034
3035void
3037{
3038 this->beneath ()->download_tracepoint (arg0);
3039}
3040
3041void
3043{
3044 tcomplain ();
3045}
3046
3047void
3049{
3050 gdb_printf (gdb_stdlog, "-> %s->download_tracepoint (...)\n", this->beneath ()->shortname ());
3051 this->beneath ()->download_tracepoint (arg0);
3052 gdb_printf (gdb_stdlog, "<- %s->download_tracepoint (", this->beneath ()->shortname ());
3054 gdb_puts (")\n", gdb_stdlog);
3055}
3056
3057bool
3059{
3060 return this->beneath ()->can_download_tracepoint ();
3061}
3062
3063bool
3065{
3066 return false;
3067}
3068
3069bool
3071{
3072 bool result;
3073 gdb_printf (gdb_stdlog, "-> %s->can_download_tracepoint (...)\n", this->beneath ()->shortname ());
3074 result = this->beneath ()->can_download_tracepoint ();
3075 gdb_printf (gdb_stdlog, "<- %s->can_download_tracepoint (", this->beneath ()->shortname ());
3076 gdb_puts (") = ", gdb_stdlog);
3077 target_debug_print_bool (result);
3078 gdb_puts ("\n", gdb_stdlog);
3079 return result;
3080}
3081
3082void
3084{
3085 this->beneath ()->download_trace_state_variable (arg0);
3086}
3087
3088void
3090{
3091 tcomplain ();
3092}
3093
3094void
3096{
3097 gdb_printf (gdb_stdlog, "-> %s->download_trace_state_variable (...)\n", this->beneath ()->shortname ());
3098 this->beneath ()->download_trace_state_variable (arg0);
3099 gdb_printf (gdb_stdlog, "<- %s->download_trace_state_variable (", this->beneath ()->shortname ());
3101 gdb_puts (")\n", gdb_stdlog);
3102}
3103
3104void
3106{
3107 this->beneath ()->enable_tracepoint (arg0);
3108}
3109
3110void
3112{
3113 tcomplain ();
3114}
3115
3116void
3118{
3119 gdb_printf (gdb_stdlog, "-> %s->enable_tracepoint (...)\n", this->beneath ()->shortname ());
3120 this->beneath ()->enable_tracepoint (arg0);
3121 gdb_printf (gdb_stdlog, "<- %s->enable_tracepoint (", this->beneath ()->shortname ());
3123 gdb_puts (")\n", gdb_stdlog);
3124}
3125
3126void
3128{
3129 this->beneath ()->disable_tracepoint (arg0);
3130}
3131
3132void
3134{
3135 tcomplain ();
3136}
3137
3138void
3140{
3141 gdb_printf (gdb_stdlog, "-> %s->disable_tracepoint (...)\n", this->beneath ()->shortname ());
3142 this->beneath ()->disable_tracepoint (arg0);
3143 gdb_printf (gdb_stdlog, "<- %s->disable_tracepoint (", this->beneath ()->shortname ());
3145 gdb_puts (")\n", gdb_stdlog);
3146}
3147
3148void
3150{
3152}
3153
3154void
3156{
3157 tcomplain ();
3158}
3159
3160void
3162{
3163 gdb_printf (gdb_stdlog, "-> %s->trace_set_readonly_regions (...)\n", this->beneath ()->shortname ());
3165 gdb_printf (gdb_stdlog, "<- %s->trace_set_readonly_regions (", this->beneath ()->shortname ());
3166 gdb_puts (")\n", gdb_stdlog);
3167}
3168
3169void
3171{
3172 this->beneath ()->trace_start ();
3173}
3174
3175void
3177{
3178 tcomplain ();
3179}
3180
3181void
3183{
3184 gdb_printf (gdb_stdlog, "-> %s->trace_start (...)\n", this->beneath ()->shortname ());
3185 this->beneath ()->trace_start ();
3186 gdb_printf (gdb_stdlog, "<- %s->trace_start (", this->beneath ()->shortname ());
3187 gdb_puts (")\n", gdb_stdlog);
3188}
3189
3190int
3192{
3193 return this->beneath ()->get_trace_status (arg0);
3194}
3195
3196int
3198{
3199 return -1;
3200}
3201
3202int
3204{
3205 int result;
3206 gdb_printf (gdb_stdlog, "-> %s->get_trace_status (...)\n", this->beneath ()->shortname ());
3207 result = this->beneath ()->get_trace_status (arg0);
3208 gdb_printf (gdb_stdlog, "<- %s->get_trace_status (", this->beneath ()->shortname ());
3210 gdb_puts (") = ", gdb_stdlog);
3211 target_debug_print_int (result);
3212 gdb_puts ("\n", gdb_stdlog);
3213 return result;
3214}
3215
3216void
3218{
3219 this->beneath ()->get_tracepoint_status (arg0, arg1);
3220}
3221
3222void
3224{
3225 tcomplain ();
3226}
3227
3228void
3230{
3231 gdb_printf (gdb_stdlog, "-> %s->get_tracepoint_status (...)\n", this->beneath ()->shortname ());
3232 this->beneath ()->get_tracepoint_status (arg0, arg1);
3233 gdb_printf (gdb_stdlog, "<- %s->get_tracepoint_status (", this->beneath ()->shortname ());
3235 gdb_puts (", ", gdb_stdlog);
3237 gdb_puts (")\n", gdb_stdlog);
3238}
3239
3240void
3242{
3243 this->beneath ()->trace_stop ();
3244}
3245
3246void
3248{
3249 tcomplain ();
3250}
3251
3252void
3254{
3255 gdb_printf (gdb_stdlog, "-> %s->trace_stop (...)\n", this->beneath ()->shortname ());
3256 this->beneath ()->trace_stop ();
3257 gdb_printf (gdb_stdlog, "<- %s->trace_stop (", this->beneath ()->shortname ());
3258 gdb_puts (")\n", gdb_stdlog);
3259}
3260
3261int
3262target_ops::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3263{
3264 return this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4);
3265}
3266
3267int
3268dummy_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3269{
3270 return -1;
3271}
3272
3273int
3274debug_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3275{
3276 int result;
3277 gdb_printf (gdb_stdlog, "-> %s->trace_find (...)\n", this->beneath ()->shortname ());
3278 result = this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4);
3279 gdb_printf (gdb_stdlog, "<- %s->trace_find (", this->beneath ()->shortname ());
3281 gdb_puts (", ", gdb_stdlog);
3283 gdb_puts (", ", gdb_stdlog);
3285 gdb_puts (", ", gdb_stdlog);
3287 gdb_puts (", ", gdb_stdlog);
3289 gdb_puts (") = ", gdb_stdlog);
3290 target_debug_print_int (result);
3291 gdb_puts ("\n", gdb_stdlog);
3292 return result;
3293}
3294
3295bool
3297{
3298 return this->beneath ()->get_trace_state_variable_value (arg0, arg1);
3299}
3300
3301bool
3303{
3304 return false;
3305}
3306
3307bool
3309{
3310 bool result;
3311 gdb_printf (gdb_stdlog, "-> %s->get_trace_state_variable_value (...)\n", this->beneath ()->shortname ());
3312 result = this->beneath ()->get_trace_state_variable_value (arg0, arg1);
3313 gdb_printf (gdb_stdlog, "<- %s->get_trace_state_variable_value (", this->beneath ()->shortname ());
3315 gdb_puts (", ", gdb_stdlog);
3317 gdb_puts (") = ", gdb_stdlog);
3318 target_debug_print_bool (result);
3319 gdb_puts ("\n", gdb_stdlog);
3320 return result;
3321}
3322
3323int
3325{
3326 return this->beneath ()->save_trace_data (arg0);
3327}
3328
3329int
3331{
3332 tcomplain ();
3333}
3334
3335int
3337{
3338 int result;
3339 gdb_printf (gdb_stdlog, "-> %s->save_trace_data (...)\n", this->beneath ()->shortname ());
3340 result = this->beneath ()->save_trace_data (arg0);
3341 gdb_printf (gdb_stdlog, "<- %s->save_trace_data (", this->beneath ()->shortname ());
3343 gdb_puts (") = ", gdb_stdlog);
3344 target_debug_print_int (result);
3345 gdb_puts ("\n", gdb_stdlog);
3346 return result;
3347}
3348
3349int
3351{
3352 return this->beneath ()->upload_tracepoints (arg0);
3353}
3354
3355int
3357{
3358 return 0;
3359}
3360
3361int
3363{
3364 int result;
3365 gdb_printf (gdb_stdlog, "-> %s->upload_tracepoints (...)\n", this->beneath ()->shortname ());
3366 result = this->beneath ()->upload_tracepoints (arg0);
3367 gdb_printf (gdb_stdlog, "<- %s->upload_tracepoints (", this->beneath ()->shortname ());
3369 gdb_puts (") = ", gdb_stdlog);
3370 target_debug_print_int (result);
3371 gdb_puts ("\n", gdb_stdlog);
3372 return result;
3373}
3374
3375int
3377{
3378 return this->beneath ()->upload_trace_state_variables (arg0);
3379}
3380
3381int
3383{
3384 return 0;
3385}
3386
3387int
3389{
3390 int result;
3391 gdb_printf (gdb_stdlog, "-> %s->upload_trace_state_variables (...)\n", this->beneath ()->shortname ());
3392 result = this->beneath ()->upload_trace_state_variables (arg0);
3393 gdb_printf (gdb_stdlog, "<- %s->upload_trace_state_variables (", this->beneath ()->shortname ());
3395 gdb_puts (") = ", gdb_stdlog);
3396 target_debug_print_int (result);
3397 gdb_puts ("\n", gdb_stdlog);
3398 return result;
3399}
3400
3401LONGEST
3402target_ops::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3403{
3404 return this->beneath ()->get_raw_trace_data (arg0, arg1, arg2);
3405}
3406
3407LONGEST
3408dummy_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3409{
3410 tcomplain ();
3411}
3412
3413LONGEST
3414debug_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3415{
3416 LONGEST result;
3417 gdb_printf (gdb_stdlog, "-> %s->get_raw_trace_data (...)\n", this->beneath ()->shortname ());
3418 result = this->beneath ()->get_raw_trace_data (arg0, arg1, arg2);
3419 gdb_printf (gdb_stdlog, "<- %s->get_raw_trace_data (", this->beneath ()->shortname ());
3421 gdb_puts (", ", gdb_stdlog);
3423 gdb_puts (", ", gdb_stdlog);
3425 gdb_puts (") = ", gdb_stdlog);
3427 gdb_puts ("\n", gdb_stdlog);
3428 return result;
3429}
3430
3431int
3433{
3434 return this->beneath ()->get_min_fast_tracepoint_insn_len ();
3435}
3436
3437int
3439{
3440 return -1;
3441}
3442
3443int
3445{
3446 int result;
3447 gdb_printf (gdb_stdlog, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath ()->shortname ());
3448 result = this->beneath ()->get_min_fast_tracepoint_insn_len ();
3449 gdb_printf (gdb_stdlog, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath ()->shortname ());
3450 gdb_puts (") = ", gdb_stdlog);
3451 target_debug_print_int (result);
3452 gdb_puts ("\n", gdb_stdlog);
3453 return result;
3454}
3455
3456void
3458{
3459 this->beneath ()->set_disconnected_tracing (arg0);
3460}
3461
3462void
3464{
3465}
3466
3467void
3469{
3470 gdb_printf (gdb_stdlog, "-> %s->set_disconnected_tracing (...)\n", this->beneath ()->shortname ());
3471 this->beneath ()->set_disconnected_tracing (arg0);
3472 gdb_printf (gdb_stdlog, "<- %s->set_disconnected_tracing (", this->beneath ()->shortname ());
3474 gdb_puts (")\n", gdb_stdlog);
3475}
3476
3477void
3479{
3480 this->beneath ()->set_circular_trace_buffer (arg0);
3481}
3482
3483void
3485{
3486}
3487
3488void
3490{
3491 gdb_printf (gdb_stdlog, "-> %s->set_circular_trace_buffer (...)\n", this->beneath ()->shortname ());
3492 this->beneath ()->set_circular_trace_buffer (arg0);
3493 gdb_printf (gdb_stdlog, "<- %s->set_circular_trace_buffer (", this->beneath ()->shortname ());
3495 gdb_puts (")\n", gdb_stdlog);
3496}
3497
3498void
3500{
3501 this->beneath ()->set_trace_buffer_size (arg0);
3502}
3503
3504void
3506{
3507}
3508
3509void
3511{
3512 gdb_printf (gdb_stdlog, "-> %s->set_trace_buffer_size (...)\n", this->beneath ()->shortname ());
3513 this->beneath ()->set_trace_buffer_size (arg0);
3514 gdb_printf (gdb_stdlog, "<- %s->set_trace_buffer_size (", this->beneath ()->shortname ());
3516 gdb_puts (")\n", gdb_stdlog);
3517}
3518
3519bool
3520target_ops::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3521{
3522 return this->beneath ()->set_trace_notes (arg0, arg1, arg2);
3523}
3524
3525bool
3526dummy_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3527{
3528 return false;
3529}
3530
3531bool
3532debug_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3533{
3534 bool result;
3535 gdb_printf (gdb_stdlog, "-> %s->set_trace_notes (...)\n", this->beneath ()->shortname ());
3536 result = this->beneath ()->set_trace_notes (arg0, arg1, arg2);
3537 gdb_printf (gdb_stdlog, "<- %s->set_trace_notes (", this->beneath ()->shortname ());
3539 gdb_puts (", ", gdb_stdlog);
3541 gdb_puts (", ", gdb_stdlog);
3543 gdb_puts (") = ", gdb_stdlog);
3544 target_debug_print_bool (result);
3545 gdb_puts ("\n", gdb_stdlog);
3546 return result;
3547}
3548
3549int
3551{
3552 return this->beneath ()->core_of_thread (arg0);
3553}
3554
3555int
3557{
3558 return -1;
3559}
3560
3561int
3563{
3564 int result;
3565 gdb_printf (gdb_stdlog, "-> %s->core_of_thread (...)\n", this->beneath ()->shortname ());
3566 result = this->beneath ()->core_of_thread (arg0);
3567 gdb_printf (gdb_stdlog, "<- %s->core_of_thread (", this->beneath ()->shortname ());
3569 gdb_puts (") = ", gdb_stdlog);
3570 target_debug_print_int (result);
3571 gdb_puts ("\n", gdb_stdlog);
3572 return result;
3573}
3574
3575int
3576target_ops::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3577{
3578 return this->beneath ()->verify_memory (arg0, arg1, arg2);
3579}
3580
3581int
3582dummy_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3583{
3584 return default_verify_memory (this, arg0, arg1, arg2);
3585}
3586
3587int
3588debug_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3589{
3590 int result;
3591 gdb_printf (gdb_stdlog, "-> %s->verify_memory (...)\n", this->beneath ()->shortname ());
3592 result = this->beneath ()->verify_memory (arg0, arg1, arg2);
3593 gdb_printf (gdb_stdlog, "<- %s->verify_memory (", this->beneath ()->shortname ());
3595 gdb_puts (", ", gdb_stdlog);
3597 gdb_puts (", ", gdb_stdlog);
3599 gdb_puts (") = ", gdb_stdlog);
3600 target_debug_print_int (result);
3601 gdb_puts ("\n", gdb_stdlog);
3602 return result;
3603}
3604
3605bool
3606target_ops::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3607{
3608 return this->beneath ()->get_tib_address (arg0, arg1);
3609}
3610
3611bool
3612dummy_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3613{
3614 tcomplain ();
3615}
3616
3617bool
3618debug_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3619{
3620 bool result;
3621 gdb_printf (gdb_stdlog, "-> %s->get_tib_address (...)\n", this->beneath ()->shortname ());
3622 result = this->beneath ()->get_tib_address (arg0, arg1);
3623 gdb_printf (gdb_stdlog, "<- %s->get_tib_address (", this->beneath ()->shortname ());
3625 gdb_puts (", ", gdb_stdlog);
3627 gdb_puts (") = ", gdb_stdlog);
3628 target_debug_print_bool (result);
3629 gdb_puts ("\n", gdb_stdlog);
3630 return result;
3631}
3632
3633void
3635{
3636 this->beneath ()->set_permissions ();
3637}
3638
3639void
3641{
3642}
3643
3644void
3646{
3647 gdb_printf (gdb_stdlog, "-> %s->set_permissions (...)\n", this->beneath ()->shortname ());
3648 this->beneath ()->set_permissions ();
3649 gdb_printf (gdb_stdlog, "<- %s->set_permissions (", this->beneath ()->shortname ());
3650 gdb_puts (")\n", gdb_stdlog);
3651}
3652
3653bool
3655{
3656 return this->beneath ()->static_tracepoint_marker_at (arg0, arg1);
3657}
3658
3659bool
3661{
3662 return false;
3663}
3664
3665bool
3667{
3668 bool result;
3669 gdb_printf (gdb_stdlog, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath ()->shortname ());
3670 result = this->beneath ()->static_tracepoint_marker_at (arg0, arg1);
3671 gdb_printf (gdb_stdlog, "<- %s->static_tracepoint_marker_at (", this->beneath ()->shortname ());
3673 gdb_puts (", ", gdb_stdlog);
3675 gdb_puts (") = ", gdb_stdlog);
3676 target_debug_print_bool (result);
3677 gdb_puts ("\n", gdb_stdlog);
3678 return result;
3679}
3680
3681std::vector<static_tracepoint_marker>
3683{
3684 return this->beneath ()->static_tracepoint_markers_by_strid (arg0);
3685}
3686
3687std::vector<static_tracepoint_marker>
3689{
3690 tcomplain ();
3691}
3692
3693std::vector<static_tracepoint_marker>
3695{
3696 std::vector<static_tracepoint_marker> result;
3697 gdb_printf (gdb_stdlog, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath ()->shortname ());
3698 result = this->beneath ()->static_tracepoint_markers_by_strid (arg0);
3699 gdb_printf (gdb_stdlog, "<- %s->static_tracepoint_markers_by_strid (", this->beneath ()->shortname ());
3701 gdb_puts (") = ", gdb_stdlog);
3703 gdb_puts ("\n", gdb_stdlog);
3704 return result;
3705}
3706
3709{
3710 return this->beneath ()->traceframe_info ();
3711}
3712
3715{
3716 tcomplain ();
3717}
3718
3721{
3722 traceframe_info_up result;
3723 gdb_printf (gdb_stdlog, "-> %s->traceframe_info (...)\n", this->beneath ()->shortname ());
3724 result = this->beneath ()->traceframe_info ();
3725 gdb_printf (gdb_stdlog, "<- %s->traceframe_info (", this->beneath ()->shortname ());
3726 gdb_puts (") = ", gdb_stdlog);
3728 gdb_puts ("\n", gdb_stdlog);
3729 return result;
3730}
3731
3732bool
3734{
3735 return this->beneath ()->use_agent (arg0);
3736}
3737
3738bool
3740{
3741 tcomplain ();
3742}
3743
3744bool
3746{
3747 bool result;
3748 gdb_printf (gdb_stdlog, "-> %s->use_agent (...)\n", this->beneath ()->shortname ());
3749 result = this->beneath ()->use_agent (arg0);
3750 gdb_printf (gdb_stdlog, "<- %s->use_agent (", this->beneath ()->shortname ());
3752 gdb_puts (") = ", gdb_stdlog);
3753 target_debug_print_bool (result);
3754 gdb_puts ("\n", gdb_stdlog);
3755 return result;
3756}
3757
3758bool
3760{
3761 return this->beneath ()->can_use_agent ();
3762}
3763
3764bool
3766{
3767 return false;
3768}
3769
3770bool
3772{
3773 bool result;
3774 gdb_printf (gdb_stdlog, "-> %s->can_use_agent (...)\n", this->beneath ()->shortname ());
3775 result = this->beneath ()->can_use_agent ();
3776 gdb_printf (gdb_stdlog, "<- %s->can_use_agent (", this->beneath ()->shortname ());
3777 gdb_puts (") = ", gdb_stdlog);
3778 target_debug_print_bool (result);
3779 gdb_puts ("\n", gdb_stdlog);
3780 return result;
3781}
3782
3783struct btrace_target_info *
3784target_ops::enable_btrace (thread_info *arg0, const struct btrace_config *arg1)
3785{
3786 return this->beneath ()->enable_btrace (arg0, arg1);
3787}
3788
3789struct btrace_target_info *
3790dummy_target::enable_btrace (thread_info *arg0, const struct btrace_config *arg1)
3791{
3792 tcomplain ();
3793}
3794
3795struct btrace_target_info *
3796debug_target::enable_btrace (thread_info *arg0, const struct btrace_config *arg1)
3797{
3798 struct btrace_target_info * result;
3799 gdb_printf (gdb_stdlog, "-> %s->enable_btrace (...)\n", this->beneath ()->shortname ());
3800 result = this->beneath ()->enable_btrace (arg0, arg1);
3801 gdb_printf (gdb_stdlog, "<- %s->enable_btrace (", this->beneath ()->shortname ());
3803 gdb_puts (", ", gdb_stdlog);
3805 gdb_puts (") = ", gdb_stdlog);
3807 gdb_puts ("\n", gdb_stdlog);
3808 return result;
3809}
3810
3811void
3813{
3814 this->beneath ()->disable_btrace (arg0);
3815}
3816
3817void
3819{
3820 tcomplain ();
3821}
3822
3823void
3825{
3826 gdb_printf (gdb_stdlog, "-> %s->disable_btrace (...)\n", this->beneath ()->shortname ());
3827 this->beneath ()->disable_btrace (arg0);
3828 gdb_printf (gdb_stdlog, "<- %s->disable_btrace (", this->beneath ()->shortname ());
3830 gdb_puts (")\n", gdb_stdlog);
3831}
3832
3833void
3835{
3836 this->beneath ()->teardown_btrace (arg0);
3837}
3838
3839void
3841{
3842 tcomplain ();
3843}
3844
3845void
3847{
3848 gdb_printf (gdb_stdlog, "-> %s->teardown_btrace (...)\n", this->beneath ()->shortname ());
3849 this->beneath ()->teardown_btrace (arg0);
3850 gdb_printf (gdb_stdlog, "<- %s->teardown_btrace (", this->beneath ()->shortname ());
3852 gdb_puts (")\n", gdb_stdlog);
3853}
3854
3855enum btrace_error
3856target_ops::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3857{
3858 return this->beneath ()->read_btrace (arg0, arg1, arg2);
3859}
3860
3861enum btrace_error
3862dummy_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3863{
3864 tcomplain ();
3865}
3866
3867enum btrace_error
3868debug_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3869{
3870 enum btrace_error result;
3871 gdb_printf (gdb_stdlog, "-> %s->read_btrace (...)\n", this->beneath ()->shortname ());
3872 result = this->beneath ()->read_btrace (arg0, arg1, arg2);
3873 gdb_printf (gdb_stdlog, "<- %s->read_btrace (", this->beneath ()->shortname ());
3875 gdb_puts (", ", gdb_stdlog);
3877 gdb_puts (", ", gdb_stdlog);
3879 gdb_puts (") = ", gdb_stdlog);
3881 gdb_puts ("\n", gdb_stdlog);
3882 return result;
3883}
3884
3885const struct btrace_config *
3887{
3888 return this->beneath ()->btrace_conf (arg0);
3889}
3890
3891const struct btrace_config *
3893{
3894 return NULL;
3895}
3896
3897const struct btrace_config *
3899{
3900 const struct btrace_config * result;
3901 gdb_printf (gdb_stdlog, "-> %s->btrace_conf (...)\n", this->beneath ()->shortname ());
3902 result = this->beneath ()->btrace_conf (arg0);
3903 gdb_printf (gdb_stdlog, "<- %s->btrace_conf (", this->beneath ()->shortname ());
3905 gdb_puts (") = ", gdb_stdlog);
3907 gdb_puts ("\n", gdb_stdlog);
3908 return result;
3909}
3910
3911enum record_method
3913{
3914 return this->beneath ()->record_method (arg0);
3915}
3916
3917enum record_method
3919{
3920 return RECORD_METHOD_NONE;
3921}
3922
3923enum record_method
3925{
3926 enum record_method result;
3927 gdb_printf (gdb_stdlog, "-> %s->record_method (...)\n", this->beneath ()->shortname ());
3928 result = this->beneath ()->record_method (arg0);
3929 gdb_printf (gdb_stdlog, "<- %s->record_method (", this->beneath ()->shortname ());
3931 gdb_puts (") = ", gdb_stdlog);
3933 gdb_puts ("\n", gdb_stdlog);
3934 return result;
3935}
3936
3937void
3939{
3940 this->beneath ()->stop_recording ();
3941}
3942
3943void
3945{
3946}
3947
3948void
3950{
3951 gdb_printf (gdb_stdlog, "-> %s->stop_recording (...)\n", this->beneath ()->shortname ());
3952 this->beneath ()->stop_recording ();
3953 gdb_printf (gdb_stdlog, "<- %s->stop_recording (", this->beneath ()->shortname ());
3954 gdb_puts (")\n", gdb_stdlog);
3955}
3956
3957void
3959{
3960 this->beneath ()->info_record ();
3961}
3962
3963void
3965{
3966}
3967
3968void
3970{
3971 gdb_printf (gdb_stdlog, "-> %s->info_record (...)\n", this->beneath ()->shortname ());
3972 this->beneath ()->info_record ();
3973 gdb_printf (gdb_stdlog, "<- %s->info_record (", this->beneath ()->shortname ());
3974 gdb_puts (")\n", gdb_stdlog);
3975}
3976
3977void
3978target_ops::save_record (const char *arg0)
3979{
3980 this->beneath ()->save_record (arg0);
3981}
3982
3983void
3985{
3986 tcomplain ();
3987}
3988
3989void
3991{
3992 gdb_printf (gdb_stdlog, "-> %s->save_record (...)\n", this->beneath ()->shortname ());
3993 this->beneath ()->save_record (arg0);
3994 gdb_printf (gdb_stdlog, "<- %s->save_record (", this->beneath ()->shortname ());
3996 gdb_puts (")\n", gdb_stdlog);
3997}
3998
3999bool
4001{
4002 return this->beneath ()->supports_delete_record ();
4003}
4004
4005bool
4007{
4008 return false;
4009}
4010
4011bool
4013{
4014 bool result;
4015 gdb_printf (gdb_stdlog, "-> %s->supports_delete_record (...)\n", this->beneath ()->shortname ());
4016 result = this->beneath ()->supports_delete_record ();
4017 gdb_printf (gdb_stdlog, "<- %s->supports_delete_record (", this->beneath ()->shortname ());
4018 gdb_puts (") = ", gdb_stdlog);
4019 target_debug_print_bool (result);
4020 gdb_puts ("\n", gdb_stdlog);
4021 return result;
4022}
4023
4024void
4026{
4027 this->beneath ()->delete_record ();
4028}
4029
4030void
4032{
4033 tcomplain ();
4034}
4035
4036void
4038{
4039 gdb_printf (gdb_stdlog, "-> %s->delete_record (...)\n", this->beneath ()->shortname ());
4040 this->beneath ()->delete_record ();
4041 gdb_printf (gdb_stdlog, "<- %s->delete_record (", this->beneath ()->shortname ());
4042 gdb_puts (")\n", gdb_stdlog);
4043}
4044
4045bool
4047{
4048 return this->beneath ()->record_is_replaying (arg0);
4049}
4050
4051bool
4053{
4054 return false;
4055}
4056
4057bool
4059{
4060 bool result;
4061 gdb_printf (gdb_stdlog, "-> %s->record_is_replaying (...)\n", this->beneath ()->shortname ());
4062 result = this->beneath ()->record_is_replaying (arg0);
4063 gdb_printf (gdb_stdlog, "<- %s->record_is_replaying (", this->beneath ()->shortname ());
4065 gdb_puts (") = ", gdb_stdlog);
4066 target_debug_print_bool (result);
4067 gdb_puts ("\n", gdb_stdlog);
4068 return result;
4069}
4070
4071bool
4072target_ops::record_will_replay (ptid_t arg0, int arg1)
4073{
4074 return this->beneath ()->record_will_replay (arg0, arg1);
4075}
4076
4077bool
4079{
4080 return false;
4081}
4082
4083bool
4085{
4086 bool result;
4087 gdb_printf (gdb_stdlog, "-> %s->record_will_replay (...)\n", this->beneath ()->shortname ());
4088 result = this->beneath ()->record_will_replay (arg0, arg1);
4089 gdb_printf (gdb_stdlog, "<- %s->record_will_replay (", this->beneath ()->shortname ());
4091 gdb_puts (", ", gdb_stdlog);
4093 gdb_puts (") = ", gdb_stdlog);
4094 target_debug_print_bool (result);
4095 gdb_puts ("\n", gdb_stdlog);
4096 return result;
4097}
4098
4099void
4101{
4102 this->beneath ()->record_stop_replaying ();
4103}
4104
4105void
4107{
4108}
4109
4110void
4112{
4113 gdb_printf (gdb_stdlog, "-> %s->record_stop_replaying (...)\n", this->beneath ()->shortname ());
4114 this->beneath ()->record_stop_replaying ();
4115 gdb_printf (gdb_stdlog, "<- %s->record_stop_replaying (", this->beneath ()->shortname ());
4116 gdb_puts (")\n", gdb_stdlog);
4117}
4118
4119void
4121{
4122 this->beneath ()->goto_record_begin ();
4123}
4124
4125void
4127{
4128 tcomplain ();
4129}
4130
4131void
4133{
4134 gdb_printf (gdb_stdlog, "-> %s->goto_record_begin (...)\n", this->beneath ()->shortname ());
4135 this->beneath ()->goto_record_begin ();
4136 gdb_printf (gdb_stdlog, "<- %s->goto_record_begin (", this->beneath ()->shortname ());
4137 gdb_puts (")\n", gdb_stdlog);
4138}
4139
4140void
4142{
4143 this->beneath ()->goto_record_end ();
4144}
4145
4146void
4148{
4149 tcomplain ();
4150}
4151
4152void
4154{
4155 gdb_printf (gdb_stdlog, "-> %s->goto_record_end (...)\n", this->beneath ()->shortname ());
4156 this->beneath ()->goto_record_end ();
4157 gdb_printf (gdb_stdlog, "<- %s->goto_record_end (", this->beneath ()->shortname ());
4158 gdb_puts (")\n", gdb_stdlog);
4159}
4160
4161void
4163{
4164 this->beneath ()->goto_record (arg0);
4165}
4166
4167void
4169{
4170 tcomplain ();
4171}
4172
4173void
4175{
4176 gdb_printf (gdb_stdlog, "-> %s->goto_record (...)\n", this->beneath ()->shortname ());
4177 this->beneath ()->goto_record (arg0);
4178 gdb_printf (gdb_stdlog, "<- %s->goto_record (", this->beneath ()->shortname ());
4180 gdb_puts (")\n", gdb_stdlog);
4181}
4182
4183void
4184target_ops::insn_history (int arg0, gdb_disassembly_flags arg1)
4185{
4186 this->beneath ()->insn_history (arg0, arg1);
4187}
4188
4189void
4190dummy_target::insn_history (int arg0, gdb_disassembly_flags arg1)
4191{
4192 tcomplain ();
4193}
4194
4195void
4196debug_target::insn_history (int arg0, gdb_disassembly_flags arg1)
4197{
4198 gdb_printf (gdb_stdlog, "-> %s->insn_history (...)\n", this->beneath ()->shortname ());
4199 this->beneath ()->insn_history (arg0, arg1);
4200 gdb_printf (gdb_stdlog, "<- %s->insn_history (", this->beneath ()->shortname ());
4202 gdb_puts (", ", gdb_stdlog);
4204 gdb_puts (")\n", gdb_stdlog);
4205}
4206
4207void
4208target_ops::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4209{
4210 this->beneath ()->insn_history_from (arg0, arg1, arg2);
4211}
4212
4213void
4214dummy_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4215{
4216 tcomplain ();
4217}
4218
4219void
4220debug_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4221{
4222 gdb_printf (gdb_stdlog, "-> %s->insn_history_from (...)\n", this->beneath ()->shortname ());
4223 this->beneath ()->insn_history_from (arg0, arg1, arg2);
4224 gdb_printf (gdb_stdlog, "<- %s->insn_history_from (", this->beneath ()->shortname ());
4226 gdb_puts (", ", gdb_stdlog);
4228 gdb_puts (", ", gdb_stdlog);
4230 gdb_puts (")\n", gdb_stdlog);
4231}
4232
4233void
4234target_ops::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4235{
4236 this->beneath ()->insn_history_range (arg0, arg1, arg2);
4237}
4238
4239void
4240dummy_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4241{
4242 tcomplain ();
4243}
4244
4245void
4246debug_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4247{
4248 gdb_printf (gdb_stdlog, "-> %s->insn_history_range (...)\n", this->beneath ()->shortname ());
4249 this->beneath ()->insn_history_range (arg0, arg1, arg2);
4250 gdb_printf (gdb_stdlog, "<- %s->insn_history_range (", this->beneath ()->shortname ());
4252 gdb_puts (", ", gdb_stdlog);
4254 gdb_puts (", ", gdb_stdlog);
4256 gdb_puts (")\n", gdb_stdlog);
4257}
4258
4259void
4260target_ops::call_history (int arg0, record_print_flags arg1)
4261{
4262 this->beneath ()->call_history (arg0, arg1);
4263}
4264
4265void
4266dummy_target::call_history (int arg0, record_print_flags arg1)
4267{
4268 tcomplain ();
4269}
4270
4271void
4272debug_target::call_history (int arg0, record_print_flags arg1)
4273{
4274 gdb_printf (gdb_stdlog, "-> %s->call_history (...)\n", this->beneath ()->shortname ());
4275 this->beneath ()->call_history (arg0, arg1);
4276 gdb_printf (gdb_stdlog, "<- %s->call_history (", this->beneath ()->shortname ());
4278 gdb_puts (", ", gdb_stdlog);
4280 gdb_puts (")\n", gdb_stdlog);
4281}
4282
4283void
4284target_ops::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4285{
4286 this->beneath ()->call_history_from (arg0, arg1, arg2);
4287}
4288
4289void
4290dummy_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4291{
4292 tcomplain ();
4293}
4294
4295void
4296debug_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4297{
4298 gdb_printf (gdb_stdlog, "-> %s->call_history_from (...)\n", this->beneath ()->shortname ());
4299 this->beneath ()->call_history_from (arg0, arg1, arg2);
4300 gdb_printf (gdb_stdlog, "<- %s->call_history_from (", this->beneath ()->shortname ());
4302 gdb_puts (", ", gdb_stdlog);
4304 gdb_puts (", ", gdb_stdlog);
4306 gdb_puts (")\n", gdb_stdlog);
4307}
4308
4309void
4310target_ops::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4311{
4312 this->beneath ()->call_history_range (arg0, arg1, arg2);
4313}
4314
4315void
4316dummy_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4317{
4318 tcomplain ();
4319}
4320
4321void
4322debug_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4323{
4324 gdb_printf (gdb_stdlog, "-> %s->call_history_range (...)\n", this->beneath ()->shortname ());
4325 this->beneath ()->call_history_range (arg0, arg1, arg2);
4326 gdb_printf (gdb_stdlog, "<- %s->call_history_range (", this->beneath ()->shortname ());
4328 gdb_puts (", ", gdb_stdlog);
4330 gdb_puts (", ", gdb_stdlog);
4332 gdb_puts (")\n", gdb_stdlog);
4333}
4334
4335bool
4337{
4338 return this->beneath ()->augmented_libraries_svr4_read ();
4339}
4340
4341bool
4343{
4344 return false;
4345}
4346
4347bool
4349{
4350 bool result;
4351 gdb_printf (gdb_stdlog, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath ()->shortname ());
4352 result = this->beneath ()->augmented_libraries_svr4_read ();
4353 gdb_printf (gdb_stdlog, "<- %s->augmented_libraries_svr4_read (", this->beneath ()->shortname ());
4354 gdb_puts (") = ", gdb_stdlog);
4355 target_debug_print_bool (result);
4356 gdb_puts ("\n", gdb_stdlog);
4357 return result;
4358}
4359
4360const struct frame_unwind *
4362{
4363 return this->beneath ()->get_unwinder ();
4364}
4365
4366const struct frame_unwind *
4368{
4369 return NULL;
4370}
4371
4372const struct frame_unwind *
4374{
4375 const struct frame_unwind * result;
4376 gdb_printf (gdb_stdlog, "-> %s->get_unwinder (...)\n", this->beneath ()->shortname ());
4377 result = this->beneath ()->get_unwinder ();
4378 gdb_printf (gdb_stdlog, "<- %s->get_unwinder (", this->beneath ()->shortname ());
4379 gdb_puts (") = ", gdb_stdlog);
4381 gdb_puts ("\n", gdb_stdlog);
4382 return result;
4383}
4384
4385const struct frame_unwind *
4387{
4388 return this->beneath ()->get_tailcall_unwinder ();
4389}
4390
4391const struct frame_unwind *
4393{
4394 return NULL;
4395}
4396
4397const struct frame_unwind *
4399{
4400 const struct frame_unwind * result;
4401 gdb_printf (gdb_stdlog, "-> %s->get_tailcall_unwinder (...)\n", this->beneath ()->shortname ());
4402 result = this->beneath ()->get_tailcall_unwinder ();
4403 gdb_printf (gdb_stdlog, "<- %s->get_tailcall_unwinder (", this->beneath ()->shortname ());
4404 gdb_puts (") = ", gdb_stdlog);
4406 gdb_puts ("\n", gdb_stdlog);
4407 return result;
4408}
4409
4410void
4412{
4413 this->beneath ()->prepare_to_generate_core ();
4414}
4415
4416void
4418{
4419}
4420
4421void
4423{
4424 gdb_printf (gdb_stdlog, "-> %s->prepare_to_generate_core (...)\n", this->beneath ()->shortname ());
4425 this->beneath ()->prepare_to_generate_core ();
4426 gdb_printf (gdb_stdlog, "<- %s->prepare_to_generate_core (", this->beneath ()->shortname ());
4427 gdb_puts (")\n", gdb_stdlog);
4428}
4429
4430void
4432{
4433 this->beneath ()->done_generating_core ();
4434}
4435
4436void
4438{
4439}
4440
4441void
4443{
4444 gdb_printf (gdb_stdlog, "-> %s->done_generating_core (...)\n", this->beneath ()->shortname ());
4445 this->beneath ()->done_generating_core ();
4446 gdb_printf (gdb_stdlog, "<- %s->done_generating_core (", this->beneath ()->shortname ());
4447 gdb_puts (")\n", gdb_stdlog);
4448}
4449
4450bool
4452{
4453 return this->beneath ()->supports_memory_tagging ();
4454}
4455
4456bool
4458{
4459 return false;
4460}
4461
4462bool
4464{
4465 bool result;
4466 gdb_printf (gdb_stdlog, "-> %s->supports_memory_tagging (...)\n", this->beneath ()->shortname ());
4467 result = this->beneath ()->supports_memory_tagging ();
4468 gdb_printf (gdb_stdlog, "<- %s->supports_memory_tagging (", this->beneath ()->shortname ());
4469 gdb_puts (") = ", gdb_stdlog);
4470 target_debug_print_bool (result);
4471 gdb_puts ("\n", gdb_stdlog);
4472 return result;
4473}
4474
4475bool
4476target_ops::fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3)
4477{
4478 return this->beneath ()->fetch_memtags (arg0, arg1, arg2, arg3);
4479}
4480
4481bool
4482dummy_target::fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3)
4483{
4484 tcomplain ();
4485}
4486
4487bool
4488debug_target::fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3)
4489{
4490 bool result;
4491 gdb_printf (gdb_stdlog, "-> %s->fetch_memtags (...)\n", this->beneath ()->shortname ());
4492 result = this->beneath ()->fetch_memtags (arg0, arg1, arg2, arg3);
4493 gdb_printf (gdb_stdlog, "<- %s->fetch_memtags (", this->beneath ()->shortname ());
4495 gdb_puts (", ", gdb_stdlog);
4497 gdb_puts (", ", gdb_stdlog);
4499 gdb_puts (", ", gdb_stdlog);
4501 gdb_puts (") = ", gdb_stdlog);
4502 target_debug_print_bool (result);
4503 gdb_puts ("\n", gdb_stdlog);
4504 return result;
4505}
4506
4507bool
4508target_ops::store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3)
4509{
4510 return this->beneath ()->store_memtags (arg0, arg1, arg2, arg3);
4511}
4512
4513bool
4514dummy_target::store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3)
4515{
4516 tcomplain ();
4517}
4518
4519bool
4520debug_target::store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3)
4521{
4522 bool result;
4523 gdb_printf (gdb_stdlog, "-> %s->store_memtags (...)\n", this->beneath ()->shortname ());
4524 result = this->beneath ()->store_memtags (arg0, arg1, arg2, arg3);
4525 gdb_printf (gdb_stdlog, "<- %s->store_memtags (", this->beneath ()->shortname ());
4527 gdb_puts (", ", gdb_stdlog);
4529 gdb_puts (", ", gdb_stdlog);
4531 gdb_puts (", ", gdb_stdlog);
4533 gdb_puts (") = ", gdb_stdlog);
4534 target_debug_print_bool (result);
4535 gdb_puts ("\n", gdb_stdlog);
4536 return result;
4537}
4538
int default_auxv_parse(struct target_ops *ops, const gdb_byte **readptr, const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp)
Definition: auxv.c:284
bptype
Definition: breakpoint.h:84
remove_bp_reason
Definition: breakpoint.h:64
#define ULONGEST_MAX
Definition: defs.h:473
int(* find_memory_region_ftype)(CORE_ADDR addr, unsigned long size, int read, int write, int exec, int modified, bool memory_tagged, void *data)
Definition: defs.h:351
static bool follow_fork()
Definition: infrun.c:694
exec_direction_kind
Definition: infrun.h:112
record_method
Definition: record.h:44
@ RECORD_METHOD_NONE
Definition: record.h:46
bool always_non_stop_p() override
void resume(ptid_t arg0, int arg1, enum gdb_signal arg2) override
int remove_watchpoint(CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override
int search_memory(CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) override
void call_history(int arg0, record_print_flags arg1) override
void prepare_to_generate_core() override
void update_thread_list() override
const struct frame_unwind * get_tailcall_unwinder() override
struct address_space * thread_address_space(ptid_t arg0) override
void mourn_inferior() override
bool stopped_by_watchpoint() override
int insert_hw_breakpoint(struct gdbarch *arg0, struct bp_target_info *arg1) override
void terminal_init() override
void dumpcore(const char *arg0) override
bool filesystem_is_local() override
bool supports_memory_tagging() override
int insert_exec_catchpoint(int arg0) override
void set_permissions() override
thread_control_capabilities get_thread_control_capabilities() override
void flash_done() override
void trace_stop() override
bool watchpoint_addr_within_range(CORE_ADDR arg0, CORE_ADDR arg1, int arg2) override
bool can_execute_reverse() override
void pass_signals(gdb::array_view< const unsigned char > arg0) override
ptid_t get_ada_task_ptid(long arg0, ULONGEST arg1) override
void goto_record(ULONGEST arg0) override
void terminal_ours() override
int can_do_single_step() override
gdb::byte_vector thread_info_to_thread_handle(struct thread_info *arg0) override
bool stopped_by_sw_breakpoint() override
int set_syscall_catchpoint(int arg0, bool arg1, int arg2, gdb::array_view< const int > arg3) override
int find_memory_regions(find_memory_region_ftype arg0, void *arg1) override
void terminal_inferior() override
bool can_use_agent() override
int get_min_fast_tracepoint_insn_len() override
bool supports_multi_process() override
void thread_events(int arg0) override
traceframe_info_up traceframe_info() override
enum target_xfer_status xfer_partial(enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6) override
bool supports_stopped_by_sw_breakpoint() override
enum record_method record_method(ptid_t arg0) override
void trace_start() override
bool get_tib_address(ptid_t arg0, CORE_ADDR *arg1) override
void terminal_info(const char *arg0, int arg1) override
void insn_history_from(ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) override
void info_record() override
void save_record(const char *arg0) override
int remove_hw_breakpoint(struct gdbarch *arg0, struct bp_target_info *arg1) override
void detach(inferior *arg0, int arg1) override
const target_info & info() const override
Definition: target.c:3741
const struct frame_unwind * get_unwinder() override
int insert_mask_watchpoint(CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override
int get_trace_status(struct trace_status *arg0) override
bool can_download_tracepoint() override
void download_tracepoint(struct bp_location *arg0) override
int remove_breakpoint(struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) override
bool get_trace_state_variable_value(int arg0, LONGEST *arg1) override
bool use_agent(bool arg0) override
const char * thread_name(thread_info *arg0) override
void disable_tracepoint(struct bp_location *arg0) override
void record_stop_replaying() override
void disable_btrace(struct btrace_target_info *arg0) override
void get_tracepoint_status(struct breakpoint *arg0, struct uploaded_tp *arg1) override
void delete_record() override
const struct btrace_config * btrace_conf(const struct btrace_target_info *arg0) override
struct gdbarch * thread_architecture(ptid_t arg0) override
bool supports_delete_record() override
void insn_history(int arg0, gdb_disassembly_flags arg1) override
void trace_init() override
thread_info * thread_handle_to_thread_info(const gdb_byte *arg0, int arg1, inferior *arg2) override
int auxv_parse(const gdb_byte **arg0, const gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) override
void terminal_ours_for_output() override
const char * extra_thread_info(thread_info *arg0) override
bool is_async_p() override
void async(bool arg0) override
int remove_fork_catchpoint(int arg0) override
bool can_run_breakpoint_commands() override
LONGEST get_raw_trace_data(gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) override
void follow_exec(inferior *arg0, ptid_t arg1, const char *arg2) override
bool supports_disable_randomization() override
void terminal_save_inferior() override
void log_command(const char *arg0) override
int upload_tracepoints(struct uploaded_tp **arg0) override
std::vector< static_tracepoint_marker > static_tracepoint_markers_by_strid(const char *arg0) override
int insert_watchpoint(CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override
void kill() override
bool thread_alive(ptid_t arg0) override
void set_disconnected_tracing(int arg0) override
void trace_set_readonly_regions() override
ptid_t wait(ptid_t arg0, struct target_waitstatus *arg1, target_wait_flags arg2) override
void set_trace_buffer_size(LONGEST arg0) override
void download_trace_state_variable(const trace_state_variable &arg0) override
void stop_recording() override
const struct target_desc * read_description() override
bool have_steppable_watchpoint() override
int region_ok_for_hw_watchpoint(CORE_ADDR arg0, int arg1) override
bool set_trace_notes(const char *arg0, const char *arg1, const char *arg2) override
void enable_tracepoint(struct bp_location *arg0) override
void done_generating_core() override
void load(const char *arg0, int arg1) override
bool supports_string_tracing() override
bool has_pending_events() override
bool supports_non_stop() override
bool attach_no_wait() override
void follow_fork(inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4) override
int can_use_hw_breakpoint(enum bptype arg0, int arg1, int arg2) override
bool can_async_p() override
void goto_record_end() override
strata stratum() const override
Definition: target.c:3729
int insert_breakpoint(struct gdbarch *arg0, struct bp_target_info *arg1) override
void rcmd(const char *arg0, struct ui_file *arg1) override
CORE_ADDR get_thread_local_address(ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) override
enum exec_direction_kind execution_direction() override
void prepare_to_store(struct regcache *arg0) override
int save_trace_data(const char *arg0) override
const char * pid_to_exec_file(int arg0) override
bool record_is_replaying(ptid_t arg0) override
int trace_find(enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) override
int remove_mask_watchpoint(CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override
int async_wait_fd() override
bool can_accel_watchpoint_condition(CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) override
void disconnect(const char *arg0, int arg1) override
int insert_vfork_catchpoint(int arg0) override
void pass_ctrlc() override
void set_circular_trace_buffer(int arg0) override
bool record_will_replay(ptid_t arg0, int arg1) override
void post_attach(int arg0) override
void teardown_btrace(struct btrace_target_info *arg0) override
bool store_memtags(CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3) override
void goto_record_begin() override
int masked_watch_num_registers(CORE_ADDR arg0, CORE_ADDR arg1) override
void program_signals(gdb::array_view< const unsigned char > arg0) override
void goto_bookmark(const gdb_byte *arg0, int arg1) override
void store_registers(struct regcache *arg0, int arg1) override
std::string pid_to_str(ptid_t arg0) override
void flash_erase(ULONGEST arg0, LONGEST arg1) override
bool augmented_libraries_svr4_read() override
void call_history_from(ULONGEST arg0, int arg1, record_print_flags arg2) override
int insert_fork_catchpoint(int arg0) override
int core_of_thread(ptid_t arg0) override
std::vector< mem_region > memory_map() override
bool supports_stopped_by_hw_breakpoint() override
int remove_exec_catchpoint(int arg0) override
void files_info() override
const target_section_table * get_section_table() override
enum btrace_error read_btrace(struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) override
int verify_memory(const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) override
bool supports_dumpcore() override
void fetch_registers(struct regcache *arg0, int arg1) override
void call_history_range(ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) override
gdb::unique_xmalloc_ptr< char > make_corefile_notes(bfd *arg0, int *arg1) override
gdb_byte * get_bookmark(const char *arg0, int arg1) override
void interrupt() override
int remove_vfork_catchpoint(int arg0) override
struct btrace_target_info * enable_btrace(thread_info *arg0, const struct btrace_config *arg1) override
int ranged_break_num_registers() override
bool supports_enable_disable_tracepoint() override
void commit_resumed() override
ULONGEST get_memory_xfer_limit() override
bool supports_terminal_ours() override
int upload_trace_state_variables(struct uploaded_tsv **arg0) override
bool static_tracepoint_marker_at(CORE_ADDR arg0, static_tracepoint_marker *arg1) override
bool fetch_memtags(CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3) override
void insn_history_range(ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) override
bool stopped_by_hw_breakpoint() override
bool stopped_data_address(CORE_ADDR *arg0) override
bool supports_evaluation_of_breakpoint_conditions() override
bool attach_no_wait() override
bool supports_memory_tagging() override
bool use_agent(bool arg0) override
bool supports_string_tracing() override
std::vector< static_tracepoint_marker > static_tracepoint_markers_by_strid(const char *arg0) override
const char * thread_name(thread_info *arg0) override
void insn_history_from(ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) override
std::vector< mem_region > memory_map() override
bool supports_terminal_ours() override
bool is_async_p() override
void terminal_save_inferior() override
void goto_record(ULONGEST arg0) override
int insert_vfork_catchpoint(int arg0) override
void call_history_from(ULONGEST arg0, int arg1, record_print_flags arg2) override
void enable_tracepoint(struct bp_location *arg0) override
void download_tracepoint(struct bp_location *arg0) override
void terminal_inferior() override
bool has_pending_events() override
bool fetch_memtags(CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3) override
void info_record() override
int core_of_thread(ptid_t arg0) override
int get_min_fast_tracepoint_insn_len() override
void set_trace_buffer_size(LONGEST arg0) override
int save_trace_data(const char *arg0) override
void terminal_ours() override
void record_stop_replaying() override
void set_permissions() override
bool record_is_replaying(ptid_t arg0) override
void follow_exec(inferior *arg0, ptid_t arg1, const char *arg2) override
void load(const char *arg0, int arg1) override
bool supports_non_stop() override
bool thread_alive(ptid_t arg0) override
int trace_find(enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) override
const char * pid_to_exec_file(int arg0) override
int insert_hw_breakpoint(struct gdbarch *arg0, struct bp_target_info *arg1) override
bool can_async_p() override
bool can_execute_reverse() override
const char * extra_thread_info(thread_info *arg0) override
void insn_history(int arg0, gdb_disassembly_flags arg1) override
void thread_events(int arg0) override
void async(bool arg0) override
void disable_tracepoint(struct bp_location *arg0) override
void prepare_to_store(struct regcache *arg0) override
bool can_accel_watchpoint_condition(CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) override
void program_signals(gdb::array_view< const unsigned char > arg0) override
const target_section_table * get_section_table() override
enum record_method record_method(ptid_t arg0) override
void disconnect(const char *arg0, int arg1) override
void log_command(const char *arg0) override
int remove_breakpoint(struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) override
void call_history_range(ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) override
bool watchpoint_addr_within_range(CORE_ADDR arg0, CORE_ADDR arg1, int arg2) override
int remove_hw_breakpoint(struct gdbarch *arg0, struct bp_target_info *arg1) override
int get_trace_status(struct trace_status *arg0) override
void delete_record() override
int insert_mask_watchpoint(CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override
void goto_bookmark(const gdb_byte *arg0, int arg1) override
int async_wait_fd() override
gdb::byte_vector thread_info_to_thread_handle(struct thread_info *arg0) override
strata stratum() const override
Definition: target.c:3723
int region_ok_for_hw_watchpoint(CORE_ADDR arg0, int arg1) override
int remove_exec_catchpoint(int arg0) override
void mourn_inferior() override
void stop_recording() override
int can_do_single_step() override
bool stopped_by_sw_breakpoint() override
enum btrace_error read_btrace(struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) override
int find_memory_regions(find_memory_region_ftype arg0, void *arg1) override
void pass_ctrlc() override
ptid_t get_ada_task_ptid(long arg0, ULONGEST arg1) override
traceframe_info_up traceframe_info() override
int remove_fork_catchpoint(int arg0) override
bool store_memtags(CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3) override
void trace_init() override
void disable_btrace(struct btrace_target_info *arg0) override
bool can_run_breakpoint_commands() override
int search_memory(CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) override
bool record_will_replay(ptid_t arg0, int arg1) override
bool supports_dumpcore() override
void trace_set_readonly_regions() override
bool stopped_data_address(CORE_ADDR *arg0) override
int masked_watch_num_registers(CORE_ADDR arg0, CORE_ADDR arg1) override
struct gdbarch * thread_architecture(ptid_t arg0) override
bool augmented_libraries_svr4_read() override
int remove_vfork_catchpoint(int arg0) override
bool always_non_stop_p() override
void store_registers(struct regcache *arg0, int arg1) override
void pass_signals(gdb::array_view< const unsigned char > arg0) override
int verify_memory(const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) override
int set_syscall_catchpoint(int arg0, bool arg1, int arg2, gdb::array_view< const int > arg3) override
void follow_fork(inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4) override
void set_circular_trace_buffer(int arg0) override
enum exec_direction_kind execution_direction() override
thread_control_capabilities get_thread_control_capabilities() override
const struct frame_unwind * get_unwinder() override
void rcmd(const char *arg0, struct ui_file *arg1) override
void done_generating_core() override
void terminal_init() override
void dumpcore(const char *arg0) override
void download_trace_state_variable(const trace_state_variable &arg0) override
void set_disconnected_tracing(int arg0) override
const target_info & info() const override
Definition: target.c:3735
bool stopped_by_watchpoint() override
void interrupt() override
bool supports_enable_disable_tracepoint() override
bool static_tracepoint_marker_at(CORE_ADDR arg0, static_tracepoint_marker *arg1) override
LONGEST get_raw_trace_data(gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) override
void get_tracepoint_status(struct breakpoint *arg0, struct uploaded_tp *arg1) override
bool supports_disable_randomization() override
int ranged_break_num_registers() override
void goto_record_begin() override
void call_history(int arg0, record_print_flags arg1) override
CORE_ADDR get_thread_local_address(ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) override
ptid_t wait(ptid_t arg0, struct target_waitstatus *arg1, target_wait_flags arg2) override
gdb::unique_xmalloc_ptr< char > make_corefile_notes(bfd *arg0, int *arg1) override
void detach(inferior *arg0, int arg1) override
void fetch_registers(struct regcache *arg0, int arg1) override
bool filesystem_is_local() override
int auxv_parse(const gdb_byte **arg0, const gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) override
bool set_trace_notes(const char *arg0, const char *arg1, const char *arg2) override
struct address_space * thread_address_space(ptid_t arg0) override
enum target_xfer_status xfer_partial(enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6) override
int can_use_hw_breakpoint(enum bptype arg0, int arg1, int arg2) override
int remove_mask_watchpoint(CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override
thread_info * thread_handle_to_thread_info(const gdb_byte *arg0, int arg1, inferior *arg2) override
bool stopped_by_hw_breakpoint() override
void goto_record_end() override
int upload_tracepoints(struct uploaded_tp **arg0) override
bool can_download_tracepoint() override
const struct btrace_config * btrace_conf(const struct btrace_target_info *arg0) override
void update_thread_list() override
void post_attach(int arg0) override
bool get_tib_address(ptid_t arg0, CORE_ADDR *arg1) override
void trace_stop() override
gdb_byte * get_bookmark(const char *arg0, int arg1) override
void flash_erase(ULONGEST arg0, LONGEST arg1) override
void terminal_info(const char *arg0, int arg1) override
bool can_use_agent() override
int remove_watchpoint(CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override
void commit_resumed() override
void files_info() override
void insn_history_range(ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) override
bool supports_delete_record() override
void teardown_btrace(struct btrace_target_info *arg0) override
const struct target_desc * read_description() override
struct btrace_target_info * enable_btrace(thread_info *arg0, const struct btrace_config *arg1) override
void save_record(const char *arg0) override
void trace_start() override
bool supports_evaluation_of_breakpoint_conditions() override
void flash_done() override
bool supports_stopped_by_hw_breakpoint() override
int insert_exec_catchpoint(int arg0) override
int insert_fork_catchpoint(int arg0) override
int insert_watchpoint(CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override
int upload_trace_state_variables(struct uploaded_tsv **arg0) override
int insert_breakpoint(struct gdbarch *arg0, struct bp_target_info *arg1) override
void terminal_ours_for_output() override
ULONGEST get_memory_xfer_limit() override
bool supports_multi_process() override
void resume(ptid_t arg0, int arg1, enum gdb_signal arg2) override
void prepare_to_generate_core() override
bool supports_stopped_by_sw_breakpoint() override
void kill() override
bool have_steppable_watchpoint() override
bool get_trace_state_variable_value(int arg0, LONGEST *arg1) override
const struct frame_unwind * get_tailcall_unwinder() override
std::string pid_to_str(ptid_t arg0) override
virtual LONGEST get_raw_trace_data(gdb_byte *buf, ULONGEST offset, LONGEST len) TARGET_DEFAULT_NORETURN(tcomplain())
virtual std::vector< mem_region > virtual memory_map() TARGET_DEFAULT_RETURN(std void flash_erase(ULONGEST address, LONGEST length) TARGET_DEFAULT_NORETURN(tcomplain())
virtual bool attach_no_wait() TARGET_DEFAULT_RETURN(0)
virtual int insert_mask_watchpoint(CORE_ADDR, CORE_ADDR, enum target_hw_bp_type) TARGET_DEFAULT_RETURN(1)
virtual int async_wait_fd() TARGET_DEFAULT_NORETURN(noprocess())
virtual ptid_t wait(ptid_t, struct target_waitstatus *, target_wait_flags options) TARGET_DEFAULT_FUNC(default_target_wait)
virtual void insn_history(int size, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
virtual bool have_steppable_watchpoint() TARGET_DEFAULT_RETURN(false)
virtual void goto_record(ULONGEST insn) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void set_trace_buffer_size(LONGEST val) TARGET_DEFAULT_IGNORE()
virtual void terminal_inferior() TARGET_DEFAULT_IGNORE()
virtual int core_of_thread(ptid_t ptid) TARGET_DEFAULT_RETURN(-1)
virtual struct address_space * thread_address_space(ptid_t) TARGET_DEFAULT_RETURN(NULL)
virtual void load(const char *, int) TARGET_DEFAULT_NORETURN(tcomplain())
virtual bool can_async_p() TARGET_DEFAULT_RETURN(false)
virtual void goto_record_begin() TARGET_DEFAULT_NORETURN(tcomplain())
virtual int find_memory_regions(find_memory_region_ftype func, void *data) TARGET_DEFAULT_FUNC(dummy_find_memory_regions)
virtual void trace_init() TARGET_DEFAULT_NORETURN(tcomplain())
virtual void prepare_to_generate_core() TARGET_DEFAULT_IGNORE()
virtual int remove_breakpoint(struct gdbarch *, struct bp_target_info *, enum remove_bp_reason) TARGET_DEFAULT_NORETURN(noprocess())
virtual int search_memory(CORE_ADDR start_addr, ULONGEST search_space_len, const gdb_byte *pattern, ULONGEST pattern_len, CORE_ADDR *found_addrp) TARGET_DEFAULT_FUNC(default_search_memory)
virtual bool static_tracepoint_marker_at(CORE_ADDR, static_tracepoint_marker *marker) TARGET_DEFAULT_RETURN(false)
virtual int remove_hw_breakpoint(struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1)
virtual void pass_signals(gdb::array_view< const unsigned char > TARGET_DEBUG_PRINTER(target_debug_print_signals)) TARGET_DEFAULT_IGNORE()
virtual std::string pid_to_str(ptid_t) TARGET_DEFAULT_FUNC(default_pid_to_str)
virtual void terminal_init() TARGET_DEFAULT_IGNORE()
virtual void fetch_registers(struct regcache *, int) TARGET_DEFAULT_IGNORE()
virtual bool supports_evaluation_of_breakpoint_conditions() TARGET_DEFAULT_RETURN(false)
virtual bool use_agent(bool use) TARGET_DEFAULT_NORETURN(tcomplain())
virtual bool stopped_by_sw_breakpoint() TARGET_DEFAULT_RETURN(false)
virtual bool can_download_tracepoint() TARGET_DEFAULT_RETURN(false)
virtual thread_control_capabilities get_thread_control_capabilities() TARGET_DEFAULT_RETURN(tc_none)
virtual void goto_bookmark(const gdb_byte *, int) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void detach(inferior *, int) TARGET_DEFAULT_IGNORE()
virtual void insn_history_from(ULONGEST from, int size, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void enable_tracepoint(struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void set_circular_trace_buffer(int val) TARGET_DEFAULT_IGNORE()
virtual thread_info * thread_handle_to_thread_info(const gdb_byte *, int, inferior *inf) TARGET_DEFAULT_RETURN(NULL)
virtual int remove_watchpoint(CORE_ADDR, int, enum target_hw_bp_type, struct expression *) TARGET_DEFAULT_RETURN(-1)
virtual void goto_record_end() TARGET_DEFAULT_NORETURN(tcomplain())
virtual void trace_set_readonly_regions() TARGET_DEFAULT_NORETURN(tcomplain())
virtual void terminal_ours_for_output() TARGET_DEFAULT_IGNORE()
virtual void record_stop_replaying() TARGET_DEFAULT_IGNORE()
virtual bool supports_multi_process() TARGET_DEFAULT_RETURN(false)
virtual int insert_watchpoint(CORE_ADDR, int, enum target_hw_bp_type, struct expression *) TARGET_DEFAULT_RETURN(-1)
virtual void info_record() TARGET_DEFAULT_IGNORE()
virtual bool stopped_by_watchpoint() TARGET_DEFAULT_RETURN(false)
target_ops * beneath() const
Definition: target.c:3020
virtual int can_do_single_step() TARGET_DEFAULT_RETURN(-1)
virtual bool get_trace_state_variable_value(int tsv, LONGEST *val) TARGET_DEFAULT_RETURN(false)
virtual bool stopped_data_address(CORE_ADDR *) TARGET_DEFAULT_RETURN(false)
virtual void download_tracepoint(struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void kill() TARGET_DEFAULT_NORETURN(noprocess())
virtual bool can_execute_reverse() TARGET_DEFAULT_RETURN(false)
virtual int get_trace_status(struct trace_status *ts) TARGET_DEFAULT_RETURN(-1)
virtual int insert_hw_breakpoint(struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1)
virtual void set_disconnected_tracing(int val) TARGET_DEFAULT_IGNORE()
virtual void save_record(const char *filename) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void program_signals(gdb::array_view< const unsigned char > TARGET_DEBUG_PRINTER(target_debug_print_signals)) TARGET_DEFAULT_IGNORE()
virtual void get_tracepoint_status(struct breakpoint *tp, struct uploaded_tp *utp) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void commit_resumed() TARGET_DEFAULT_IGNORE()
virtual enum exec_direction_kind execution_direction() TARGET_DEFAULT_FUNC(default_execution_direction)
virtual traceframe_info_up traceframe_info() TARGET_DEFAULT_NORETURN(tcomplain())
virtual int insert_fork_catchpoint(int) TARGET_DEFAULT_RETURN(1)
virtual struct btrace_target_info * enable_btrace(thread_info *tp, const struct btrace_config *conf) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void store_registers(struct regcache *, int) TARGET_DEFAULT_NORETURN(noprocess())
virtual bool fetch_memtags(CORE_ADDR address, size_t len, gdb::byte_vector &tags, int type) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void terminal_ours() TARGET_DEFAULT_IGNORE()
virtual void trace_start() TARGET_DEFAULT_NORETURN(tcomplain())
virtual void flash_done() TARGET_DEFAULT_NORETURN(tcomplain())
virtual void done_generating_core() TARGET_DEFAULT_IGNORE()
virtual int save_trace_data(const char *filename) TARGET_DEFAULT_NORETURN(tcomplain())
virtual gdb_byte * get_bookmark(const char *, int) TARGET_DEFAULT_NORETURN(tcomplain())
virtual int auxv_parse(const gdb_byte **readptr, const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) TARGET_DEFAULT_FUNC(default_auxv_parse)
virtual void follow_fork(inferior *, ptid_t, target_waitkind, bool, bool) TARGET_DEFAULT_FUNC(default_follow_fork)
virtual int can_use_hw_breakpoint(enum bptype, int, int) TARGET_DEFAULT_RETURN(0)
virtual enum target_xfer_status xfer_partial(enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) TARGET_DEFAULT_RETURN(TARGET_XFER_E_IO)
virtual gdb::byte_vector virtual thread_info_to_thread_handle(struct thread_info *) TARGET_DEFAULT_RETURN(gdb voi stop)(ptid_t) TARGET_DEFAULT_IGNORE()
Definition: target.h:684
virtual ULONGEST get_memory_xfer_limit() TARGET_DEFAULT_RETURN(ULONGEST_MAX)
virtual bool record_is_replaying(ptid_t ptid) TARGET_DEFAULT_RETURN(false)
virtual enum record_method record_method(ptid_t ptid) TARGET_DEFAULT_RETURN(RECORD_METHOD_NONE)
virtual bool supports_stopped_by_sw_breakpoint() TARGET_DEFAULT_RETURN(false)
virtual bool stopped_by_hw_breakpoint() TARGET_DEFAULT_RETURN(false)
virtual gdb::unique_xmalloc_ptr< char > make_corefile_notes(bfd *, int *) TARGET_DEFAULT_FUNC(dummy_make_corefile_notes)
virtual bool supports_disable_randomization() TARGET_DEFAULT_FUNC(find_default_supports_disable_randomization)
virtual const char * extra_thread_info(thread_info *) TARGET_DEFAULT_RETURN(NULL)
virtual bool filesystem_is_local() TARGET_DEFAULT_RETURN(true)
virtual bool can_run_breakpoint_commands() TARGET_DEFAULT_RETURN(false)
virtual int ranged_break_num_registers() TARGET_DEFAULT_RETURN(-1)
virtual int get_min_fast_tracepoint_insn_len() TARGET_DEFAULT_RETURN(-1)
virtual const struct frame_unwind * get_tailcall_unwinder() TARGET_DEFAULT_RETURN(NULL)
virtual ptid_t get_ada_task_ptid(long lwp, ULONGEST thread) TARGET_DEFAULT_FUNC(default_get_ada_task_ptid)
virtual int masked_watch_num_registers(CORE_ADDR, CORE_ADDR) TARGET_DEFAULT_RETURN(-1)
virtual void async(bool) TARGET_DEFAULT_NORETURN(tcomplain())
virtual std::vector< static_tracepoint_marker > static_tracepoint_markers_by_strid(const char *id) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void terminal_save_inferior() TARGET_DEFAULT_IGNORE()
const char * shortname() const
Definition: target.h:451
virtual bool supports_dumpcore() TARGET_DEFAULT_RETURN(false)
virtual bool supports_stopped_by_hw_breakpoint() TARGET_DEFAULT_RETURN(false)
virtual void resume(ptid_t, int TARGET_DEBUG_PRINTER(target_debug_print_step), enum gdb_signal) TARGET_DEFAULT_NORETURN(noprocess())
virtual bool is_async_p() TARGET_DEFAULT_RETURN(false)
virtual bool watchpoint_addr_within_range(CORE_ADDR, CORE_ADDR, int) TARGET_DEFAULT_FUNC(default_watchpoint_addr_within_range)
virtual const char * pid_to_exec_file(int pid) TARGET_DEFAULT_RETURN(NULL)
virtual struct gdbarch * thread_architecture(ptid_t) TARGET_DEFAULT_RETURN(NULL)
virtual bool can_accel_watchpoint_condition(CORE_ADDR, int, int, struct expression *) TARGET_DEFAULT_RETURN(false)
virtual void thread_events(int) TARGET_DEFAULT_IGNORE()
virtual bool supports_non_stop() TARGET_DEFAULT_RETURN(false)
virtual int verify_memory(const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size) TARGET_DEFAULT_FUNC(default_verify_memory)
virtual void insn_history_range(ULONGEST begin, ULONGEST end, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void log_command(const char *) TARGET_DEFAULT_IGNORE()
virtual void update_thread_list() TARGET_DEFAULT_IGNORE()
virtual int trace_find(enum trace_find_type type, int num, CORE_ADDR addr1, CORE_ADDR addr2, int *tpp) TARGET_DEFAULT_RETURN(-1)
virtual void delete_record() TARGET_DEFAULT_NORETURN(tcomplain())
virtual void teardown_btrace(struct btrace_target_info *tinfo) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void stop_recording() TARGET_DEFAULT_IGNORE()
virtual bool store_memtags(CORE_ADDR address, size_t len, const gdb::byte_vector &tags, int type) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void files_info() TARGET_DEFAULT_IGNORE()
virtual int upload_trace_state_variables(struct uploaded_tsv **utsvp) TARGET_DEFAULT_RETURN(0)
virtual void disable_tracepoint(struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain())
virtual const char * thread_name(thread_info *) TARGET_DEFAULT_RETURN(NULL)
virtual void disable_btrace(struct btrace_target_info *tinfo) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void pass_ctrlc() TARGET_DEFAULT_FUNC(default_target_pass_ctrlc)
virtual void prepare_to_store(struct regcache *) TARGET_DEFAULT_NORETURN(noprocess())
virtual void set_permissions() TARGET_DEFAULT_IGNORE()
virtual void interrupt() TARGET_DEFAULT_IGNORE()
virtual void trace_stop() TARGET_DEFAULT_NORETURN(tcomplain())
virtual bool can_use_agent() TARGET_DEFAULT_RETURN(false)
virtual void call_history_from(ULONGEST begin, int size, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
virtual bool augmented_libraries_svr4_read() TARGET_DEFAULT_RETURN(false)
virtual void mourn_inferior() TARGET_DEFAULT_FUNC(default_mourn_inferior)
virtual int insert_vfork_catchpoint(int) TARGET_DEFAULT_RETURN(1)
virtual bool thread_alive(ptid_t ptid) TARGET_DEFAULT_RETURN(false)
virtual void download_trace_state_variable(const trace_state_variable &tsv) TARGET_DEFAULT_NORETURN(tcomplain())
virtual void disconnect(const char *, int) TARGET_DEFAULT_NORETURN(tcomplain())
virtual bool set_trace_notes(const char *user, const char *notes, const char *stopnotes) TARGET_DEFAULT_RETURN(false)
virtual bool supports_enable_disable_tracepoint() TARGET_DEFAULT_RETURN(false)
virtual int insert_breakpoint(struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_NORETURN(noprocess())
virtual bool record_will_replay(ptid_t ptid, int dir) TARGET_DEFAULT_RETURN(false)
virtual int remove_fork_catchpoint(int) TARGET_DEFAULT_RETURN(1)
virtual void dumpcore(const char *filename) TARGET_DEFAULT_IGNORE()
virtual const struct frame_unwind * get_unwinder() TARGET_DEFAULT_RETURN(NULL)
virtual enum btrace_error read_btrace(struct btrace_data *data, struct btrace_target_info *btinfo, enum btrace_read_type type) TARGET_DEFAULT_NORETURN(tcomplain())
virtual const struct target_desc * read_description() TARGET_DEFAULT_RETURN(NULL)
virtual void call_history_range(ULONGEST begin, ULONGEST end, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
virtual bool supports_memory_tagging() TARGET_DEFAULT_RETURN(false)
virtual int region_ok_for_hw_watchpoint(CORE_ADDR, int) TARGET_DEFAULT_FUNC(default_region_ok_for_hw_watchpoint)
virtual bool supports_terminal_ours() TARGET_DEFAULT_RETURN(false)
virtual int upload_tracepoints(struct uploaded_tp **utpp) TARGET_DEFAULT_RETURN(0)
virtual int remove_mask_watchpoint(CORE_ADDR, CORE_ADDR, enum target_hw_bp_type) TARGET_DEFAULT_RETURN(1)
virtual bool always_non_stop_p() TARGET_DEFAULT_RETURN(false)
virtual bool supports_delete_record() TARGET_DEFAULT_RETURN(false)
virtual int remove_vfork_catchpoint(int) TARGET_DEFAULT_RETURN(1)
virtual const target_section_table * get_section_table() TARGET_DEFAULT_RETURN(default_get_section_table())
virtual void follow_exec(inferior *, ptid_t, const char *) TARGET_DEFAULT_IGNORE()
virtual bool supports_string_tracing() TARGET_DEFAULT_RETURN(false)
virtual void call_history(int size, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
virtual int set_syscall_catchpoint(int, bool, int, gdb::array_view< const int >) TARGET_DEFAULT_RETURN(1)
virtual bool has_pending_events() TARGET_DEFAULT_RETURN(false)
virtual void rcmd(const char *command, struct ui_file *output) TARGET_DEFAULT_FUNC(default_rcmd)
virtual void post_attach(int) TARGET_DEFAULT_IGNORE()
virtual bool get_tib_address(ptid_t ptid, CORE_ADDR *addr) TARGET_DEFAULT_NORETURN(tcomplain())
virtual int insert_exec_catchpoint(int) TARGET_DEFAULT_RETURN(1)
virtual void terminal_info(const char *, int) TARGET_DEFAULT_FUNC(default_terminal_info)
virtual int remove_exec_catchpoint(int) TARGET_DEFAULT_RETURN(1)
virtual const struct btrace_config * btrace_conf(const struct btrace_target_info *) TARGET_DEFAULT_RETURN(NULL)
virtual CORE_ADDR get_thread_local_address(ptid_t ptid, CORE_ADDR load_module_addr, CORE_ADDR offset) TARGET_DEFAULT_NORETURN(generic_tls_error())
#define target_debug_print_struct_breakpoint_p(X)
Definition: target-debug.h:127
#define target_debug_print_long(X)
Definition: target-debug.h:59
#define target_debug_print_struct_address_space_p(X)
Definition: target-debug.h:91
#define target_debug_print_struct_uploaded_tp_p(X)
Definition: target-debug.h:129
#define target_debug_print_struct_thread_info_p(X)
Definition: target-debug.h:103
#define target_debug_print_const_gdb_byte_pp(X)
Definition: target-debug.h:79
#define target_debug_print_int(X)
Definition: target-debug.h:55
#define target_debug_print_const_char_p(X)
Definition: target-debug.h:51
#define target_debug_print_const_trace_state_variable_r(X)
Definition: target-debug.h:123
#define target_debug_print_std_vector_mem_region(X)
Definition: target-debug.h:115
#define target_debug_print_thread_control_capabilities(X)
Definition: target-debug.h:167
#define target_debug_print_std_vector_static_tracepoint_marker(X)
Definition: target-debug.h:117
#define target_debug_print_enum_trace_find_type(X)
Definition: target-debug.h:65
#define target_debug_print_const_struct_btrace_config_p(X)
Definition: target-debug.h:145
#define target_debug_print_enum_record_method(X)
Definition: target-debug.h:143
#define target_debug_print_struct_bp_location_p(X)
Definition: target-debug.h:121
#define target_debug_print_struct_uploaded_tp_pp(X)
Definition: target-debug.h:131
#define target_debug_print_struct_expression_p(X)
Definition: target-debug.h:95
#define target_debug_print_bfd_p(X)
Definition: target-debug.h:113
#define target_debug_print_gdb_unique_xmalloc_ptr_char(X)
Definition: target-debug.h:175
#define target_debug_print_enum_btrace_error(X)
Definition: target-debug.h:69
#define target_debug_print_thread_info_p(X)
Definition: target-debug.h:169
#define target_debug_print_struct_trace_status_p(X)
Definition: target-debug.h:125
#define target_debug_print_const_target_section_table_p(X)
Definition: target-debug.h:107
#define target_debug_print_gdb_byte_vector(X)
Definition: target-debug.h:173
#define target_debug_print_enum_exec_direction_kind(X)
Definition: target-debug.h:63
#define target_debug_print_struct_bp_target_info_p(X)
Definition: target-debug.h:93
#define target_debug_print_record_print_flags(X)
Definition: target-debug.h:165
#define target_debug_print_enum_target_xfer_status(X)
Definition: target-debug.h:61
#define target_debug_print_traceframe_info_up(X)
Definition: target-debug.h:159
#define target_debug_print_enum_target_hw_bp_type(X)
Definition: target-debug.h:149
#define target_debug_print_void_p(X)
Definition: target-debug.h:109
#define target_debug_print_gdb_byte_p(X)
Definition: target-debug.h:77
#define target_debug_print_LONGEST(X)
Definition: target-debug.h:87
#define target_debug_print_inferior_p(inf)
Definition: target-debug.h:163
#define target_debug_print_find_memory_region_ftype(X)
Definition: target-debug.h:111
#define target_debug_print_int_p(X)
Definition: target-debug.h:99
#define target_debug_print_struct_gdbarch_p(X)
Definition: target-debug.h:73
#define target_debug_print_std_string(X)
Definition: target-debug.h:171
#define target_debug_print_enum_target_object(X)
Definition: target-debug.h:47
#define target_debug_print_const_gdb_byte_p(X)
Definition: target-debug.h:75
#define target_debug_print_enum_bptype(X)
Definition: target-debug.h:151
#define target_debug_print_enum_btrace_read_type(X)
Definition: target-debug.h:67
#define target_debug_print_struct_btrace_data_p(X)
Definition: target-debug.h:141
#define target_debug_print_ULONGEST_p(X)
Definition: target-debug.h:85
#define target_debug_print_bool(X)
Definition: target-debug.h:57
#define target_debug_print_enum_gdb_signal(X)
Definition: target-debug.h:81
#define target_debug_print_const_struct_frame_unwind_p(X)
Definition: target-debug.h:139
#define target_debug_print_const_struct_btrace_target_info_p(X)
Definition: target-debug.h:147
static void target_debug_print_size_t(size_t size)
Definition: target-debug.h:216
#define target_debug_print_ptid_t(X)
Definition: target-debug.h:71
#define target_debug_print_LONGEST_p(X)
Definition: target-debug.h:89
#define target_debug_print_target_waitkind(X)
Definition: target-debug.h:177
#define target_debug_print_step(X)
Definition: target-debug.h:190
#define target_debug_print_gdb_disassembly_flags(X)
Definition: target-debug.h:157
#define target_debug_print_static_tracepoint_marker_p(X)
Definition: target-debug.h:135
#define target_debug_print_struct_regcache_p(X)
Definition: target-debug.h:101
#define target_debug_print_struct_ui_file_p(X)
Definition: target-debug.h:105
#define target_debug_print_const_struct_target_desc_p(X)
Definition: target-debug.h:119
#define target_debug_print_CORE_ADDR_p(X)
Definition: target-debug.h:97
#define target_debug_print_struct_btrace_target_info_p(X)
Definition: target-debug.h:137
#define target_debug_print_ULONGEST(X)
Definition: target-debug.h:83
#define target_debug_print_gdb_array_view_const_int(X)
Definition: target-debug.h:161
#define target_debug_print_enum_remove_bp_reason(X)
Definition: target-debug.h:155
#define target_debug_print_CORE_ADDR(X)
Definition: target-debug.h:49
#define target_debug_print_struct_uploaded_tsv_pp(X)
Definition: target-debug.h:133
static void target_debug_print_target_wait_flags(target_wait_flags options)
Definition: target-debug.h:194
static void target_debug_print_gdb_byte_vector_r(gdb::byte_vector &vector)
Definition: target-debug.h:235
static void target_debug_print_const_gdb_byte_vector_r(const gdb::byte_vector &vector)
Definition: target-debug.h:222
static void target_debug_print_struct_target_waitstatus_p(struct target_waitstatus *status)
Definition: target-debug.h:181
static void target_debug_print_signals(gdb::array_view< const unsigned char > sigs)
Definition: target-debug.h:202
std::vector< target_section > target_section_table
static void tcomplain(void)
Definition: target.c:1124
static ptid_t default_get_ada_task_ptid(struct target_ops *self, long lwp, ULONGEST tid)
Definition: target.c:1149
static std::string default_pid_to_str(struct target_ops *ops, ptid_t ptid)
Definition: target.c:3678
void default_target_pass_ctrlc(struct target_ops *ops)
Definition: target.c:3839
void noprocess(void)
Definition: target.c:1131
static void default_follow_fork(struct target_ops *self, inferior *child_inf, ptid_t child_ptid, target_waitkind fork_kind, bool follow_child, bool detach_fork)
Definition: target.c:2689
static int default_watchpoint_addr_within_range(struct target_ops *target, CORE_ADDR addr, CORE_ADDR start, int length)
Definition: target.c:3568
static void default_mourn_inferior(struct target_ops *self)
Definition: target.c:2731
static int dummy_find_memory_regions(struct target_ops *self, find_memory_region_ftype ignore1, void *ignore2)
Definition: target.c:3685
ptid_t default_target_wait(struct target_ops *ops, ptid_t ptid, struct target_waitstatus *status, target_wait_flags options)
Definition: target.c:2593
static int find_default_supports_disable_randomization(struct target_ops *self)
Definition: target.c:2960
static void generic_tls_error(void)
Definition: target.c:58
static gdb::unique_xmalloc_ptr< char > dummy_make_corefile_notes(struct target_ops *self, bfd *ignore1, int *ignore2)
Definition: target.c:3694
static int default_search_memory(struct target_ops *self, CORE_ADDR start_addr, ULONGEST search_space_len, const gdb_byte *pattern, ULONGEST pattern_len, CORE_ADDR *found_addrp)
Definition: target.c:2761
const target_section_table * default_get_section_table()
Definition: target.c:1397
static enum exec_direction_kind default_execution_direction(struct target_ops *self)
Definition: target.c:1155
static void default_terminal_info(struct target_ops *self, const char *args, int from_tty)
Definition: target.c:1137
static int default_region_ok_for_hw_watchpoint(struct target_ops *self, CORE_ADDR addr, int len)
Definition: target.c:3561
static int default_verify_memory(struct target_ops *self, const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size)
Definition: target.c:3978
static void default_rcmd(struct target_ops *self, const char *command, struct ui_file *output)
Definition: target.c:4260
target_xfer_status
Definition: target.h:214
@ TARGET_XFER_E_IO
Definition: target.h:227
target_object
Definition: target.h:138
strata
Definition: target.h:89
thread_control_capabilities
Definition: target.h:100
@ tc_none
Definition: target.h:101
std::unique_ptr< traceframe_info > traceframe_info_up
Definition: tracepoint.h:40
trace_find_type
Definition: tracepoint.h:408
void gdb_printf(struct ui_file *stream, const char *format,...)
Definition: utils.c:1865
void gdb_puts(const char *linebuffer, struct ui_file *stream)
Definition: utils.c:1788
#define gdb_stdlog
Definition: utils.h:196
target_waitkind
Definition: waitstatus.h:30