GDB (xrefs)
Loading...
Searching...
No Matches
target-delegates.c
Go to the documentation of this file.
1/* 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::array_view<const_gdb_byte> 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 (tracepoint *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 x86_xsave_layout fetch_x86_xsave_layout () override;
200};
201
203{
204 const target_info &info () const override;
205
206 strata stratum () const override;
207
208 void post_attach (int arg0) override;
209 void detach (inferior *arg0, int arg1) override;
210 void disconnect (const char *arg0, int arg1) override;
211 void resume (ptid_t arg0, int arg1, enum gdb_signal arg2) override;
212 void commit_resumed () override;
213 ptid_t wait (ptid_t arg0, struct target_waitstatus *arg1, target_wait_flags arg2) override;
214 void fetch_registers (struct regcache *arg0, int arg1) override;
215 void store_registers (struct regcache *arg0, int arg1) override;
216 void prepare_to_store (struct regcache *arg0) override;
217 void files_info () override;
218 int insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
219 int remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) override;
220 bool stopped_by_sw_breakpoint () override;
221 bool supports_stopped_by_sw_breakpoint () override;
222 bool stopped_by_hw_breakpoint () override;
223 bool supports_stopped_by_hw_breakpoint () override;
224 int can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2) override;
225 int ranged_break_num_registers () override;
226 int insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
227 int remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
228 int remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
229 int insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
230 int insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
231 int remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
232 bool stopped_by_watchpoint () override;
233 bool have_steppable_watchpoint () override;
234 bool stopped_data_address (CORE_ADDR *arg0) override;
235 bool watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2) override;
236 int region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1) override;
237 bool can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) override;
238 int masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1) override;
239 int can_do_single_step () override;
240 bool supports_terminal_ours () override;
241 void terminal_init () override;
242 void terminal_inferior () override;
243 void terminal_save_inferior () override;
244 void terminal_ours_for_output () override;
245 void terminal_ours () override;
246 void terminal_info (const char *arg0, int arg1) override;
247 void kill () override;
248 void load (const char *arg0, int arg1) override;
249 int insert_fork_catchpoint (int arg0) override;
250 int remove_fork_catchpoint (int arg0) override;
251 int insert_vfork_catchpoint (int arg0) override;
252 int remove_vfork_catchpoint (int arg0) override;
253 void follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4) override;
254 int insert_exec_catchpoint (int arg0) override;
255 int remove_exec_catchpoint (int arg0) override;
256 void follow_exec (inferior *arg0, ptid_t arg1, const char *arg2) override;
257 int set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3) override;
258 void mourn_inferior () override;
259 void pass_signals (gdb::array_view<const unsigned char> arg0) override;
260 void program_signals (gdb::array_view<const unsigned char> arg0) override;
261 bool thread_alive (ptid_t arg0) override;
262 void update_thread_list () override;
263 std::string pid_to_str (ptid_t arg0) override;
264 const char *extra_thread_info (thread_info *arg0) override;
265 const char *thread_name (thread_info *arg0) override;
266 thread_info *thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2) override;
267 gdb::array_view<const_gdb_byte> thread_info_to_thread_handle (struct thread_info *arg0) override;
268 void stop (ptid_t arg0) override;
269 void interrupt () override;
270 void pass_ctrlc () override;
271 void rcmd (const char *arg0, struct ui_file *arg1) override;
272 const char *pid_to_exec_file (int arg0) override;
273 void log_command (const char *arg0) override;
274 const target_section_table *get_section_table () override;
276 bool attach_no_wait () override;
277 bool can_async_p () override;
278 bool is_async_p () override;
279 void async (bool arg0) override;
280 int async_wait_fd () override;
281 bool has_pending_events () override;
282 void thread_events (int arg0) override;
283 bool supports_non_stop () override;
284 bool always_non_stop_p () override;
285 int find_memory_regions (find_memory_region_ftype arg0, void *arg1) override;
286 gdb::unique_xmalloc_ptr<char> make_corefile_notes (bfd *arg0, int *arg1) override;
287 gdb_byte *get_bookmark (const char *arg0, int arg1) override;
288 void goto_bookmark (const gdb_byte *arg0, int arg1) override;
289 CORE_ADDR get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) override;
290 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;
291 ULONGEST get_memory_xfer_limit () override;
292 std::vector<mem_region> memory_map () override;
293 void flash_erase (ULONGEST arg0, LONGEST arg1) override;
294 void flash_done () override;
295 const struct target_desc *read_description () override;
296 ptid_t get_ada_task_ptid (long arg0, ULONGEST arg1) override;
297 int auxv_parse (const gdb_byte **arg0, const gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) override;
298 int search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) override;
299 bool can_execute_reverse () override;
301 bool supports_multi_process () override;
302 bool supports_enable_disable_tracepoint () override;
303 bool supports_disable_randomization () override;
304 bool supports_string_tracing () override;
306 bool supports_dumpcore () override;
307 void dumpcore (const char *arg0) override;
308 bool can_run_breakpoint_commands () override;
309 struct gdbarch *thread_architecture (ptid_t arg0) override;
310 struct address_space *thread_address_space (ptid_t arg0) override;
311 bool filesystem_is_local () override;
312 void trace_init () override;
313 void download_tracepoint (struct bp_location *arg0) override;
314 bool can_download_tracepoint () override;
315 void download_trace_state_variable (const trace_state_variable &arg0) override;
316 void enable_tracepoint (struct bp_location *arg0) override;
317 void disable_tracepoint (struct bp_location *arg0) override;
318 void trace_set_readonly_regions () override;
319 void trace_start () override;
320 int get_trace_status (struct trace_status *arg0) override;
321 void get_tracepoint_status (tracepoint *arg0, struct uploaded_tp *arg1) override;
322 void trace_stop () override;
323 int trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) override;
324 bool get_trace_state_variable_value (int arg0, LONGEST *arg1) override;
325 int save_trace_data (const char *arg0) override;
326 int upload_tracepoints (struct uploaded_tp **arg0) override;
327 int upload_trace_state_variables (struct uploaded_tsv **arg0) override;
328 LONGEST get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) override;
329 int get_min_fast_tracepoint_insn_len () override;
330 void set_disconnected_tracing (int arg0) override;
331 void set_circular_trace_buffer (int arg0) override;
332 void set_trace_buffer_size (LONGEST arg0) override;
333 bool set_trace_notes (const char *arg0, const char *arg1, const char *arg2) override;
334 int core_of_thread (ptid_t arg0) override;
335 int verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) override;
336 bool get_tib_address (ptid_t arg0, CORE_ADDR *arg1) override;
337 void set_permissions () override;
338 bool static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) override;
339 std::vector<static_tracepoint_marker> static_tracepoint_markers_by_strid (const char *arg0) override;
341 bool use_agent (bool arg0) override;
342 bool can_use_agent () override;
343 struct btrace_target_info *enable_btrace (thread_info *arg0, const struct btrace_config *arg1) override;
344 void disable_btrace (struct btrace_target_info *arg0) override;
345 void teardown_btrace (struct btrace_target_info *arg0) override;
346 enum btrace_error read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) override;
347 const struct btrace_config *btrace_conf (const struct btrace_target_info *arg0) override;
348 enum record_method record_method (ptid_t arg0) override;
349 void stop_recording () override;
350 void info_record () override;
351 void save_record (const char *arg0) override;
352 bool supports_delete_record () override;
353 void delete_record () override;
354 bool record_is_replaying (ptid_t arg0) override;
355 bool record_will_replay (ptid_t arg0, int arg1) override;
356 void record_stop_replaying () override;
357 void goto_record_begin () override;
358 void goto_record_end () override;
359 void goto_record (ULONGEST arg0) override;
360 void insn_history (int arg0, gdb_disassembly_flags arg1) override;
361 void insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) override;
362 void insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) override;
363 void call_history (int arg0, record_print_flags arg1) override;
364 void call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) override;
365 void call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) override;
366 bool augmented_libraries_svr4_read () override;
367 const struct frame_unwind *get_unwinder () override;
368 const struct frame_unwind *get_tailcall_unwinder () override;
369 void prepare_to_generate_core () override;
370 void done_generating_core () override;
371 bool supports_memory_tagging () override;
372 bool fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3) override;
373 bool store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3) override;
374 x86_xsave_layout fetch_x86_xsave_layout () override;
375};
376
377void
379{
380 this->beneath ()->post_attach (arg0);
381}
382
383void
385{
386}
387
388void
390{
391 gdb_printf (gdb_stdlog, "-> %s->post_attach (...)\n", this->beneath ()->shortname ());
392 this->beneath ()->post_attach (arg0);
393 gdb_printf (gdb_stdlog, "<- %s->post_attach (", this->beneath ()->shortname ());
395 gdb_puts (")\n", gdb_stdlog);
396}
397
398void
400{
401 this->beneath ()->detach (arg0, arg1);
402}
403
404void
406{
407}
408
409void
411{
412 gdb_printf (gdb_stdlog, "-> %s->detach (...)\n", this->beneath ()->shortname ());
413 this->beneath ()->detach (arg0, arg1);
414 gdb_printf (gdb_stdlog, "<- %s->detach (", this->beneath ()->shortname ());
416 gdb_puts (", ", gdb_stdlog);
418 gdb_puts (")\n", gdb_stdlog);
419}
420
421void
422target_ops::disconnect (const char *arg0, int arg1)
423{
424 this->beneath ()->disconnect (arg0, arg1);
425}
426
427void
428dummy_target::disconnect (const char *arg0, int arg1)
429{
430 tcomplain ();
431}
432
433void
434debug_target::disconnect (const char *arg0, int arg1)
435{
436 gdb_printf (gdb_stdlog, "-> %s->disconnect (...)\n", this->beneath ()->shortname ());
437 this->beneath ()->disconnect (arg0, arg1);
438 gdb_printf (gdb_stdlog, "<- %s->disconnect (", this->beneath ()->shortname ());
440 gdb_puts (", ", gdb_stdlog);
442 gdb_puts (")\n", gdb_stdlog);
443}
444
445void
446target_ops::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
447{
448 this->beneath ()->resume (arg0, arg1, arg2);
449}
450
451void
452dummy_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
453{
454 noprocess ();
455}
456
457void
458debug_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
459{
460 gdb_printf (gdb_stdlog, "-> %s->resume (...)\n", this->beneath ()->shortname ());
461 this->beneath ()->resume (arg0, arg1, arg2);
462 gdb_printf (gdb_stdlog, "<- %s->resume (", this->beneath ()->shortname ());
464 gdb_puts (", ", gdb_stdlog);
466 gdb_puts (", ", gdb_stdlog);
468 gdb_puts (")\n", gdb_stdlog);
469}
470
471void
473{
474 this->beneath ()->commit_resumed ();
475}
476
477void
481
482void
484{
485 gdb_printf (gdb_stdlog, "-> %s->commit_resumed (...)\n", this->beneath ()->shortname ());
486 this->beneath ()->commit_resumed ();
487 gdb_printf (gdb_stdlog, "<- %s->commit_resumed (", this->beneath ()->shortname ());
488 gdb_puts (")\n", gdb_stdlog);
489}
490
491ptid_t
492target_ops::wait (ptid_t arg0, struct target_waitstatus *arg1, target_wait_flags arg2)
493{
494 return this->beneath ()->wait (arg0, arg1, arg2);
495}
496
497ptid_t
498dummy_target::wait (ptid_t arg0, struct target_waitstatus *arg1, target_wait_flags arg2)
499{
500 return default_target_wait (this, arg0, arg1, arg2);
501}
502
503ptid_t
504debug_target::wait (ptid_t arg0, struct target_waitstatus *arg1, target_wait_flags arg2)
505{
506 gdb_printf (gdb_stdlog, "-> %s->wait (...)\n", this->beneath ()->shortname ());
507 ptid_t result
508 = this->beneath ()->wait (arg0, arg1, arg2);
509 gdb_printf (gdb_stdlog, "<- %s->wait (", this->beneath ()->shortname ());
511 gdb_puts (", ", gdb_stdlog);
513 gdb_puts (", ", gdb_stdlog);
515 gdb_puts (") = ", gdb_stdlog);
517 gdb_puts ("\n", gdb_stdlog);
518 return result;
519}
520
521void
522target_ops::fetch_registers (struct regcache *arg0, int arg1)
523{
524 this->beneath ()->fetch_registers (arg0, arg1);
525}
526
527void
529{
530}
531
532void
534{
535 gdb_printf (gdb_stdlog, "-> %s->fetch_registers (...)\n", this->beneath ()->shortname ());
536 this->beneath ()->fetch_registers (arg0, arg1);
537 gdb_printf (gdb_stdlog, "<- %s->fetch_registers (", this->beneath ()->shortname ());
539 gdb_puts (", ", gdb_stdlog);
541 gdb_puts (")\n", gdb_stdlog);
542}
543
544void
545target_ops::store_registers (struct regcache *arg0, int arg1)
546{
547 this->beneath ()->store_registers (arg0, arg1);
548}
549
550void
552{
553 noprocess ();
554}
555
556void
558{
559 gdb_printf (gdb_stdlog, "-> %s->store_registers (...)\n", this->beneath ()->shortname ());
560 this->beneath ()->store_registers (arg0, arg1);
561 gdb_printf (gdb_stdlog, "<- %s->store_registers (", this->beneath ()->shortname ());
563 gdb_puts (", ", gdb_stdlog);
565 gdb_puts (")\n", gdb_stdlog);
566}
567
568void
570{
571 this->beneath ()->prepare_to_store (arg0);
572}
573
574void
576{
577 noprocess ();
578}
579
580void
582{
583 gdb_printf (gdb_stdlog, "-> %s->prepare_to_store (...)\n", this->beneath ()->shortname ());
584 this->beneath ()->prepare_to_store (arg0);
585 gdb_printf (gdb_stdlog, "<- %s->prepare_to_store (", this->beneath ()->shortname ());
587 gdb_puts (")\n", gdb_stdlog);
588}
589
590void
592{
593 this->beneath ()->files_info ();
594}
595
596void
600
601void
603{
604 gdb_printf (gdb_stdlog, "-> %s->files_info (...)\n", this->beneath ()->shortname ());
605 this->beneath ()->files_info ();
606 gdb_printf (gdb_stdlog, "<- %s->files_info (", this->beneath ()->shortname ());
607 gdb_puts (")\n", gdb_stdlog);
608}
609
610int
612{
613 return this->beneath ()->insert_breakpoint (arg0, arg1);
614}
615
616int
618{
619 noprocess ();
620}
621
622int
624{
625 gdb_printf (gdb_stdlog, "-> %s->insert_breakpoint (...)\n", this->beneath ()->shortname ());
626 int result
627 = this->beneath ()->insert_breakpoint (arg0, arg1);
628 gdb_printf (gdb_stdlog, "<- %s->insert_breakpoint (", this->beneath ()->shortname ());
630 gdb_puts (", ", gdb_stdlog);
632 gdb_puts (") = ", gdb_stdlog);
633 target_debug_print_int (result);
634 gdb_puts ("\n", gdb_stdlog);
635 return result;
636}
637
638int
640{
641 return this->beneath ()->remove_breakpoint (arg0, arg1, arg2);
642}
643
644int
646{
647 noprocess ();
648}
649
650int
652{
653 gdb_printf (gdb_stdlog, "-> %s->remove_breakpoint (...)\n", this->beneath ()->shortname ());
654 int result
655 = this->beneath ()->remove_breakpoint (arg0, arg1, arg2);
656 gdb_printf (gdb_stdlog, "<- %s->remove_breakpoint (", this->beneath ()->shortname ());
658 gdb_puts (", ", gdb_stdlog);
660 gdb_puts (", ", gdb_stdlog);
662 gdb_puts (") = ", gdb_stdlog);
663 target_debug_print_int (result);
664 gdb_puts ("\n", gdb_stdlog);
665 return result;
666}
667
668bool
673
674bool
676{
677 return false;
678}
679
680bool
682{
683 gdb_printf (gdb_stdlog, "-> %s->stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
684 bool result
685 = this->beneath ()->stopped_by_sw_breakpoint ();
686 gdb_printf (gdb_stdlog, "<- %s->stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
687 gdb_puts (") = ", gdb_stdlog);
689 gdb_puts ("\n", gdb_stdlog);
690 return result;
691}
692
693bool
698
699bool
704
705bool
707{
708 gdb_printf (gdb_stdlog, "-> %s->supports_stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
709 bool result
711 gdb_printf (gdb_stdlog, "<- %s->supports_stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
712 gdb_puts (") = ", gdb_stdlog);
714 gdb_puts ("\n", gdb_stdlog);
715 return result;
716}
717
718bool
723
724bool
726{
727 return false;
728}
729
730bool
732{
733 gdb_printf (gdb_stdlog, "-> %s->stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
734 bool result
735 = this->beneath ()->stopped_by_hw_breakpoint ();
736 gdb_printf (gdb_stdlog, "<- %s->stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
737 gdb_puts (") = ", gdb_stdlog);
739 gdb_puts ("\n", gdb_stdlog);
740 return result;
741}
742
743bool
748
749bool
754
755bool
757{
758 gdb_printf (gdb_stdlog, "-> %s->supports_stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
759 bool result
761 gdb_printf (gdb_stdlog, "<- %s->supports_stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
762 gdb_puts (") = ", gdb_stdlog);
764 gdb_puts ("\n", gdb_stdlog);
765 return result;
766}
767
768int
769target_ops::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
770{
771 return this->beneath ()->can_use_hw_breakpoint (arg0, arg1, arg2);
772}
773
774int
775dummy_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
776{
777 return 0;
778}
779
780int
781debug_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
782{
783 gdb_printf (gdb_stdlog, "-> %s->can_use_hw_breakpoint (...)\n", this->beneath ()->shortname ());
784 int result
785 = this->beneath ()->can_use_hw_breakpoint (arg0, arg1, arg2);
786 gdb_printf (gdb_stdlog, "<- %s->can_use_hw_breakpoint (", this->beneath ()->shortname ());
788 gdb_puts (", ", gdb_stdlog);
790 gdb_puts (", ", gdb_stdlog);
792 gdb_puts (") = ", gdb_stdlog);
793 target_debug_print_int (result);
794 gdb_puts ("\n", gdb_stdlog);
795 return result;
796}
797
798int
803
804int
809
810int
812{
813 gdb_printf (gdb_stdlog, "-> %s->ranged_break_num_registers (...)\n", this->beneath ()->shortname ());
814 int result
815 = this->beneath ()->ranged_break_num_registers ();
816 gdb_printf (gdb_stdlog, "<- %s->ranged_break_num_registers (", this->beneath ()->shortname ());
817 gdb_puts (") = ", gdb_stdlog);
818 target_debug_print_int (result);
819 gdb_puts ("\n", gdb_stdlog);
820 return result;
821}
822
823int
825{
826 return this->beneath ()->insert_hw_breakpoint (arg0, arg1);
827}
828
829int
831{
832 return -1;
833}
834
835int
837{
838 gdb_printf (gdb_stdlog, "-> %s->insert_hw_breakpoint (...)\n", this->beneath ()->shortname ());
839 int result
840 = this->beneath ()->insert_hw_breakpoint (arg0, arg1);
841 gdb_printf (gdb_stdlog, "<- %s->insert_hw_breakpoint (", this->beneath ()->shortname ());
843 gdb_puts (", ", gdb_stdlog);
845 gdb_puts (") = ", gdb_stdlog);
846 target_debug_print_int (result);
847 gdb_puts ("\n", gdb_stdlog);
848 return result;
849}
850
851int
853{
854 return this->beneath ()->remove_hw_breakpoint (arg0, arg1);
855}
856
857int
859{
860 return -1;
861}
862
863int
865{
866 gdb_printf (gdb_stdlog, "-> %s->remove_hw_breakpoint (...)\n", this->beneath ()->shortname ());
867 int result
868 = this->beneath ()->remove_hw_breakpoint (arg0, arg1);
869 gdb_printf (gdb_stdlog, "<- %s->remove_hw_breakpoint (", this->beneath ()->shortname ());
871 gdb_puts (", ", gdb_stdlog);
873 gdb_puts (") = ", gdb_stdlog);
874 target_debug_print_int (result);
875 gdb_puts ("\n", gdb_stdlog);
876 return result;
877}
878
879int
880target_ops::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
881{
882 return this->beneath ()->remove_watchpoint (arg0, arg1, arg2, arg3);
883}
884
885int
886dummy_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
887{
888 return -1;
889}
890
891int
892debug_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
893{
894 gdb_printf (gdb_stdlog, "-> %s->remove_watchpoint (...)\n", this->beneath ()->shortname ());
895 int result
896 = this->beneath ()->remove_watchpoint (arg0, arg1, arg2, arg3);
897 gdb_printf (gdb_stdlog, "<- %s->remove_watchpoint (", this->beneath ()->shortname ());
899 gdb_puts (", ", gdb_stdlog);
901 gdb_puts (", ", gdb_stdlog);
903 gdb_puts (", ", gdb_stdlog);
905 gdb_puts (") = ", gdb_stdlog);
906 target_debug_print_int (result);
907 gdb_puts ("\n", gdb_stdlog);
908 return result;
909}
910
911int
912target_ops::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
913{
914 return this->beneath ()->insert_watchpoint (arg0, arg1, arg2, arg3);
915}
916
917int
918dummy_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
919{
920 return -1;
921}
922
923int
924debug_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
925{
926 gdb_printf (gdb_stdlog, "-> %s->insert_watchpoint (...)\n", this->beneath ()->shortname ());
927 int result
928 = this->beneath ()->insert_watchpoint (arg0, arg1, arg2, arg3);
929 gdb_printf (gdb_stdlog, "<- %s->insert_watchpoint (", this->beneath ()->shortname ());
931 gdb_puts (", ", gdb_stdlog);
933 gdb_puts (", ", gdb_stdlog);
935 gdb_puts (", ", gdb_stdlog);
937 gdb_puts (") = ", gdb_stdlog);
938 target_debug_print_int (result);
939 gdb_puts ("\n", gdb_stdlog);
940 return result;
941}
942
943int
944target_ops::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
945{
946 return this->beneath ()->insert_mask_watchpoint (arg0, arg1, arg2);
947}
948
949int
950dummy_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
951{
952 return 1;
953}
954
955int
956debug_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
957{
958 gdb_printf (gdb_stdlog, "-> %s->insert_mask_watchpoint (...)\n", this->beneath ()->shortname ());
959 int result
960 = this->beneath ()->insert_mask_watchpoint (arg0, arg1, arg2);
961 gdb_printf (gdb_stdlog, "<- %s->insert_mask_watchpoint (", this->beneath ()->shortname ());
963 gdb_puts (", ", gdb_stdlog);
965 gdb_puts (", ", gdb_stdlog);
967 gdb_puts (") = ", gdb_stdlog);
968 target_debug_print_int (result);
969 gdb_puts ("\n", gdb_stdlog);
970 return result;
971}
972
973int
974target_ops::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
975{
976 return this->beneath ()->remove_mask_watchpoint (arg0, arg1, arg2);
977}
978
979int
980dummy_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
981{
982 return 1;
983}
984
985int
986debug_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
987{
988 gdb_printf (gdb_stdlog, "-> %s->remove_mask_watchpoint (...)\n", this->beneath ()->shortname ());
989 int result
990 = this->beneath ()->remove_mask_watchpoint (arg0, arg1, arg2);
991 gdb_printf (gdb_stdlog, "<- %s->remove_mask_watchpoint (", this->beneath ()->shortname ());
993 gdb_puts (", ", gdb_stdlog);
995 gdb_puts (", ", gdb_stdlog);
997 gdb_puts (") = ", gdb_stdlog);
998 target_debug_print_int (result);
999 gdb_puts ("\n", gdb_stdlog);
1000 return result;
1001}
1002
1003bool
1005{
1006 return this->beneath ()->stopped_by_watchpoint ();
1007}
1008
1009bool
1011{
1012 return false;
1013}
1014
1015bool
1017{
1018 gdb_printf (gdb_stdlog, "-> %s->stopped_by_watchpoint (...)\n", this->beneath ()->shortname ());
1019 bool result
1020 = this->beneath ()->stopped_by_watchpoint ();
1021 gdb_printf (gdb_stdlog, "<- %s->stopped_by_watchpoint (", this->beneath ()->shortname ());
1022 gdb_puts (") = ", gdb_stdlog);
1023 target_debug_print_bool (result);
1024 gdb_puts ("\n", gdb_stdlog);
1025 return result;
1026}
1027
1028bool
1033
1034bool
1036{
1037 return false;
1038}
1039
1040bool
1042{
1043 gdb_printf (gdb_stdlog, "-> %s->have_steppable_watchpoint (...)\n", this->beneath ()->shortname ());
1044 bool result
1045 = this->beneath ()->have_steppable_watchpoint ();
1046 gdb_printf (gdb_stdlog, "<- %s->have_steppable_watchpoint (", this->beneath ()->shortname ());
1047 gdb_puts (") = ", gdb_stdlog);
1048 target_debug_print_bool (result);
1049 gdb_puts ("\n", gdb_stdlog);
1050 return result;
1051}
1052
1053bool
1055{
1056 return this->beneath ()->stopped_data_address (arg0);
1057}
1058
1059bool
1061{
1062 return false;
1063}
1064
1065bool
1067{
1068 gdb_printf (gdb_stdlog, "-> %s->stopped_data_address (...)\n", this->beneath ()->shortname ());
1069 bool result
1070 = this->beneath ()->stopped_data_address (arg0);
1071 gdb_printf (gdb_stdlog, "<- %s->stopped_data_address (", this->beneath ()->shortname ());
1073 gdb_puts (") = ", gdb_stdlog);
1074 target_debug_print_bool (result);
1075 gdb_puts ("\n", gdb_stdlog);
1076 return result;
1077}
1078
1079bool
1080target_ops::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1081{
1082 return this->beneath ()->watchpoint_addr_within_range (arg0, arg1, arg2);
1083}
1084
1085bool
1086dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1087{
1088 return default_watchpoint_addr_within_range (this, arg0, arg1, arg2);
1089}
1090
1091bool
1092debug_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1093{
1094 gdb_printf (gdb_stdlog, "-> %s->watchpoint_addr_within_range (...)\n", this->beneath ()->shortname ());
1095 bool result
1096 = this->beneath ()->watchpoint_addr_within_range (arg0, arg1, arg2);
1097 gdb_printf (gdb_stdlog, "<- %s->watchpoint_addr_within_range (", this->beneath ()->shortname ());
1099 gdb_puts (", ", gdb_stdlog);
1101 gdb_puts (", ", gdb_stdlog);
1103 gdb_puts (") = ", gdb_stdlog);
1104 target_debug_print_bool (result);
1105 gdb_puts ("\n", gdb_stdlog);
1106 return result;
1107}
1108
1109int
1111{
1112 return this->beneath ()->region_ok_for_hw_watchpoint (arg0, arg1);
1113}
1114
1115int
1117{
1118 return default_region_ok_for_hw_watchpoint (this, arg0, arg1);
1119}
1120
1121int
1123{
1124 gdb_printf (gdb_stdlog, "-> %s->region_ok_for_hw_watchpoint (...)\n", this->beneath ()->shortname ());
1125 int result
1126 = this->beneath ()->region_ok_for_hw_watchpoint (arg0, arg1);
1127 gdb_printf (gdb_stdlog, "<- %s->region_ok_for_hw_watchpoint (", this->beneath ()->shortname ());
1129 gdb_puts (", ", gdb_stdlog);
1131 gdb_puts (") = ", gdb_stdlog);
1132 target_debug_print_int (result);
1133 gdb_puts ("\n", gdb_stdlog);
1134 return result;
1135}
1136
1137bool
1138target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1139{
1140 return this->beneath ()->can_accel_watchpoint_condition (arg0, arg1, arg2, arg3);
1141}
1142
1143bool
1144dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1145{
1146 return false;
1147}
1148
1149bool
1150debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1151{
1152 gdb_printf (gdb_stdlog, "-> %s->can_accel_watchpoint_condition (...)\n", this->beneath ()->shortname ());
1153 bool result
1154 = this->beneath ()->can_accel_watchpoint_condition (arg0, arg1, arg2, arg3);
1155 gdb_printf (gdb_stdlog, "<- %s->can_accel_watchpoint_condition (", this->beneath ()->shortname ());
1157 gdb_puts (", ", gdb_stdlog);
1159 gdb_puts (", ", gdb_stdlog);
1161 gdb_puts (", ", gdb_stdlog);
1163 gdb_puts (") = ", gdb_stdlog);
1164 target_debug_print_bool (result);
1165 gdb_puts ("\n", gdb_stdlog);
1166 return result;
1167}
1168
1169int
1170target_ops::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1171{
1172 return this->beneath ()->masked_watch_num_registers (arg0, arg1);
1173}
1174
1175int
1176dummy_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1177{
1178 return -1;
1179}
1180
1181int
1182debug_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1183{
1184 gdb_printf (gdb_stdlog, "-> %s->masked_watch_num_registers (...)\n", this->beneath ()->shortname ());
1185 int result
1186 = this->beneath ()->masked_watch_num_registers (arg0, arg1);
1187 gdb_printf (gdb_stdlog, "<- %s->masked_watch_num_registers (", this->beneath ()->shortname ());
1189 gdb_puts (", ", gdb_stdlog);
1191 gdb_puts (") = ", gdb_stdlog);
1192 target_debug_print_int (result);
1193 gdb_puts ("\n", gdb_stdlog);
1194 return result;
1195}
1196
1197int
1199{
1200 return this->beneath ()->can_do_single_step ();
1201}
1202
1203int
1205{
1206 return -1;
1207}
1208
1209int
1211{
1212 gdb_printf (gdb_stdlog, "-> %s->can_do_single_step (...)\n", this->beneath ()->shortname ());
1213 int result
1214 = this->beneath ()->can_do_single_step ();
1215 gdb_printf (gdb_stdlog, "<- %s->can_do_single_step (", this->beneath ()->shortname ());
1216 gdb_puts (") = ", gdb_stdlog);
1217 target_debug_print_int (result);
1218 gdb_puts ("\n", gdb_stdlog);
1219 return result;
1220}
1221
1222bool
1227
1228bool
1230{
1231 return false;
1232}
1233
1234bool
1236{
1237 gdb_printf (gdb_stdlog, "-> %s->supports_terminal_ours (...)\n", this->beneath ()->shortname ());
1238 bool result
1239 = this->beneath ()->supports_terminal_ours ();
1240 gdb_printf (gdb_stdlog, "<- %s->supports_terminal_ours (", this->beneath ()->shortname ());
1241 gdb_puts (") = ", gdb_stdlog);
1242 target_debug_print_bool (result);
1243 gdb_puts ("\n", gdb_stdlog);
1244 return result;
1245}
1246
1247void
1249{
1250 this->beneath ()->terminal_init ();
1251}
1252
1253void
1257
1258void
1260{
1261 gdb_printf (gdb_stdlog, "-> %s->terminal_init (...)\n", this->beneath ()->shortname ());
1262 this->beneath ()->terminal_init ();
1263 gdb_printf (gdb_stdlog, "<- %s->terminal_init (", this->beneath ()->shortname ());
1264 gdb_puts (")\n", gdb_stdlog);
1265}
1266
1267void
1272
1273void
1277
1278void
1280{
1281 gdb_printf (gdb_stdlog, "-> %s->terminal_inferior (...)\n", this->beneath ()->shortname ());
1282 this->beneath ()->terminal_inferior ();
1283 gdb_printf (gdb_stdlog, "<- %s->terminal_inferior (", this->beneath ()->shortname ());
1284 gdb_puts (")\n", gdb_stdlog);
1285}
1286
1287void
1292
1293void
1297
1298void
1300{
1301 gdb_printf (gdb_stdlog, "-> %s->terminal_save_inferior (...)\n", this->beneath ()->shortname ());
1302 this->beneath ()->terminal_save_inferior ();
1303 gdb_printf (gdb_stdlog, "<- %s->terminal_save_inferior (", this->beneath ()->shortname ());
1304 gdb_puts (")\n", gdb_stdlog);
1305}
1306
1307void
1312
1313void
1317
1318void
1320{
1321 gdb_printf (gdb_stdlog, "-> %s->terminal_ours_for_output (...)\n", this->beneath ()->shortname ());
1322 this->beneath ()->terminal_ours_for_output ();
1323 gdb_printf (gdb_stdlog, "<- %s->terminal_ours_for_output (", this->beneath ()->shortname ());
1324 gdb_puts (")\n", gdb_stdlog);
1325}
1326
1327void
1329{
1330 this->beneath ()->terminal_ours ();
1331}
1332
1333void
1337
1338void
1340{
1341 gdb_printf (gdb_stdlog, "-> %s->terminal_ours (...)\n", this->beneath ()->shortname ());
1342 this->beneath ()->terminal_ours ();
1343 gdb_printf (gdb_stdlog, "<- %s->terminal_ours (", this->beneath ()->shortname ());
1344 gdb_puts (")\n", gdb_stdlog);
1345}
1346
1347void
1348target_ops::terminal_info (const char *arg0, int arg1)
1349{
1350 this->beneath ()->terminal_info (arg0, arg1);
1351}
1352
1353void
1354dummy_target::terminal_info (const char *arg0, int arg1)
1355{
1356 default_terminal_info (this, arg0, arg1);
1357}
1358
1359void
1360debug_target::terminal_info (const char *arg0, int arg1)
1361{
1362 gdb_printf (gdb_stdlog, "-> %s->terminal_info (...)\n", this->beneath ()->shortname ());
1363 this->beneath ()->terminal_info (arg0, arg1);
1364 gdb_printf (gdb_stdlog, "<- %s->terminal_info (", this->beneath ()->shortname ());
1366 gdb_puts (", ", gdb_stdlog);
1368 gdb_puts (")\n", gdb_stdlog);
1369}
1370
1371void
1373{
1374 this->beneath ()->kill ();
1375}
1376
1377void
1379{
1380 noprocess ();
1381}
1382
1383void
1385{
1386 gdb_printf (gdb_stdlog, "-> %s->kill (...)\n", this->beneath ()->shortname ());
1387 this->beneath ()->kill ();
1388 gdb_printf (gdb_stdlog, "<- %s->kill (", this->beneath ()->shortname ());
1389 gdb_puts (")\n", gdb_stdlog);
1390}
1391
1392void
1393target_ops::load (const char *arg0, int arg1)
1394{
1395 this->beneath ()->load (arg0, arg1);
1396}
1397
1398void
1399dummy_target::load (const char *arg0, int arg1)
1400{
1401 tcomplain ();
1402}
1403
1404void
1405debug_target::load (const char *arg0, int arg1)
1406{
1407 gdb_printf (gdb_stdlog, "-> %s->load (...)\n", this->beneath ()->shortname ());
1408 this->beneath ()->load (arg0, arg1);
1409 gdb_printf (gdb_stdlog, "<- %s->load (", this->beneath ()->shortname ());
1411 gdb_puts (", ", gdb_stdlog);
1413 gdb_puts (")\n", gdb_stdlog);
1414}
1415
1416int
1418{
1419 return this->beneath ()->insert_fork_catchpoint (arg0);
1420}
1421
1422int
1424{
1425 return 1;
1426}
1427
1428int
1430{
1431 gdb_printf (gdb_stdlog, "-> %s->insert_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1432 int result
1433 = this->beneath ()->insert_fork_catchpoint (arg0);
1434 gdb_printf (gdb_stdlog, "<- %s->insert_fork_catchpoint (", this->beneath ()->shortname ());
1436 gdb_puts (") = ", gdb_stdlog);
1437 target_debug_print_int (result);
1438 gdb_puts ("\n", gdb_stdlog);
1439 return result;
1440}
1441
1442int
1444{
1445 return this->beneath ()->remove_fork_catchpoint (arg0);
1446}
1447
1448int
1450{
1451 return 1;
1452}
1453
1454int
1456{
1457 gdb_printf (gdb_stdlog, "-> %s->remove_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1458 int result
1459 = this->beneath ()->remove_fork_catchpoint (arg0);
1460 gdb_printf (gdb_stdlog, "<- %s->remove_fork_catchpoint (", this->beneath ()->shortname ());
1462 gdb_puts (") = ", gdb_stdlog);
1463 target_debug_print_int (result);
1464 gdb_puts ("\n", gdb_stdlog);
1465 return result;
1466}
1467
1468int
1470{
1471 return this->beneath ()->insert_vfork_catchpoint (arg0);
1472}
1473
1474int
1476{
1477 return 1;
1478}
1479
1480int
1482{
1483 gdb_printf (gdb_stdlog, "-> %s->insert_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1484 int result
1485 = this->beneath ()->insert_vfork_catchpoint (arg0);
1486 gdb_printf (gdb_stdlog, "<- %s->insert_vfork_catchpoint (", this->beneath ()->shortname ());
1488 gdb_puts (") = ", gdb_stdlog);
1489 target_debug_print_int (result);
1490 gdb_puts ("\n", gdb_stdlog);
1491 return result;
1492}
1493
1494int
1496{
1497 return this->beneath ()->remove_vfork_catchpoint (arg0);
1498}
1499
1500int
1502{
1503 return 1;
1504}
1505
1506int
1508{
1509 gdb_printf (gdb_stdlog, "-> %s->remove_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1510 int result
1511 = this->beneath ()->remove_vfork_catchpoint (arg0);
1512 gdb_printf (gdb_stdlog, "<- %s->remove_vfork_catchpoint (", this->beneath ()->shortname ());
1514 gdb_puts (") = ", gdb_stdlog);
1515 target_debug_print_int (result);
1516 gdb_puts ("\n", gdb_stdlog);
1517 return result;
1518}
1519
1520void
1521target_ops::follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4)
1522{
1523 this->beneath ()->follow_fork (arg0, arg1, arg2, arg3, arg4);
1524}
1525
1526void
1527dummy_target::follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4)
1528{
1529 default_follow_fork (this, arg0, arg1, arg2, arg3, arg4);
1530}
1531
1532void
1533debug_target::follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4)
1534{
1535 gdb_printf (gdb_stdlog, "-> %s->follow_fork (...)\n", this->beneath ()->shortname ());
1536 this->beneath ()->follow_fork (arg0, arg1, arg2, arg3, arg4);
1537 gdb_printf (gdb_stdlog, "<- %s->follow_fork (", this->beneath ()->shortname ());
1539 gdb_puts (", ", gdb_stdlog);
1541 gdb_puts (", ", gdb_stdlog);
1543 gdb_puts (", ", gdb_stdlog);
1545 gdb_puts (", ", gdb_stdlog);
1547 gdb_puts (")\n", gdb_stdlog);
1548}
1549
1550int
1552{
1553 return this->beneath ()->insert_exec_catchpoint (arg0);
1554}
1555
1556int
1558{
1559 return 1;
1560}
1561
1562int
1564{
1565 gdb_printf (gdb_stdlog, "-> %s->insert_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1566 int result
1567 = this->beneath ()->insert_exec_catchpoint (arg0);
1568 gdb_printf (gdb_stdlog, "<- %s->insert_exec_catchpoint (", this->beneath ()->shortname ());
1570 gdb_puts (") = ", gdb_stdlog);
1571 target_debug_print_int (result);
1572 gdb_puts ("\n", gdb_stdlog);
1573 return result;
1574}
1575
1576int
1578{
1579 return this->beneath ()->remove_exec_catchpoint (arg0);
1580}
1581
1582int
1584{
1585 return 1;
1586}
1587
1588int
1590{
1591 gdb_printf (gdb_stdlog, "-> %s->remove_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1592 int result
1593 = this->beneath ()->remove_exec_catchpoint (arg0);
1594 gdb_printf (gdb_stdlog, "<- %s->remove_exec_catchpoint (", this->beneath ()->shortname ());
1596 gdb_puts (") = ", gdb_stdlog);
1597 target_debug_print_int (result);
1598 gdb_puts ("\n", gdb_stdlog);
1599 return result;
1600}
1601
1602void
1603target_ops::follow_exec (inferior *arg0, ptid_t arg1, const char *arg2)
1604{
1605 this->beneath ()->follow_exec (arg0, arg1, arg2);
1606}
1607
1608void
1609dummy_target::follow_exec (inferior *arg0, ptid_t arg1, const char *arg2)
1610{
1611}
1612
1613void
1614debug_target::follow_exec (inferior *arg0, ptid_t arg1, const char *arg2)
1615{
1616 gdb_printf (gdb_stdlog, "-> %s->follow_exec (...)\n", this->beneath ()->shortname ());
1617 this->beneath ()->follow_exec (arg0, arg1, arg2);
1618 gdb_printf (gdb_stdlog, "<- %s->follow_exec (", this->beneath ()->shortname ());
1620 gdb_puts (", ", gdb_stdlog);
1622 gdb_puts (", ", gdb_stdlog);
1624 gdb_puts (")\n", gdb_stdlog);
1625}
1626
1627int
1628target_ops::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1629{
1630 return this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3);
1631}
1632
1633int
1634dummy_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1635{
1636 return 1;
1637}
1638
1639int
1640debug_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1641{
1642 gdb_printf (gdb_stdlog, "-> %s->set_syscall_catchpoint (...)\n", this->beneath ()->shortname ());
1643 int result
1644 = this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3);
1645 gdb_printf (gdb_stdlog, "<- %s->set_syscall_catchpoint (", this->beneath ()->shortname ());
1647 gdb_puts (", ", gdb_stdlog);
1649 gdb_puts (", ", gdb_stdlog);
1651 gdb_puts (", ", gdb_stdlog);
1653 gdb_puts (") = ", gdb_stdlog);
1654 target_debug_print_int (result);
1655 gdb_puts ("\n", gdb_stdlog);
1656 return result;
1657}
1658
1659void
1661{
1662 this->beneath ()->mourn_inferior ();
1663}
1664
1665void
1670
1671void
1673{
1674 gdb_printf (gdb_stdlog, "-> %s->mourn_inferior (...)\n", this->beneath ()->shortname ());
1675 this->beneath ()->mourn_inferior ();
1676 gdb_printf (gdb_stdlog, "<- %s->mourn_inferior (", this->beneath ()->shortname ());
1677 gdb_puts (")\n", gdb_stdlog);
1678}
1679
1680void
1681target_ops::pass_signals (gdb::array_view<const unsigned char> arg0)
1682{
1683 this->beneath ()->pass_signals (arg0);
1684}
1685
1686void
1687dummy_target::pass_signals (gdb::array_view<const unsigned char> arg0)
1688{
1689}
1690
1691void
1692debug_target::pass_signals (gdb::array_view<const unsigned char> arg0)
1693{
1694 gdb_printf (gdb_stdlog, "-> %s->pass_signals (...)\n", this->beneath ()->shortname ());
1695 this->beneath ()->pass_signals (arg0);
1696 gdb_printf (gdb_stdlog, "<- %s->pass_signals (", this->beneath ()->shortname ());
1698 gdb_puts (")\n", gdb_stdlog);
1699}
1700
1701void
1702target_ops::program_signals (gdb::array_view<const unsigned char> arg0)
1703{
1704 this->beneath ()->program_signals (arg0);
1705}
1706
1707void
1708dummy_target::program_signals (gdb::array_view<const unsigned char> arg0)
1709{
1710}
1711
1712void
1713debug_target::program_signals (gdb::array_view<const unsigned char> arg0)
1714{
1715 gdb_printf (gdb_stdlog, "-> %s->program_signals (...)\n", this->beneath ()->shortname ());
1716 this->beneath ()->program_signals (arg0);
1717 gdb_printf (gdb_stdlog, "<- %s->program_signals (", this->beneath ()->shortname ());
1719 gdb_puts (")\n", gdb_stdlog);
1720}
1721
1722bool
1724{
1725 return this->beneath ()->thread_alive (arg0);
1726}
1727
1728bool
1730{
1731 return false;
1732}
1733
1734bool
1736{
1737 gdb_printf (gdb_stdlog, "-> %s->thread_alive (...)\n", this->beneath ()->shortname ());
1738 bool result
1739 = this->beneath ()->thread_alive (arg0);
1740 gdb_printf (gdb_stdlog, "<- %s->thread_alive (", this->beneath ()->shortname ());
1742 gdb_puts (") = ", gdb_stdlog);
1743 target_debug_print_bool (result);
1744 gdb_puts ("\n", gdb_stdlog);
1745 return result;
1746}
1747
1748void
1753
1754void
1758
1759void
1761{
1762 gdb_printf (gdb_stdlog, "-> %s->update_thread_list (...)\n", this->beneath ()->shortname ());
1763 this->beneath ()->update_thread_list ();
1764 gdb_printf (gdb_stdlog, "<- %s->update_thread_list (", this->beneath ()->shortname ());
1765 gdb_puts (")\n", gdb_stdlog);
1766}
1767
1768std::string
1770{
1771 return this->beneath ()->pid_to_str (arg0);
1772}
1773
1774std::string
1776{
1777 return default_pid_to_str (this, arg0);
1778}
1779
1780std::string
1782{
1783 gdb_printf (gdb_stdlog, "-> %s->pid_to_str (...)\n", this->beneath ()->shortname ());
1784 std::string result
1785 = this->beneath ()->pid_to_str (arg0);
1786 gdb_printf (gdb_stdlog, "<- %s->pid_to_str (", this->beneath ()->shortname ());
1788 gdb_puts (") = ", gdb_stdlog);
1790 gdb_puts ("\n", gdb_stdlog);
1791 return result;
1792}
1793
1794const char *
1796{
1797 return this->beneath ()->extra_thread_info (arg0);
1798}
1799
1800const char *
1802{
1803 return NULL;
1804}
1805
1806const char *
1808{
1809 gdb_printf (gdb_stdlog, "-> %s->extra_thread_info (...)\n", this->beneath ()->shortname ());
1810 const char * result
1811 = this->beneath ()->extra_thread_info (arg0);
1812 gdb_printf (gdb_stdlog, "<- %s->extra_thread_info (", this->beneath ()->shortname ());
1814 gdb_puts (") = ", gdb_stdlog);
1816 gdb_puts ("\n", gdb_stdlog);
1817 return result;
1818}
1819
1820const char *
1822{
1823 return this->beneath ()->thread_name (arg0);
1824}
1825
1826const char *
1828{
1829 return NULL;
1830}
1831
1832const char *
1834{
1835 gdb_printf (gdb_stdlog, "-> %s->thread_name (...)\n", this->beneath ()->shortname ());
1836 const char * result
1837 = this->beneath ()->thread_name (arg0);
1838 gdb_printf (gdb_stdlog, "<- %s->thread_name (", this->beneath ()->shortname ());
1840 gdb_puts (") = ", gdb_stdlog);
1842 gdb_puts ("\n", gdb_stdlog);
1843 return result;
1844}
1845
1847target_ops::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1848{
1849 return this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2);
1850}
1851
1853dummy_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1854{
1855 return NULL;
1856}
1857
1859debug_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1860{
1861 gdb_printf (gdb_stdlog, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath ()->shortname ());
1862 thread_info * result
1863 = this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2);
1864 gdb_printf (gdb_stdlog, "<- %s->thread_handle_to_thread_info (", this->beneath ()->shortname ());
1866 gdb_puts (", ", gdb_stdlog);
1868 gdb_puts (", ", gdb_stdlog);
1870 gdb_puts (") = ", gdb_stdlog);
1872 gdb_puts ("\n", gdb_stdlog);
1873 return result;
1874}
1875
1876gdb::array_view<const_gdb_byte>
1877target_ops::thread_info_to_thread_handle (struct thread_info *arg0)
1878{
1879 return this->beneath ()->thread_info_to_thread_handle (arg0);
1880}
1881
1882gdb::array_view<const_gdb_byte>
1884{
1885 return gdb::array_view<const gdb_byte> ();
1886}
1887
1888gdb::array_view<const_gdb_byte>
1890{
1891 gdb_printf (gdb_stdlog, "-> %s->thread_info_to_thread_handle (...)\n", this->beneath ()->shortname ());
1892 gdb::array_view<const_gdb_byte> result
1893 = this->beneath ()->thread_info_to_thread_handle (arg0);
1894 gdb_printf (gdb_stdlog, "<- %s->thread_info_to_thread_handle (", this->beneath ()->shortname ());
1896 gdb_puts (") = ", gdb_stdlog);
1898 gdb_puts ("\n", gdb_stdlog);
1899 return result;
1900}
1901
1902void
1903target_ops::stop (ptid_t arg0)
1904{
1905 this->beneath ()->stop (arg0);
1906}
1907
1908void
1910{
1911}
1912
1913void
1915{
1916 gdb_printf (gdb_stdlog, "-> %s->stop (...)\n", this->beneath ()->shortname ());
1917 this->beneath ()->stop (arg0);
1918 gdb_printf (gdb_stdlog, "<- %s->stop (", this->beneath ()->shortname ());
1920 gdb_puts (")\n", gdb_stdlog);
1921}
1922
1923void
1925{
1926 this->beneath ()->interrupt ();
1927}
1928
1929void
1933
1934void
1936{
1937 gdb_printf (gdb_stdlog, "-> %s->interrupt (...)\n", this->beneath ()->shortname ());
1938 this->beneath ()->interrupt ();
1939 gdb_printf (gdb_stdlog, "<- %s->interrupt (", this->beneath ()->shortname ());
1940 gdb_puts (")\n", gdb_stdlog);
1941}
1942
1943void
1945{
1946 this->beneath ()->pass_ctrlc ();
1947}
1948
1949void
1954
1955void
1957{
1958 gdb_printf (gdb_stdlog, "-> %s->pass_ctrlc (...)\n", this->beneath ()->shortname ());
1959 this->beneath ()->pass_ctrlc ();
1960 gdb_printf (gdb_stdlog, "<- %s->pass_ctrlc (", this->beneath ()->shortname ());
1961 gdb_puts (")\n", gdb_stdlog);
1962}
1963
1964void
1965target_ops::rcmd (const char *arg0, struct ui_file *arg1)
1966{
1967 this->beneath ()->rcmd (arg0, arg1);
1968}
1969
1970void
1971dummy_target::rcmd (const char *arg0, struct ui_file *arg1)
1972{
1973 default_rcmd (this, arg0, arg1);
1974}
1975
1976void
1977debug_target::rcmd (const char *arg0, struct ui_file *arg1)
1978{
1979 gdb_printf (gdb_stdlog, "-> %s->rcmd (...)\n", this->beneath ()->shortname ());
1980 this->beneath ()->rcmd (arg0, arg1);
1981 gdb_printf (gdb_stdlog, "<- %s->rcmd (", this->beneath ()->shortname ());
1983 gdb_puts (", ", gdb_stdlog);
1985 gdb_puts (")\n", gdb_stdlog);
1986}
1987
1988const char *
1990{
1991 return this->beneath ()->pid_to_exec_file (arg0);
1992}
1993
1994const char *
1996{
1997 return NULL;
1998}
1999
2000const char *
2002{
2003 gdb_printf (gdb_stdlog, "-> %s->pid_to_exec_file (...)\n", this->beneath ()->shortname ());
2004 const char * result
2005 = this->beneath ()->pid_to_exec_file (arg0);
2006 gdb_printf (gdb_stdlog, "<- %s->pid_to_exec_file (", this->beneath ()->shortname ());
2008 gdb_puts (") = ", gdb_stdlog);
2010 gdb_puts ("\n", gdb_stdlog);
2011 return result;
2012}
2013
2014void
2015target_ops::log_command (const char *arg0)
2016{
2017 this->beneath ()->log_command (arg0);
2018}
2019
2020void
2022{
2023}
2024
2025void
2027{
2028 gdb_printf (gdb_stdlog, "-> %s->log_command (...)\n", this->beneath ()->shortname ());
2029 this->beneath ()->log_command (arg0);
2030 gdb_printf (gdb_stdlog, "<- %s->log_command (", this->beneath ()->shortname ());
2032 gdb_puts (")\n", gdb_stdlog);
2033}
2034
2037{
2038 return this->beneath ()->get_section_table ();
2039}
2040
2046
2049{
2050 gdb_printf (gdb_stdlog, "-> %s->get_section_table (...)\n", this->beneath ()->shortname ());
2051 const target_section_table * result
2052 = this->beneath ()->get_section_table ();
2053 gdb_printf (gdb_stdlog, "<- %s->get_section_table (", this->beneath ()->shortname ());
2054 gdb_puts (") = ", gdb_stdlog);
2056 gdb_puts ("\n", gdb_stdlog);
2057 return result;
2058}
2059
2065
2071
2074{
2075 gdb_printf (gdb_stdlog, "-> %s->get_thread_control_capabilities (...)\n", this->beneath ()->shortname ());
2078 gdb_printf (gdb_stdlog, "<- %s->get_thread_control_capabilities (", this->beneath ()->shortname ());
2079 gdb_puts (") = ", gdb_stdlog);
2081 gdb_puts ("\n", gdb_stdlog);
2082 return result;
2083}
2084
2085bool
2087{
2088 return this->beneath ()->attach_no_wait ();
2089}
2090
2091bool
2093{
2094 return 0;
2095}
2096
2097bool
2099{
2100 gdb_printf (gdb_stdlog, "-> %s->attach_no_wait (...)\n", this->beneath ()->shortname ());
2101 bool result
2102 = this->beneath ()->attach_no_wait ();
2103 gdb_printf (gdb_stdlog, "<- %s->attach_no_wait (", this->beneath ()->shortname ());
2104 gdb_puts (") = ", gdb_stdlog);
2105 target_debug_print_bool (result);
2106 gdb_puts ("\n", gdb_stdlog);
2107 return result;
2108}
2109
2110bool
2112{
2113 return this->beneath ()->can_async_p ();
2114}
2115
2116bool
2118{
2119 return false;
2120}
2121
2122bool
2124{
2125 gdb_printf (gdb_stdlog, "-> %s->can_async_p (...)\n", this->beneath ()->shortname ());
2126 bool result
2127 = this->beneath ()->can_async_p ();
2128 gdb_printf (gdb_stdlog, "<- %s->can_async_p (", this->beneath ()->shortname ());
2129 gdb_puts (") = ", gdb_stdlog);
2130 target_debug_print_bool (result);
2131 gdb_puts ("\n", gdb_stdlog);
2132 return result;
2133}
2134
2135bool
2137{
2138 return this->beneath ()->is_async_p ();
2139}
2140
2141bool
2143{
2144 return false;
2145}
2146
2147bool
2149{
2150 gdb_printf (gdb_stdlog, "-> %s->is_async_p (...)\n", this->beneath ()->shortname ());
2151 bool result
2152 = this->beneath ()->is_async_p ();
2153 gdb_printf (gdb_stdlog, "<- %s->is_async_p (", this->beneath ()->shortname ());
2154 gdb_puts (") = ", gdb_stdlog);
2155 target_debug_print_bool (result);
2156 gdb_puts ("\n", gdb_stdlog);
2157 return result;
2158}
2159
2160void
2162{
2163 this->beneath ()->async (arg0);
2164}
2165
2166void
2168{
2169 tcomplain ();
2170}
2171
2172void
2174{
2175 gdb_printf (gdb_stdlog, "-> %s->async (...)\n", this->beneath ()->shortname ());
2176 this->beneath ()->async (arg0);
2177 gdb_printf (gdb_stdlog, "<- %s->async (", this->beneath ()->shortname ());
2179 gdb_puts (")\n", gdb_stdlog);
2180}
2181
2182int
2184{
2185 return this->beneath ()->async_wait_fd ();
2186}
2187
2188int
2193
2194int
2196{
2197 gdb_printf (gdb_stdlog, "-> %s->async_wait_fd (...)\n", this->beneath ()->shortname ());
2198 int result
2199 = this->beneath ()->async_wait_fd ();
2200 gdb_printf (gdb_stdlog, "<- %s->async_wait_fd (", this->beneath ()->shortname ());
2201 gdb_puts (") = ", gdb_stdlog);
2202 target_debug_print_int (result);
2203 gdb_puts ("\n", gdb_stdlog);
2204 return result;
2205}
2206
2207bool
2209{
2210 return this->beneath ()->has_pending_events ();
2211}
2212
2213bool
2215{
2216 return false;
2217}
2218
2219bool
2221{
2222 gdb_printf (gdb_stdlog, "-> %s->has_pending_events (...)\n", this->beneath ()->shortname ());
2223 bool result
2224 = this->beneath ()->has_pending_events ();
2225 gdb_printf (gdb_stdlog, "<- %s->has_pending_events (", this->beneath ()->shortname ());
2226 gdb_puts (") = ", gdb_stdlog);
2227 target_debug_print_bool (result);
2228 gdb_puts ("\n", gdb_stdlog);
2229 return result;
2230}
2231
2232void
2234{
2235 this->beneath ()->thread_events (arg0);
2236}
2237
2238void
2240{
2241}
2242
2243void
2245{
2246 gdb_printf (gdb_stdlog, "-> %s->thread_events (...)\n", this->beneath ()->shortname ());
2247 this->beneath ()->thread_events (arg0);
2248 gdb_printf (gdb_stdlog, "<- %s->thread_events (", this->beneath ()->shortname ());
2250 gdb_puts (")\n", gdb_stdlog);
2251}
2252
2253bool
2255{
2256 return this->beneath ()->supports_non_stop ();
2257}
2258
2259bool
2261{
2262 return false;
2263}
2264
2265bool
2267{
2268 gdb_printf (gdb_stdlog, "-> %s->supports_non_stop (...)\n", this->beneath ()->shortname ());
2269 bool result
2270 = this->beneath ()->supports_non_stop ();
2271 gdb_printf (gdb_stdlog, "<- %s->supports_non_stop (", this->beneath ()->shortname ());
2272 gdb_puts (") = ", gdb_stdlog);
2273 target_debug_print_bool (result);
2274 gdb_puts ("\n", gdb_stdlog);
2275 return result;
2276}
2277
2278bool
2280{
2281 return this->beneath ()->always_non_stop_p ();
2282}
2283
2284bool
2286{
2287 return false;
2288}
2289
2290bool
2292{
2293 gdb_printf (gdb_stdlog, "-> %s->always_non_stop_p (...)\n", this->beneath ()->shortname ());
2294 bool result
2295 = this->beneath ()->always_non_stop_p ();
2296 gdb_printf (gdb_stdlog, "<- %s->always_non_stop_p (", this->beneath ()->shortname ());
2297 gdb_puts (") = ", gdb_stdlog);
2298 target_debug_print_bool (result);
2299 gdb_puts ("\n", gdb_stdlog);
2300 return result;
2301}
2302
2303int
2305{
2306 return this->beneath ()->find_memory_regions (arg0, arg1);
2307}
2308
2309int
2311{
2312 return dummy_find_memory_regions (this, arg0, arg1);
2313}
2314
2315int
2317{
2318 gdb_printf (gdb_stdlog, "-> %s->find_memory_regions (...)\n", this->beneath ()->shortname ());
2319 int result
2320 = this->beneath ()->find_memory_regions (arg0, arg1);
2321 gdb_printf (gdb_stdlog, "<- %s->find_memory_regions (", this->beneath ()->shortname ());
2323 gdb_puts (", ", gdb_stdlog);
2325 gdb_puts (") = ", gdb_stdlog);
2326 target_debug_print_int (result);
2327 gdb_puts ("\n", gdb_stdlog);
2328 return result;
2329}
2330
2331gdb::unique_xmalloc_ptr<char>
2333{
2334 return this->beneath ()->make_corefile_notes (arg0, arg1);
2335}
2336
2337gdb::unique_xmalloc_ptr<char>
2339{
2340 return dummy_make_corefile_notes (this, arg0, arg1);
2341}
2342
2343gdb::unique_xmalloc_ptr<char>
2345{
2346 gdb_printf (gdb_stdlog, "-> %s->make_corefile_notes (...)\n", this->beneath ()->shortname ());
2347 gdb::unique_xmalloc_ptr<char> result
2348 = this->beneath ()->make_corefile_notes (arg0, arg1);
2349 gdb_printf (gdb_stdlog, "<- %s->make_corefile_notes (", this->beneath ()->shortname ());
2351 gdb_puts (", ", gdb_stdlog);
2353 gdb_puts (") = ", gdb_stdlog);
2355 gdb_puts ("\n", gdb_stdlog);
2356 return result;
2357}
2358
2359gdb_byte *
2360target_ops::get_bookmark (const char *arg0, int arg1)
2361{
2362 return this->beneath ()->get_bookmark (arg0, arg1);
2363}
2364
2365gdb_byte *
2366dummy_target::get_bookmark (const char *arg0, int arg1)
2367{
2368 tcomplain ();
2369}
2370
2371gdb_byte *
2372debug_target::get_bookmark (const char *arg0, int arg1)
2373{
2374 gdb_printf (gdb_stdlog, "-> %s->get_bookmark (...)\n", this->beneath ()->shortname ());
2375 gdb_byte * result
2376 = this->beneath ()->get_bookmark (arg0, arg1);
2377 gdb_printf (gdb_stdlog, "<- %s->get_bookmark (", this->beneath ()->shortname ());
2379 gdb_puts (", ", gdb_stdlog);
2381 gdb_puts (") = ", gdb_stdlog);
2383 gdb_puts ("\n", gdb_stdlog);
2384 return result;
2385}
2386
2387void
2388target_ops::goto_bookmark (const gdb_byte *arg0, int arg1)
2389{
2390 this->beneath ()->goto_bookmark (arg0, arg1);
2391}
2392
2393void
2394dummy_target::goto_bookmark (const gdb_byte *arg0, int arg1)
2395{
2396 tcomplain ();
2397}
2398
2399void
2400debug_target::goto_bookmark (const gdb_byte *arg0, int arg1)
2401{
2402 gdb_printf (gdb_stdlog, "-> %s->goto_bookmark (...)\n", this->beneath ()->shortname ());
2403 this->beneath ()->goto_bookmark (arg0, arg1);
2404 gdb_printf (gdb_stdlog, "<- %s->goto_bookmark (", this->beneath ()->shortname ());
2406 gdb_puts (", ", gdb_stdlog);
2408 gdb_puts (")\n", gdb_stdlog);
2409}
2410
2411CORE_ADDR
2412target_ops::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2413{
2414 return this->beneath ()->get_thread_local_address (arg0, arg1, arg2);
2415}
2416
2417CORE_ADDR
2418dummy_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2419{
2421}
2422
2423CORE_ADDR
2424debug_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2425{
2426 gdb_printf (gdb_stdlog, "-> %s->get_thread_local_address (...)\n", this->beneath ()->shortname ());
2427 CORE_ADDR result
2428 = this->beneath ()->get_thread_local_address (arg0, arg1, arg2);
2429 gdb_printf (gdb_stdlog, "<- %s->get_thread_local_address (", this->beneath ()->shortname ());
2431 gdb_puts (", ", gdb_stdlog);
2433 gdb_puts (", ", gdb_stdlog);
2435 gdb_puts (") = ", gdb_stdlog);
2437 gdb_puts ("\n", gdb_stdlog);
2438 return result;
2439}
2440
2442target_ops::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2443{
2444 return this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2445}
2446
2448dummy_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2449{
2450 return TARGET_XFER_E_IO;
2451}
2452
2454debug_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2455{
2456 gdb_printf (gdb_stdlog, "-> %s->xfer_partial (...)\n", this->beneath ()->shortname ());
2457 enum target_xfer_status result
2458 = this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2459 gdb_printf (gdb_stdlog, "<- %s->xfer_partial (", this->beneath ()->shortname ());
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 (") = ", gdb_stdlog);
2475 gdb_puts ("\n", gdb_stdlog);
2476 return result;
2477}
2478
2479ULONGEST
2481{
2482 return this->beneath ()->get_memory_xfer_limit ();
2483}
2484
2485ULONGEST
2487{
2488 return ULONGEST_MAX;
2489}
2490
2491ULONGEST
2493{
2494 gdb_printf (gdb_stdlog, "-> %s->get_memory_xfer_limit (...)\n", this->beneath ()->shortname ());
2495 ULONGEST result
2496 = this->beneath ()->get_memory_xfer_limit ();
2497 gdb_printf (gdb_stdlog, "<- %s->get_memory_xfer_limit (", this->beneath ()->shortname ());
2498 gdb_puts (") = ", gdb_stdlog);
2500 gdb_puts ("\n", gdb_stdlog);
2501 return result;
2502}
2503
2504std::vector<mem_region>
2505target_ops::memory_map ()
2506{
2507 return this->beneath ()->memory_map ();
2508}
2509
2510std::vector<mem_region>
2512{
2513 return std::vector<mem_region> ();
2514}
2515
2516std::vector<mem_region>
2518{
2519 gdb_printf (gdb_stdlog, "-> %s->memory_map (...)\n", this->beneath ()->shortname ());
2520 std::vector<mem_region> result
2521 = this->beneath ()->memory_map ();
2522 gdb_printf (gdb_stdlog, "<- %s->memory_map (", this->beneath ()->shortname ());
2523 gdb_puts (") = ", gdb_stdlog);
2525 gdb_puts ("\n", gdb_stdlog);
2526 return result;
2527}
2528
2529void
2530target_ops::flash_erase (ULONGEST arg0, LONGEST arg1)
2531{
2532 this->beneath ()->flash_erase (arg0, arg1);
2533}
2534
2535void
2536dummy_target::flash_erase (ULONGEST arg0, LONGEST arg1)
2537{
2538 tcomplain ();
2539}
2540
2541void
2542debug_target::flash_erase (ULONGEST arg0, LONGEST arg1)
2543{
2544 gdb_printf (gdb_stdlog, "-> %s->flash_erase (...)\n", this->beneath ()->shortname ());
2545 this->beneath ()->flash_erase (arg0, arg1);
2546 gdb_printf (gdb_stdlog, "<- %s->flash_erase (", this->beneath ()->shortname ());
2548 gdb_puts (", ", gdb_stdlog);
2550 gdb_puts (")\n", gdb_stdlog);
2551}
2552
2553void
2555{
2556 this->beneath ()->flash_done ();
2557}
2558
2559void
2561{
2562 tcomplain ();
2563}
2564
2565void
2567{
2568 gdb_printf (gdb_stdlog, "-> %s->flash_done (...)\n", this->beneath ()->shortname ());
2569 this->beneath ()->flash_done ();
2570 gdb_printf (gdb_stdlog, "<- %s->flash_done (", this->beneath ()->shortname ());
2571 gdb_puts (")\n", gdb_stdlog);
2572}
2573
2574const struct target_desc *
2576{
2577 return this->beneath ()->read_description ();
2578}
2579
2580const struct target_desc *
2582{
2583 return NULL;
2584}
2585
2586const struct target_desc *
2588{
2589 gdb_printf (gdb_stdlog, "-> %s->read_description (...)\n", this->beneath ()->shortname ());
2590 const struct target_desc * result
2591 = this->beneath ()->read_description ();
2592 gdb_printf (gdb_stdlog, "<- %s->read_description (", this->beneath ()->shortname ());
2593 gdb_puts (") = ", gdb_stdlog);
2595 gdb_puts ("\n", gdb_stdlog);
2596 return result;
2597}
2598
2599ptid_t
2600target_ops::get_ada_task_ptid (long arg0, ULONGEST arg1)
2601{
2602 return this->beneath ()->get_ada_task_ptid (arg0, arg1);
2603}
2604
2605ptid_t
2606dummy_target::get_ada_task_ptid (long arg0, ULONGEST arg1)
2607{
2608 return default_get_ada_task_ptid (this, arg0, arg1);
2609}
2610
2611ptid_t
2612debug_target::get_ada_task_ptid (long arg0, ULONGEST arg1)
2613{
2614 gdb_printf (gdb_stdlog, "-> %s->get_ada_task_ptid (...)\n", this->beneath ()->shortname ());
2615 ptid_t result
2616 = this->beneath ()->get_ada_task_ptid (arg0, arg1);
2617 gdb_printf (gdb_stdlog, "<- %s->get_ada_task_ptid (", this->beneath ()->shortname ());
2619 gdb_puts (", ", gdb_stdlog);
2621 gdb_puts (") = ", gdb_stdlog);
2623 gdb_puts ("\n", gdb_stdlog);
2624 return result;
2625}
2626
2627int
2628target_ops::auxv_parse (const gdb_byte **arg0, const gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2629{
2630 return this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3);
2631}
2632
2633int
2634dummy_target::auxv_parse (const gdb_byte **arg0, const gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2635{
2636 return default_auxv_parse (this, arg0, arg1, arg2, arg3);
2637}
2638
2639int
2640debug_target::auxv_parse (const gdb_byte **arg0, const gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2641{
2642 gdb_printf (gdb_stdlog, "-> %s->auxv_parse (...)\n", this->beneath ()->shortname ());
2643 int result
2644 = this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3);
2645 gdb_printf (gdb_stdlog, "<- %s->auxv_parse (", this->beneath ()->shortname ());
2647 gdb_puts (", ", gdb_stdlog);
2649 gdb_puts (", ", gdb_stdlog);
2651 gdb_puts (", ", gdb_stdlog);
2653 gdb_puts (") = ", gdb_stdlog);
2654 target_debug_print_int (result);
2655 gdb_puts ("\n", gdb_stdlog);
2656 return result;
2657}
2658
2659int
2660target_ops::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2661{
2662 return this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4);
2663}
2664
2665int
2666dummy_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2667{
2668 return default_search_memory (this, arg0, arg1, arg2, arg3, arg4);
2669}
2670
2671int
2672debug_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2673{
2674 gdb_printf (gdb_stdlog, "-> %s->search_memory (...)\n", this->beneath ()->shortname ());
2675 int result
2676 = this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4);
2677 gdb_printf (gdb_stdlog, "<- %s->search_memory (", this->beneath ()->shortname ());
2679 gdb_puts (", ", gdb_stdlog);
2681 gdb_puts (", ", gdb_stdlog);
2683 gdb_puts (", ", gdb_stdlog);
2685 gdb_puts (", ", gdb_stdlog);
2687 gdb_puts (") = ", gdb_stdlog);
2688 target_debug_print_int (result);
2689 gdb_puts ("\n", gdb_stdlog);
2690 return result;
2691}
2692
2693bool
2695{
2696 return this->beneath ()->can_execute_reverse ();
2697}
2698
2699bool
2701{
2702 return false;
2703}
2704
2705bool
2707{
2708 gdb_printf (gdb_stdlog, "-> %s->can_execute_reverse (...)\n", this->beneath ()->shortname ());
2709 bool result
2710 = this->beneath ()->can_execute_reverse ();
2711 gdb_printf (gdb_stdlog, "<- %s->can_execute_reverse (", this->beneath ()->shortname ());
2712 gdb_puts (") = ", gdb_stdlog);
2713 target_debug_print_bool (result);
2714 gdb_puts ("\n", gdb_stdlog);
2715 return result;
2716}
2717
2720{
2721 return this->beneath ()->execution_direction ();
2722}
2723
2729
2732{
2733 gdb_printf (gdb_stdlog, "-> %s->execution_direction (...)\n", this->beneath ()->shortname ());
2734 enum exec_direction_kind result
2735 = this->beneath ()->execution_direction ();
2736 gdb_printf (gdb_stdlog, "<- %s->execution_direction (", this->beneath ()->shortname ());
2737 gdb_puts (") = ", gdb_stdlog);
2739 gdb_puts ("\n", gdb_stdlog);
2740 return result;
2741}
2742
2743bool
2748
2749bool
2751{
2752 return false;
2753}
2754
2755bool
2757{
2758 gdb_printf (gdb_stdlog, "-> %s->supports_multi_process (...)\n", this->beneath ()->shortname ());
2759 bool result
2760 = this->beneath ()->supports_multi_process ();
2761 gdb_printf (gdb_stdlog, "<- %s->supports_multi_process (", this->beneath ()->shortname ());
2762 gdb_puts (") = ", gdb_stdlog);
2763 target_debug_print_bool (result);
2764 gdb_puts ("\n", gdb_stdlog);
2765 return result;
2766}
2767
2768bool
2773
2774bool
2779
2780bool
2782{
2783 gdb_printf (gdb_stdlog, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath ()->shortname ());
2784 bool result
2786 gdb_printf (gdb_stdlog, "<- %s->supports_enable_disable_tracepoint (", this->beneath ()->shortname ());
2787 gdb_puts (") = ", gdb_stdlog);
2788 target_debug_print_bool (result);
2789 gdb_puts ("\n", gdb_stdlog);
2790 return result;
2791}
2792
2793bool
2798
2799bool
2804
2805bool
2807{
2808 gdb_printf (gdb_stdlog, "-> %s->supports_disable_randomization (...)\n", this->beneath ()->shortname ());
2809 bool result
2811 gdb_printf (gdb_stdlog, "<- %s->supports_disable_randomization (", this->beneath ()->shortname ());
2812 gdb_puts (") = ", gdb_stdlog);
2813 target_debug_print_bool (result);
2814 gdb_puts ("\n", gdb_stdlog);
2815 return result;
2816}
2817
2818bool
2823
2824bool
2826{
2827 return false;
2828}
2829
2830bool
2832{
2833 gdb_printf (gdb_stdlog, "-> %s->supports_string_tracing (...)\n", this->beneath ()->shortname ());
2834 bool result
2835 = this->beneath ()->supports_string_tracing ();
2836 gdb_printf (gdb_stdlog, "<- %s->supports_string_tracing (", this->beneath ()->shortname ());
2837 gdb_puts (") = ", gdb_stdlog);
2838 target_debug_print_bool (result);
2839 gdb_puts ("\n", gdb_stdlog);
2840 return result;
2841}
2842
2843bool
2848
2849bool
2854
2855bool
2857{
2858 gdb_printf (gdb_stdlog, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath ()->shortname ());
2859 bool result
2861 gdb_printf (gdb_stdlog, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath ()->shortname ());
2862 gdb_puts (") = ", gdb_stdlog);
2863 target_debug_print_bool (result);
2864 gdb_puts ("\n", gdb_stdlog);
2865 return result;
2866}
2867
2868bool
2870{
2871 return this->beneath ()->supports_dumpcore ();
2872}
2873
2874bool
2876{
2877 return false;
2878}
2879
2880bool
2882{
2883 gdb_printf (gdb_stdlog, "-> %s->supports_dumpcore (...)\n", this->beneath ()->shortname ());
2884 bool result
2885 = this->beneath ()->supports_dumpcore ();
2886 gdb_printf (gdb_stdlog, "<- %s->supports_dumpcore (", this->beneath ()->shortname ());
2887 gdb_puts (") = ", gdb_stdlog);
2888 target_debug_print_bool (result);
2889 gdb_puts ("\n", gdb_stdlog);
2890 return result;
2891}
2892
2893void
2894target_ops::dumpcore (const char *arg0)
2895{
2896 this->beneath ()->dumpcore (arg0);
2897}
2898
2899void
2900dummy_target::dumpcore (const char *arg0)
2901{
2902}
2903
2904void
2905debug_target::dumpcore (const char *arg0)
2906{
2907 gdb_printf (gdb_stdlog, "-> %s->dumpcore (...)\n", this->beneath ()->shortname ());
2908 this->beneath ()->dumpcore (arg0);
2909 gdb_printf (gdb_stdlog, "<- %s->dumpcore (", this->beneath ()->shortname ());
2911 gdb_puts (")\n", gdb_stdlog);
2912}
2913
2914bool
2919
2920bool
2922{
2923 return false;
2924}
2925
2926bool
2928{
2929 gdb_printf (gdb_stdlog, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath ()->shortname ());
2930 bool result
2931 = this->beneath ()->can_run_breakpoint_commands ();
2932 gdb_printf (gdb_stdlog, "<- %s->can_run_breakpoint_commands (", this->beneath ()->shortname ());
2933 gdb_puts (") = ", gdb_stdlog);
2934 target_debug_print_bool (result);
2935 gdb_puts ("\n", gdb_stdlog);
2936 return result;
2937}
2938
2939struct gdbarch *
2941{
2942 return this->beneath ()->thread_architecture (arg0);
2943}
2944
2945struct gdbarch *
2947{
2948 return NULL;
2949}
2950
2951struct gdbarch *
2953{
2954 gdb_printf (gdb_stdlog, "-> %s->thread_architecture (...)\n", this->beneath ()->shortname ());
2955 struct gdbarch * result
2956 = this->beneath ()->thread_architecture (arg0);
2957 gdb_printf (gdb_stdlog, "<- %s->thread_architecture (", this->beneath ()->shortname ());
2959 gdb_puts (") = ", gdb_stdlog);
2961 gdb_puts ("\n", gdb_stdlog);
2962 return result;
2963}
2964
2965struct address_space *
2967{
2968 return this->beneath ()->thread_address_space (arg0);
2969}
2970
2971struct address_space *
2973{
2974 return NULL;
2975}
2976
2977struct address_space *
2979{
2980 gdb_printf (gdb_stdlog, "-> %s->thread_address_space (...)\n", this->beneath ()->shortname ());
2981 struct address_space * result
2982 = this->beneath ()->thread_address_space (arg0);
2983 gdb_printf (gdb_stdlog, "<- %s->thread_address_space (", this->beneath ()->shortname ());
2985 gdb_puts (") = ", gdb_stdlog);
2987 gdb_puts ("\n", gdb_stdlog);
2988 return result;
2989}
2990
2991bool
2993{
2994 return this->beneath ()->filesystem_is_local ();
2995}
2996
2997bool
2999{
3000 return true;
3001}
3002
3003bool
3005{
3006 gdb_printf (gdb_stdlog, "-> %s->filesystem_is_local (...)\n", this->beneath ()->shortname ());
3007 bool result
3008 = this->beneath ()->filesystem_is_local ();
3009 gdb_printf (gdb_stdlog, "<- %s->filesystem_is_local (", this->beneath ()->shortname ());
3010 gdb_puts (") = ", gdb_stdlog);
3011 target_debug_print_bool (result);
3012 gdb_puts ("\n", gdb_stdlog);
3013 return result;
3014}
3015
3016void
3018{
3019 this->beneath ()->trace_init ();
3020}
3021
3022void
3024{
3025 tcomplain ();
3026}
3027
3028void
3030{
3031 gdb_printf (gdb_stdlog, "-> %s->trace_init (...)\n", this->beneath ()->shortname ());
3032 this->beneath ()->trace_init ();
3033 gdb_printf (gdb_stdlog, "<- %s->trace_init (", this->beneath ()->shortname ());
3034 gdb_puts (")\n", gdb_stdlog);
3035}
3036
3037void
3039{
3040 this->beneath ()->download_tracepoint (arg0);
3041}
3042
3043void
3045{
3046 tcomplain ();
3047}
3048
3049void
3051{
3052 gdb_printf (gdb_stdlog, "-> %s->download_tracepoint (...)\n", this->beneath ()->shortname ());
3053 this->beneath ()->download_tracepoint (arg0);
3054 gdb_printf (gdb_stdlog, "<- %s->download_tracepoint (", this->beneath ()->shortname ());
3056 gdb_puts (")\n", gdb_stdlog);
3057}
3058
3059bool
3064
3065bool
3067{
3068 return false;
3069}
3070
3071bool
3073{
3074 gdb_printf (gdb_stdlog, "-> %s->can_download_tracepoint (...)\n", this->beneath ()->shortname ());
3075 bool result
3076 = this->beneath ()->can_download_tracepoint ();
3077 gdb_printf (gdb_stdlog, "<- %s->can_download_tracepoint (", this->beneath ()->shortname ());
3078 gdb_puts (") = ", gdb_stdlog);
3079 target_debug_print_bool (result);
3080 gdb_puts ("\n", gdb_stdlog);
3081 return result;
3082}
3083
3084void
3089
3090void
3095
3096void
3098{
3099 gdb_printf (gdb_stdlog, "-> %s->download_trace_state_variable (...)\n", this->beneath ()->shortname ());
3100 this->beneath ()->download_trace_state_variable (arg0);
3101 gdb_printf (gdb_stdlog, "<- %s->download_trace_state_variable (", this->beneath ()->shortname ());
3103 gdb_puts (")\n", gdb_stdlog);
3104}
3105
3106void
3108{
3109 this->beneath ()->enable_tracepoint (arg0);
3110}
3111
3112void
3114{
3115 tcomplain ();
3116}
3117
3118void
3120{
3121 gdb_printf (gdb_stdlog, "-> %s->enable_tracepoint (...)\n", this->beneath ()->shortname ());
3122 this->beneath ()->enable_tracepoint (arg0);
3123 gdb_printf (gdb_stdlog, "<- %s->enable_tracepoint (", this->beneath ()->shortname ());
3125 gdb_puts (")\n", gdb_stdlog);
3126}
3127
3128void
3130{
3131 this->beneath ()->disable_tracepoint (arg0);
3132}
3133
3134void
3136{
3137 tcomplain ();
3138}
3139
3140void
3142{
3143 gdb_printf (gdb_stdlog, "-> %s->disable_tracepoint (...)\n", this->beneath ()->shortname ());
3144 this->beneath ()->disable_tracepoint (arg0);
3145 gdb_printf (gdb_stdlog, "<- %s->disable_tracepoint (", this->beneath ()->shortname ());
3147 gdb_puts (")\n", gdb_stdlog);
3148}
3149
3150void
3155
3156void
3161
3162void
3164{
3165 gdb_printf (gdb_stdlog, "-> %s->trace_set_readonly_regions (...)\n", this->beneath ()->shortname ());
3167 gdb_printf (gdb_stdlog, "<- %s->trace_set_readonly_regions (", this->beneath ()->shortname ());
3168 gdb_puts (")\n", gdb_stdlog);
3169}
3170
3171void
3173{
3174 this->beneath ()->trace_start ();
3175}
3176
3177void
3179{
3180 tcomplain ();
3181}
3182
3183void
3185{
3186 gdb_printf (gdb_stdlog, "-> %s->trace_start (...)\n", this->beneath ()->shortname ());
3187 this->beneath ()->trace_start ();
3188 gdb_printf (gdb_stdlog, "<- %s->trace_start (", this->beneath ()->shortname ());
3189 gdb_puts (")\n", gdb_stdlog);
3190}
3191
3192int
3194{
3195 return this->beneath ()->get_trace_status (arg0);
3196}
3197
3198int
3200{
3201 return -1;
3202}
3203
3204int
3206{
3207 gdb_printf (gdb_stdlog, "-> %s->get_trace_status (...)\n", this->beneath ()->shortname ());
3208 int result
3209 = this->beneath ()->get_trace_status (arg0);
3210 gdb_printf (gdb_stdlog, "<- %s->get_trace_status (", this->beneath ()->shortname ());
3212 gdb_puts (") = ", gdb_stdlog);
3213 target_debug_print_int (result);
3214 gdb_puts ("\n", gdb_stdlog);
3215 return result;
3216}
3217
3218void
3220{
3221 this->beneath ()->get_tracepoint_status (arg0, arg1);
3222}
3223
3224void
3226{
3227 tcomplain ();
3228}
3229
3230void
3232{
3233 gdb_printf (gdb_stdlog, "-> %s->get_tracepoint_status (...)\n", this->beneath ()->shortname ());
3234 this->beneath ()->get_tracepoint_status (arg0, arg1);
3235 gdb_printf (gdb_stdlog, "<- %s->get_tracepoint_status (", this->beneath ()->shortname ());
3237 gdb_puts (", ", gdb_stdlog);
3239 gdb_puts (")\n", gdb_stdlog);
3240}
3241
3242void
3244{
3245 this->beneath ()->trace_stop ();
3246}
3247
3248void
3250{
3251 tcomplain ();
3252}
3253
3254void
3256{
3257 gdb_printf (gdb_stdlog, "-> %s->trace_stop (...)\n", this->beneath ()->shortname ());
3258 this->beneath ()->trace_stop ();
3259 gdb_printf (gdb_stdlog, "<- %s->trace_stop (", this->beneath ()->shortname ());
3260 gdb_puts (")\n", gdb_stdlog);
3261}
3262
3263int
3264target_ops::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3265{
3266 return this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4);
3267}
3268
3269int
3270dummy_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3271{
3272 return -1;
3273}
3274
3275int
3276debug_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3277{
3278 gdb_printf (gdb_stdlog, "-> %s->trace_find (...)\n", this->beneath ()->shortname ());
3279 int result
3280 = this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4);
3281 gdb_printf (gdb_stdlog, "<- %s->trace_find (", this->beneath ()->shortname ());
3283 gdb_puts (", ", gdb_stdlog);
3285 gdb_puts (", ", gdb_stdlog);
3287 gdb_puts (", ", gdb_stdlog);
3289 gdb_puts (", ", gdb_stdlog);
3291 gdb_puts (") = ", gdb_stdlog);
3292 target_debug_print_int (result);
3293 gdb_puts ("\n", gdb_stdlog);
3294 return result;
3295}
3296
3297bool
3299{
3300 return this->beneath ()->get_trace_state_variable_value (arg0, arg1);
3301}
3302
3303bool
3305{
3306 return false;
3307}
3308
3309bool
3311{
3312 gdb_printf (gdb_stdlog, "-> %s->get_trace_state_variable_value (...)\n", this->beneath ()->shortname ());
3313 bool result
3314 = this->beneath ()->get_trace_state_variable_value (arg0, arg1);
3315 gdb_printf (gdb_stdlog, "<- %s->get_trace_state_variable_value (", this->beneath ()->shortname ());
3317 gdb_puts (", ", gdb_stdlog);
3319 gdb_puts (") = ", gdb_stdlog);
3320 target_debug_print_bool (result);
3321 gdb_puts ("\n", gdb_stdlog);
3322 return result;
3323}
3324
3325int
3327{
3328 return this->beneath ()->save_trace_data (arg0);
3329}
3330
3331int
3333{
3334 tcomplain ();
3335}
3336
3337int
3339{
3340 gdb_printf (gdb_stdlog, "-> %s->save_trace_data (...)\n", this->beneath ()->shortname ());
3341 int result
3342 = this->beneath ()->save_trace_data (arg0);
3343 gdb_printf (gdb_stdlog, "<- %s->save_trace_data (", this->beneath ()->shortname ());
3345 gdb_puts (") = ", gdb_stdlog);
3346 target_debug_print_int (result);
3347 gdb_puts ("\n", gdb_stdlog);
3348 return result;
3349}
3350
3351int
3353{
3354 return this->beneath ()->upload_tracepoints (arg0);
3355}
3356
3357int
3359{
3360 return 0;
3361}
3362
3363int
3365{
3366 gdb_printf (gdb_stdlog, "-> %s->upload_tracepoints (...)\n", this->beneath ()->shortname ());
3367 int result
3368 = this->beneath ()->upload_tracepoints (arg0);
3369 gdb_printf (gdb_stdlog, "<- %s->upload_tracepoints (", this->beneath ()->shortname ());
3371 gdb_puts (") = ", gdb_stdlog);
3372 target_debug_print_int (result);
3373 gdb_puts ("\n", gdb_stdlog);
3374 return result;
3375}
3376
3377int
3379{
3380 return this->beneath ()->upload_trace_state_variables (arg0);
3381}
3382
3383int
3385{
3386 return 0;
3387}
3388
3389int
3391{
3392 gdb_printf (gdb_stdlog, "-> %s->upload_trace_state_variables (...)\n", this->beneath ()->shortname ());
3393 int result
3394 = this->beneath ()->upload_trace_state_variables (arg0);
3395 gdb_printf (gdb_stdlog, "<- %s->upload_trace_state_variables (", this->beneath ()->shortname ());
3397 gdb_puts (") = ", gdb_stdlog);
3398 target_debug_print_int (result);
3399 gdb_puts ("\n", gdb_stdlog);
3400 return result;
3401}
3402
3403LONGEST
3404target_ops::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3405{
3406 return this->beneath ()->get_raw_trace_data (arg0, arg1, arg2);
3407}
3408
3409LONGEST
3410dummy_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3411{
3412 tcomplain ();
3413}
3414
3415LONGEST
3416debug_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3417{
3418 gdb_printf (gdb_stdlog, "-> %s->get_raw_trace_data (...)\n", this->beneath ()->shortname ());
3419 LONGEST result
3420 = this->beneath ()->get_raw_trace_data (arg0, arg1, arg2);
3421 gdb_printf (gdb_stdlog, "<- %s->get_raw_trace_data (", this->beneath ()->shortname ());
3423 gdb_puts (", ", gdb_stdlog);
3425 gdb_puts (", ", gdb_stdlog);
3427 gdb_puts (") = ", gdb_stdlog);
3429 gdb_puts ("\n", gdb_stdlog);
3430 return result;
3431}
3432
3433int
3438
3439int
3444
3445int
3447{
3448 gdb_printf (gdb_stdlog, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath ()->shortname ());
3449 int result
3451 gdb_printf (gdb_stdlog, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath ()->shortname ());
3452 gdb_puts (") = ", gdb_stdlog);
3453 target_debug_print_int (result);
3454 gdb_puts ("\n", gdb_stdlog);
3455 return result;
3456}
3457
3458void
3460{
3461 this->beneath ()->set_disconnected_tracing (arg0);
3462}
3463
3464void
3468
3469void
3471{
3472 gdb_printf (gdb_stdlog, "-> %s->set_disconnected_tracing (...)\n", this->beneath ()->shortname ());
3473 this->beneath ()->set_disconnected_tracing (arg0);
3474 gdb_printf (gdb_stdlog, "<- %s->set_disconnected_tracing (", this->beneath ()->shortname ());
3476 gdb_puts (")\n", gdb_stdlog);
3477}
3478
3479void
3484
3485void
3489
3490void
3492{
3493 gdb_printf (gdb_stdlog, "-> %s->set_circular_trace_buffer (...)\n", this->beneath ()->shortname ());
3494 this->beneath ()->set_circular_trace_buffer (arg0);
3495 gdb_printf (gdb_stdlog, "<- %s->set_circular_trace_buffer (", this->beneath ()->shortname ());
3497 gdb_puts (")\n", gdb_stdlog);
3498}
3499
3500void
3502{
3503 this->beneath ()->set_trace_buffer_size (arg0);
3504}
3505
3506void
3508{
3509}
3510
3511void
3513{
3514 gdb_printf (gdb_stdlog, "-> %s->set_trace_buffer_size (...)\n", this->beneath ()->shortname ());
3515 this->beneath ()->set_trace_buffer_size (arg0);
3516 gdb_printf (gdb_stdlog, "<- %s->set_trace_buffer_size (", this->beneath ()->shortname ());
3518 gdb_puts (")\n", gdb_stdlog);
3519}
3520
3521bool
3522target_ops::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3523{
3524 return this->beneath ()->set_trace_notes (arg0, arg1, arg2);
3525}
3526
3527bool
3528dummy_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3529{
3530 return false;
3531}
3532
3533bool
3534debug_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3535{
3536 gdb_printf (gdb_stdlog, "-> %s->set_trace_notes (...)\n", this->beneath ()->shortname ());
3537 bool result
3538 = this->beneath ()->set_trace_notes (arg0, arg1, arg2);
3539 gdb_printf (gdb_stdlog, "<- %s->set_trace_notes (", this->beneath ()->shortname ());
3541 gdb_puts (", ", gdb_stdlog);
3543 gdb_puts (", ", gdb_stdlog);
3545 gdb_puts (") = ", gdb_stdlog);
3546 target_debug_print_bool (result);
3547 gdb_puts ("\n", gdb_stdlog);
3548 return result;
3549}
3550
3551int
3553{
3554 return this->beneath ()->core_of_thread (arg0);
3555}
3556
3557int
3559{
3560 return -1;
3561}
3562
3563int
3565{
3566 gdb_printf (gdb_stdlog, "-> %s->core_of_thread (...)\n", this->beneath ()->shortname ());
3567 int result
3568 = this->beneath ()->core_of_thread (arg0);
3569 gdb_printf (gdb_stdlog, "<- %s->core_of_thread (", this->beneath ()->shortname ());
3571 gdb_puts (") = ", gdb_stdlog);
3572 target_debug_print_int (result);
3573 gdb_puts ("\n", gdb_stdlog);
3574 return result;
3575}
3576
3577int
3578target_ops::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3579{
3580 return this->beneath ()->verify_memory (arg0, arg1, arg2);
3581}
3582
3583int
3584dummy_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3585{
3586 return default_verify_memory (this, arg0, arg1, arg2);
3587}
3588
3589int
3590debug_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3591{
3592 gdb_printf (gdb_stdlog, "-> %s->verify_memory (...)\n", this->beneath ()->shortname ());
3593 int result
3594 = this->beneath ()->verify_memory (arg0, arg1, arg2);
3595 gdb_printf (gdb_stdlog, "<- %s->verify_memory (", this->beneath ()->shortname ());
3597 gdb_puts (", ", gdb_stdlog);
3599 gdb_puts (", ", gdb_stdlog);
3601 gdb_puts (") = ", gdb_stdlog);
3602 target_debug_print_int (result);
3603 gdb_puts ("\n", gdb_stdlog);
3604 return result;
3605}
3606
3607bool
3608target_ops::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3609{
3610 return this->beneath ()->get_tib_address (arg0, arg1);
3611}
3612
3613bool
3614dummy_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3615{
3616 tcomplain ();
3617}
3618
3619bool
3620debug_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3621{
3622 gdb_printf (gdb_stdlog, "-> %s->get_tib_address (...)\n", this->beneath ()->shortname ());
3623 bool result
3624 = this->beneath ()->get_tib_address (arg0, arg1);
3625 gdb_printf (gdb_stdlog, "<- %s->get_tib_address (", this->beneath ()->shortname ());
3627 gdb_puts (", ", gdb_stdlog);
3629 gdb_puts (") = ", gdb_stdlog);
3630 target_debug_print_bool (result);
3631 gdb_puts ("\n", gdb_stdlog);
3632 return result;
3633}
3634
3635void
3637{
3638 this->beneath ()->set_permissions ();
3639}
3640
3641void
3645
3646void
3648{
3649 gdb_printf (gdb_stdlog, "-> %s->set_permissions (...)\n", this->beneath ()->shortname ());
3650 this->beneath ()->set_permissions ();
3651 gdb_printf (gdb_stdlog, "<- %s->set_permissions (", this->beneath ()->shortname ());
3652 gdb_puts (")\n", gdb_stdlog);
3653}
3654
3655bool
3657{
3658 return this->beneath ()->static_tracepoint_marker_at (arg0, arg1);
3659}
3660
3661bool
3663{
3664 return false;
3665}
3666
3667bool
3669{
3670 gdb_printf (gdb_stdlog, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath ()->shortname ());
3671 bool result
3672 = this->beneath ()->static_tracepoint_marker_at (arg0, arg1);
3673 gdb_printf (gdb_stdlog, "<- %s->static_tracepoint_marker_at (", this->beneath ()->shortname ());
3675 gdb_puts (", ", gdb_stdlog);
3677 gdb_puts (") = ", gdb_stdlog);
3678 target_debug_print_bool (result);
3679 gdb_puts ("\n", gdb_stdlog);
3680 return result;
3681}
3682
3683std::vector<static_tracepoint_marker>
3685{
3686 return this->beneath ()->static_tracepoint_markers_by_strid (arg0);
3687}
3688
3689std::vector<static_tracepoint_marker>
3691{
3692 tcomplain ();
3693}
3694
3695std::vector<static_tracepoint_marker>
3697{
3698 gdb_printf (gdb_stdlog, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath ()->shortname ());
3699 std::vector<static_tracepoint_marker> result
3701 gdb_printf (gdb_stdlog, "<- %s->static_tracepoint_markers_by_strid (", this->beneath ()->shortname ());
3703 gdb_puts (") = ", gdb_stdlog);
3705 gdb_puts ("\n", gdb_stdlog);
3706 return result;
3707}
3708
3711{
3712 return this->beneath ()->traceframe_info ();
3713}
3714
3720
3723{
3724 gdb_printf (gdb_stdlog, "-> %s->traceframe_info (...)\n", this->beneath ()->shortname ());
3725 traceframe_info_up result
3726 = this->beneath ()->traceframe_info ();
3727 gdb_printf (gdb_stdlog, "<- %s->traceframe_info (", this->beneath ()->shortname ());
3728 gdb_puts (") = ", gdb_stdlog);
3730 gdb_puts ("\n", gdb_stdlog);
3731 return result;
3732}
3733
3734bool
3736{
3737 return this->beneath ()->use_agent (arg0);
3738}
3739
3740bool
3742{
3743 tcomplain ();
3744}
3745
3746bool
3748{
3749 gdb_printf (gdb_stdlog, "-> %s->use_agent (...)\n", this->beneath ()->shortname ());
3750 bool result
3751 = this->beneath ()->use_agent (arg0);
3752 gdb_printf (gdb_stdlog, "<- %s->use_agent (", this->beneath ()->shortname ());
3754 gdb_puts (") = ", gdb_stdlog);
3755 target_debug_print_bool (result);
3756 gdb_puts ("\n", gdb_stdlog);
3757 return result;
3758}
3759
3760bool
3762{
3763 return this->beneath ()->can_use_agent ();
3764}
3765
3766bool
3768{
3769 return false;
3770}
3771
3772bool
3774{
3775 gdb_printf (gdb_stdlog, "-> %s->can_use_agent (...)\n", this->beneath ()->shortname ());
3776 bool result
3777 = this->beneath ()->can_use_agent ();
3778 gdb_printf (gdb_stdlog, "<- %s->can_use_agent (", this->beneath ()->shortname ());
3779 gdb_puts (") = ", gdb_stdlog);
3780 target_debug_print_bool (result);
3781 gdb_puts ("\n", gdb_stdlog);
3782 return result;
3783}
3784
3785struct btrace_target_info *
3786target_ops::enable_btrace (thread_info *arg0, const struct btrace_config *arg1)
3787{
3788 return this->beneath ()->enable_btrace (arg0, arg1);
3789}
3790
3791struct btrace_target_info *
3792dummy_target::enable_btrace (thread_info *arg0, const struct btrace_config *arg1)
3793{
3794 tcomplain ();
3795}
3796
3797struct btrace_target_info *
3798debug_target::enable_btrace (thread_info *arg0, const struct btrace_config *arg1)
3799{
3800 gdb_printf (gdb_stdlog, "-> %s->enable_btrace (...)\n", this->beneath ()->shortname ());
3801 struct btrace_target_info * result
3802 = this->beneath ()->enable_btrace (arg0, arg1);
3803 gdb_printf (gdb_stdlog, "<- %s->enable_btrace (", this->beneath ()->shortname ());
3805 gdb_puts (", ", gdb_stdlog);
3807 gdb_puts (") = ", gdb_stdlog);
3809 gdb_puts ("\n", gdb_stdlog);
3810 return result;
3811}
3812
3813void
3814target_ops::disable_btrace (struct btrace_target_info *arg0)
3815{
3816 this->beneath ()->disable_btrace (arg0);
3817}
3818
3819void
3820dummy_target::disable_btrace (struct btrace_target_info *arg0)
3821{
3822 tcomplain ();
3823}
3824
3825void
3826debug_target::disable_btrace (struct btrace_target_info *arg0)
3827{
3828 gdb_printf (gdb_stdlog, "-> %s->disable_btrace (...)\n", this->beneath ()->shortname ());
3829 this->beneath ()->disable_btrace (arg0);
3830 gdb_printf (gdb_stdlog, "<- %s->disable_btrace (", this->beneath ()->shortname ());
3832 gdb_puts (")\n", gdb_stdlog);
3833}
3834
3835void
3836target_ops::teardown_btrace (struct btrace_target_info *arg0)
3837{
3838 this->beneath ()->teardown_btrace (arg0);
3839}
3840
3841void
3842dummy_target::teardown_btrace (struct btrace_target_info *arg0)
3843{
3844 tcomplain ();
3845}
3846
3847void
3848debug_target::teardown_btrace (struct btrace_target_info *arg0)
3849{
3850 gdb_printf (gdb_stdlog, "-> %s->teardown_btrace (...)\n", this->beneath ()->shortname ());
3851 this->beneath ()->teardown_btrace (arg0);
3852 gdb_printf (gdb_stdlog, "<- %s->teardown_btrace (", this->beneath ()->shortname ());
3854 gdb_puts (")\n", gdb_stdlog);
3855}
3856
3857enum btrace_error
3858target_ops::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3859{
3860 return this->beneath ()->read_btrace (arg0, arg1, arg2);
3861}
3862
3863enum btrace_error
3864dummy_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3865{
3866 tcomplain ();
3867}
3868
3869enum btrace_error
3870debug_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3871{
3872 gdb_printf (gdb_stdlog, "-> %s->read_btrace (...)\n", this->beneath ()->shortname ());
3873 enum btrace_error result
3874 = this->beneath ()->read_btrace (arg0, arg1, arg2);
3875 gdb_printf (gdb_stdlog, "<- %s->read_btrace (", this->beneath ()->shortname ());
3877 gdb_puts (", ", gdb_stdlog);
3879 gdb_puts (", ", gdb_stdlog);
3881 gdb_puts (") = ", gdb_stdlog);
3883 gdb_puts ("\n", gdb_stdlog);
3884 return result;
3885}
3886
3887const struct btrace_config *
3888target_ops::btrace_conf (const struct btrace_target_info *arg0)
3889{
3890 return this->beneath ()->btrace_conf (arg0);
3891}
3892
3893const struct btrace_config *
3894dummy_target::btrace_conf (const struct btrace_target_info *arg0)
3895{
3896 return NULL;
3897}
3898
3899const struct btrace_config *
3900debug_target::btrace_conf (const struct btrace_target_info *arg0)
3901{
3902 gdb_printf (gdb_stdlog, "-> %s->btrace_conf (...)\n", this->beneath ()->shortname ());
3903 const struct btrace_config * result
3904 = this->beneath ()->btrace_conf (arg0);
3905 gdb_printf (gdb_stdlog, "<- %s->btrace_conf (", this->beneath ()->shortname ());
3907 gdb_puts (") = ", gdb_stdlog);
3909 gdb_puts ("\n", gdb_stdlog);
3910 return result;
3911}
3912
3913enum record_method
3915{
3916 return this->beneath ()->record_method (arg0);
3917}
3918
3919enum record_method
3921{
3922 return RECORD_METHOD_NONE;
3923}
3924
3925enum record_method
3927{
3928 gdb_printf (gdb_stdlog, "-> %s->record_method (...)\n", this->beneath ()->shortname ());
3929 enum record_method result
3930 = this->beneath ()->record_method (arg0);
3931 gdb_printf (gdb_stdlog, "<- %s->record_method (", this->beneath ()->shortname ());
3933 gdb_puts (") = ", gdb_stdlog);
3935 gdb_puts ("\n", gdb_stdlog);
3936 return result;
3937}
3938
3939void
3941{
3942 this->beneath ()->stop_recording ();
3943}
3944
3945void
3949
3950void
3952{
3953 gdb_printf (gdb_stdlog, "-> %s->stop_recording (...)\n", this->beneath ()->shortname ());
3954 this->beneath ()->stop_recording ();
3955 gdb_printf (gdb_stdlog, "<- %s->stop_recording (", this->beneath ()->shortname ());
3956 gdb_puts (")\n", gdb_stdlog);
3957}
3958
3959void
3961{
3962 this->beneath ()->info_record ();
3963}
3964
3965void
3969
3970void
3972{
3973 gdb_printf (gdb_stdlog, "-> %s->info_record (...)\n", this->beneath ()->shortname ());
3974 this->beneath ()->info_record ();
3975 gdb_printf (gdb_stdlog, "<- %s->info_record (", this->beneath ()->shortname ());
3976 gdb_puts (")\n", gdb_stdlog);
3977}
3978
3979void
3980target_ops::save_record (const char *arg0)
3981{
3982 this->beneath ()->save_record (arg0);
3983}
3984
3985void
3987{
3988 tcomplain ();
3989}
3990
3991void
3993{
3994 gdb_printf (gdb_stdlog, "-> %s->save_record (...)\n", this->beneath ()->shortname ());
3995 this->beneath ()->save_record (arg0);
3996 gdb_printf (gdb_stdlog, "<- %s->save_record (", this->beneath ()->shortname ());
3998 gdb_puts (")\n", gdb_stdlog);
3999}
4000
4001bool
4006
4007bool
4009{
4010 return false;
4011}
4012
4013bool
4015{
4016 gdb_printf (gdb_stdlog, "-> %s->supports_delete_record (...)\n", this->beneath ()->shortname ());
4017 bool result
4018 = this->beneath ()->supports_delete_record ();
4019 gdb_printf (gdb_stdlog, "<- %s->supports_delete_record (", this->beneath ()->shortname ());
4020 gdb_puts (") = ", gdb_stdlog);
4021 target_debug_print_bool (result);
4022 gdb_puts ("\n", gdb_stdlog);
4023 return result;
4024}
4025
4026void
4028{
4029 this->beneath ()->delete_record ();
4030}
4031
4032void
4037
4038void
4040{
4041 gdb_printf (gdb_stdlog, "-> %s->delete_record (...)\n", this->beneath ()->shortname ());
4042 this->beneath ()->delete_record ();
4043 gdb_printf (gdb_stdlog, "<- %s->delete_record (", this->beneath ()->shortname ());
4044 gdb_puts (")\n", gdb_stdlog);
4045}
4046
4047bool
4049{
4050 return this->beneath ()->record_is_replaying (arg0);
4051}
4052
4053bool
4055{
4056 return false;
4057}
4058
4059bool
4061{
4062 gdb_printf (gdb_stdlog, "-> %s->record_is_replaying (...)\n", this->beneath ()->shortname ());
4063 bool result
4064 = this->beneath ()->record_is_replaying (arg0);
4065 gdb_printf (gdb_stdlog, "<- %s->record_is_replaying (", this->beneath ()->shortname ());
4067 gdb_puts (") = ", gdb_stdlog);
4068 target_debug_print_bool (result);
4069 gdb_puts ("\n", gdb_stdlog);
4070 return result;
4071}
4072
4073bool
4074target_ops::record_will_replay (ptid_t arg0, int arg1)
4075{
4076 return this->beneath ()->record_will_replay (arg0, arg1);
4077}
4078
4079bool
4081{
4082 return false;
4083}
4084
4085bool
4087{
4088 gdb_printf (gdb_stdlog, "-> %s->record_will_replay (...)\n", this->beneath ()->shortname ());
4089 bool result
4090 = this->beneath ()->record_will_replay (arg0, arg1);
4091 gdb_printf (gdb_stdlog, "<- %s->record_will_replay (", this->beneath ()->shortname ());
4093 gdb_puts (", ", gdb_stdlog);
4095 gdb_puts (") = ", gdb_stdlog);
4096 target_debug_print_bool (result);
4097 gdb_puts ("\n", gdb_stdlog);
4098 return result;
4099}
4100
4101void
4106
4107void
4111
4112void
4114{
4115 gdb_printf (gdb_stdlog, "-> %s->record_stop_replaying (...)\n", this->beneath ()->shortname ());
4116 this->beneath ()->record_stop_replaying ();
4117 gdb_printf (gdb_stdlog, "<- %s->record_stop_replaying (", this->beneath ()->shortname ());
4118 gdb_puts (")\n", gdb_stdlog);
4119}
4120
4121void
4126
4127void
4132
4133void
4135{
4136 gdb_printf (gdb_stdlog, "-> %s->goto_record_begin (...)\n", this->beneath ()->shortname ());
4137 this->beneath ()->goto_record_begin ();
4138 gdb_printf (gdb_stdlog, "<- %s->goto_record_begin (", this->beneath ()->shortname ());
4139 gdb_puts (")\n", gdb_stdlog);
4140}
4141
4142void
4144{
4145 this->beneath ()->goto_record_end ();
4146}
4147
4148void
4153
4154void
4156{
4157 gdb_printf (gdb_stdlog, "-> %s->goto_record_end (...)\n", this->beneath ()->shortname ());
4158 this->beneath ()->goto_record_end ();
4159 gdb_printf (gdb_stdlog, "<- %s->goto_record_end (", this->beneath ()->shortname ());
4160 gdb_puts (")\n", gdb_stdlog);
4161}
4162
4163void
4165{
4166 this->beneath ()->goto_record (arg0);
4167}
4168
4169void
4171{
4172 tcomplain ();
4173}
4174
4175void
4177{
4178 gdb_printf (gdb_stdlog, "-> %s->goto_record (...)\n", this->beneath ()->shortname ());
4179 this->beneath ()->goto_record (arg0);
4180 gdb_printf (gdb_stdlog, "<- %s->goto_record (", this->beneath ()->shortname ());
4182 gdb_puts (")\n", gdb_stdlog);
4183}
4184
4185void
4186target_ops::insn_history (int arg0, gdb_disassembly_flags arg1)
4187{
4188 this->beneath ()->insn_history (arg0, arg1);
4189}
4190
4191void
4192dummy_target::insn_history (int arg0, gdb_disassembly_flags arg1)
4193{
4194 tcomplain ();
4195}
4196
4197void
4198debug_target::insn_history (int arg0, gdb_disassembly_flags arg1)
4199{
4200 gdb_printf (gdb_stdlog, "-> %s->insn_history (...)\n", this->beneath ()->shortname ());
4201 this->beneath ()->insn_history (arg0, arg1);
4202 gdb_printf (gdb_stdlog, "<- %s->insn_history (", this->beneath ()->shortname ());
4204 gdb_puts (", ", gdb_stdlog);
4206 gdb_puts (")\n", gdb_stdlog);
4207}
4208
4209void
4210target_ops::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4211{
4212 this->beneath ()->insn_history_from (arg0, arg1, arg2);
4213}
4214
4215void
4216dummy_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4217{
4218 tcomplain ();
4219}
4220
4221void
4222debug_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4223{
4224 gdb_printf (gdb_stdlog, "-> %s->insn_history_from (...)\n", this->beneath ()->shortname ());
4225 this->beneath ()->insn_history_from (arg0, arg1, arg2);
4226 gdb_printf (gdb_stdlog, "<- %s->insn_history_from (", this->beneath ()->shortname ());
4228 gdb_puts (", ", gdb_stdlog);
4230 gdb_puts (", ", gdb_stdlog);
4232 gdb_puts (")\n", gdb_stdlog);
4233}
4234
4235void
4236target_ops::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4237{
4238 this->beneath ()->insn_history_range (arg0, arg1, arg2);
4239}
4240
4241void
4242dummy_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4243{
4244 tcomplain ();
4245}
4246
4247void
4248debug_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4249{
4250 gdb_printf (gdb_stdlog, "-> %s->insn_history_range (...)\n", this->beneath ()->shortname ());
4251 this->beneath ()->insn_history_range (arg0, arg1, arg2);
4252 gdb_printf (gdb_stdlog, "<- %s->insn_history_range (", this->beneath ()->shortname ());
4254 gdb_puts (", ", gdb_stdlog);
4256 gdb_puts (", ", gdb_stdlog);
4258 gdb_puts (")\n", gdb_stdlog);
4259}
4260
4261void
4262target_ops::call_history (int arg0, record_print_flags arg1)
4263{
4264 this->beneath ()->call_history (arg0, arg1);
4265}
4266
4267void
4268dummy_target::call_history (int arg0, record_print_flags arg1)
4269{
4270 tcomplain ();
4271}
4272
4273void
4274debug_target::call_history (int arg0, record_print_flags arg1)
4275{
4276 gdb_printf (gdb_stdlog, "-> %s->call_history (...)\n", this->beneath ()->shortname ());
4277 this->beneath ()->call_history (arg0, arg1);
4278 gdb_printf (gdb_stdlog, "<- %s->call_history (", this->beneath ()->shortname ());
4280 gdb_puts (", ", gdb_stdlog);
4282 gdb_puts (")\n", gdb_stdlog);
4283}
4284
4285void
4286target_ops::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4287{
4288 this->beneath ()->call_history_from (arg0, arg1, arg2);
4289}
4290
4291void
4292dummy_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4293{
4294 tcomplain ();
4295}
4296
4297void
4298debug_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4299{
4300 gdb_printf (gdb_stdlog, "-> %s->call_history_from (...)\n", this->beneath ()->shortname ());
4301 this->beneath ()->call_history_from (arg0, arg1, arg2);
4302 gdb_printf (gdb_stdlog, "<- %s->call_history_from (", this->beneath ()->shortname ());
4304 gdb_puts (", ", gdb_stdlog);
4306 gdb_puts (", ", gdb_stdlog);
4308 gdb_puts (")\n", gdb_stdlog);
4309}
4310
4311void
4312target_ops::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4313{
4314 this->beneath ()->call_history_range (arg0, arg1, arg2);
4315}
4316
4317void
4318dummy_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4319{
4320 tcomplain ();
4321}
4322
4323void
4324debug_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4325{
4326 gdb_printf (gdb_stdlog, "-> %s->call_history_range (...)\n", this->beneath ()->shortname ());
4327 this->beneath ()->call_history_range (arg0, arg1, arg2);
4328 gdb_printf (gdb_stdlog, "<- %s->call_history_range (", this->beneath ()->shortname ());
4330 gdb_puts (", ", gdb_stdlog);
4332 gdb_puts (", ", gdb_stdlog);
4334 gdb_puts (")\n", gdb_stdlog);
4335}
4336
4337bool
4342
4343bool
4345{
4346 return false;
4347}
4348
4349bool
4351{
4352 gdb_printf (gdb_stdlog, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath ()->shortname ());
4353 bool result
4355 gdb_printf (gdb_stdlog, "<- %s->augmented_libraries_svr4_read (", this->beneath ()->shortname ());
4356 gdb_puts (") = ", gdb_stdlog);
4357 target_debug_print_bool (result);
4358 gdb_puts ("\n", gdb_stdlog);
4359 return result;
4360}
4361
4362const struct frame_unwind *
4364{
4365 return this->beneath ()->get_unwinder ();
4366}
4367
4368const struct frame_unwind *
4370{
4371 return NULL;
4372}
4373
4374const struct frame_unwind *
4376{
4377 gdb_printf (gdb_stdlog, "-> %s->get_unwinder (...)\n", this->beneath ()->shortname ());
4378 const struct frame_unwind * result
4379 = this->beneath ()->get_unwinder ();
4380 gdb_printf (gdb_stdlog, "<- %s->get_unwinder (", this->beneath ()->shortname ());
4381 gdb_puts (") = ", gdb_stdlog);
4383 gdb_puts ("\n", gdb_stdlog);
4384 return result;
4385}
4386
4387const struct frame_unwind *
4389{
4390 return this->beneath ()->get_tailcall_unwinder ();
4391}
4392
4393const struct frame_unwind *
4395{
4396 return NULL;
4397}
4398
4399const struct frame_unwind *
4401{
4402 gdb_printf (gdb_stdlog, "-> %s->get_tailcall_unwinder (...)\n", this->beneath ()->shortname ());
4403 const struct frame_unwind * result
4404 = this->beneath ()->get_tailcall_unwinder ();
4405 gdb_printf (gdb_stdlog, "<- %s->get_tailcall_unwinder (", this->beneath ()->shortname ());
4406 gdb_puts (") = ", gdb_stdlog);
4408 gdb_puts ("\n", gdb_stdlog);
4409 return result;
4410}
4411
4412void
4417
4418void
4422
4423void
4425{
4426 gdb_printf (gdb_stdlog, "-> %s->prepare_to_generate_core (...)\n", this->beneath ()->shortname ());
4427 this->beneath ()->prepare_to_generate_core ();
4428 gdb_printf (gdb_stdlog, "<- %s->prepare_to_generate_core (", this->beneath ()->shortname ());
4429 gdb_puts (")\n", gdb_stdlog);
4430}
4431
4432void
4437
4438void
4442
4443void
4445{
4446 gdb_printf (gdb_stdlog, "-> %s->done_generating_core (...)\n", this->beneath ()->shortname ());
4447 this->beneath ()->done_generating_core ();
4448 gdb_printf (gdb_stdlog, "<- %s->done_generating_core (", this->beneath ()->shortname ());
4449 gdb_puts (")\n", gdb_stdlog);
4450}
4451
4452bool
4457
4458bool
4460{
4461 return false;
4462}
4463
4464bool
4466{
4467 gdb_printf (gdb_stdlog, "-> %s->supports_memory_tagging (...)\n", this->beneath ()->shortname ());
4468 bool result
4469 = this->beneath ()->supports_memory_tagging ();
4470 gdb_printf (gdb_stdlog, "<- %s->supports_memory_tagging (", this->beneath ()->shortname ());
4471 gdb_puts (") = ", gdb_stdlog);
4472 target_debug_print_bool (result);
4473 gdb_puts ("\n", gdb_stdlog);
4474 return result;
4475}
4476
4477bool
4478target_ops::fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3)
4479{
4480 return this->beneath ()->fetch_memtags (arg0, arg1, arg2, arg3);
4481}
4482
4483bool
4484dummy_target::fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3)
4485{
4486 tcomplain ();
4487}
4488
4489bool
4490debug_target::fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3)
4491{
4492 gdb_printf (gdb_stdlog, "-> %s->fetch_memtags (...)\n", this->beneath ()->shortname ());
4493 bool result
4494 = this->beneath ()->fetch_memtags (arg0, arg1, arg2, arg3);
4495 gdb_printf (gdb_stdlog, "<- %s->fetch_memtags (", this->beneath ()->shortname ());
4497 gdb_puts (", ", gdb_stdlog);
4499 gdb_puts (", ", gdb_stdlog);
4501 gdb_puts (", ", gdb_stdlog);
4503 gdb_puts (") = ", gdb_stdlog);
4504 target_debug_print_bool (result);
4505 gdb_puts ("\n", gdb_stdlog);
4506 return result;
4507}
4508
4509bool
4510target_ops::store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3)
4511{
4512 return this->beneath ()->store_memtags (arg0, arg1, arg2, arg3);
4513}
4514
4515bool
4516dummy_target::store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3)
4517{
4518 tcomplain ();
4519}
4520
4521bool
4522debug_target::store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3)
4523{
4524 gdb_printf (gdb_stdlog, "-> %s->store_memtags (...)\n", this->beneath ()->shortname ());
4525 bool result
4526 = this->beneath ()->store_memtags (arg0, arg1, arg2, arg3);
4527 gdb_printf (gdb_stdlog, "<- %s->store_memtags (", this->beneath ()->shortname ());
4529 gdb_puts (", ", gdb_stdlog);
4531 gdb_puts (", ", gdb_stdlog);
4533 gdb_puts (", ", gdb_stdlog);
4535 gdb_puts (") = ", gdb_stdlog);
4536 target_debug_print_bool (result);
4537 gdb_puts ("\n", gdb_stdlog);
4538 return result;
4539}
4540
4541x86_xsave_layout
4546
4547x86_xsave_layout
4549{
4550 return x86_xsave_layout ();
4551}
4552
4553x86_xsave_layout
4555{
4556 gdb_printf (gdb_stdlog, "-> %s->fetch_x86_xsave_layout (...)\n", this->beneath ()->shortname ());
4557 x86_xsave_layout result
4558 = this->beneath ()->fetch_x86_xsave_layout ();
4559 gdb_printf (gdb_stdlog, "<- %s->fetch_x86_xsave_layout (", this->beneath ()->shortname ());
4560 gdb_puts (") = ", gdb_stdlog);
4562 gdb_puts ("\n", gdb_stdlog);
4563 return result;
4564}
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
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:350
static bool follow_fork()
Definition infrun.c:740
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
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:3762
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 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
gdb::array_view< const_gdb_byte > thread_info_to_thread_handle(struct thread_info *arg0) 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:3750
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
x86_xsave_layout fetch_x86_xsave_layout() 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 get_tracepoint_status(tracepoint *arg0, struct uploaded_tp *arg1) 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
void get_tracepoint_status(tracepoint *arg0, struct uploaded_tp *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
strata stratum() const override
Definition target.c:3744
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:3756
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
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
x86_xsave_layout fetch_x86_xsave_layout() 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
gdb::array_view< const_gdb_byte > thread_info_to_thread_handle(struct thread_info *arg0) 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 get_tracepoint_status(tracepoint *tp, struct uploaded_tp *utp) TARGET_DEFAULT_NORETURN(tcomplain())
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:3041
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 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::array_view< const_gdb_byte > virtual thread_info_to_thread_handle(struct thread_info *) TARGET_DEFAULT_RETURN(gdb voi stop)(ptid_t) TARGET_DEFAULT_IGNORE()
Definition target.h:689
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 x86_xsave_layout fetch_x86_xsave_layout() TARGET_DEFAULT_RETURN(x86_xsave_layout())
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:456
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_exec_direction_kind(X)
#define target_debug_print_long(X)
static void target_debug_print_gdb_array_view_const_gdb_byte(gdb::array_view< const gdb_byte > vector)
#define target_debug_print_record_method(X)
#define target_debug_print_const_gdb_byte_pp(X)
#define target_debug_print_int(X)
#define target_debug_print_const_char_p(X)
#define target_debug_print_const_trace_state_variable_r(X)
#define target_debug_print_std_vector_mem_region(X)
#define target_debug_print_const_btrace_target_info_p(X)
#define target_debug_print_thread_control_capabilities(X)
#define target_debug_print_std_vector_static_tracepoint_marker(X)
#define target_debug_print_btrace_target_info_p(X)
#define target_debug_print_bfd_p(X)
#define target_debug_print_gdb_signal(X)
#define target_debug_print_uploaded_tsv_pp(X)
#define target_debug_print_gdb_unique_xmalloc_ptr_char(X)
#define target_debug_print_const_btrace_config_p(X)
#define target_debug_print_inferior_p(X)
#define target_debug_print_thread_info_p(X)
#define target_debug_print_uploaded_tp_pp(X)
#define target_debug_print_const_target_section_table_p(X)
#define target_debug_print_btrace_data_p(X)
#define target_debug_print_record_print_flags(X)
#define target_debug_print_traceframe_info_up(X)
#define target_debug_print_const_frame_unwind_p(X)
#define target_debug_print_btrace_read_type(X)
#define target_debug_print_bp_location_p(X)
#define target_debug_print_void_p(X)
#define target_debug_print_gdb_byte_p(X)
#define target_debug_print_LONGEST(X)
#define target_debug_print_find_memory_region_ftype(X)
#define target_debug_print_int_p(X)
#define target_debug_print_std_string(X)
#define target_debug_print_const_gdb_byte_p(X)
#define target_debug_print_btrace_error(X)
#define target_debug_print_remove_bp_reason(X)
#define target_debug_print_tracepoint_p(X)
#define target_debug_print_ULONGEST_p(X)
static void target_debug_print_target_waitstatus_p(struct target_waitstatus *status)
#define target_debug_print_bool(X)
#define target_debug_print_bp_target_info_p(X)
static void target_debug_print_size_t(size_t size)
#define target_debug_print_bptype(X)
#define target_debug_print_ptid_t(X)
#define target_debug_print_target_object(X)
#define target_debug_print_gdbarch_p(X)
#define target_debug_print_LONGEST_p(X)
#define target_debug_print_target_waitkind(X)
#define target_debug_print_address_space_p(X)
#define target_debug_print_step(X)
#define target_debug_print_gdb_disassembly_flags(X)
#define target_debug_print_target_xfer_status(X)
#define target_debug_print_regcache_p(X)
#define target_debug_print_const_target_desc_p(X)
#define target_debug_print_static_tracepoint_marker_p(X)
#define target_debug_print_CORE_ADDR_p(X)
#define target_debug_print_trace_find_type(X)
#define target_debug_print_ULONGEST(X)
#define target_debug_print_gdb_array_view_const_int(X)
#define target_debug_print_target_hw_bp_type(X)
#define target_debug_print_CORE_ADDR(X)
#define target_debug_print_uploaded_tp_p(X)
#define target_debug_print_trace_status_p(X)
static void target_debug_print_target_wait_flags(target_wait_flags options)
#define target_debug_print_expression_p(X)
static void target_debug_print_gdb_byte_vector_r(gdb::byte_vector &vector)
static void target_debug_print_const_gdb_byte_vector_r(const gdb::byte_vector &vector)
#define target_debug_print_ui_file_p(X)
static void target_debug_print_x86_xsave_layout(const x86_xsave_layout &layout)
static void target_debug_print_signals(gdb::array_view< const unsigned char > sigs)
std::vector< target_section > target_section_table
static void tcomplain(void)
Definition target.c:1129
static ptid_t default_get_ada_task_ptid(struct target_ops *self, long lwp, ULONGEST tid)
Definition target.c:1154
static std::string default_pid_to_str(struct target_ops *ops, ptid_t ptid)
Definition target.c:3699
void default_target_pass_ctrlc(struct target_ops *ops)
Definition target.c:3846
void noprocess(void)
Definition target.c:1136
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:2710
static int default_watchpoint_addr_within_range(struct target_ops *target, CORE_ADDR addr, CORE_ADDR start, int length)
Definition target.c:3589
static void default_mourn_inferior(struct target_ops *self)
Definition target.c:2752
static int dummy_find_memory_regions(struct target_ops *self, find_memory_region_ftype ignore1, void *ignore2)
Definition target.c:3706
ptid_t default_target_wait(struct target_ops *ops, ptid_t ptid, struct target_waitstatus *status, target_wait_flags options)
Definition target.c:2614
static int find_default_supports_disable_randomization(struct target_ops *self)
Definition target.c:2981
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:3715
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:2782
const target_section_table * default_get_section_table()
Definition target.c:1411
static enum exec_direction_kind default_execution_direction(struct target_ops *self)
Definition target.c:1160
static void default_terminal_info(struct target_ops *self, const char *args, int from_tty)
Definition target.c:1142
static int default_region_ok_for_hw_watchpoint(struct target_ops *self, CORE_ADDR addr, int len)
Definition target.c:3582
static int default_verify_memory(struct target_ops *self, const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size)
Definition target.c:3985
static void default_rcmd(struct target_ops *self, const char *command, struct ui_file *output)
Definition target.c:4267
target_xfer_status
Definition target.h:219
@ TARGET_XFER_E_IO
Definition target.h:232
target_object
Definition target.h:143
strata
Definition target.h:94
thread_control_capabilities
Definition target.h:105
@ tc_none
Definition target.h:106
std::unique_ptr< traceframe_info > traceframe_info_up
Definition tracepoint.h:40
trace_find_type
Definition tracepoint.h:406
void gdb_printf(struct ui_file *stream, const char *format,...)
Definition utils.c:1886
void gdb_puts(const char *linebuffer, struct ui_file *stream)
Definition utils.c:1809
#define gdb_stdlog
Definition utils.h:190
target_waitkind
Definition waitstatus.h:30