[PATCH 47/57][Arm][OBJDUMP] Add support for MVE instructions: vaddv, vmlaldav, vmlada...
[binutils-gdb.git] / gdb / target-delegates.c
blobcfc0ce06e998a3510bf8d5d4959cc646b542b075
1 /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */
2 /* vi:set ro: */
4 /* To regenerate this file, run:*/
5 /* make-target-delegates target.h > target-delegates.c */
7 struct dummy_target : public target_ops
9 const target_info &info () const override;
11 strata stratum () const override;
13 void post_attach (int arg0) override;
14 void detach (inferior *arg0, int arg1) override;
15 void disconnect (const char *arg0, int arg1) override;
16 void resume (ptid_t arg0, int arg1, enum gdb_signal arg2) override;
17 void commit_resume () override;
18 ptid_t wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2) override;
19 void fetch_registers (struct regcache *arg0, int arg1) override;
20 void store_registers (struct regcache *arg0, int arg1) override;
21 void prepare_to_store (struct regcache *arg0) override;
22 void files_info () override;
23 int insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
24 int remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) override;
25 bool stopped_by_sw_breakpoint () override;
26 bool supports_stopped_by_sw_breakpoint () override;
27 bool stopped_by_hw_breakpoint () override;
28 bool supports_stopped_by_hw_breakpoint () override;
29 int can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2) override;
30 int ranged_break_num_registers () override;
31 int insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
32 int remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
33 int remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
34 int insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
35 int insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
36 int remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
37 bool stopped_by_watchpoint () override;
38 bool have_steppable_watchpoint () override;
39 bool stopped_data_address (CORE_ADDR *arg0) override;
40 bool watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2) override;
41 int region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1) override;
42 bool can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) override;
43 int masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1) override;
44 int can_do_single_step () override;
45 bool supports_terminal_ours () override;
46 void terminal_init () override;
47 void terminal_inferior () override;
48 void terminal_save_inferior () override;
49 void terminal_ours_for_output () override;
50 void terminal_ours () override;
51 void terminal_info (const char *arg0, int arg1) override;
52 void kill () override;
53 void load (const char *arg0, int arg1) override;
54 void post_startup_inferior (ptid_t arg0) override;
55 int insert_fork_catchpoint (int arg0) override;
56 int remove_fork_catchpoint (int arg0) override;
57 int insert_vfork_catchpoint (int arg0) override;
58 int remove_vfork_catchpoint (int arg0) override;
59 int follow_fork (int arg0, int arg1) override;
60 int insert_exec_catchpoint (int arg0) override;
61 int remove_exec_catchpoint (int arg0) override;
62 void follow_exec (struct inferior *arg0, char *arg1) override;
63 int set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3) override;
64 void mourn_inferior () override;
65 void pass_signals (gdb::array_view<const unsigned char> arg0) override;
66 void program_signals (gdb::array_view<const unsigned char> arg0) override;
67 bool thread_alive (ptid_t arg0) override;
68 void update_thread_list () override;
69 std::string pid_to_str (ptid_t arg0) override;
70 const char *extra_thread_info (thread_info *arg0) override;
71 const char *thread_name (thread_info *arg0) override;
72 thread_info *thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2) override;
73 gdb::byte_vector thread_info_to_thread_handle (struct thread_info *arg0) override;
74 void stop (ptid_t arg0) override;
75 void interrupt () override;
76 void pass_ctrlc () override;
77 void rcmd (const char *arg0, struct ui_file *arg1) override;
78 char *pid_to_exec_file (int arg0) override;
79 void log_command (const char *arg0) override;
80 struct target_section_table *get_section_table () override;
81 thread_control_capabilities get_thread_control_capabilities () override;
82 bool attach_no_wait () override;
83 bool can_async_p () override;
84 bool is_async_p () override;
85 void async (int arg0) override;
86 void thread_events (int arg0) override;
87 bool supports_non_stop () override;
88 bool always_non_stop_p () override;
89 int find_memory_regions (find_memory_region_ftype arg0, void *arg1) override;
90 char *make_corefile_notes (bfd *arg0, int *arg1) override;
91 gdb_byte *get_bookmark (const char *arg0, int arg1) override;
92 void goto_bookmark (const gdb_byte *arg0, int arg1) override;
93 CORE_ADDR get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) override;
94 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;
95 ULONGEST get_memory_xfer_limit () override;
96 std::vector<mem_region> memory_map () override;
97 void flash_erase (ULONGEST arg0, LONGEST arg1) override;
98 void flash_done () override;
99 const struct target_desc *read_description () override;
100 ptid_t get_ada_task_ptid (long arg0, long arg1) override;
101 int auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) override;
102 int search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) override;
103 bool can_execute_reverse () override;
104 enum exec_direction_kind execution_direction () override;
105 bool supports_multi_process () override;
106 bool supports_enable_disable_tracepoint () override;
107 bool supports_disable_randomization () override;
108 bool supports_string_tracing () override;
109 bool supports_evaluation_of_breakpoint_conditions () override;
110 bool can_run_breakpoint_commands () override;
111 struct gdbarch *thread_architecture (ptid_t arg0) override;
112 struct address_space *thread_address_space (ptid_t arg0) override;
113 bool filesystem_is_local () override;
114 void trace_init () override;
115 void download_tracepoint (struct bp_location *arg0) override;
116 bool can_download_tracepoint () override;
117 void download_trace_state_variable (const trace_state_variable &arg0) override;
118 void enable_tracepoint (struct bp_location *arg0) override;
119 void disable_tracepoint (struct bp_location *arg0) override;
120 void trace_set_readonly_regions () override;
121 void trace_start () override;
122 int get_trace_status (struct trace_status *arg0) override;
123 void get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1) override;
124 void trace_stop () override;
125 int trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) override;
126 bool get_trace_state_variable_value (int arg0, LONGEST *arg1) override;
127 int save_trace_data (const char *arg0) override;
128 int upload_tracepoints (struct uploaded_tp **arg0) override;
129 int upload_trace_state_variables (struct uploaded_tsv **arg0) override;
130 LONGEST get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) override;
131 int get_min_fast_tracepoint_insn_len () override;
132 void set_disconnected_tracing (int arg0) override;
133 void set_circular_trace_buffer (int arg0) override;
134 void set_trace_buffer_size (LONGEST arg0) override;
135 bool set_trace_notes (const char *arg0, const char *arg1, const char *arg2) override;
136 int core_of_thread (ptid_t arg0) override;
137 int verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) override;
138 bool get_tib_address (ptid_t arg0, CORE_ADDR *arg1) override;
139 void set_permissions () override;
140 bool static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) override;
141 std::vector<static_tracepoint_marker> static_tracepoint_markers_by_strid (const char *arg0) override;
142 traceframe_info_up traceframe_info () override;
143 bool use_agent (bool arg0) override;
144 bool can_use_agent () override;
145 struct btrace_target_info *enable_btrace (ptid_t arg0, const struct btrace_config *arg1) override;
146 void disable_btrace (struct btrace_target_info *arg0) override;
147 void teardown_btrace (struct btrace_target_info *arg0) override;
148 enum btrace_error read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) override;
149 const struct btrace_config *btrace_conf (const struct btrace_target_info *arg0) override;
150 enum record_method record_method (ptid_t arg0) override;
151 void stop_recording () override;
152 void info_record () override;
153 void save_record (const char *arg0) override;
154 bool supports_delete_record () override;
155 void delete_record () override;
156 bool record_is_replaying (ptid_t arg0) override;
157 bool record_will_replay (ptid_t arg0, int arg1) override;
158 void record_stop_replaying () override;
159 void goto_record_begin () override;
160 void goto_record_end () override;
161 void goto_record (ULONGEST arg0) override;
162 void insn_history (int arg0, gdb_disassembly_flags arg1) override;
163 void insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) override;
164 void insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) override;
165 void call_history (int arg0, record_print_flags arg1) override;
166 void call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) override;
167 void call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) override;
168 bool augmented_libraries_svr4_read () override;
169 const struct frame_unwind *get_unwinder () override;
170 const struct frame_unwind *get_tailcall_unwinder () override;
171 void prepare_to_generate_core () override;
172 void done_generating_core () override;
175 struct debug_target : public target_ops
177 const target_info &info () const override;
179 strata stratum () const override;
181 void post_attach (int arg0) override;
182 void detach (inferior *arg0, int arg1) override;
183 void disconnect (const char *arg0, int arg1) override;
184 void resume (ptid_t arg0, int arg1, enum gdb_signal arg2) override;
185 void commit_resume () override;
186 ptid_t wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2) override;
187 void fetch_registers (struct regcache *arg0, int arg1) override;
188 void store_registers (struct regcache *arg0, int arg1) override;
189 void prepare_to_store (struct regcache *arg0) override;
190 void files_info () override;
191 int insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
192 int remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) override;
193 bool stopped_by_sw_breakpoint () override;
194 bool supports_stopped_by_sw_breakpoint () override;
195 bool stopped_by_hw_breakpoint () override;
196 bool supports_stopped_by_hw_breakpoint () override;
197 int can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2) override;
198 int ranged_break_num_registers () override;
199 int insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
200 int remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
201 int remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
202 int insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
203 int insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
204 int remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
205 bool stopped_by_watchpoint () override;
206 bool have_steppable_watchpoint () override;
207 bool stopped_data_address (CORE_ADDR *arg0) override;
208 bool watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2) override;
209 int region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1) override;
210 bool can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) override;
211 int masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1) override;
212 int can_do_single_step () override;
213 bool supports_terminal_ours () override;
214 void terminal_init () override;
215 void terminal_inferior () override;
216 void terminal_save_inferior () override;
217 void terminal_ours_for_output () override;
218 void terminal_ours () override;
219 void terminal_info (const char *arg0, int arg1) override;
220 void kill () override;
221 void load (const char *arg0, int arg1) override;
222 void post_startup_inferior (ptid_t arg0) override;
223 int insert_fork_catchpoint (int arg0) override;
224 int remove_fork_catchpoint (int arg0) override;
225 int insert_vfork_catchpoint (int arg0) override;
226 int remove_vfork_catchpoint (int arg0) override;
227 int follow_fork (int arg0, int arg1) override;
228 int insert_exec_catchpoint (int arg0) override;
229 int remove_exec_catchpoint (int arg0) override;
230 void follow_exec (struct inferior *arg0, char *arg1) override;
231 int set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3) override;
232 void mourn_inferior () override;
233 void pass_signals (gdb::array_view<const unsigned char> arg0) override;
234 void program_signals (gdb::array_view<const unsigned char> arg0) override;
235 bool thread_alive (ptid_t arg0) override;
236 void update_thread_list () override;
237 std::string pid_to_str (ptid_t arg0) override;
238 const char *extra_thread_info (thread_info *arg0) override;
239 const char *thread_name (thread_info *arg0) override;
240 thread_info *thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2) override;
241 gdb::byte_vector thread_info_to_thread_handle (struct thread_info *arg0) override;
242 void stop (ptid_t arg0) override;
243 void interrupt () override;
244 void pass_ctrlc () override;
245 void rcmd (const char *arg0, struct ui_file *arg1) override;
246 char *pid_to_exec_file (int arg0) override;
247 void log_command (const char *arg0) override;
248 struct target_section_table *get_section_table () override;
249 thread_control_capabilities get_thread_control_capabilities () override;
250 bool attach_no_wait () override;
251 bool can_async_p () override;
252 bool is_async_p () override;
253 void async (int arg0) override;
254 void thread_events (int arg0) override;
255 bool supports_non_stop () override;
256 bool always_non_stop_p () override;
257 int find_memory_regions (find_memory_region_ftype arg0, void *arg1) override;
258 char *make_corefile_notes (bfd *arg0, int *arg1) override;
259 gdb_byte *get_bookmark (const char *arg0, int arg1) override;
260 void goto_bookmark (const gdb_byte *arg0, int arg1) override;
261 CORE_ADDR get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) override;
262 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;
263 ULONGEST get_memory_xfer_limit () override;
264 std::vector<mem_region> memory_map () override;
265 void flash_erase (ULONGEST arg0, LONGEST arg1) override;
266 void flash_done () override;
267 const struct target_desc *read_description () override;
268 ptid_t get_ada_task_ptid (long arg0, long arg1) override;
269 int auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) override;
270 int search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) override;
271 bool can_execute_reverse () override;
272 enum exec_direction_kind execution_direction () override;
273 bool supports_multi_process () override;
274 bool supports_enable_disable_tracepoint () override;
275 bool supports_disable_randomization () override;
276 bool supports_string_tracing () override;
277 bool supports_evaluation_of_breakpoint_conditions () override;
278 bool can_run_breakpoint_commands () override;
279 struct gdbarch *thread_architecture (ptid_t arg0) override;
280 struct address_space *thread_address_space (ptid_t arg0) override;
281 bool filesystem_is_local () override;
282 void trace_init () override;
283 void download_tracepoint (struct bp_location *arg0) override;
284 bool can_download_tracepoint () override;
285 void download_trace_state_variable (const trace_state_variable &arg0) override;
286 void enable_tracepoint (struct bp_location *arg0) override;
287 void disable_tracepoint (struct bp_location *arg0) override;
288 void trace_set_readonly_regions () override;
289 void trace_start () override;
290 int get_trace_status (struct trace_status *arg0) override;
291 void get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1) override;
292 void trace_stop () override;
293 int trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) override;
294 bool get_trace_state_variable_value (int arg0, LONGEST *arg1) override;
295 int save_trace_data (const char *arg0) override;
296 int upload_tracepoints (struct uploaded_tp **arg0) override;
297 int upload_trace_state_variables (struct uploaded_tsv **arg0) override;
298 LONGEST get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) override;
299 int get_min_fast_tracepoint_insn_len () override;
300 void set_disconnected_tracing (int arg0) override;
301 void set_circular_trace_buffer (int arg0) override;
302 void set_trace_buffer_size (LONGEST arg0) override;
303 bool set_trace_notes (const char *arg0, const char *arg1, const char *arg2) override;
304 int core_of_thread (ptid_t arg0) override;
305 int verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) override;
306 bool get_tib_address (ptid_t arg0, CORE_ADDR *arg1) override;
307 void set_permissions () override;
308 bool static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) override;
309 std::vector<static_tracepoint_marker> static_tracepoint_markers_by_strid (const char *arg0) override;
310 traceframe_info_up traceframe_info () override;
311 bool use_agent (bool arg0) override;
312 bool can_use_agent () override;
313 struct btrace_target_info *enable_btrace (ptid_t arg0, const struct btrace_config *arg1) override;
314 void disable_btrace (struct btrace_target_info *arg0) override;
315 void teardown_btrace (struct btrace_target_info *arg0) override;
316 enum btrace_error read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) override;
317 const struct btrace_config *btrace_conf (const struct btrace_target_info *arg0) override;
318 enum record_method record_method (ptid_t arg0) override;
319 void stop_recording () override;
320 void info_record () override;
321 void save_record (const char *arg0) override;
322 bool supports_delete_record () override;
323 void delete_record () override;
324 bool record_is_replaying (ptid_t arg0) override;
325 bool record_will_replay (ptid_t arg0, int arg1) override;
326 void record_stop_replaying () override;
327 void goto_record_begin () override;
328 void goto_record_end () override;
329 void goto_record (ULONGEST arg0) override;
330 void insn_history (int arg0, gdb_disassembly_flags arg1) override;
331 void insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) override;
332 void insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) override;
333 void call_history (int arg0, record_print_flags arg1) override;
334 void call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) override;
335 void call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) override;
336 bool augmented_libraries_svr4_read () override;
337 const struct frame_unwind *get_unwinder () override;
338 const struct frame_unwind *get_tailcall_unwinder () override;
339 void prepare_to_generate_core () override;
340 void done_generating_core () override;
343 void
344 target_ops::post_attach (int arg0)
346 this->beneath ()->post_attach (arg0);
349 void
350 dummy_target::post_attach (int arg0)
354 void
355 debug_target::post_attach (int arg0)
357 fprintf_unfiltered (gdb_stdlog, "-> %s->post_attach (...)\n", this->beneath ()->shortname ());
358 this->beneath ()->post_attach (arg0);
359 fprintf_unfiltered (gdb_stdlog, "<- %s->post_attach (", this->beneath ()->shortname ());
360 target_debug_print_int (arg0);
361 fputs_unfiltered (")\n", gdb_stdlog);
364 void
365 target_ops::detach (inferior *arg0, int arg1)
367 this->beneath ()->detach (arg0, arg1);
370 void
371 dummy_target::detach (inferior *arg0, int arg1)
375 void
376 debug_target::detach (inferior *arg0, int arg1)
378 fprintf_unfiltered (gdb_stdlog, "-> %s->detach (...)\n", this->beneath ()->shortname ());
379 this->beneath ()->detach (arg0, arg1);
380 fprintf_unfiltered (gdb_stdlog, "<- %s->detach (", this->beneath ()->shortname ());
381 target_debug_print_inferior_p (arg0);
382 fputs_unfiltered (", ", gdb_stdlog);
383 target_debug_print_int (arg1);
384 fputs_unfiltered (")\n", gdb_stdlog);
387 void
388 target_ops::disconnect (const char *arg0, int arg1)
390 this->beneath ()->disconnect (arg0, arg1);
393 void
394 dummy_target::disconnect (const char *arg0, int arg1)
396 tcomplain ();
399 void
400 debug_target::disconnect (const char *arg0, int arg1)
402 fprintf_unfiltered (gdb_stdlog, "-> %s->disconnect (...)\n", this->beneath ()->shortname ());
403 this->beneath ()->disconnect (arg0, arg1);
404 fprintf_unfiltered (gdb_stdlog, "<- %s->disconnect (", this->beneath ()->shortname ());
405 target_debug_print_const_char_p (arg0);
406 fputs_unfiltered (", ", gdb_stdlog);
407 target_debug_print_int (arg1);
408 fputs_unfiltered (")\n", gdb_stdlog);
411 void
412 target_ops::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
414 this->beneath ()->resume (arg0, arg1, arg2);
417 void
418 dummy_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
420 noprocess ();
423 void
424 debug_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
426 fprintf_unfiltered (gdb_stdlog, "-> %s->resume (...)\n", this->beneath ()->shortname ());
427 this->beneath ()->resume (arg0, arg1, arg2);
428 fprintf_unfiltered (gdb_stdlog, "<- %s->resume (", this->beneath ()->shortname ());
429 target_debug_print_ptid_t (arg0);
430 fputs_unfiltered (", ", gdb_stdlog);
431 target_debug_print_step (arg1);
432 fputs_unfiltered (", ", gdb_stdlog);
433 target_debug_print_enum_gdb_signal (arg2);
434 fputs_unfiltered (")\n", gdb_stdlog);
437 void
438 target_ops::commit_resume ()
440 this->beneath ()->commit_resume ();
443 void
444 dummy_target::commit_resume ()
448 void
449 debug_target::commit_resume ()
451 fprintf_unfiltered (gdb_stdlog, "-> %s->commit_resume (...)\n", this->beneath ()->shortname ());
452 this->beneath ()->commit_resume ();
453 fprintf_unfiltered (gdb_stdlog, "<- %s->commit_resume (", this->beneath ()->shortname ());
454 fputs_unfiltered (")\n", gdb_stdlog);
457 ptid_t
458 target_ops::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2)
460 return this->beneath ()->wait (arg0, arg1, arg2);
463 ptid_t
464 dummy_target::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2)
466 return default_target_wait (this, arg0, arg1, arg2);
469 ptid_t
470 debug_target::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2)
472 ptid_t result;
473 fprintf_unfiltered (gdb_stdlog, "-> %s->wait (...)\n", this->beneath ()->shortname ());
474 result = this->beneath ()->wait (arg0, arg1, arg2);
475 fprintf_unfiltered (gdb_stdlog, "<- %s->wait (", this->beneath ()->shortname ());
476 target_debug_print_ptid_t (arg0);
477 fputs_unfiltered (", ", gdb_stdlog);
478 target_debug_print_struct_target_waitstatus_p (arg1);
479 fputs_unfiltered (", ", gdb_stdlog);
480 target_debug_print_options (arg2);
481 fputs_unfiltered (") = ", gdb_stdlog);
482 target_debug_print_ptid_t (result);
483 fputs_unfiltered ("\n", gdb_stdlog);
484 return result;
487 void
488 target_ops::fetch_registers (struct regcache *arg0, int arg1)
490 this->beneath ()->fetch_registers (arg0, arg1);
493 void
494 dummy_target::fetch_registers (struct regcache *arg0, int arg1)
498 void
499 debug_target::fetch_registers (struct regcache *arg0, int arg1)
501 fprintf_unfiltered (gdb_stdlog, "-> %s->fetch_registers (...)\n", this->beneath ()->shortname ());
502 this->beneath ()->fetch_registers (arg0, arg1);
503 fprintf_unfiltered (gdb_stdlog, "<- %s->fetch_registers (", this->beneath ()->shortname ());
504 target_debug_print_struct_regcache_p (arg0);
505 fputs_unfiltered (", ", gdb_stdlog);
506 target_debug_print_int (arg1);
507 fputs_unfiltered (")\n", gdb_stdlog);
510 void
511 target_ops::store_registers (struct regcache *arg0, int arg1)
513 this->beneath ()->store_registers (arg0, arg1);
516 void
517 dummy_target::store_registers (struct regcache *arg0, int arg1)
519 noprocess ();
522 void
523 debug_target::store_registers (struct regcache *arg0, int arg1)
525 fprintf_unfiltered (gdb_stdlog, "-> %s->store_registers (...)\n", this->beneath ()->shortname ());
526 this->beneath ()->store_registers (arg0, arg1);
527 fprintf_unfiltered (gdb_stdlog, "<- %s->store_registers (", this->beneath ()->shortname ());
528 target_debug_print_struct_regcache_p (arg0);
529 fputs_unfiltered (", ", gdb_stdlog);
530 target_debug_print_int (arg1);
531 fputs_unfiltered (")\n", gdb_stdlog);
534 void
535 target_ops::prepare_to_store (struct regcache *arg0)
537 this->beneath ()->prepare_to_store (arg0);
540 void
541 dummy_target::prepare_to_store (struct regcache *arg0)
543 noprocess ();
546 void
547 debug_target::prepare_to_store (struct regcache *arg0)
549 fprintf_unfiltered (gdb_stdlog, "-> %s->prepare_to_store (...)\n", this->beneath ()->shortname ());
550 this->beneath ()->prepare_to_store (arg0);
551 fprintf_unfiltered (gdb_stdlog, "<- %s->prepare_to_store (", this->beneath ()->shortname ());
552 target_debug_print_struct_regcache_p (arg0);
553 fputs_unfiltered (")\n", gdb_stdlog);
556 void
557 target_ops::files_info ()
559 this->beneath ()->files_info ();
562 void
563 dummy_target::files_info ()
567 void
568 debug_target::files_info ()
570 fprintf_unfiltered (gdb_stdlog, "-> %s->files_info (...)\n", this->beneath ()->shortname ());
571 this->beneath ()->files_info ();
572 fprintf_unfiltered (gdb_stdlog, "<- %s->files_info (", this->beneath ()->shortname ());
573 fputs_unfiltered (")\n", gdb_stdlog);
577 target_ops::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
579 return this->beneath ()->insert_breakpoint (arg0, arg1);
583 dummy_target::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
585 noprocess ();
589 debug_target::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
591 int result;
592 fprintf_unfiltered (gdb_stdlog, "-> %s->insert_breakpoint (...)\n", this->beneath ()->shortname ());
593 result = this->beneath ()->insert_breakpoint (arg0, arg1);
594 fprintf_unfiltered (gdb_stdlog, "<- %s->insert_breakpoint (", this->beneath ()->shortname ());
595 target_debug_print_struct_gdbarch_p (arg0);
596 fputs_unfiltered (", ", gdb_stdlog);
597 target_debug_print_struct_bp_target_info_p (arg1);
598 fputs_unfiltered (") = ", gdb_stdlog);
599 target_debug_print_int (result);
600 fputs_unfiltered ("\n", gdb_stdlog);
601 return result;
605 target_ops::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2)
607 return this->beneath ()->remove_breakpoint (arg0, arg1, arg2);
611 dummy_target::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2)
613 noprocess ();
617 debug_target::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2)
619 int result;
620 fprintf_unfiltered (gdb_stdlog, "-> %s->remove_breakpoint (...)\n", this->beneath ()->shortname ());
621 result = this->beneath ()->remove_breakpoint (arg0, arg1, arg2);
622 fprintf_unfiltered (gdb_stdlog, "<- %s->remove_breakpoint (", this->beneath ()->shortname ());
623 target_debug_print_struct_gdbarch_p (arg0);
624 fputs_unfiltered (", ", gdb_stdlog);
625 target_debug_print_struct_bp_target_info_p (arg1);
626 fputs_unfiltered (", ", gdb_stdlog);
627 target_debug_print_enum_remove_bp_reason (arg2);
628 fputs_unfiltered (") = ", gdb_stdlog);
629 target_debug_print_int (result);
630 fputs_unfiltered ("\n", gdb_stdlog);
631 return result;
634 bool
635 target_ops::stopped_by_sw_breakpoint ()
637 return this->beneath ()->stopped_by_sw_breakpoint ();
640 bool
641 dummy_target::stopped_by_sw_breakpoint ()
643 return false;
646 bool
647 debug_target::stopped_by_sw_breakpoint ()
649 bool result;
650 fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
651 result = this->beneath ()->stopped_by_sw_breakpoint ();
652 fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
653 fputs_unfiltered (") = ", gdb_stdlog);
654 target_debug_print_bool (result);
655 fputs_unfiltered ("\n", gdb_stdlog);
656 return result;
659 bool
660 target_ops::supports_stopped_by_sw_breakpoint ()
662 return this->beneath ()->supports_stopped_by_sw_breakpoint ();
665 bool
666 dummy_target::supports_stopped_by_sw_breakpoint ()
668 return false;
671 bool
672 debug_target::supports_stopped_by_sw_breakpoint ()
674 bool result;
675 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
676 result = this->beneath ()->supports_stopped_by_sw_breakpoint ();
677 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
678 fputs_unfiltered (") = ", gdb_stdlog);
679 target_debug_print_bool (result);
680 fputs_unfiltered ("\n", gdb_stdlog);
681 return result;
684 bool
685 target_ops::stopped_by_hw_breakpoint ()
687 return this->beneath ()->stopped_by_hw_breakpoint ();
690 bool
691 dummy_target::stopped_by_hw_breakpoint ()
693 return false;
696 bool
697 debug_target::stopped_by_hw_breakpoint ()
699 bool result;
700 fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
701 result = this->beneath ()->stopped_by_hw_breakpoint ();
702 fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
703 fputs_unfiltered (") = ", gdb_stdlog);
704 target_debug_print_bool (result);
705 fputs_unfiltered ("\n", gdb_stdlog);
706 return result;
709 bool
710 target_ops::supports_stopped_by_hw_breakpoint ()
712 return this->beneath ()->supports_stopped_by_hw_breakpoint ();
715 bool
716 dummy_target::supports_stopped_by_hw_breakpoint ()
718 return false;
721 bool
722 debug_target::supports_stopped_by_hw_breakpoint ()
724 bool result;
725 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
726 result = this->beneath ()->supports_stopped_by_hw_breakpoint ();
727 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
728 fputs_unfiltered (") = ", gdb_stdlog);
729 target_debug_print_bool (result);
730 fputs_unfiltered ("\n", gdb_stdlog);
731 return result;
735 target_ops::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
737 return this->beneath ()->can_use_hw_breakpoint (arg0, arg1, arg2);
741 dummy_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
743 return 0;
747 debug_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
749 int result;
750 fprintf_unfiltered (gdb_stdlog, "-> %s->can_use_hw_breakpoint (...)\n", this->beneath ()->shortname ());
751 result = this->beneath ()->can_use_hw_breakpoint (arg0, arg1, arg2);
752 fprintf_unfiltered (gdb_stdlog, "<- %s->can_use_hw_breakpoint (", this->beneath ()->shortname ());
753 target_debug_print_enum_bptype (arg0);
754 fputs_unfiltered (", ", gdb_stdlog);
755 target_debug_print_int (arg1);
756 fputs_unfiltered (", ", gdb_stdlog);
757 target_debug_print_int (arg2);
758 fputs_unfiltered (") = ", gdb_stdlog);
759 target_debug_print_int (result);
760 fputs_unfiltered ("\n", gdb_stdlog);
761 return result;
765 target_ops::ranged_break_num_registers ()
767 return this->beneath ()->ranged_break_num_registers ();
771 dummy_target::ranged_break_num_registers ()
773 return -1;
777 debug_target::ranged_break_num_registers ()
779 int result;
780 fprintf_unfiltered (gdb_stdlog, "-> %s->ranged_break_num_registers (...)\n", this->beneath ()->shortname ());
781 result = this->beneath ()->ranged_break_num_registers ();
782 fprintf_unfiltered (gdb_stdlog, "<- %s->ranged_break_num_registers (", this->beneath ()->shortname ());
783 fputs_unfiltered (") = ", gdb_stdlog);
784 target_debug_print_int (result);
785 fputs_unfiltered ("\n", gdb_stdlog);
786 return result;
790 target_ops::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
792 return this->beneath ()->insert_hw_breakpoint (arg0, arg1);
796 dummy_target::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
798 return -1;
802 debug_target::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
804 int result;
805 fprintf_unfiltered (gdb_stdlog, "-> %s->insert_hw_breakpoint (...)\n", this->beneath ()->shortname ());
806 result = this->beneath ()->insert_hw_breakpoint (arg0, arg1);
807 fprintf_unfiltered (gdb_stdlog, "<- %s->insert_hw_breakpoint (", this->beneath ()->shortname ());
808 target_debug_print_struct_gdbarch_p (arg0);
809 fputs_unfiltered (", ", gdb_stdlog);
810 target_debug_print_struct_bp_target_info_p (arg1);
811 fputs_unfiltered (") = ", gdb_stdlog);
812 target_debug_print_int (result);
813 fputs_unfiltered ("\n", gdb_stdlog);
814 return result;
818 target_ops::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
820 return this->beneath ()->remove_hw_breakpoint (arg0, arg1);
824 dummy_target::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
826 return -1;
830 debug_target::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
832 int result;
833 fprintf_unfiltered (gdb_stdlog, "-> %s->remove_hw_breakpoint (...)\n", this->beneath ()->shortname ());
834 result = this->beneath ()->remove_hw_breakpoint (arg0, arg1);
835 fprintf_unfiltered (gdb_stdlog, "<- %s->remove_hw_breakpoint (", this->beneath ()->shortname ());
836 target_debug_print_struct_gdbarch_p (arg0);
837 fputs_unfiltered (", ", gdb_stdlog);
838 target_debug_print_struct_bp_target_info_p (arg1);
839 fputs_unfiltered (") = ", gdb_stdlog);
840 target_debug_print_int (result);
841 fputs_unfiltered ("\n", gdb_stdlog);
842 return result;
846 target_ops::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
848 return this->beneath ()->remove_watchpoint (arg0, arg1, arg2, arg3);
852 dummy_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
854 return -1;
858 debug_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
860 int result;
861 fprintf_unfiltered (gdb_stdlog, "-> %s->remove_watchpoint (...)\n", this->beneath ()->shortname ());
862 result = this->beneath ()->remove_watchpoint (arg0, arg1, arg2, arg3);
863 fprintf_unfiltered (gdb_stdlog, "<- %s->remove_watchpoint (", this->beneath ()->shortname ());
864 target_debug_print_CORE_ADDR (arg0);
865 fputs_unfiltered (", ", gdb_stdlog);
866 target_debug_print_int (arg1);
867 fputs_unfiltered (", ", gdb_stdlog);
868 target_debug_print_enum_target_hw_bp_type (arg2);
869 fputs_unfiltered (", ", gdb_stdlog);
870 target_debug_print_struct_expression_p (arg3);
871 fputs_unfiltered (") = ", gdb_stdlog);
872 target_debug_print_int (result);
873 fputs_unfiltered ("\n", gdb_stdlog);
874 return result;
878 target_ops::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
880 return this->beneath ()->insert_watchpoint (arg0, arg1, arg2, arg3);
884 dummy_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
886 return -1;
890 debug_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
892 int result;
893 fprintf_unfiltered (gdb_stdlog, "-> %s->insert_watchpoint (...)\n", this->beneath ()->shortname ());
894 result = this->beneath ()->insert_watchpoint (arg0, arg1, arg2, arg3);
895 fprintf_unfiltered (gdb_stdlog, "<- %s->insert_watchpoint (", this->beneath ()->shortname ());
896 target_debug_print_CORE_ADDR (arg0);
897 fputs_unfiltered (", ", gdb_stdlog);
898 target_debug_print_int (arg1);
899 fputs_unfiltered (", ", gdb_stdlog);
900 target_debug_print_enum_target_hw_bp_type (arg2);
901 fputs_unfiltered (", ", gdb_stdlog);
902 target_debug_print_struct_expression_p (arg3);
903 fputs_unfiltered (") = ", gdb_stdlog);
904 target_debug_print_int (result);
905 fputs_unfiltered ("\n", gdb_stdlog);
906 return result;
910 target_ops::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
912 return this->beneath ()->insert_mask_watchpoint (arg0, arg1, arg2);
916 dummy_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
918 return 1;
922 debug_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
924 int result;
925 fprintf_unfiltered (gdb_stdlog, "-> %s->insert_mask_watchpoint (...)\n", this->beneath ()->shortname ());
926 result = this->beneath ()->insert_mask_watchpoint (arg0, arg1, arg2);
927 fprintf_unfiltered (gdb_stdlog, "<- %s->insert_mask_watchpoint (", this->beneath ()->shortname ());
928 target_debug_print_CORE_ADDR (arg0);
929 fputs_unfiltered (", ", gdb_stdlog);
930 target_debug_print_CORE_ADDR (arg1);
931 fputs_unfiltered (", ", gdb_stdlog);
932 target_debug_print_enum_target_hw_bp_type (arg2);
933 fputs_unfiltered (") = ", gdb_stdlog);
934 target_debug_print_int (result);
935 fputs_unfiltered ("\n", gdb_stdlog);
936 return result;
940 target_ops::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
942 return this->beneath ()->remove_mask_watchpoint (arg0, arg1, arg2);
946 dummy_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
948 return 1;
952 debug_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
954 int result;
955 fprintf_unfiltered (gdb_stdlog, "-> %s->remove_mask_watchpoint (...)\n", this->beneath ()->shortname ());
956 result = this->beneath ()->remove_mask_watchpoint (arg0, arg1, arg2);
957 fprintf_unfiltered (gdb_stdlog, "<- %s->remove_mask_watchpoint (", this->beneath ()->shortname ());
958 target_debug_print_CORE_ADDR (arg0);
959 fputs_unfiltered (", ", gdb_stdlog);
960 target_debug_print_CORE_ADDR (arg1);
961 fputs_unfiltered (", ", gdb_stdlog);
962 target_debug_print_enum_target_hw_bp_type (arg2);
963 fputs_unfiltered (") = ", gdb_stdlog);
964 target_debug_print_int (result);
965 fputs_unfiltered ("\n", gdb_stdlog);
966 return result;
969 bool
970 target_ops::stopped_by_watchpoint ()
972 return this->beneath ()->stopped_by_watchpoint ();
975 bool
976 dummy_target::stopped_by_watchpoint ()
978 return false;
981 bool
982 debug_target::stopped_by_watchpoint ()
984 bool result;
985 fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_by_watchpoint (...)\n", this->beneath ()->shortname ());
986 result = this->beneath ()->stopped_by_watchpoint ();
987 fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_by_watchpoint (", this->beneath ()->shortname ());
988 fputs_unfiltered (") = ", gdb_stdlog);
989 target_debug_print_bool (result);
990 fputs_unfiltered ("\n", gdb_stdlog);
991 return result;
994 bool
995 target_ops::have_steppable_watchpoint ()
997 return this->beneath ()->have_steppable_watchpoint ();
1000 bool
1001 dummy_target::have_steppable_watchpoint ()
1003 return false;
1006 bool
1007 debug_target::have_steppable_watchpoint ()
1009 bool result;
1010 fprintf_unfiltered (gdb_stdlog, "-> %s->have_steppable_watchpoint (...)\n", this->beneath ()->shortname ());
1011 result = this->beneath ()->have_steppable_watchpoint ();
1012 fprintf_unfiltered (gdb_stdlog, "<- %s->have_steppable_watchpoint (", this->beneath ()->shortname ());
1013 fputs_unfiltered (") = ", gdb_stdlog);
1014 target_debug_print_bool (result);
1015 fputs_unfiltered ("\n", gdb_stdlog);
1016 return result;
1019 bool
1020 target_ops::stopped_data_address (CORE_ADDR *arg0)
1022 return this->beneath ()->stopped_data_address (arg0);
1025 bool
1026 dummy_target::stopped_data_address (CORE_ADDR *arg0)
1028 return false;
1031 bool
1032 debug_target::stopped_data_address (CORE_ADDR *arg0)
1034 bool result;
1035 fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_data_address (...)\n", this->beneath ()->shortname ());
1036 result = this->beneath ()->stopped_data_address (arg0);
1037 fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_data_address (", this->beneath ()->shortname ());
1038 target_debug_print_CORE_ADDR_p (arg0);
1039 fputs_unfiltered (") = ", gdb_stdlog);
1040 target_debug_print_bool (result);
1041 fputs_unfiltered ("\n", gdb_stdlog);
1042 return result;
1045 bool
1046 target_ops::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1048 return this->beneath ()->watchpoint_addr_within_range (arg0, arg1, arg2);
1051 bool
1052 dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1054 return default_watchpoint_addr_within_range (this, arg0, arg1, arg2);
1057 bool
1058 debug_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1060 bool result;
1061 fprintf_unfiltered (gdb_stdlog, "-> %s->watchpoint_addr_within_range (...)\n", this->beneath ()->shortname ());
1062 result = this->beneath ()->watchpoint_addr_within_range (arg0, arg1, arg2);
1063 fprintf_unfiltered (gdb_stdlog, "<- %s->watchpoint_addr_within_range (", this->beneath ()->shortname ());
1064 target_debug_print_CORE_ADDR (arg0);
1065 fputs_unfiltered (", ", gdb_stdlog);
1066 target_debug_print_CORE_ADDR (arg1);
1067 fputs_unfiltered (", ", gdb_stdlog);
1068 target_debug_print_int (arg2);
1069 fputs_unfiltered (") = ", gdb_stdlog);
1070 target_debug_print_bool (result);
1071 fputs_unfiltered ("\n", gdb_stdlog);
1072 return result;
1076 target_ops::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1)
1078 return this->beneath ()->region_ok_for_hw_watchpoint (arg0, arg1);
1082 dummy_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1)
1084 return default_region_ok_for_hw_watchpoint (this, arg0, arg1);
1088 debug_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1)
1090 int result;
1091 fprintf_unfiltered (gdb_stdlog, "-> %s->region_ok_for_hw_watchpoint (...)\n", this->beneath ()->shortname ());
1092 result = this->beneath ()->region_ok_for_hw_watchpoint (arg0, arg1);
1093 fprintf_unfiltered (gdb_stdlog, "<- %s->region_ok_for_hw_watchpoint (", this->beneath ()->shortname ());
1094 target_debug_print_CORE_ADDR (arg0);
1095 fputs_unfiltered (", ", gdb_stdlog);
1096 target_debug_print_int (arg1);
1097 fputs_unfiltered (") = ", gdb_stdlog);
1098 target_debug_print_int (result);
1099 fputs_unfiltered ("\n", gdb_stdlog);
1100 return result;
1103 bool
1104 target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1106 return this->beneath ()->can_accel_watchpoint_condition (arg0, arg1, arg2, arg3);
1109 bool
1110 dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1112 return false;
1115 bool
1116 debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1118 bool result;
1119 fprintf_unfiltered (gdb_stdlog, "-> %s->can_accel_watchpoint_condition (...)\n", this->beneath ()->shortname ());
1120 result = this->beneath ()->can_accel_watchpoint_condition (arg0, arg1, arg2, arg3);
1121 fprintf_unfiltered (gdb_stdlog, "<- %s->can_accel_watchpoint_condition (", this->beneath ()->shortname ());
1122 target_debug_print_CORE_ADDR (arg0);
1123 fputs_unfiltered (", ", gdb_stdlog);
1124 target_debug_print_int (arg1);
1125 fputs_unfiltered (", ", gdb_stdlog);
1126 target_debug_print_int (arg2);
1127 fputs_unfiltered (", ", gdb_stdlog);
1128 target_debug_print_struct_expression_p (arg3);
1129 fputs_unfiltered (") = ", gdb_stdlog);
1130 target_debug_print_bool (result);
1131 fputs_unfiltered ("\n", gdb_stdlog);
1132 return result;
1136 target_ops::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1138 return this->beneath ()->masked_watch_num_registers (arg0, arg1);
1142 dummy_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1144 return -1;
1148 debug_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1150 int result;
1151 fprintf_unfiltered (gdb_stdlog, "-> %s->masked_watch_num_registers (...)\n", this->beneath ()->shortname ());
1152 result = this->beneath ()->masked_watch_num_registers (arg0, arg1);
1153 fprintf_unfiltered (gdb_stdlog, "<- %s->masked_watch_num_registers (", this->beneath ()->shortname ());
1154 target_debug_print_CORE_ADDR (arg0);
1155 fputs_unfiltered (", ", gdb_stdlog);
1156 target_debug_print_CORE_ADDR (arg1);
1157 fputs_unfiltered (") = ", gdb_stdlog);
1158 target_debug_print_int (result);
1159 fputs_unfiltered ("\n", gdb_stdlog);
1160 return result;
1164 target_ops::can_do_single_step ()
1166 return this->beneath ()->can_do_single_step ();
1170 dummy_target::can_do_single_step ()
1172 return -1;
1176 debug_target::can_do_single_step ()
1178 int result;
1179 fprintf_unfiltered (gdb_stdlog, "-> %s->can_do_single_step (...)\n", this->beneath ()->shortname ());
1180 result = this->beneath ()->can_do_single_step ();
1181 fprintf_unfiltered (gdb_stdlog, "<- %s->can_do_single_step (", this->beneath ()->shortname ());
1182 fputs_unfiltered (") = ", gdb_stdlog);
1183 target_debug_print_int (result);
1184 fputs_unfiltered ("\n", gdb_stdlog);
1185 return result;
1188 bool
1189 target_ops::supports_terminal_ours ()
1191 return this->beneath ()->supports_terminal_ours ();
1194 bool
1195 dummy_target::supports_terminal_ours ()
1197 return false;
1200 bool
1201 debug_target::supports_terminal_ours ()
1203 bool result;
1204 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_terminal_ours (...)\n", this->beneath ()->shortname ());
1205 result = this->beneath ()->supports_terminal_ours ();
1206 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_terminal_ours (", this->beneath ()->shortname ());
1207 fputs_unfiltered (") = ", gdb_stdlog);
1208 target_debug_print_bool (result);
1209 fputs_unfiltered ("\n", gdb_stdlog);
1210 return result;
1213 void
1214 target_ops::terminal_init ()
1216 this->beneath ()->terminal_init ();
1219 void
1220 dummy_target::terminal_init ()
1224 void
1225 debug_target::terminal_init ()
1227 fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_init (...)\n", this->beneath ()->shortname ());
1228 this->beneath ()->terminal_init ();
1229 fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_init (", this->beneath ()->shortname ());
1230 fputs_unfiltered (")\n", gdb_stdlog);
1233 void
1234 target_ops::terminal_inferior ()
1236 this->beneath ()->terminal_inferior ();
1239 void
1240 dummy_target::terminal_inferior ()
1244 void
1245 debug_target::terminal_inferior ()
1247 fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_inferior (...)\n", this->beneath ()->shortname ());
1248 this->beneath ()->terminal_inferior ();
1249 fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_inferior (", this->beneath ()->shortname ());
1250 fputs_unfiltered (")\n", gdb_stdlog);
1253 void
1254 target_ops::terminal_save_inferior ()
1256 this->beneath ()->terminal_save_inferior ();
1259 void
1260 dummy_target::terminal_save_inferior ()
1264 void
1265 debug_target::terminal_save_inferior ()
1267 fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_save_inferior (...)\n", this->beneath ()->shortname ());
1268 this->beneath ()->terminal_save_inferior ();
1269 fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_save_inferior (", this->beneath ()->shortname ());
1270 fputs_unfiltered (")\n", gdb_stdlog);
1273 void
1274 target_ops::terminal_ours_for_output ()
1276 this->beneath ()->terminal_ours_for_output ();
1279 void
1280 dummy_target::terminal_ours_for_output ()
1284 void
1285 debug_target::terminal_ours_for_output ()
1287 fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_ours_for_output (...)\n", this->beneath ()->shortname ());
1288 this->beneath ()->terminal_ours_for_output ();
1289 fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_ours_for_output (", this->beneath ()->shortname ());
1290 fputs_unfiltered (")\n", gdb_stdlog);
1293 void
1294 target_ops::terminal_ours ()
1296 this->beneath ()->terminal_ours ();
1299 void
1300 dummy_target::terminal_ours ()
1304 void
1305 debug_target::terminal_ours ()
1307 fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_ours (...)\n", this->beneath ()->shortname ());
1308 this->beneath ()->terminal_ours ();
1309 fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_ours (", this->beneath ()->shortname ());
1310 fputs_unfiltered (")\n", gdb_stdlog);
1313 void
1314 target_ops::terminal_info (const char *arg0, int arg1)
1316 this->beneath ()->terminal_info (arg0, arg1);
1319 void
1320 dummy_target::terminal_info (const char *arg0, int arg1)
1322 default_terminal_info (this, arg0, arg1);
1325 void
1326 debug_target::terminal_info (const char *arg0, int arg1)
1328 fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_info (...)\n", this->beneath ()->shortname ());
1329 this->beneath ()->terminal_info (arg0, arg1);
1330 fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_info (", this->beneath ()->shortname ());
1331 target_debug_print_const_char_p (arg0);
1332 fputs_unfiltered (", ", gdb_stdlog);
1333 target_debug_print_int (arg1);
1334 fputs_unfiltered (")\n", gdb_stdlog);
1337 void
1338 target_ops::kill ()
1340 this->beneath ()->kill ();
1343 void
1344 dummy_target::kill ()
1346 noprocess ();
1349 void
1350 debug_target::kill ()
1352 fprintf_unfiltered (gdb_stdlog, "-> %s->kill (...)\n", this->beneath ()->shortname ());
1353 this->beneath ()->kill ();
1354 fprintf_unfiltered (gdb_stdlog, "<- %s->kill (", this->beneath ()->shortname ());
1355 fputs_unfiltered (")\n", gdb_stdlog);
1358 void
1359 target_ops::load (const char *arg0, int arg1)
1361 this->beneath ()->load (arg0, arg1);
1364 void
1365 dummy_target::load (const char *arg0, int arg1)
1367 tcomplain ();
1370 void
1371 debug_target::load (const char *arg0, int arg1)
1373 fprintf_unfiltered (gdb_stdlog, "-> %s->load (...)\n", this->beneath ()->shortname ());
1374 this->beneath ()->load (arg0, arg1);
1375 fprintf_unfiltered (gdb_stdlog, "<- %s->load (", this->beneath ()->shortname ());
1376 target_debug_print_const_char_p (arg0);
1377 fputs_unfiltered (", ", gdb_stdlog);
1378 target_debug_print_int (arg1);
1379 fputs_unfiltered (")\n", gdb_stdlog);
1382 void
1383 target_ops::post_startup_inferior (ptid_t arg0)
1385 this->beneath ()->post_startup_inferior (arg0);
1388 void
1389 dummy_target::post_startup_inferior (ptid_t arg0)
1393 void
1394 debug_target::post_startup_inferior (ptid_t arg0)
1396 fprintf_unfiltered (gdb_stdlog, "-> %s->post_startup_inferior (...)\n", this->beneath ()->shortname ());
1397 this->beneath ()->post_startup_inferior (arg0);
1398 fprintf_unfiltered (gdb_stdlog, "<- %s->post_startup_inferior (", this->beneath ()->shortname ());
1399 target_debug_print_ptid_t (arg0);
1400 fputs_unfiltered (")\n", gdb_stdlog);
1404 target_ops::insert_fork_catchpoint (int arg0)
1406 return this->beneath ()->insert_fork_catchpoint (arg0);
1410 dummy_target::insert_fork_catchpoint (int arg0)
1412 return 1;
1416 debug_target::insert_fork_catchpoint (int arg0)
1418 int result;
1419 fprintf_unfiltered (gdb_stdlog, "-> %s->insert_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1420 result = this->beneath ()->insert_fork_catchpoint (arg0);
1421 fprintf_unfiltered (gdb_stdlog, "<- %s->insert_fork_catchpoint (", this->beneath ()->shortname ());
1422 target_debug_print_int (arg0);
1423 fputs_unfiltered (") = ", gdb_stdlog);
1424 target_debug_print_int (result);
1425 fputs_unfiltered ("\n", gdb_stdlog);
1426 return result;
1430 target_ops::remove_fork_catchpoint (int arg0)
1432 return this->beneath ()->remove_fork_catchpoint (arg0);
1436 dummy_target::remove_fork_catchpoint (int arg0)
1438 return 1;
1442 debug_target::remove_fork_catchpoint (int arg0)
1444 int result;
1445 fprintf_unfiltered (gdb_stdlog, "-> %s->remove_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1446 result = this->beneath ()->remove_fork_catchpoint (arg0);
1447 fprintf_unfiltered (gdb_stdlog, "<- %s->remove_fork_catchpoint (", this->beneath ()->shortname ());
1448 target_debug_print_int (arg0);
1449 fputs_unfiltered (") = ", gdb_stdlog);
1450 target_debug_print_int (result);
1451 fputs_unfiltered ("\n", gdb_stdlog);
1452 return result;
1456 target_ops::insert_vfork_catchpoint (int arg0)
1458 return this->beneath ()->insert_vfork_catchpoint (arg0);
1462 dummy_target::insert_vfork_catchpoint (int arg0)
1464 return 1;
1468 debug_target::insert_vfork_catchpoint (int arg0)
1470 int result;
1471 fprintf_unfiltered (gdb_stdlog, "-> %s->insert_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1472 result = this->beneath ()->insert_vfork_catchpoint (arg0);
1473 fprintf_unfiltered (gdb_stdlog, "<- %s->insert_vfork_catchpoint (", this->beneath ()->shortname ());
1474 target_debug_print_int (arg0);
1475 fputs_unfiltered (") = ", gdb_stdlog);
1476 target_debug_print_int (result);
1477 fputs_unfiltered ("\n", gdb_stdlog);
1478 return result;
1482 target_ops::remove_vfork_catchpoint (int arg0)
1484 return this->beneath ()->remove_vfork_catchpoint (arg0);
1488 dummy_target::remove_vfork_catchpoint (int arg0)
1490 return 1;
1494 debug_target::remove_vfork_catchpoint (int arg0)
1496 int result;
1497 fprintf_unfiltered (gdb_stdlog, "-> %s->remove_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1498 result = this->beneath ()->remove_vfork_catchpoint (arg0);
1499 fprintf_unfiltered (gdb_stdlog, "<- %s->remove_vfork_catchpoint (", this->beneath ()->shortname ());
1500 target_debug_print_int (arg0);
1501 fputs_unfiltered (") = ", gdb_stdlog);
1502 target_debug_print_int (result);
1503 fputs_unfiltered ("\n", gdb_stdlog);
1504 return result;
1508 target_ops::follow_fork (int arg0, int arg1)
1510 return this->beneath ()->follow_fork (arg0, arg1);
1514 dummy_target::follow_fork (int arg0, int arg1)
1516 return default_follow_fork (this, arg0, arg1);
1520 debug_target::follow_fork (int arg0, int arg1)
1522 int result;
1523 fprintf_unfiltered (gdb_stdlog, "-> %s->follow_fork (...)\n", this->beneath ()->shortname ());
1524 result = this->beneath ()->follow_fork (arg0, arg1);
1525 fprintf_unfiltered (gdb_stdlog, "<- %s->follow_fork (", this->beneath ()->shortname ());
1526 target_debug_print_int (arg0);
1527 fputs_unfiltered (", ", gdb_stdlog);
1528 target_debug_print_int (arg1);
1529 fputs_unfiltered (") = ", gdb_stdlog);
1530 target_debug_print_int (result);
1531 fputs_unfiltered ("\n", gdb_stdlog);
1532 return result;
1536 target_ops::insert_exec_catchpoint (int arg0)
1538 return this->beneath ()->insert_exec_catchpoint (arg0);
1542 dummy_target::insert_exec_catchpoint (int arg0)
1544 return 1;
1548 debug_target::insert_exec_catchpoint (int arg0)
1550 int result;
1551 fprintf_unfiltered (gdb_stdlog, "-> %s->insert_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1552 result = this->beneath ()->insert_exec_catchpoint (arg0);
1553 fprintf_unfiltered (gdb_stdlog, "<- %s->insert_exec_catchpoint (", this->beneath ()->shortname ());
1554 target_debug_print_int (arg0);
1555 fputs_unfiltered (") = ", gdb_stdlog);
1556 target_debug_print_int (result);
1557 fputs_unfiltered ("\n", gdb_stdlog);
1558 return result;
1562 target_ops::remove_exec_catchpoint (int arg0)
1564 return this->beneath ()->remove_exec_catchpoint (arg0);
1568 dummy_target::remove_exec_catchpoint (int arg0)
1570 return 1;
1574 debug_target::remove_exec_catchpoint (int arg0)
1576 int result;
1577 fprintf_unfiltered (gdb_stdlog, "-> %s->remove_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1578 result = this->beneath ()->remove_exec_catchpoint (arg0);
1579 fprintf_unfiltered (gdb_stdlog, "<- %s->remove_exec_catchpoint (", this->beneath ()->shortname ());
1580 target_debug_print_int (arg0);
1581 fputs_unfiltered (") = ", gdb_stdlog);
1582 target_debug_print_int (result);
1583 fputs_unfiltered ("\n", gdb_stdlog);
1584 return result;
1587 void
1588 target_ops::follow_exec (struct inferior *arg0, char *arg1)
1590 this->beneath ()->follow_exec (arg0, arg1);
1593 void
1594 dummy_target::follow_exec (struct inferior *arg0, char *arg1)
1598 void
1599 debug_target::follow_exec (struct inferior *arg0, char *arg1)
1601 fprintf_unfiltered (gdb_stdlog, "-> %s->follow_exec (...)\n", this->beneath ()->shortname ());
1602 this->beneath ()->follow_exec (arg0, arg1);
1603 fprintf_unfiltered (gdb_stdlog, "<- %s->follow_exec (", this->beneath ()->shortname ());
1604 target_debug_print_struct_inferior_p (arg0);
1605 fputs_unfiltered (", ", gdb_stdlog);
1606 target_debug_print_char_p (arg1);
1607 fputs_unfiltered (")\n", gdb_stdlog);
1611 target_ops::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1613 return this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3);
1617 dummy_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1619 return 1;
1623 debug_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1625 int result;
1626 fprintf_unfiltered (gdb_stdlog, "-> %s->set_syscall_catchpoint (...)\n", this->beneath ()->shortname ());
1627 result = this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3);
1628 fprintf_unfiltered (gdb_stdlog, "<- %s->set_syscall_catchpoint (", this->beneath ()->shortname ());
1629 target_debug_print_int (arg0);
1630 fputs_unfiltered (", ", gdb_stdlog);
1631 target_debug_print_bool (arg1);
1632 fputs_unfiltered (", ", gdb_stdlog);
1633 target_debug_print_int (arg2);
1634 fputs_unfiltered (", ", gdb_stdlog);
1635 target_debug_print_gdb_array_view_const_int (arg3);
1636 fputs_unfiltered (") = ", gdb_stdlog);
1637 target_debug_print_int (result);
1638 fputs_unfiltered ("\n", gdb_stdlog);
1639 return result;
1642 void
1643 target_ops::mourn_inferior ()
1645 this->beneath ()->mourn_inferior ();
1648 void
1649 dummy_target::mourn_inferior ()
1651 default_mourn_inferior (this);
1654 void
1655 debug_target::mourn_inferior ()
1657 fprintf_unfiltered (gdb_stdlog, "-> %s->mourn_inferior (...)\n", this->beneath ()->shortname ());
1658 this->beneath ()->mourn_inferior ();
1659 fprintf_unfiltered (gdb_stdlog, "<- %s->mourn_inferior (", this->beneath ()->shortname ());
1660 fputs_unfiltered (")\n", gdb_stdlog);
1663 void
1664 target_ops::pass_signals (gdb::array_view<const unsigned char> arg0)
1666 this->beneath ()->pass_signals (arg0);
1669 void
1670 dummy_target::pass_signals (gdb::array_view<const unsigned char> arg0)
1674 void
1675 debug_target::pass_signals (gdb::array_view<const unsigned char> arg0)
1677 fprintf_unfiltered (gdb_stdlog, "-> %s->pass_signals (...)\n", this->beneath ()->shortname ());
1678 this->beneath ()->pass_signals (arg0);
1679 fprintf_unfiltered (gdb_stdlog, "<- %s->pass_signals (", this->beneath ()->shortname ());
1680 target_debug_print_signals (arg0);
1681 fputs_unfiltered (")\n", gdb_stdlog);
1684 void
1685 target_ops::program_signals (gdb::array_view<const unsigned char> arg0)
1687 this->beneath ()->program_signals (arg0);
1690 void
1691 dummy_target::program_signals (gdb::array_view<const unsigned char> arg0)
1695 void
1696 debug_target::program_signals (gdb::array_view<const unsigned char> arg0)
1698 fprintf_unfiltered (gdb_stdlog, "-> %s->program_signals (...)\n", this->beneath ()->shortname ());
1699 this->beneath ()->program_signals (arg0);
1700 fprintf_unfiltered (gdb_stdlog, "<- %s->program_signals (", this->beneath ()->shortname ());
1701 target_debug_print_signals (arg0);
1702 fputs_unfiltered (")\n", gdb_stdlog);
1705 bool
1706 target_ops::thread_alive (ptid_t arg0)
1708 return this->beneath ()->thread_alive (arg0);
1711 bool
1712 dummy_target::thread_alive (ptid_t arg0)
1714 return false;
1717 bool
1718 debug_target::thread_alive (ptid_t arg0)
1720 bool result;
1721 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_alive (...)\n", this->beneath ()->shortname ());
1722 result = this->beneath ()->thread_alive (arg0);
1723 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_alive (", this->beneath ()->shortname ());
1724 target_debug_print_ptid_t (arg0);
1725 fputs_unfiltered (") = ", gdb_stdlog);
1726 target_debug_print_bool (result);
1727 fputs_unfiltered ("\n", gdb_stdlog);
1728 return result;
1731 void
1732 target_ops::update_thread_list ()
1734 this->beneath ()->update_thread_list ();
1737 void
1738 dummy_target::update_thread_list ()
1742 void
1743 debug_target::update_thread_list ()
1745 fprintf_unfiltered (gdb_stdlog, "-> %s->update_thread_list (...)\n", this->beneath ()->shortname ());
1746 this->beneath ()->update_thread_list ();
1747 fprintf_unfiltered (gdb_stdlog, "<- %s->update_thread_list (", this->beneath ()->shortname ());
1748 fputs_unfiltered (")\n", gdb_stdlog);
1751 std::string
1752 target_ops::pid_to_str (ptid_t arg0)
1754 return this->beneath ()->pid_to_str (arg0);
1757 std::string
1758 dummy_target::pid_to_str (ptid_t arg0)
1760 return default_pid_to_str (this, arg0);
1763 std::string
1764 debug_target::pid_to_str (ptid_t arg0)
1766 std::string result;
1767 fprintf_unfiltered (gdb_stdlog, "-> %s->pid_to_str (...)\n", this->beneath ()->shortname ());
1768 result = this->beneath ()->pid_to_str (arg0);
1769 fprintf_unfiltered (gdb_stdlog, "<- %s->pid_to_str (", this->beneath ()->shortname ());
1770 target_debug_print_ptid_t (arg0);
1771 fputs_unfiltered (") = ", gdb_stdlog);
1772 target_debug_print_std_string (result);
1773 fputs_unfiltered ("\n", gdb_stdlog);
1774 return result;
1777 const char *
1778 target_ops::extra_thread_info (thread_info *arg0)
1780 return this->beneath ()->extra_thread_info (arg0);
1783 const char *
1784 dummy_target::extra_thread_info (thread_info *arg0)
1786 return NULL;
1789 const char *
1790 debug_target::extra_thread_info (thread_info *arg0)
1792 const char * result;
1793 fprintf_unfiltered (gdb_stdlog, "-> %s->extra_thread_info (...)\n", this->beneath ()->shortname ());
1794 result = this->beneath ()->extra_thread_info (arg0);
1795 fprintf_unfiltered (gdb_stdlog, "<- %s->extra_thread_info (", this->beneath ()->shortname ());
1796 target_debug_print_thread_info_p (arg0);
1797 fputs_unfiltered (") = ", gdb_stdlog);
1798 target_debug_print_const_char_p (result);
1799 fputs_unfiltered ("\n", gdb_stdlog);
1800 return result;
1803 const char *
1804 target_ops::thread_name (thread_info *arg0)
1806 return this->beneath ()->thread_name (arg0);
1809 const char *
1810 dummy_target::thread_name (thread_info *arg0)
1812 return NULL;
1815 const char *
1816 debug_target::thread_name (thread_info *arg0)
1818 const char * result;
1819 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_name (...)\n", this->beneath ()->shortname ());
1820 result = this->beneath ()->thread_name (arg0);
1821 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_name (", this->beneath ()->shortname ());
1822 target_debug_print_thread_info_p (arg0);
1823 fputs_unfiltered (") = ", gdb_stdlog);
1824 target_debug_print_const_char_p (result);
1825 fputs_unfiltered ("\n", gdb_stdlog);
1826 return result;
1829 thread_info *
1830 target_ops::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1832 return this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2);
1835 thread_info *
1836 dummy_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1838 return NULL;
1841 thread_info *
1842 debug_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1844 thread_info * result;
1845 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath ()->shortname ());
1846 result = this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2);
1847 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_handle_to_thread_info (", this->beneath ()->shortname ());
1848 target_debug_print_const_gdb_byte_p (arg0);
1849 fputs_unfiltered (", ", gdb_stdlog);
1850 target_debug_print_int (arg1);
1851 fputs_unfiltered (", ", gdb_stdlog);
1852 target_debug_print_inferior_p (arg2);
1853 fputs_unfiltered (") = ", gdb_stdlog);
1854 target_debug_print_thread_info_p (result);
1855 fputs_unfiltered ("\n", gdb_stdlog);
1856 return result;
1859 gdb::byte_vector
1860 target_ops::thread_info_to_thread_handle (struct thread_info *arg0)
1862 return this->beneath ()->thread_info_to_thread_handle (arg0);
1865 gdb::byte_vector
1866 dummy_target::thread_info_to_thread_handle (struct thread_info *arg0)
1868 return gdb::byte_vector ();
1871 gdb::byte_vector
1872 debug_target::thread_info_to_thread_handle (struct thread_info *arg0)
1874 gdb::byte_vector result;
1875 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_info_to_thread_handle (...)\n", this->beneath ()->shortname ());
1876 result = this->beneath ()->thread_info_to_thread_handle (arg0);
1877 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_info_to_thread_handle (", this->beneath ()->shortname ());
1878 target_debug_print_struct_thread_info_p (arg0);
1879 fputs_unfiltered (") = ", gdb_stdlog);
1880 target_debug_print_gdb_byte_vector (result);
1881 fputs_unfiltered ("\n", gdb_stdlog);
1882 return result;
1885 void
1886 target_ops::stop (ptid_t arg0)
1888 this->beneath ()->stop (arg0);
1891 void
1892 dummy_target::stop (ptid_t arg0)
1896 void
1897 debug_target::stop (ptid_t arg0)
1899 fprintf_unfiltered (gdb_stdlog, "-> %s->stop (...)\n", this->beneath ()->shortname ());
1900 this->beneath ()->stop (arg0);
1901 fprintf_unfiltered (gdb_stdlog, "<- %s->stop (", this->beneath ()->shortname ());
1902 target_debug_print_ptid_t (arg0);
1903 fputs_unfiltered (")\n", gdb_stdlog);
1906 void
1907 target_ops::interrupt ()
1909 this->beneath ()->interrupt ();
1912 void
1913 dummy_target::interrupt ()
1917 void
1918 debug_target::interrupt ()
1920 fprintf_unfiltered (gdb_stdlog, "-> %s->interrupt (...)\n", this->beneath ()->shortname ());
1921 this->beneath ()->interrupt ();
1922 fprintf_unfiltered (gdb_stdlog, "<- %s->interrupt (", this->beneath ()->shortname ());
1923 fputs_unfiltered (")\n", gdb_stdlog);
1926 void
1927 target_ops::pass_ctrlc ()
1929 this->beneath ()->pass_ctrlc ();
1932 void
1933 dummy_target::pass_ctrlc ()
1935 default_target_pass_ctrlc (this);
1938 void
1939 debug_target::pass_ctrlc ()
1941 fprintf_unfiltered (gdb_stdlog, "-> %s->pass_ctrlc (...)\n", this->beneath ()->shortname ());
1942 this->beneath ()->pass_ctrlc ();
1943 fprintf_unfiltered (gdb_stdlog, "<- %s->pass_ctrlc (", this->beneath ()->shortname ());
1944 fputs_unfiltered (")\n", gdb_stdlog);
1947 void
1948 target_ops::rcmd (const char *arg0, struct ui_file *arg1)
1950 this->beneath ()->rcmd (arg0, arg1);
1953 void
1954 dummy_target::rcmd (const char *arg0, struct ui_file *arg1)
1956 default_rcmd (this, arg0, arg1);
1959 void
1960 debug_target::rcmd (const char *arg0, struct ui_file *arg1)
1962 fprintf_unfiltered (gdb_stdlog, "-> %s->rcmd (...)\n", this->beneath ()->shortname ());
1963 this->beneath ()->rcmd (arg0, arg1);
1964 fprintf_unfiltered (gdb_stdlog, "<- %s->rcmd (", this->beneath ()->shortname ());
1965 target_debug_print_const_char_p (arg0);
1966 fputs_unfiltered (", ", gdb_stdlog);
1967 target_debug_print_struct_ui_file_p (arg1);
1968 fputs_unfiltered (")\n", gdb_stdlog);
1971 char *
1972 target_ops::pid_to_exec_file (int arg0)
1974 return this->beneath ()->pid_to_exec_file (arg0);
1977 char *
1978 dummy_target::pid_to_exec_file (int arg0)
1980 return NULL;
1983 char *
1984 debug_target::pid_to_exec_file (int arg0)
1986 char * result;
1987 fprintf_unfiltered (gdb_stdlog, "-> %s->pid_to_exec_file (...)\n", this->beneath ()->shortname ());
1988 result = this->beneath ()->pid_to_exec_file (arg0);
1989 fprintf_unfiltered (gdb_stdlog, "<- %s->pid_to_exec_file (", this->beneath ()->shortname ());
1990 target_debug_print_int (arg0);
1991 fputs_unfiltered (") = ", gdb_stdlog);
1992 target_debug_print_char_p (result);
1993 fputs_unfiltered ("\n", gdb_stdlog);
1994 return result;
1997 void
1998 target_ops::log_command (const char *arg0)
2000 this->beneath ()->log_command (arg0);
2003 void
2004 dummy_target::log_command (const char *arg0)
2008 void
2009 debug_target::log_command (const char *arg0)
2011 fprintf_unfiltered (gdb_stdlog, "-> %s->log_command (...)\n", this->beneath ()->shortname ());
2012 this->beneath ()->log_command (arg0);
2013 fprintf_unfiltered (gdb_stdlog, "<- %s->log_command (", this->beneath ()->shortname ());
2014 target_debug_print_const_char_p (arg0);
2015 fputs_unfiltered (")\n", gdb_stdlog);
2018 struct target_section_table *
2019 target_ops::get_section_table ()
2021 return this->beneath ()->get_section_table ();
2024 struct target_section_table *
2025 dummy_target::get_section_table ()
2027 return NULL;
2030 struct target_section_table *
2031 debug_target::get_section_table ()
2033 struct target_section_table * result;
2034 fprintf_unfiltered (gdb_stdlog, "-> %s->get_section_table (...)\n", this->beneath ()->shortname ());
2035 result = this->beneath ()->get_section_table ();
2036 fprintf_unfiltered (gdb_stdlog, "<- %s->get_section_table (", this->beneath ()->shortname ());
2037 fputs_unfiltered (") = ", gdb_stdlog);
2038 target_debug_print_struct_target_section_table_p (result);
2039 fputs_unfiltered ("\n", gdb_stdlog);
2040 return result;
2043 thread_control_capabilities
2044 target_ops::get_thread_control_capabilities ()
2046 return this->beneath ()->get_thread_control_capabilities ();
2049 thread_control_capabilities
2050 dummy_target::get_thread_control_capabilities ()
2052 return tc_none;
2055 thread_control_capabilities
2056 debug_target::get_thread_control_capabilities ()
2058 thread_control_capabilities result;
2059 fprintf_unfiltered (gdb_stdlog, "-> %s->get_thread_control_capabilities (...)\n", this->beneath ()->shortname ());
2060 result = this->beneath ()->get_thread_control_capabilities ();
2061 fprintf_unfiltered (gdb_stdlog, "<- %s->get_thread_control_capabilities (", this->beneath ()->shortname ());
2062 fputs_unfiltered (") = ", gdb_stdlog);
2063 target_debug_print_thread_control_capabilities (result);
2064 fputs_unfiltered ("\n", gdb_stdlog);
2065 return result;
2068 bool
2069 target_ops::attach_no_wait ()
2071 return this->beneath ()->attach_no_wait ();
2074 bool
2075 dummy_target::attach_no_wait ()
2077 return 0;
2080 bool
2081 debug_target::attach_no_wait ()
2083 bool result;
2084 fprintf_unfiltered (gdb_stdlog, "-> %s->attach_no_wait (...)\n", this->beneath ()->shortname ());
2085 result = this->beneath ()->attach_no_wait ();
2086 fprintf_unfiltered (gdb_stdlog, "<- %s->attach_no_wait (", this->beneath ()->shortname ());
2087 fputs_unfiltered (") = ", gdb_stdlog);
2088 target_debug_print_bool (result);
2089 fputs_unfiltered ("\n", gdb_stdlog);
2090 return result;
2093 bool
2094 target_ops::can_async_p ()
2096 return this->beneath ()->can_async_p ();
2099 bool
2100 dummy_target::can_async_p ()
2102 return false;
2105 bool
2106 debug_target::can_async_p ()
2108 bool result;
2109 fprintf_unfiltered (gdb_stdlog, "-> %s->can_async_p (...)\n", this->beneath ()->shortname ());
2110 result = this->beneath ()->can_async_p ();
2111 fprintf_unfiltered (gdb_stdlog, "<- %s->can_async_p (", this->beneath ()->shortname ());
2112 fputs_unfiltered (") = ", gdb_stdlog);
2113 target_debug_print_bool (result);
2114 fputs_unfiltered ("\n", gdb_stdlog);
2115 return result;
2118 bool
2119 target_ops::is_async_p ()
2121 return this->beneath ()->is_async_p ();
2124 bool
2125 dummy_target::is_async_p ()
2127 return false;
2130 bool
2131 debug_target::is_async_p ()
2133 bool result;
2134 fprintf_unfiltered (gdb_stdlog, "-> %s->is_async_p (...)\n", this->beneath ()->shortname ());
2135 result = this->beneath ()->is_async_p ();
2136 fprintf_unfiltered (gdb_stdlog, "<- %s->is_async_p (", this->beneath ()->shortname ());
2137 fputs_unfiltered (") = ", gdb_stdlog);
2138 target_debug_print_bool (result);
2139 fputs_unfiltered ("\n", gdb_stdlog);
2140 return result;
2143 void
2144 target_ops::async (int arg0)
2146 this->beneath ()->async (arg0);
2149 void
2150 dummy_target::async (int arg0)
2152 tcomplain ();
2155 void
2156 debug_target::async (int arg0)
2158 fprintf_unfiltered (gdb_stdlog, "-> %s->async (...)\n", this->beneath ()->shortname ());
2159 this->beneath ()->async (arg0);
2160 fprintf_unfiltered (gdb_stdlog, "<- %s->async (", this->beneath ()->shortname ());
2161 target_debug_print_int (arg0);
2162 fputs_unfiltered (")\n", gdb_stdlog);
2165 void
2166 target_ops::thread_events (int arg0)
2168 this->beneath ()->thread_events (arg0);
2171 void
2172 dummy_target::thread_events (int arg0)
2176 void
2177 debug_target::thread_events (int arg0)
2179 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_events (...)\n", this->beneath ()->shortname ());
2180 this->beneath ()->thread_events (arg0);
2181 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_events (", this->beneath ()->shortname ());
2182 target_debug_print_int (arg0);
2183 fputs_unfiltered (")\n", gdb_stdlog);
2186 bool
2187 target_ops::supports_non_stop ()
2189 return this->beneath ()->supports_non_stop ();
2192 bool
2193 dummy_target::supports_non_stop ()
2195 return false;
2198 bool
2199 debug_target::supports_non_stop ()
2201 bool result;
2202 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_non_stop (...)\n", this->beneath ()->shortname ());
2203 result = this->beneath ()->supports_non_stop ();
2204 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_non_stop (", this->beneath ()->shortname ());
2205 fputs_unfiltered (") = ", gdb_stdlog);
2206 target_debug_print_bool (result);
2207 fputs_unfiltered ("\n", gdb_stdlog);
2208 return result;
2211 bool
2212 target_ops::always_non_stop_p ()
2214 return this->beneath ()->always_non_stop_p ();
2217 bool
2218 dummy_target::always_non_stop_p ()
2220 return false;
2223 bool
2224 debug_target::always_non_stop_p ()
2226 bool result;
2227 fprintf_unfiltered (gdb_stdlog, "-> %s->always_non_stop_p (...)\n", this->beneath ()->shortname ());
2228 result = this->beneath ()->always_non_stop_p ();
2229 fprintf_unfiltered (gdb_stdlog, "<- %s->always_non_stop_p (", this->beneath ()->shortname ());
2230 fputs_unfiltered (") = ", gdb_stdlog);
2231 target_debug_print_bool (result);
2232 fputs_unfiltered ("\n", gdb_stdlog);
2233 return result;
2237 target_ops::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
2239 return this->beneath ()->find_memory_regions (arg0, arg1);
2243 dummy_target::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
2245 return dummy_find_memory_regions (this, arg0, arg1);
2249 debug_target::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
2251 int result;
2252 fprintf_unfiltered (gdb_stdlog, "-> %s->find_memory_regions (...)\n", this->beneath ()->shortname ());
2253 result = this->beneath ()->find_memory_regions (arg0, arg1);
2254 fprintf_unfiltered (gdb_stdlog, "<- %s->find_memory_regions (", this->beneath ()->shortname ());
2255 target_debug_print_find_memory_region_ftype (arg0);
2256 fputs_unfiltered (", ", gdb_stdlog);
2257 target_debug_print_void_p (arg1);
2258 fputs_unfiltered (") = ", gdb_stdlog);
2259 target_debug_print_int (result);
2260 fputs_unfiltered ("\n", gdb_stdlog);
2261 return result;
2264 char *
2265 target_ops::make_corefile_notes (bfd *arg0, int *arg1)
2267 return this->beneath ()->make_corefile_notes (arg0, arg1);
2270 char *
2271 dummy_target::make_corefile_notes (bfd *arg0, int *arg1)
2273 return dummy_make_corefile_notes (this, arg0, arg1);
2276 char *
2277 debug_target::make_corefile_notes (bfd *arg0, int *arg1)
2279 char * result;
2280 fprintf_unfiltered (gdb_stdlog, "-> %s->make_corefile_notes (...)\n", this->beneath ()->shortname ());
2281 result = this->beneath ()->make_corefile_notes (arg0, arg1);
2282 fprintf_unfiltered (gdb_stdlog, "<- %s->make_corefile_notes (", this->beneath ()->shortname ());
2283 target_debug_print_bfd_p (arg0);
2284 fputs_unfiltered (", ", gdb_stdlog);
2285 target_debug_print_int_p (arg1);
2286 fputs_unfiltered (") = ", gdb_stdlog);
2287 target_debug_print_char_p (result);
2288 fputs_unfiltered ("\n", gdb_stdlog);
2289 return result;
2292 gdb_byte *
2293 target_ops::get_bookmark (const char *arg0, int arg1)
2295 return this->beneath ()->get_bookmark (arg0, arg1);
2298 gdb_byte *
2299 dummy_target::get_bookmark (const char *arg0, int arg1)
2301 tcomplain ();
2304 gdb_byte *
2305 debug_target::get_bookmark (const char *arg0, int arg1)
2307 gdb_byte * result;
2308 fprintf_unfiltered (gdb_stdlog, "-> %s->get_bookmark (...)\n", this->beneath ()->shortname ());
2309 result = this->beneath ()->get_bookmark (arg0, arg1);
2310 fprintf_unfiltered (gdb_stdlog, "<- %s->get_bookmark (", this->beneath ()->shortname ());
2311 target_debug_print_const_char_p (arg0);
2312 fputs_unfiltered (", ", gdb_stdlog);
2313 target_debug_print_int (arg1);
2314 fputs_unfiltered (") = ", gdb_stdlog);
2315 target_debug_print_gdb_byte_p (result);
2316 fputs_unfiltered ("\n", gdb_stdlog);
2317 return result;
2320 void
2321 target_ops::goto_bookmark (const gdb_byte *arg0, int arg1)
2323 this->beneath ()->goto_bookmark (arg0, arg1);
2326 void
2327 dummy_target::goto_bookmark (const gdb_byte *arg0, int arg1)
2329 tcomplain ();
2332 void
2333 debug_target::goto_bookmark (const gdb_byte *arg0, int arg1)
2335 fprintf_unfiltered (gdb_stdlog, "-> %s->goto_bookmark (...)\n", this->beneath ()->shortname ());
2336 this->beneath ()->goto_bookmark (arg0, arg1);
2337 fprintf_unfiltered (gdb_stdlog, "<- %s->goto_bookmark (", this->beneath ()->shortname ());
2338 target_debug_print_const_gdb_byte_p (arg0);
2339 fputs_unfiltered (", ", gdb_stdlog);
2340 target_debug_print_int (arg1);
2341 fputs_unfiltered (")\n", gdb_stdlog);
2344 CORE_ADDR
2345 target_ops::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2347 return this->beneath ()->get_thread_local_address (arg0, arg1, arg2);
2350 CORE_ADDR
2351 dummy_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2353 generic_tls_error ();
2356 CORE_ADDR
2357 debug_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2359 CORE_ADDR result;
2360 fprintf_unfiltered (gdb_stdlog, "-> %s->get_thread_local_address (...)\n", this->beneath ()->shortname ());
2361 result = this->beneath ()->get_thread_local_address (arg0, arg1, arg2);
2362 fprintf_unfiltered (gdb_stdlog, "<- %s->get_thread_local_address (", this->beneath ()->shortname ());
2363 target_debug_print_ptid_t (arg0);
2364 fputs_unfiltered (", ", gdb_stdlog);
2365 target_debug_print_CORE_ADDR (arg1);
2366 fputs_unfiltered (", ", gdb_stdlog);
2367 target_debug_print_CORE_ADDR (arg2);
2368 fputs_unfiltered (") = ", gdb_stdlog);
2369 target_debug_print_CORE_ADDR (result);
2370 fputs_unfiltered ("\n", gdb_stdlog);
2371 return result;
2374 enum target_xfer_status
2375 target_ops::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2377 return this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2380 enum target_xfer_status
2381 dummy_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2383 return TARGET_XFER_E_IO;
2386 enum target_xfer_status
2387 debug_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2389 enum target_xfer_status result;
2390 fprintf_unfiltered (gdb_stdlog, "-> %s->xfer_partial (...)\n", this->beneath ()->shortname ());
2391 result = this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2392 fprintf_unfiltered (gdb_stdlog, "<- %s->xfer_partial (", this->beneath ()->shortname ());
2393 target_debug_print_enum_target_object (arg0);
2394 fputs_unfiltered (", ", gdb_stdlog);
2395 target_debug_print_const_char_p (arg1);
2396 fputs_unfiltered (", ", gdb_stdlog);
2397 target_debug_print_gdb_byte_p (arg2);
2398 fputs_unfiltered (", ", gdb_stdlog);
2399 target_debug_print_const_gdb_byte_p (arg3);
2400 fputs_unfiltered (", ", gdb_stdlog);
2401 target_debug_print_ULONGEST (arg4);
2402 fputs_unfiltered (", ", gdb_stdlog);
2403 target_debug_print_ULONGEST (arg5);
2404 fputs_unfiltered (", ", gdb_stdlog);
2405 target_debug_print_ULONGEST_p (arg6);
2406 fputs_unfiltered (") = ", gdb_stdlog);
2407 target_debug_print_enum_target_xfer_status (result);
2408 fputs_unfiltered ("\n", gdb_stdlog);
2409 return result;
2412 ULONGEST
2413 target_ops::get_memory_xfer_limit ()
2415 return this->beneath ()->get_memory_xfer_limit ();
2418 ULONGEST
2419 dummy_target::get_memory_xfer_limit ()
2421 return ULONGEST_MAX;
2424 ULONGEST
2425 debug_target::get_memory_xfer_limit ()
2427 ULONGEST result;
2428 fprintf_unfiltered (gdb_stdlog, "-> %s->get_memory_xfer_limit (...)\n", this->beneath ()->shortname ());
2429 result = this->beneath ()->get_memory_xfer_limit ();
2430 fprintf_unfiltered (gdb_stdlog, "<- %s->get_memory_xfer_limit (", this->beneath ()->shortname ());
2431 fputs_unfiltered (") = ", gdb_stdlog);
2432 target_debug_print_ULONGEST (result);
2433 fputs_unfiltered ("\n", gdb_stdlog);
2434 return result;
2437 std::vector<mem_region>
2438 target_ops::memory_map ()
2440 return this->beneath ()->memory_map ();
2443 std::vector<mem_region>
2444 dummy_target::memory_map ()
2446 return std::vector<mem_region> ();
2449 std::vector<mem_region>
2450 debug_target::memory_map ()
2452 std::vector<mem_region> result;
2453 fprintf_unfiltered (gdb_stdlog, "-> %s->memory_map (...)\n", this->beneath ()->shortname ());
2454 result = this->beneath ()->memory_map ();
2455 fprintf_unfiltered (gdb_stdlog, "<- %s->memory_map (", this->beneath ()->shortname ());
2456 fputs_unfiltered (") = ", gdb_stdlog);
2457 target_debug_print_std_vector_mem_region (result);
2458 fputs_unfiltered ("\n", gdb_stdlog);
2459 return result;
2462 void
2463 target_ops::flash_erase (ULONGEST arg0, LONGEST arg1)
2465 this->beneath ()->flash_erase (arg0, arg1);
2468 void
2469 dummy_target::flash_erase (ULONGEST arg0, LONGEST arg1)
2471 tcomplain ();
2474 void
2475 debug_target::flash_erase (ULONGEST arg0, LONGEST arg1)
2477 fprintf_unfiltered (gdb_stdlog, "-> %s->flash_erase (...)\n", this->beneath ()->shortname ());
2478 this->beneath ()->flash_erase (arg0, arg1);
2479 fprintf_unfiltered (gdb_stdlog, "<- %s->flash_erase (", this->beneath ()->shortname ());
2480 target_debug_print_ULONGEST (arg0);
2481 fputs_unfiltered (", ", gdb_stdlog);
2482 target_debug_print_LONGEST (arg1);
2483 fputs_unfiltered (")\n", gdb_stdlog);
2486 void
2487 target_ops::flash_done ()
2489 this->beneath ()->flash_done ();
2492 void
2493 dummy_target::flash_done ()
2495 tcomplain ();
2498 void
2499 debug_target::flash_done ()
2501 fprintf_unfiltered (gdb_stdlog, "-> %s->flash_done (...)\n", this->beneath ()->shortname ());
2502 this->beneath ()->flash_done ();
2503 fprintf_unfiltered (gdb_stdlog, "<- %s->flash_done (", this->beneath ()->shortname ());
2504 fputs_unfiltered (")\n", gdb_stdlog);
2507 const struct target_desc *
2508 target_ops::read_description ()
2510 return this->beneath ()->read_description ();
2513 const struct target_desc *
2514 dummy_target::read_description ()
2516 return NULL;
2519 const struct target_desc *
2520 debug_target::read_description ()
2522 const struct target_desc * result;
2523 fprintf_unfiltered (gdb_stdlog, "-> %s->read_description (...)\n", this->beneath ()->shortname ());
2524 result = this->beneath ()->read_description ();
2525 fprintf_unfiltered (gdb_stdlog, "<- %s->read_description (", this->beneath ()->shortname ());
2526 fputs_unfiltered (") = ", gdb_stdlog);
2527 target_debug_print_const_struct_target_desc_p (result);
2528 fputs_unfiltered ("\n", gdb_stdlog);
2529 return result;
2532 ptid_t
2533 target_ops::get_ada_task_ptid (long arg0, long arg1)
2535 return this->beneath ()->get_ada_task_ptid (arg0, arg1);
2538 ptid_t
2539 dummy_target::get_ada_task_ptid (long arg0, long arg1)
2541 return default_get_ada_task_ptid (this, arg0, arg1);
2544 ptid_t
2545 debug_target::get_ada_task_ptid (long arg0, long arg1)
2547 ptid_t result;
2548 fprintf_unfiltered (gdb_stdlog, "-> %s->get_ada_task_ptid (...)\n", this->beneath ()->shortname ());
2549 result = this->beneath ()->get_ada_task_ptid (arg0, arg1);
2550 fprintf_unfiltered (gdb_stdlog, "<- %s->get_ada_task_ptid (", this->beneath ()->shortname ());
2551 target_debug_print_long (arg0);
2552 fputs_unfiltered (", ", gdb_stdlog);
2553 target_debug_print_long (arg1);
2554 fputs_unfiltered (") = ", gdb_stdlog);
2555 target_debug_print_ptid_t (result);
2556 fputs_unfiltered ("\n", gdb_stdlog);
2557 return result;
2561 target_ops::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2563 return this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3);
2567 dummy_target::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2569 return default_auxv_parse (this, arg0, arg1, arg2, arg3);
2573 debug_target::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2575 int result;
2576 fprintf_unfiltered (gdb_stdlog, "-> %s->auxv_parse (...)\n", this->beneath ()->shortname ());
2577 result = this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3);
2578 fprintf_unfiltered (gdb_stdlog, "<- %s->auxv_parse (", this->beneath ()->shortname ());
2579 target_debug_print_gdb_byte_pp (arg0);
2580 fputs_unfiltered (", ", gdb_stdlog);
2581 target_debug_print_gdb_byte_p (arg1);
2582 fputs_unfiltered (", ", gdb_stdlog);
2583 target_debug_print_CORE_ADDR_p (arg2);
2584 fputs_unfiltered (", ", gdb_stdlog);
2585 target_debug_print_CORE_ADDR_p (arg3);
2586 fputs_unfiltered (") = ", gdb_stdlog);
2587 target_debug_print_int (result);
2588 fputs_unfiltered ("\n", gdb_stdlog);
2589 return result;
2593 target_ops::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2595 return this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4);
2599 dummy_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2601 return default_search_memory (this, arg0, arg1, arg2, arg3, arg4);
2605 debug_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2607 int result;
2608 fprintf_unfiltered (gdb_stdlog, "-> %s->search_memory (...)\n", this->beneath ()->shortname ());
2609 result = this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4);
2610 fprintf_unfiltered (gdb_stdlog, "<- %s->search_memory (", this->beneath ()->shortname ());
2611 target_debug_print_CORE_ADDR (arg0);
2612 fputs_unfiltered (", ", gdb_stdlog);
2613 target_debug_print_ULONGEST (arg1);
2614 fputs_unfiltered (", ", gdb_stdlog);
2615 target_debug_print_const_gdb_byte_p (arg2);
2616 fputs_unfiltered (", ", gdb_stdlog);
2617 target_debug_print_ULONGEST (arg3);
2618 fputs_unfiltered (", ", gdb_stdlog);
2619 target_debug_print_CORE_ADDR_p (arg4);
2620 fputs_unfiltered (") = ", gdb_stdlog);
2621 target_debug_print_int (result);
2622 fputs_unfiltered ("\n", gdb_stdlog);
2623 return result;
2626 bool
2627 target_ops::can_execute_reverse ()
2629 return this->beneath ()->can_execute_reverse ();
2632 bool
2633 dummy_target::can_execute_reverse ()
2635 return false;
2638 bool
2639 debug_target::can_execute_reverse ()
2641 bool result;
2642 fprintf_unfiltered (gdb_stdlog, "-> %s->can_execute_reverse (...)\n", this->beneath ()->shortname ());
2643 result = this->beneath ()->can_execute_reverse ();
2644 fprintf_unfiltered (gdb_stdlog, "<- %s->can_execute_reverse (", this->beneath ()->shortname ());
2645 fputs_unfiltered (") = ", gdb_stdlog);
2646 target_debug_print_bool (result);
2647 fputs_unfiltered ("\n", gdb_stdlog);
2648 return result;
2651 enum exec_direction_kind
2652 target_ops::execution_direction ()
2654 return this->beneath ()->execution_direction ();
2657 enum exec_direction_kind
2658 dummy_target::execution_direction ()
2660 return default_execution_direction (this);
2663 enum exec_direction_kind
2664 debug_target::execution_direction ()
2666 enum exec_direction_kind result;
2667 fprintf_unfiltered (gdb_stdlog, "-> %s->execution_direction (...)\n", this->beneath ()->shortname ());
2668 result = this->beneath ()->execution_direction ();
2669 fprintf_unfiltered (gdb_stdlog, "<- %s->execution_direction (", this->beneath ()->shortname ());
2670 fputs_unfiltered (") = ", gdb_stdlog);
2671 target_debug_print_enum_exec_direction_kind (result);
2672 fputs_unfiltered ("\n", gdb_stdlog);
2673 return result;
2676 bool
2677 target_ops::supports_multi_process ()
2679 return this->beneath ()->supports_multi_process ();
2682 bool
2683 dummy_target::supports_multi_process ()
2685 return false;
2688 bool
2689 debug_target::supports_multi_process ()
2691 bool result;
2692 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_multi_process (...)\n", this->beneath ()->shortname ());
2693 result = this->beneath ()->supports_multi_process ();
2694 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_multi_process (", this->beneath ()->shortname ());
2695 fputs_unfiltered (") = ", gdb_stdlog);
2696 target_debug_print_bool (result);
2697 fputs_unfiltered ("\n", gdb_stdlog);
2698 return result;
2701 bool
2702 target_ops::supports_enable_disable_tracepoint ()
2704 return this->beneath ()->supports_enable_disable_tracepoint ();
2707 bool
2708 dummy_target::supports_enable_disable_tracepoint ()
2710 return false;
2713 bool
2714 debug_target::supports_enable_disable_tracepoint ()
2716 bool result;
2717 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath ()->shortname ());
2718 result = this->beneath ()->supports_enable_disable_tracepoint ();
2719 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_enable_disable_tracepoint (", this->beneath ()->shortname ());
2720 fputs_unfiltered (") = ", gdb_stdlog);
2721 target_debug_print_bool (result);
2722 fputs_unfiltered ("\n", gdb_stdlog);
2723 return result;
2726 bool
2727 target_ops::supports_disable_randomization ()
2729 return this->beneath ()->supports_disable_randomization ();
2732 bool
2733 dummy_target::supports_disable_randomization ()
2735 return find_default_supports_disable_randomization (this);
2738 bool
2739 debug_target::supports_disable_randomization ()
2741 bool result;
2742 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_disable_randomization (...)\n", this->beneath ()->shortname ());
2743 result = this->beneath ()->supports_disable_randomization ();
2744 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_disable_randomization (", this->beneath ()->shortname ());
2745 fputs_unfiltered (") = ", gdb_stdlog);
2746 target_debug_print_bool (result);
2747 fputs_unfiltered ("\n", gdb_stdlog);
2748 return result;
2751 bool
2752 target_ops::supports_string_tracing ()
2754 return this->beneath ()->supports_string_tracing ();
2757 bool
2758 dummy_target::supports_string_tracing ()
2760 return false;
2763 bool
2764 debug_target::supports_string_tracing ()
2766 bool result;
2767 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_string_tracing (...)\n", this->beneath ()->shortname ());
2768 result = this->beneath ()->supports_string_tracing ();
2769 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_string_tracing (", this->beneath ()->shortname ());
2770 fputs_unfiltered (") = ", gdb_stdlog);
2771 target_debug_print_bool (result);
2772 fputs_unfiltered ("\n", gdb_stdlog);
2773 return result;
2776 bool
2777 target_ops::supports_evaluation_of_breakpoint_conditions ()
2779 return this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2782 bool
2783 dummy_target::supports_evaluation_of_breakpoint_conditions ()
2785 return false;
2788 bool
2789 debug_target::supports_evaluation_of_breakpoint_conditions ()
2791 bool result;
2792 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath ()->shortname ());
2793 result = this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2794 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath ()->shortname ());
2795 fputs_unfiltered (") = ", gdb_stdlog);
2796 target_debug_print_bool (result);
2797 fputs_unfiltered ("\n", gdb_stdlog);
2798 return result;
2801 bool
2802 target_ops::can_run_breakpoint_commands ()
2804 return this->beneath ()->can_run_breakpoint_commands ();
2807 bool
2808 dummy_target::can_run_breakpoint_commands ()
2810 return false;
2813 bool
2814 debug_target::can_run_breakpoint_commands ()
2816 bool result;
2817 fprintf_unfiltered (gdb_stdlog, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath ()->shortname ());
2818 result = this->beneath ()->can_run_breakpoint_commands ();
2819 fprintf_unfiltered (gdb_stdlog, "<- %s->can_run_breakpoint_commands (", this->beneath ()->shortname ());
2820 fputs_unfiltered (") = ", gdb_stdlog);
2821 target_debug_print_bool (result);
2822 fputs_unfiltered ("\n", gdb_stdlog);
2823 return result;
2826 struct gdbarch *
2827 target_ops::thread_architecture (ptid_t arg0)
2829 return this->beneath ()->thread_architecture (arg0);
2832 struct gdbarch *
2833 dummy_target::thread_architecture (ptid_t arg0)
2835 return NULL;
2838 struct gdbarch *
2839 debug_target::thread_architecture (ptid_t arg0)
2841 struct gdbarch * result;
2842 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_architecture (...)\n", this->beneath ()->shortname ());
2843 result = this->beneath ()->thread_architecture (arg0);
2844 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_architecture (", this->beneath ()->shortname ());
2845 target_debug_print_ptid_t (arg0);
2846 fputs_unfiltered (") = ", gdb_stdlog);
2847 target_debug_print_struct_gdbarch_p (result);
2848 fputs_unfiltered ("\n", gdb_stdlog);
2849 return result;
2852 struct address_space *
2853 target_ops::thread_address_space (ptid_t arg0)
2855 return this->beneath ()->thread_address_space (arg0);
2858 struct address_space *
2859 dummy_target::thread_address_space (ptid_t arg0)
2861 return NULL;
2864 struct address_space *
2865 debug_target::thread_address_space (ptid_t arg0)
2867 struct address_space * result;
2868 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_address_space (...)\n", this->beneath ()->shortname ());
2869 result = this->beneath ()->thread_address_space (arg0);
2870 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_address_space (", this->beneath ()->shortname ());
2871 target_debug_print_ptid_t (arg0);
2872 fputs_unfiltered (") = ", gdb_stdlog);
2873 target_debug_print_struct_address_space_p (result);
2874 fputs_unfiltered ("\n", gdb_stdlog);
2875 return result;
2878 bool
2879 target_ops::filesystem_is_local ()
2881 return this->beneath ()->filesystem_is_local ();
2884 bool
2885 dummy_target::filesystem_is_local ()
2887 return true;
2890 bool
2891 debug_target::filesystem_is_local ()
2893 bool result;
2894 fprintf_unfiltered (gdb_stdlog, "-> %s->filesystem_is_local (...)\n", this->beneath ()->shortname ());
2895 result = this->beneath ()->filesystem_is_local ();
2896 fprintf_unfiltered (gdb_stdlog, "<- %s->filesystem_is_local (", this->beneath ()->shortname ());
2897 fputs_unfiltered (") = ", gdb_stdlog);
2898 target_debug_print_bool (result);
2899 fputs_unfiltered ("\n", gdb_stdlog);
2900 return result;
2903 void
2904 target_ops::trace_init ()
2906 this->beneath ()->trace_init ();
2909 void
2910 dummy_target::trace_init ()
2912 tcomplain ();
2915 void
2916 debug_target::trace_init ()
2918 fprintf_unfiltered (gdb_stdlog, "-> %s->trace_init (...)\n", this->beneath ()->shortname ());
2919 this->beneath ()->trace_init ();
2920 fprintf_unfiltered (gdb_stdlog, "<- %s->trace_init (", this->beneath ()->shortname ());
2921 fputs_unfiltered (")\n", gdb_stdlog);
2924 void
2925 target_ops::download_tracepoint (struct bp_location *arg0)
2927 this->beneath ()->download_tracepoint (arg0);
2930 void
2931 dummy_target::download_tracepoint (struct bp_location *arg0)
2933 tcomplain ();
2936 void
2937 debug_target::download_tracepoint (struct bp_location *arg0)
2939 fprintf_unfiltered (gdb_stdlog, "-> %s->download_tracepoint (...)\n", this->beneath ()->shortname ());
2940 this->beneath ()->download_tracepoint (arg0);
2941 fprintf_unfiltered (gdb_stdlog, "<- %s->download_tracepoint (", this->beneath ()->shortname ());
2942 target_debug_print_struct_bp_location_p (arg0);
2943 fputs_unfiltered (")\n", gdb_stdlog);
2946 bool
2947 target_ops::can_download_tracepoint ()
2949 return this->beneath ()->can_download_tracepoint ();
2952 bool
2953 dummy_target::can_download_tracepoint ()
2955 return false;
2958 bool
2959 debug_target::can_download_tracepoint ()
2961 bool result;
2962 fprintf_unfiltered (gdb_stdlog, "-> %s->can_download_tracepoint (...)\n", this->beneath ()->shortname ());
2963 result = this->beneath ()->can_download_tracepoint ();
2964 fprintf_unfiltered (gdb_stdlog, "<- %s->can_download_tracepoint (", this->beneath ()->shortname ());
2965 fputs_unfiltered (") = ", gdb_stdlog);
2966 target_debug_print_bool (result);
2967 fputs_unfiltered ("\n", gdb_stdlog);
2968 return result;
2971 void
2972 target_ops::download_trace_state_variable (const trace_state_variable &arg0)
2974 this->beneath ()->download_trace_state_variable (arg0);
2977 void
2978 dummy_target::download_trace_state_variable (const trace_state_variable &arg0)
2980 tcomplain ();
2983 void
2984 debug_target::download_trace_state_variable (const trace_state_variable &arg0)
2986 fprintf_unfiltered (gdb_stdlog, "-> %s->download_trace_state_variable (...)\n", this->beneath ()->shortname ());
2987 this->beneath ()->download_trace_state_variable (arg0);
2988 fprintf_unfiltered (gdb_stdlog, "<- %s->download_trace_state_variable (", this->beneath ()->shortname ());
2989 target_debug_print_const_trace_state_variable_r (arg0);
2990 fputs_unfiltered (")\n", gdb_stdlog);
2993 void
2994 target_ops::enable_tracepoint (struct bp_location *arg0)
2996 this->beneath ()->enable_tracepoint (arg0);
2999 void
3000 dummy_target::enable_tracepoint (struct bp_location *arg0)
3002 tcomplain ();
3005 void
3006 debug_target::enable_tracepoint (struct bp_location *arg0)
3008 fprintf_unfiltered (gdb_stdlog, "-> %s->enable_tracepoint (...)\n", this->beneath ()->shortname ());
3009 this->beneath ()->enable_tracepoint (arg0);
3010 fprintf_unfiltered (gdb_stdlog, "<- %s->enable_tracepoint (", this->beneath ()->shortname ());
3011 target_debug_print_struct_bp_location_p (arg0);
3012 fputs_unfiltered (")\n", gdb_stdlog);
3015 void
3016 target_ops::disable_tracepoint (struct bp_location *arg0)
3018 this->beneath ()->disable_tracepoint (arg0);
3021 void
3022 dummy_target::disable_tracepoint (struct bp_location *arg0)
3024 tcomplain ();
3027 void
3028 debug_target::disable_tracepoint (struct bp_location *arg0)
3030 fprintf_unfiltered (gdb_stdlog, "-> %s->disable_tracepoint (...)\n", this->beneath ()->shortname ());
3031 this->beneath ()->disable_tracepoint (arg0);
3032 fprintf_unfiltered (gdb_stdlog, "<- %s->disable_tracepoint (", this->beneath ()->shortname ());
3033 target_debug_print_struct_bp_location_p (arg0);
3034 fputs_unfiltered (")\n", gdb_stdlog);
3037 void
3038 target_ops::trace_set_readonly_regions ()
3040 this->beneath ()->trace_set_readonly_regions ();
3043 void
3044 dummy_target::trace_set_readonly_regions ()
3046 tcomplain ();
3049 void
3050 debug_target::trace_set_readonly_regions ()
3052 fprintf_unfiltered (gdb_stdlog, "-> %s->trace_set_readonly_regions (...)\n", this->beneath ()->shortname ());
3053 this->beneath ()->trace_set_readonly_regions ();
3054 fprintf_unfiltered (gdb_stdlog, "<- %s->trace_set_readonly_regions (", this->beneath ()->shortname ());
3055 fputs_unfiltered (")\n", gdb_stdlog);
3058 void
3059 target_ops::trace_start ()
3061 this->beneath ()->trace_start ();
3064 void
3065 dummy_target::trace_start ()
3067 tcomplain ();
3070 void
3071 debug_target::trace_start ()
3073 fprintf_unfiltered (gdb_stdlog, "-> %s->trace_start (...)\n", this->beneath ()->shortname ());
3074 this->beneath ()->trace_start ();
3075 fprintf_unfiltered (gdb_stdlog, "<- %s->trace_start (", this->beneath ()->shortname ());
3076 fputs_unfiltered (")\n", gdb_stdlog);
3080 target_ops::get_trace_status (struct trace_status *arg0)
3082 return this->beneath ()->get_trace_status (arg0);
3086 dummy_target::get_trace_status (struct trace_status *arg0)
3088 return -1;
3092 debug_target::get_trace_status (struct trace_status *arg0)
3094 int result;
3095 fprintf_unfiltered (gdb_stdlog, "-> %s->get_trace_status (...)\n", this->beneath ()->shortname ());
3096 result = this->beneath ()->get_trace_status (arg0);
3097 fprintf_unfiltered (gdb_stdlog, "<- %s->get_trace_status (", this->beneath ()->shortname ());
3098 target_debug_print_struct_trace_status_p (arg0);
3099 fputs_unfiltered (") = ", gdb_stdlog);
3100 target_debug_print_int (result);
3101 fputs_unfiltered ("\n", gdb_stdlog);
3102 return result;
3105 void
3106 target_ops::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
3108 this->beneath ()->get_tracepoint_status (arg0, arg1);
3111 void
3112 dummy_target::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
3114 tcomplain ();
3117 void
3118 debug_target::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
3120 fprintf_unfiltered (gdb_stdlog, "-> %s->get_tracepoint_status (...)\n", this->beneath ()->shortname ());
3121 this->beneath ()->get_tracepoint_status (arg0, arg1);
3122 fprintf_unfiltered (gdb_stdlog, "<- %s->get_tracepoint_status (", this->beneath ()->shortname ());
3123 target_debug_print_struct_breakpoint_p (arg0);
3124 fputs_unfiltered (", ", gdb_stdlog);
3125 target_debug_print_struct_uploaded_tp_p (arg1);
3126 fputs_unfiltered (")\n", gdb_stdlog);
3129 void
3130 target_ops::trace_stop ()
3132 this->beneath ()->trace_stop ();
3135 void
3136 dummy_target::trace_stop ()
3138 tcomplain ();
3141 void
3142 debug_target::trace_stop ()
3144 fprintf_unfiltered (gdb_stdlog, "-> %s->trace_stop (...)\n", this->beneath ()->shortname ());
3145 this->beneath ()->trace_stop ();
3146 fprintf_unfiltered (gdb_stdlog, "<- %s->trace_stop (", this->beneath ()->shortname ());
3147 fputs_unfiltered (")\n", gdb_stdlog);
3151 target_ops::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3153 return this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4);
3157 dummy_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3159 return -1;
3163 debug_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3165 int result;
3166 fprintf_unfiltered (gdb_stdlog, "-> %s->trace_find (...)\n", this->beneath ()->shortname ());
3167 result = this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4);
3168 fprintf_unfiltered (gdb_stdlog, "<- %s->trace_find (", this->beneath ()->shortname ());
3169 target_debug_print_enum_trace_find_type (arg0);
3170 fputs_unfiltered (", ", gdb_stdlog);
3171 target_debug_print_int (arg1);
3172 fputs_unfiltered (", ", gdb_stdlog);
3173 target_debug_print_CORE_ADDR (arg2);
3174 fputs_unfiltered (", ", gdb_stdlog);
3175 target_debug_print_CORE_ADDR (arg3);
3176 fputs_unfiltered (", ", gdb_stdlog);
3177 target_debug_print_int_p (arg4);
3178 fputs_unfiltered (") = ", gdb_stdlog);
3179 target_debug_print_int (result);
3180 fputs_unfiltered ("\n", gdb_stdlog);
3181 return result;
3184 bool
3185 target_ops::get_trace_state_variable_value (int arg0, LONGEST *arg1)
3187 return this->beneath ()->get_trace_state_variable_value (arg0, arg1);
3190 bool
3191 dummy_target::get_trace_state_variable_value (int arg0, LONGEST *arg1)
3193 return false;
3196 bool
3197 debug_target::get_trace_state_variable_value (int arg0, LONGEST *arg1)
3199 bool result;
3200 fprintf_unfiltered (gdb_stdlog, "-> %s->get_trace_state_variable_value (...)\n", this->beneath ()->shortname ());
3201 result = this->beneath ()->get_trace_state_variable_value (arg0, arg1);
3202 fprintf_unfiltered (gdb_stdlog, "<- %s->get_trace_state_variable_value (", this->beneath ()->shortname ());
3203 target_debug_print_int (arg0);
3204 fputs_unfiltered (", ", gdb_stdlog);
3205 target_debug_print_LONGEST_p (arg1);
3206 fputs_unfiltered (") = ", gdb_stdlog);
3207 target_debug_print_bool (result);
3208 fputs_unfiltered ("\n", gdb_stdlog);
3209 return result;
3213 target_ops::save_trace_data (const char *arg0)
3215 return this->beneath ()->save_trace_data (arg0);
3219 dummy_target::save_trace_data (const char *arg0)
3221 tcomplain ();
3225 debug_target::save_trace_data (const char *arg0)
3227 int result;
3228 fprintf_unfiltered (gdb_stdlog, "-> %s->save_trace_data (...)\n", this->beneath ()->shortname ());
3229 result = this->beneath ()->save_trace_data (arg0);
3230 fprintf_unfiltered (gdb_stdlog, "<- %s->save_trace_data (", this->beneath ()->shortname ());
3231 target_debug_print_const_char_p (arg0);
3232 fputs_unfiltered (") = ", gdb_stdlog);
3233 target_debug_print_int (result);
3234 fputs_unfiltered ("\n", gdb_stdlog);
3235 return result;
3239 target_ops::upload_tracepoints (struct uploaded_tp **arg0)
3241 return this->beneath ()->upload_tracepoints (arg0);
3245 dummy_target::upload_tracepoints (struct uploaded_tp **arg0)
3247 return 0;
3251 debug_target::upload_tracepoints (struct uploaded_tp **arg0)
3253 int result;
3254 fprintf_unfiltered (gdb_stdlog, "-> %s->upload_tracepoints (...)\n", this->beneath ()->shortname ());
3255 result = this->beneath ()->upload_tracepoints (arg0);
3256 fprintf_unfiltered (gdb_stdlog, "<- %s->upload_tracepoints (", this->beneath ()->shortname ());
3257 target_debug_print_struct_uploaded_tp_pp (arg0);
3258 fputs_unfiltered (") = ", gdb_stdlog);
3259 target_debug_print_int (result);
3260 fputs_unfiltered ("\n", gdb_stdlog);
3261 return result;
3265 target_ops::upload_trace_state_variables (struct uploaded_tsv **arg0)
3267 return this->beneath ()->upload_trace_state_variables (arg0);
3271 dummy_target::upload_trace_state_variables (struct uploaded_tsv **arg0)
3273 return 0;
3277 debug_target::upload_trace_state_variables (struct uploaded_tsv **arg0)
3279 int result;
3280 fprintf_unfiltered (gdb_stdlog, "-> %s->upload_trace_state_variables (...)\n", this->beneath ()->shortname ());
3281 result = this->beneath ()->upload_trace_state_variables (arg0);
3282 fprintf_unfiltered (gdb_stdlog, "<- %s->upload_trace_state_variables (", this->beneath ()->shortname ());
3283 target_debug_print_struct_uploaded_tsv_pp (arg0);
3284 fputs_unfiltered (") = ", gdb_stdlog);
3285 target_debug_print_int (result);
3286 fputs_unfiltered ("\n", gdb_stdlog);
3287 return result;
3290 LONGEST
3291 target_ops::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3293 return this->beneath ()->get_raw_trace_data (arg0, arg1, arg2);
3296 LONGEST
3297 dummy_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3299 tcomplain ();
3302 LONGEST
3303 debug_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3305 LONGEST result;
3306 fprintf_unfiltered (gdb_stdlog, "-> %s->get_raw_trace_data (...)\n", this->beneath ()->shortname ());
3307 result = this->beneath ()->get_raw_trace_data (arg0, arg1, arg2);
3308 fprintf_unfiltered (gdb_stdlog, "<- %s->get_raw_trace_data (", this->beneath ()->shortname ());
3309 target_debug_print_gdb_byte_p (arg0);
3310 fputs_unfiltered (", ", gdb_stdlog);
3311 target_debug_print_ULONGEST (arg1);
3312 fputs_unfiltered (", ", gdb_stdlog);
3313 target_debug_print_LONGEST (arg2);
3314 fputs_unfiltered (") = ", gdb_stdlog);
3315 target_debug_print_LONGEST (result);
3316 fputs_unfiltered ("\n", gdb_stdlog);
3317 return result;
3321 target_ops::get_min_fast_tracepoint_insn_len ()
3323 return this->beneath ()->get_min_fast_tracepoint_insn_len ();
3327 dummy_target::get_min_fast_tracepoint_insn_len ()
3329 return -1;
3333 debug_target::get_min_fast_tracepoint_insn_len ()
3335 int result;
3336 fprintf_unfiltered (gdb_stdlog, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath ()->shortname ());
3337 result = this->beneath ()->get_min_fast_tracepoint_insn_len ();
3338 fprintf_unfiltered (gdb_stdlog, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath ()->shortname ());
3339 fputs_unfiltered (") = ", gdb_stdlog);
3340 target_debug_print_int (result);
3341 fputs_unfiltered ("\n", gdb_stdlog);
3342 return result;
3345 void
3346 target_ops::set_disconnected_tracing (int arg0)
3348 this->beneath ()->set_disconnected_tracing (arg0);
3351 void
3352 dummy_target::set_disconnected_tracing (int arg0)
3356 void
3357 debug_target::set_disconnected_tracing (int arg0)
3359 fprintf_unfiltered (gdb_stdlog, "-> %s->set_disconnected_tracing (...)\n", this->beneath ()->shortname ());
3360 this->beneath ()->set_disconnected_tracing (arg0);
3361 fprintf_unfiltered (gdb_stdlog, "<- %s->set_disconnected_tracing (", this->beneath ()->shortname ());
3362 target_debug_print_int (arg0);
3363 fputs_unfiltered (")\n", gdb_stdlog);
3366 void
3367 target_ops::set_circular_trace_buffer (int arg0)
3369 this->beneath ()->set_circular_trace_buffer (arg0);
3372 void
3373 dummy_target::set_circular_trace_buffer (int arg0)
3377 void
3378 debug_target::set_circular_trace_buffer (int arg0)
3380 fprintf_unfiltered (gdb_stdlog, "-> %s->set_circular_trace_buffer (...)\n", this->beneath ()->shortname ());
3381 this->beneath ()->set_circular_trace_buffer (arg0);
3382 fprintf_unfiltered (gdb_stdlog, "<- %s->set_circular_trace_buffer (", this->beneath ()->shortname ());
3383 target_debug_print_int (arg0);
3384 fputs_unfiltered (")\n", gdb_stdlog);
3387 void
3388 target_ops::set_trace_buffer_size (LONGEST arg0)
3390 this->beneath ()->set_trace_buffer_size (arg0);
3393 void
3394 dummy_target::set_trace_buffer_size (LONGEST arg0)
3398 void
3399 debug_target::set_trace_buffer_size (LONGEST arg0)
3401 fprintf_unfiltered (gdb_stdlog, "-> %s->set_trace_buffer_size (...)\n", this->beneath ()->shortname ());
3402 this->beneath ()->set_trace_buffer_size (arg0);
3403 fprintf_unfiltered (gdb_stdlog, "<- %s->set_trace_buffer_size (", this->beneath ()->shortname ());
3404 target_debug_print_LONGEST (arg0);
3405 fputs_unfiltered (")\n", gdb_stdlog);
3408 bool
3409 target_ops::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3411 return this->beneath ()->set_trace_notes (arg0, arg1, arg2);
3414 bool
3415 dummy_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3417 return false;
3420 bool
3421 debug_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3423 bool result;
3424 fprintf_unfiltered (gdb_stdlog, "-> %s->set_trace_notes (...)\n", this->beneath ()->shortname ());
3425 result = this->beneath ()->set_trace_notes (arg0, arg1, arg2);
3426 fprintf_unfiltered (gdb_stdlog, "<- %s->set_trace_notes (", this->beneath ()->shortname ());
3427 target_debug_print_const_char_p (arg0);
3428 fputs_unfiltered (", ", gdb_stdlog);
3429 target_debug_print_const_char_p (arg1);
3430 fputs_unfiltered (", ", gdb_stdlog);
3431 target_debug_print_const_char_p (arg2);
3432 fputs_unfiltered (") = ", gdb_stdlog);
3433 target_debug_print_bool (result);
3434 fputs_unfiltered ("\n", gdb_stdlog);
3435 return result;
3439 target_ops::core_of_thread (ptid_t arg0)
3441 return this->beneath ()->core_of_thread (arg0);
3445 dummy_target::core_of_thread (ptid_t arg0)
3447 return -1;
3451 debug_target::core_of_thread (ptid_t arg0)
3453 int result;
3454 fprintf_unfiltered (gdb_stdlog, "-> %s->core_of_thread (...)\n", this->beneath ()->shortname ());
3455 result = this->beneath ()->core_of_thread (arg0);
3456 fprintf_unfiltered (gdb_stdlog, "<- %s->core_of_thread (", this->beneath ()->shortname ());
3457 target_debug_print_ptid_t (arg0);
3458 fputs_unfiltered (") = ", gdb_stdlog);
3459 target_debug_print_int (result);
3460 fputs_unfiltered ("\n", gdb_stdlog);
3461 return result;
3465 target_ops::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3467 return this->beneath ()->verify_memory (arg0, arg1, arg2);
3471 dummy_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3473 return default_verify_memory (this, arg0, arg1, arg2);
3477 debug_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3479 int result;
3480 fprintf_unfiltered (gdb_stdlog, "-> %s->verify_memory (...)\n", this->beneath ()->shortname ());
3481 result = this->beneath ()->verify_memory (arg0, arg1, arg2);
3482 fprintf_unfiltered (gdb_stdlog, "<- %s->verify_memory (", this->beneath ()->shortname ());
3483 target_debug_print_const_gdb_byte_p (arg0);
3484 fputs_unfiltered (", ", gdb_stdlog);
3485 target_debug_print_CORE_ADDR (arg1);
3486 fputs_unfiltered (", ", gdb_stdlog);
3487 target_debug_print_ULONGEST (arg2);
3488 fputs_unfiltered (") = ", gdb_stdlog);
3489 target_debug_print_int (result);
3490 fputs_unfiltered ("\n", gdb_stdlog);
3491 return result;
3494 bool
3495 target_ops::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3497 return this->beneath ()->get_tib_address (arg0, arg1);
3500 bool
3501 dummy_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3503 tcomplain ();
3506 bool
3507 debug_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3509 bool result;
3510 fprintf_unfiltered (gdb_stdlog, "-> %s->get_tib_address (...)\n", this->beneath ()->shortname ());
3511 result = this->beneath ()->get_tib_address (arg0, arg1);
3512 fprintf_unfiltered (gdb_stdlog, "<- %s->get_tib_address (", this->beneath ()->shortname ());
3513 target_debug_print_ptid_t (arg0);
3514 fputs_unfiltered (", ", gdb_stdlog);
3515 target_debug_print_CORE_ADDR_p (arg1);
3516 fputs_unfiltered (") = ", gdb_stdlog);
3517 target_debug_print_bool (result);
3518 fputs_unfiltered ("\n", gdb_stdlog);
3519 return result;
3522 void
3523 target_ops::set_permissions ()
3525 this->beneath ()->set_permissions ();
3528 void
3529 dummy_target::set_permissions ()
3533 void
3534 debug_target::set_permissions ()
3536 fprintf_unfiltered (gdb_stdlog, "-> %s->set_permissions (...)\n", this->beneath ()->shortname ());
3537 this->beneath ()->set_permissions ();
3538 fprintf_unfiltered (gdb_stdlog, "<- %s->set_permissions (", this->beneath ()->shortname ());
3539 fputs_unfiltered (")\n", gdb_stdlog);
3542 bool
3543 target_ops::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
3545 return this->beneath ()->static_tracepoint_marker_at (arg0, arg1);
3548 bool
3549 dummy_target::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
3551 return false;
3554 bool
3555 debug_target::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
3557 bool result;
3558 fprintf_unfiltered (gdb_stdlog, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath ()->shortname ());
3559 result = this->beneath ()->static_tracepoint_marker_at (arg0, arg1);
3560 fprintf_unfiltered (gdb_stdlog, "<- %s->static_tracepoint_marker_at (", this->beneath ()->shortname ());
3561 target_debug_print_CORE_ADDR (arg0);
3562 fputs_unfiltered (", ", gdb_stdlog);
3563 target_debug_print_static_tracepoint_marker_p (arg1);
3564 fputs_unfiltered (") = ", gdb_stdlog);
3565 target_debug_print_bool (result);
3566 fputs_unfiltered ("\n", gdb_stdlog);
3567 return result;
3570 std::vector<static_tracepoint_marker>
3571 target_ops::static_tracepoint_markers_by_strid (const char *arg0)
3573 return this->beneath ()->static_tracepoint_markers_by_strid (arg0);
3576 std::vector<static_tracepoint_marker>
3577 dummy_target::static_tracepoint_markers_by_strid (const char *arg0)
3579 tcomplain ();
3582 std::vector<static_tracepoint_marker>
3583 debug_target::static_tracepoint_markers_by_strid (const char *arg0)
3585 std::vector<static_tracepoint_marker> result;
3586 fprintf_unfiltered (gdb_stdlog, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath ()->shortname ());
3587 result = this->beneath ()->static_tracepoint_markers_by_strid (arg0);
3588 fprintf_unfiltered (gdb_stdlog, "<- %s->static_tracepoint_markers_by_strid (", this->beneath ()->shortname ());
3589 target_debug_print_const_char_p (arg0);
3590 fputs_unfiltered (") = ", gdb_stdlog);
3591 target_debug_print_std_vector_static_tracepoint_marker (result);
3592 fputs_unfiltered ("\n", gdb_stdlog);
3593 return result;
3596 traceframe_info_up
3597 target_ops::traceframe_info ()
3599 return this->beneath ()->traceframe_info ();
3602 traceframe_info_up
3603 dummy_target::traceframe_info ()
3605 tcomplain ();
3608 traceframe_info_up
3609 debug_target::traceframe_info ()
3611 traceframe_info_up result;
3612 fprintf_unfiltered (gdb_stdlog, "-> %s->traceframe_info (...)\n", this->beneath ()->shortname ());
3613 result = this->beneath ()->traceframe_info ();
3614 fprintf_unfiltered (gdb_stdlog, "<- %s->traceframe_info (", this->beneath ()->shortname ());
3615 fputs_unfiltered (") = ", gdb_stdlog);
3616 target_debug_print_traceframe_info_up (result);
3617 fputs_unfiltered ("\n", gdb_stdlog);
3618 return result;
3621 bool
3622 target_ops::use_agent (bool arg0)
3624 return this->beneath ()->use_agent (arg0);
3627 bool
3628 dummy_target::use_agent (bool arg0)
3630 tcomplain ();
3633 bool
3634 debug_target::use_agent (bool arg0)
3636 bool result;
3637 fprintf_unfiltered (gdb_stdlog, "-> %s->use_agent (...)\n", this->beneath ()->shortname ());
3638 result = this->beneath ()->use_agent (arg0);
3639 fprintf_unfiltered (gdb_stdlog, "<- %s->use_agent (", this->beneath ()->shortname ());
3640 target_debug_print_bool (arg0);
3641 fputs_unfiltered (") = ", gdb_stdlog);
3642 target_debug_print_bool (result);
3643 fputs_unfiltered ("\n", gdb_stdlog);
3644 return result;
3647 bool
3648 target_ops::can_use_agent ()
3650 return this->beneath ()->can_use_agent ();
3653 bool
3654 dummy_target::can_use_agent ()
3656 return false;
3659 bool
3660 debug_target::can_use_agent ()
3662 bool result;
3663 fprintf_unfiltered (gdb_stdlog, "-> %s->can_use_agent (...)\n", this->beneath ()->shortname ());
3664 result = this->beneath ()->can_use_agent ();
3665 fprintf_unfiltered (gdb_stdlog, "<- %s->can_use_agent (", this->beneath ()->shortname ());
3666 fputs_unfiltered (") = ", gdb_stdlog);
3667 target_debug_print_bool (result);
3668 fputs_unfiltered ("\n", gdb_stdlog);
3669 return result;
3672 struct btrace_target_info *
3673 target_ops::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
3675 return this->beneath ()->enable_btrace (arg0, arg1);
3678 struct btrace_target_info *
3679 dummy_target::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
3681 tcomplain ();
3684 struct btrace_target_info *
3685 debug_target::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
3687 struct btrace_target_info * result;
3688 fprintf_unfiltered (gdb_stdlog, "-> %s->enable_btrace (...)\n", this->beneath ()->shortname ());
3689 result = this->beneath ()->enable_btrace (arg0, arg1);
3690 fprintf_unfiltered (gdb_stdlog, "<- %s->enable_btrace (", this->beneath ()->shortname ());
3691 target_debug_print_ptid_t (arg0);
3692 fputs_unfiltered (", ", gdb_stdlog);
3693 target_debug_print_const_struct_btrace_config_p (arg1);
3694 fputs_unfiltered (") = ", gdb_stdlog);
3695 target_debug_print_struct_btrace_target_info_p (result);
3696 fputs_unfiltered ("\n", gdb_stdlog);
3697 return result;
3700 void
3701 target_ops::disable_btrace (struct btrace_target_info *arg0)
3703 this->beneath ()->disable_btrace (arg0);
3706 void
3707 dummy_target::disable_btrace (struct btrace_target_info *arg0)
3709 tcomplain ();
3712 void
3713 debug_target::disable_btrace (struct btrace_target_info *arg0)
3715 fprintf_unfiltered (gdb_stdlog, "-> %s->disable_btrace (...)\n", this->beneath ()->shortname ());
3716 this->beneath ()->disable_btrace (arg0);
3717 fprintf_unfiltered (gdb_stdlog, "<- %s->disable_btrace (", this->beneath ()->shortname ());
3718 target_debug_print_struct_btrace_target_info_p (arg0);
3719 fputs_unfiltered (")\n", gdb_stdlog);
3722 void
3723 target_ops::teardown_btrace (struct btrace_target_info *arg0)
3725 this->beneath ()->teardown_btrace (arg0);
3728 void
3729 dummy_target::teardown_btrace (struct btrace_target_info *arg0)
3731 tcomplain ();
3734 void
3735 debug_target::teardown_btrace (struct btrace_target_info *arg0)
3737 fprintf_unfiltered (gdb_stdlog, "-> %s->teardown_btrace (...)\n", this->beneath ()->shortname ());
3738 this->beneath ()->teardown_btrace (arg0);
3739 fprintf_unfiltered (gdb_stdlog, "<- %s->teardown_btrace (", this->beneath ()->shortname ());
3740 target_debug_print_struct_btrace_target_info_p (arg0);
3741 fputs_unfiltered (")\n", gdb_stdlog);
3744 enum btrace_error
3745 target_ops::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3747 return this->beneath ()->read_btrace (arg0, arg1, arg2);
3750 enum btrace_error
3751 dummy_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3753 tcomplain ();
3756 enum btrace_error
3757 debug_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3759 enum btrace_error result;
3760 fprintf_unfiltered (gdb_stdlog, "-> %s->read_btrace (...)\n", this->beneath ()->shortname ());
3761 result = this->beneath ()->read_btrace (arg0, arg1, arg2);
3762 fprintf_unfiltered (gdb_stdlog, "<- %s->read_btrace (", this->beneath ()->shortname ());
3763 target_debug_print_struct_btrace_data_p (arg0);
3764 fputs_unfiltered (", ", gdb_stdlog);
3765 target_debug_print_struct_btrace_target_info_p (arg1);
3766 fputs_unfiltered (", ", gdb_stdlog);
3767 target_debug_print_enum_btrace_read_type (arg2);
3768 fputs_unfiltered (") = ", gdb_stdlog);
3769 target_debug_print_enum_btrace_error (result);
3770 fputs_unfiltered ("\n", gdb_stdlog);
3771 return result;
3774 const struct btrace_config *
3775 target_ops::btrace_conf (const struct btrace_target_info *arg0)
3777 return this->beneath ()->btrace_conf (arg0);
3780 const struct btrace_config *
3781 dummy_target::btrace_conf (const struct btrace_target_info *arg0)
3783 return NULL;
3786 const struct btrace_config *
3787 debug_target::btrace_conf (const struct btrace_target_info *arg0)
3789 const struct btrace_config * result;
3790 fprintf_unfiltered (gdb_stdlog, "-> %s->btrace_conf (...)\n", this->beneath ()->shortname ());
3791 result = this->beneath ()->btrace_conf (arg0);
3792 fprintf_unfiltered (gdb_stdlog, "<- %s->btrace_conf (", this->beneath ()->shortname ());
3793 target_debug_print_const_struct_btrace_target_info_p (arg0);
3794 fputs_unfiltered (") = ", gdb_stdlog);
3795 target_debug_print_const_struct_btrace_config_p (result);
3796 fputs_unfiltered ("\n", gdb_stdlog);
3797 return result;
3800 enum record_method
3801 target_ops::record_method (ptid_t arg0)
3803 return this->beneath ()->record_method (arg0);
3806 enum record_method
3807 dummy_target::record_method (ptid_t arg0)
3809 return RECORD_METHOD_NONE;
3812 enum record_method
3813 debug_target::record_method (ptid_t arg0)
3815 enum record_method result;
3816 fprintf_unfiltered (gdb_stdlog, "-> %s->record_method (...)\n", this->beneath ()->shortname ());
3817 result = this->beneath ()->record_method (arg0);
3818 fprintf_unfiltered (gdb_stdlog, "<- %s->record_method (", this->beneath ()->shortname ());
3819 target_debug_print_ptid_t (arg0);
3820 fputs_unfiltered (") = ", gdb_stdlog);
3821 target_debug_print_enum_record_method (result);
3822 fputs_unfiltered ("\n", gdb_stdlog);
3823 return result;
3826 void
3827 target_ops::stop_recording ()
3829 this->beneath ()->stop_recording ();
3832 void
3833 dummy_target::stop_recording ()
3837 void
3838 debug_target::stop_recording ()
3840 fprintf_unfiltered (gdb_stdlog, "-> %s->stop_recording (...)\n", this->beneath ()->shortname ());
3841 this->beneath ()->stop_recording ();
3842 fprintf_unfiltered (gdb_stdlog, "<- %s->stop_recording (", this->beneath ()->shortname ());
3843 fputs_unfiltered (")\n", gdb_stdlog);
3846 void
3847 target_ops::info_record ()
3849 this->beneath ()->info_record ();
3852 void
3853 dummy_target::info_record ()
3857 void
3858 debug_target::info_record ()
3860 fprintf_unfiltered (gdb_stdlog, "-> %s->info_record (...)\n", this->beneath ()->shortname ());
3861 this->beneath ()->info_record ();
3862 fprintf_unfiltered (gdb_stdlog, "<- %s->info_record (", this->beneath ()->shortname ());
3863 fputs_unfiltered (")\n", gdb_stdlog);
3866 void
3867 target_ops::save_record (const char *arg0)
3869 this->beneath ()->save_record (arg0);
3872 void
3873 dummy_target::save_record (const char *arg0)
3875 tcomplain ();
3878 void
3879 debug_target::save_record (const char *arg0)
3881 fprintf_unfiltered (gdb_stdlog, "-> %s->save_record (...)\n", this->beneath ()->shortname ());
3882 this->beneath ()->save_record (arg0);
3883 fprintf_unfiltered (gdb_stdlog, "<- %s->save_record (", this->beneath ()->shortname ());
3884 target_debug_print_const_char_p (arg0);
3885 fputs_unfiltered (")\n", gdb_stdlog);
3888 bool
3889 target_ops::supports_delete_record ()
3891 return this->beneath ()->supports_delete_record ();
3894 bool
3895 dummy_target::supports_delete_record ()
3897 return false;
3900 bool
3901 debug_target::supports_delete_record ()
3903 bool result;
3904 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_delete_record (...)\n", this->beneath ()->shortname ());
3905 result = this->beneath ()->supports_delete_record ();
3906 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_delete_record (", this->beneath ()->shortname ());
3907 fputs_unfiltered (") = ", gdb_stdlog);
3908 target_debug_print_bool (result);
3909 fputs_unfiltered ("\n", gdb_stdlog);
3910 return result;
3913 void
3914 target_ops::delete_record ()
3916 this->beneath ()->delete_record ();
3919 void
3920 dummy_target::delete_record ()
3922 tcomplain ();
3925 void
3926 debug_target::delete_record ()
3928 fprintf_unfiltered (gdb_stdlog, "-> %s->delete_record (...)\n", this->beneath ()->shortname ());
3929 this->beneath ()->delete_record ();
3930 fprintf_unfiltered (gdb_stdlog, "<- %s->delete_record (", this->beneath ()->shortname ());
3931 fputs_unfiltered (")\n", gdb_stdlog);
3934 bool
3935 target_ops::record_is_replaying (ptid_t arg0)
3937 return this->beneath ()->record_is_replaying (arg0);
3940 bool
3941 dummy_target::record_is_replaying (ptid_t arg0)
3943 return false;
3946 bool
3947 debug_target::record_is_replaying (ptid_t arg0)
3949 bool result;
3950 fprintf_unfiltered (gdb_stdlog, "-> %s->record_is_replaying (...)\n", this->beneath ()->shortname ());
3951 result = this->beneath ()->record_is_replaying (arg0);
3952 fprintf_unfiltered (gdb_stdlog, "<- %s->record_is_replaying (", this->beneath ()->shortname ());
3953 target_debug_print_ptid_t (arg0);
3954 fputs_unfiltered (") = ", gdb_stdlog);
3955 target_debug_print_bool (result);
3956 fputs_unfiltered ("\n", gdb_stdlog);
3957 return result;
3960 bool
3961 target_ops::record_will_replay (ptid_t arg0, int arg1)
3963 return this->beneath ()->record_will_replay (arg0, arg1);
3966 bool
3967 dummy_target::record_will_replay (ptid_t arg0, int arg1)
3969 return false;
3972 bool
3973 debug_target::record_will_replay (ptid_t arg0, int arg1)
3975 bool result;
3976 fprintf_unfiltered (gdb_stdlog, "-> %s->record_will_replay (...)\n", this->beneath ()->shortname ());
3977 result = this->beneath ()->record_will_replay (arg0, arg1);
3978 fprintf_unfiltered (gdb_stdlog, "<- %s->record_will_replay (", this->beneath ()->shortname ());
3979 target_debug_print_ptid_t (arg0);
3980 fputs_unfiltered (", ", gdb_stdlog);
3981 target_debug_print_int (arg1);
3982 fputs_unfiltered (") = ", gdb_stdlog);
3983 target_debug_print_bool (result);
3984 fputs_unfiltered ("\n", gdb_stdlog);
3985 return result;
3988 void
3989 target_ops::record_stop_replaying ()
3991 this->beneath ()->record_stop_replaying ();
3994 void
3995 dummy_target::record_stop_replaying ()
3999 void
4000 debug_target::record_stop_replaying ()
4002 fprintf_unfiltered (gdb_stdlog, "-> %s->record_stop_replaying (...)\n", this->beneath ()->shortname ());
4003 this->beneath ()->record_stop_replaying ();
4004 fprintf_unfiltered (gdb_stdlog, "<- %s->record_stop_replaying (", this->beneath ()->shortname ());
4005 fputs_unfiltered (")\n", gdb_stdlog);
4008 void
4009 target_ops::goto_record_begin ()
4011 this->beneath ()->goto_record_begin ();
4014 void
4015 dummy_target::goto_record_begin ()
4017 tcomplain ();
4020 void
4021 debug_target::goto_record_begin ()
4023 fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record_begin (...)\n", this->beneath ()->shortname ());
4024 this->beneath ()->goto_record_begin ();
4025 fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record_begin (", this->beneath ()->shortname ());
4026 fputs_unfiltered (")\n", gdb_stdlog);
4029 void
4030 target_ops::goto_record_end ()
4032 this->beneath ()->goto_record_end ();
4035 void
4036 dummy_target::goto_record_end ()
4038 tcomplain ();
4041 void
4042 debug_target::goto_record_end ()
4044 fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record_end (...)\n", this->beneath ()->shortname ());
4045 this->beneath ()->goto_record_end ();
4046 fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record_end (", this->beneath ()->shortname ());
4047 fputs_unfiltered (")\n", gdb_stdlog);
4050 void
4051 target_ops::goto_record (ULONGEST arg0)
4053 this->beneath ()->goto_record (arg0);
4056 void
4057 dummy_target::goto_record (ULONGEST arg0)
4059 tcomplain ();
4062 void
4063 debug_target::goto_record (ULONGEST arg0)
4065 fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record (...)\n", this->beneath ()->shortname ());
4066 this->beneath ()->goto_record (arg0);
4067 fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record (", this->beneath ()->shortname ());
4068 target_debug_print_ULONGEST (arg0);
4069 fputs_unfiltered (")\n", gdb_stdlog);
4072 void
4073 target_ops::insn_history (int arg0, gdb_disassembly_flags arg1)
4075 this->beneath ()->insn_history (arg0, arg1);
4078 void
4079 dummy_target::insn_history (int arg0, gdb_disassembly_flags arg1)
4081 tcomplain ();
4084 void
4085 debug_target::insn_history (int arg0, gdb_disassembly_flags arg1)
4087 fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history (...)\n", this->beneath ()->shortname ());
4088 this->beneath ()->insn_history (arg0, arg1);
4089 fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history (", this->beneath ()->shortname ());
4090 target_debug_print_int (arg0);
4091 fputs_unfiltered (", ", gdb_stdlog);
4092 target_debug_print_gdb_disassembly_flags (arg1);
4093 fputs_unfiltered (")\n", gdb_stdlog);
4096 void
4097 target_ops::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4099 this->beneath ()->insn_history_from (arg0, arg1, arg2);
4102 void
4103 dummy_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4105 tcomplain ();
4108 void
4109 debug_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4111 fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history_from (...)\n", this->beneath ()->shortname ());
4112 this->beneath ()->insn_history_from (arg0, arg1, arg2);
4113 fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history_from (", this->beneath ()->shortname ());
4114 target_debug_print_ULONGEST (arg0);
4115 fputs_unfiltered (", ", gdb_stdlog);
4116 target_debug_print_int (arg1);
4117 fputs_unfiltered (", ", gdb_stdlog);
4118 target_debug_print_gdb_disassembly_flags (arg2);
4119 fputs_unfiltered (")\n", gdb_stdlog);
4122 void
4123 target_ops::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4125 this->beneath ()->insn_history_range (arg0, arg1, arg2);
4128 void
4129 dummy_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4131 tcomplain ();
4134 void
4135 debug_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4137 fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history_range (...)\n", this->beneath ()->shortname ());
4138 this->beneath ()->insn_history_range (arg0, arg1, arg2);
4139 fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history_range (", this->beneath ()->shortname ());
4140 target_debug_print_ULONGEST (arg0);
4141 fputs_unfiltered (", ", gdb_stdlog);
4142 target_debug_print_ULONGEST (arg1);
4143 fputs_unfiltered (", ", gdb_stdlog);
4144 target_debug_print_gdb_disassembly_flags (arg2);
4145 fputs_unfiltered (")\n", gdb_stdlog);
4148 void
4149 target_ops::call_history (int arg0, record_print_flags arg1)
4151 this->beneath ()->call_history (arg0, arg1);
4154 void
4155 dummy_target::call_history (int arg0, record_print_flags arg1)
4157 tcomplain ();
4160 void
4161 debug_target::call_history (int arg0, record_print_flags arg1)
4163 fprintf_unfiltered (gdb_stdlog, "-> %s->call_history (...)\n", this->beneath ()->shortname ());
4164 this->beneath ()->call_history (arg0, arg1);
4165 fprintf_unfiltered (gdb_stdlog, "<- %s->call_history (", this->beneath ()->shortname ());
4166 target_debug_print_int (arg0);
4167 fputs_unfiltered (", ", gdb_stdlog);
4168 target_debug_print_record_print_flags (arg1);
4169 fputs_unfiltered (")\n", gdb_stdlog);
4172 void
4173 target_ops::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4175 this->beneath ()->call_history_from (arg0, arg1, arg2);
4178 void
4179 dummy_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4181 tcomplain ();
4184 void
4185 debug_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4187 fprintf_unfiltered (gdb_stdlog, "-> %s->call_history_from (...)\n", this->beneath ()->shortname ());
4188 this->beneath ()->call_history_from (arg0, arg1, arg2);
4189 fprintf_unfiltered (gdb_stdlog, "<- %s->call_history_from (", this->beneath ()->shortname ());
4190 target_debug_print_ULONGEST (arg0);
4191 fputs_unfiltered (", ", gdb_stdlog);
4192 target_debug_print_int (arg1);
4193 fputs_unfiltered (", ", gdb_stdlog);
4194 target_debug_print_record_print_flags (arg2);
4195 fputs_unfiltered (")\n", gdb_stdlog);
4198 void
4199 target_ops::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4201 this->beneath ()->call_history_range (arg0, arg1, arg2);
4204 void
4205 dummy_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4207 tcomplain ();
4210 void
4211 debug_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4213 fprintf_unfiltered (gdb_stdlog, "-> %s->call_history_range (...)\n", this->beneath ()->shortname ());
4214 this->beneath ()->call_history_range (arg0, arg1, arg2);
4215 fprintf_unfiltered (gdb_stdlog, "<- %s->call_history_range (", this->beneath ()->shortname ());
4216 target_debug_print_ULONGEST (arg0);
4217 fputs_unfiltered (", ", gdb_stdlog);
4218 target_debug_print_ULONGEST (arg1);
4219 fputs_unfiltered (", ", gdb_stdlog);
4220 target_debug_print_record_print_flags (arg2);
4221 fputs_unfiltered (")\n", gdb_stdlog);
4224 bool
4225 target_ops::augmented_libraries_svr4_read ()
4227 return this->beneath ()->augmented_libraries_svr4_read ();
4230 bool
4231 dummy_target::augmented_libraries_svr4_read ()
4233 return false;
4236 bool
4237 debug_target::augmented_libraries_svr4_read ()
4239 bool result;
4240 fprintf_unfiltered (gdb_stdlog, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath ()->shortname ());
4241 result = this->beneath ()->augmented_libraries_svr4_read ();
4242 fprintf_unfiltered (gdb_stdlog, "<- %s->augmented_libraries_svr4_read (", this->beneath ()->shortname ());
4243 fputs_unfiltered (") = ", gdb_stdlog);
4244 target_debug_print_bool (result);
4245 fputs_unfiltered ("\n", gdb_stdlog);
4246 return result;
4249 const struct frame_unwind *
4250 target_ops::get_unwinder ()
4252 return this->beneath ()->get_unwinder ();
4255 const struct frame_unwind *
4256 dummy_target::get_unwinder ()
4258 return NULL;
4261 const struct frame_unwind *
4262 debug_target::get_unwinder ()
4264 const struct frame_unwind * result;
4265 fprintf_unfiltered (gdb_stdlog, "-> %s->get_unwinder (...)\n", this->beneath ()->shortname ());
4266 result = this->beneath ()->get_unwinder ();
4267 fprintf_unfiltered (gdb_stdlog, "<- %s->get_unwinder (", this->beneath ()->shortname ());
4268 fputs_unfiltered (") = ", gdb_stdlog);
4269 target_debug_print_const_struct_frame_unwind_p (result);
4270 fputs_unfiltered ("\n", gdb_stdlog);
4271 return result;
4274 const struct frame_unwind *
4275 target_ops::get_tailcall_unwinder ()
4277 return this->beneath ()->get_tailcall_unwinder ();
4280 const struct frame_unwind *
4281 dummy_target::get_tailcall_unwinder ()
4283 return NULL;
4286 const struct frame_unwind *
4287 debug_target::get_tailcall_unwinder ()
4289 const struct frame_unwind * result;
4290 fprintf_unfiltered (gdb_stdlog, "-> %s->get_tailcall_unwinder (...)\n", this->beneath ()->shortname ());
4291 result = this->beneath ()->get_tailcall_unwinder ();
4292 fprintf_unfiltered (gdb_stdlog, "<- %s->get_tailcall_unwinder (", this->beneath ()->shortname ());
4293 fputs_unfiltered (") = ", gdb_stdlog);
4294 target_debug_print_const_struct_frame_unwind_p (result);
4295 fputs_unfiltered ("\n", gdb_stdlog);
4296 return result;
4299 void
4300 target_ops::prepare_to_generate_core ()
4302 this->beneath ()->prepare_to_generate_core ();
4305 void
4306 dummy_target::prepare_to_generate_core ()
4310 void
4311 debug_target::prepare_to_generate_core ()
4313 fprintf_unfiltered (gdb_stdlog, "-> %s->prepare_to_generate_core (...)\n", this->beneath ()->shortname ());
4314 this->beneath ()->prepare_to_generate_core ();
4315 fprintf_unfiltered (gdb_stdlog, "<- %s->prepare_to_generate_core (", this->beneath ()->shortname ());
4316 fputs_unfiltered (")\n", gdb_stdlog);
4319 void
4320 target_ops::done_generating_core ()
4322 this->beneath ()->done_generating_core ();
4325 void
4326 dummy_target::done_generating_core ()
4330 void
4331 debug_target::done_generating_core ()
4333 fprintf_unfiltered (gdb_stdlog, "-> %s->done_generating_core (...)\n", this->beneath ()->shortname ());
4334 this->beneath ()->done_generating_core ();
4335 fprintf_unfiltered (gdb_stdlog, "<- %s->done_generating_core (", this->beneath ()->shortname ());
4336 fputs_unfiltered (")\n", gdb_stdlog);