Ravenscar port for RISC-V
[deliverable/binutils-gdb.git] / gdb / target-delegates.c
... / ...
CommitLineData
1/* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */
2/* vi:set ro: */
3
4/* To regenerate this file, run:*/
5/* make-target-delegates target.h > target-delegates.c */
6
7struct dummy_target : public target_ops
8{
9 const target_info &info () const override;
10
11 strata stratum () const override;
12
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, const 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;
173};
174
175struct debug_target : public target_ops
176{
177 const target_info &info () const override;
178
179 strata stratum () const override;
180
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, const 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;
341};
342
343void
344target_ops::post_attach (int arg0)
345{
346 this->beneath ()->post_attach (arg0);
347}
348
349void
350dummy_target::post_attach (int arg0)
351{
352}
353
354void
355debug_target::post_attach (int arg0)
356{
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);
362}
363
364void
365target_ops::detach (inferior *arg0, int arg1)
366{
367 this->beneath ()->detach (arg0, arg1);
368}
369
370void
371dummy_target::detach (inferior *arg0, int arg1)
372{
373}
374
375void
376debug_target::detach (inferior *arg0, int arg1)
377{
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);
385}
386
387void
388target_ops::disconnect (const char *arg0, int arg1)
389{
390 this->beneath ()->disconnect (arg0, arg1);
391}
392
393void
394dummy_target::disconnect (const char *arg0, int arg1)
395{
396 tcomplain ();
397}
398
399void
400debug_target::disconnect (const char *arg0, int arg1)
401{
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);
409}
410
411void
412target_ops::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
413{
414 this->beneath ()->resume (arg0, arg1, arg2);
415}
416
417void
418dummy_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
419{
420 noprocess ();
421}
422
423void
424debug_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
425{
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);
435}
436
437void
438target_ops::commit_resume ()
439{
440 this->beneath ()->commit_resume ();
441}
442
443void
444dummy_target::commit_resume ()
445{
446}
447
448void
449debug_target::commit_resume ()
450{
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);
455}
456
457ptid_t
458target_ops::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2)
459{
460 return this->beneath ()->wait (arg0, arg1, arg2);
461}
462
463ptid_t
464dummy_target::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2)
465{
466 return default_target_wait (this, arg0, arg1, arg2);
467}
468
469ptid_t
470debug_target::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2)
471{
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;
485}
486
487void
488target_ops::fetch_registers (struct regcache *arg0, int arg1)
489{
490 this->beneath ()->fetch_registers (arg0, arg1);
491}
492
493void
494dummy_target::fetch_registers (struct regcache *arg0, int arg1)
495{
496}
497
498void
499debug_target::fetch_registers (struct regcache *arg0, int arg1)
500{
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);
508}
509
510void
511target_ops::store_registers (struct regcache *arg0, int arg1)
512{
513 this->beneath ()->store_registers (arg0, arg1);
514}
515
516void
517dummy_target::store_registers (struct regcache *arg0, int arg1)
518{
519 noprocess ();
520}
521
522void
523debug_target::store_registers (struct regcache *arg0, int arg1)
524{
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);
532}
533
534void
535target_ops::prepare_to_store (struct regcache *arg0)
536{
537 this->beneath ()->prepare_to_store (arg0);
538}
539
540void
541dummy_target::prepare_to_store (struct regcache *arg0)
542{
543 noprocess ();
544}
545
546void
547debug_target::prepare_to_store (struct regcache *arg0)
548{
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);
554}
555
556void
557target_ops::files_info ()
558{
559 this->beneath ()->files_info ();
560}
561
562void
563dummy_target::files_info ()
564{
565}
566
567void
568debug_target::files_info ()
569{
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);
574}
575
576int
577target_ops::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
578{
579 return this->beneath ()->insert_breakpoint (arg0, arg1);
580}
581
582int
583dummy_target::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
584{
585 noprocess ();
586}
587
588int
589debug_target::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
590{
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;
602}
603
604int
605target_ops::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2)
606{
607 return this->beneath ()->remove_breakpoint (arg0, arg1, arg2);
608}
609
610int
611dummy_target::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2)
612{
613 noprocess ();
614}
615
616int
617debug_target::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2)
618{
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;
632}
633
634bool
635target_ops::stopped_by_sw_breakpoint ()
636{
637 return this->beneath ()->stopped_by_sw_breakpoint ();
638}
639
640bool
641dummy_target::stopped_by_sw_breakpoint ()
642{
643 return false;
644}
645
646bool
647debug_target::stopped_by_sw_breakpoint ()
648{
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;
657}
658
659bool
660target_ops::supports_stopped_by_sw_breakpoint ()
661{
662 return this->beneath ()->supports_stopped_by_sw_breakpoint ();
663}
664
665bool
666dummy_target::supports_stopped_by_sw_breakpoint ()
667{
668 return false;
669}
670
671bool
672debug_target::supports_stopped_by_sw_breakpoint ()
673{
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;
682}
683
684bool
685target_ops::stopped_by_hw_breakpoint ()
686{
687 return this->beneath ()->stopped_by_hw_breakpoint ();
688}
689
690bool
691dummy_target::stopped_by_hw_breakpoint ()
692{
693 return false;
694}
695
696bool
697debug_target::stopped_by_hw_breakpoint ()
698{
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;
707}
708
709bool
710target_ops::supports_stopped_by_hw_breakpoint ()
711{
712 return this->beneath ()->supports_stopped_by_hw_breakpoint ();
713}
714
715bool
716dummy_target::supports_stopped_by_hw_breakpoint ()
717{
718 return false;
719}
720
721bool
722debug_target::supports_stopped_by_hw_breakpoint ()
723{
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;
732}
733
734int
735target_ops::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
736{
737 return this->beneath ()->can_use_hw_breakpoint (arg0, arg1, arg2);
738}
739
740int
741dummy_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
742{
743 return 0;
744}
745
746int
747debug_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
748{
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;
762}
763
764int
765target_ops::ranged_break_num_registers ()
766{
767 return this->beneath ()->ranged_break_num_registers ();
768}
769
770int
771dummy_target::ranged_break_num_registers ()
772{
773 return -1;
774}
775
776int
777debug_target::ranged_break_num_registers ()
778{
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;
787}
788
789int
790target_ops::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
791{
792 return this->beneath ()->insert_hw_breakpoint (arg0, arg1);
793}
794
795int
796dummy_target::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
797{
798 return -1;
799}
800
801int
802debug_target::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
803{
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;
815}
816
817int
818target_ops::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
819{
820 return this->beneath ()->remove_hw_breakpoint (arg0, arg1);
821}
822
823int
824dummy_target::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
825{
826 return -1;
827}
828
829int
830debug_target::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
831{
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;
843}
844
845int
846target_ops::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
847{
848 return this->beneath ()->remove_watchpoint (arg0, arg1, arg2, arg3);
849}
850
851int
852dummy_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
853{
854 return -1;
855}
856
857int
858debug_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
859{
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;
875}
876
877int
878target_ops::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
879{
880 return this->beneath ()->insert_watchpoint (arg0, arg1, arg2, arg3);
881}
882
883int
884dummy_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
885{
886 return -1;
887}
888
889int
890debug_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
891{
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;
907}
908
909int
910target_ops::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
911{
912 return this->beneath ()->insert_mask_watchpoint (arg0, arg1, arg2);
913}
914
915int
916dummy_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
917{
918 return 1;
919}
920
921int
922debug_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
923{
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;
937}
938
939int
940target_ops::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
941{
942 return this->beneath ()->remove_mask_watchpoint (arg0, arg1, arg2);
943}
944
945int
946dummy_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
947{
948 return 1;
949}
950
951int
952debug_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
953{
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;
967}
968
969bool
970target_ops::stopped_by_watchpoint ()
971{
972 return this->beneath ()->stopped_by_watchpoint ();
973}
974
975bool
976dummy_target::stopped_by_watchpoint ()
977{
978 return false;
979}
980
981bool
982debug_target::stopped_by_watchpoint ()
983{
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;
992}
993
994bool
995target_ops::have_steppable_watchpoint ()
996{
997 return this->beneath ()->have_steppable_watchpoint ();
998}
999
1000bool
1001dummy_target::have_steppable_watchpoint ()
1002{
1003 return false;
1004}
1005
1006bool
1007debug_target::have_steppable_watchpoint ()
1008{
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;
1017}
1018
1019bool
1020target_ops::stopped_data_address (CORE_ADDR *arg0)
1021{
1022 return this->beneath ()->stopped_data_address (arg0);
1023}
1024
1025bool
1026dummy_target::stopped_data_address (CORE_ADDR *arg0)
1027{
1028 return false;
1029}
1030
1031bool
1032debug_target::stopped_data_address (CORE_ADDR *arg0)
1033{
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;
1043}
1044
1045bool
1046target_ops::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1047{
1048 return this->beneath ()->watchpoint_addr_within_range (arg0, arg1, arg2);
1049}
1050
1051bool
1052dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1053{
1054 return default_watchpoint_addr_within_range (this, arg0, arg1, arg2);
1055}
1056
1057bool
1058debug_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1059{
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;
1073}
1074
1075int
1076target_ops::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1)
1077{
1078 return this->beneath ()->region_ok_for_hw_watchpoint (arg0, arg1);
1079}
1080
1081int
1082dummy_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1)
1083{
1084 return default_region_ok_for_hw_watchpoint (this, arg0, arg1);
1085}
1086
1087int
1088debug_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1)
1089{
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;
1101}
1102
1103bool
1104target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1105{
1106 return this->beneath ()->can_accel_watchpoint_condition (arg0, arg1, arg2, arg3);
1107}
1108
1109bool
1110dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1111{
1112 return false;
1113}
1114
1115bool
1116debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1117{
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;
1133}
1134
1135int
1136target_ops::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1137{
1138 return this->beneath ()->masked_watch_num_registers (arg0, arg1);
1139}
1140
1141int
1142dummy_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1143{
1144 return -1;
1145}
1146
1147int
1148debug_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1149{
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;
1161}
1162
1163int
1164target_ops::can_do_single_step ()
1165{
1166 return this->beneath ()->can_do_single_step ();
1167}
1168
1169int
1170dummy_target::can_do_single_step ()
1171{
1172 return -1;
1173}
1174
1175int
1176debug_target::can_do_single_step ()
1177{
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;
1186}
1187
1188bool
1189target_ops::supports_terminal_ours ()
1190{
1191 return this->beneath ()->supports_terminal_ours ();
1192}
1193
1194bool
1195dummy_target::supports_terminal_ours ()
1196{
1197 return false;
1198}
1199
1200bool
1201debug_target::supports_terminal_ours ()
1202{
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;
1211}
1212
1213void
1214target_ops::terminal_init ()
1215{
1216 this->beneath ()->terminal_init ();
1217}
1218
1219void
1220dummy_target::terminal_init ()
1221{
1222}
1223
1224void
1225debug_target::terminal_init ()
1226{
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);
1231}
1232
1233void
1234target_ops::terminal_inferior ()
1235{
1236 this->beneath ()->terminal_inferior ();
1237}
1238
1239void
1240dummy_target::terminal_inferior ()
1241{
1242}
1243
1244void
1245debug_target::terminal_inferior ()
1246{
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);
1251}
1252
1253void
1254target_ops::terminal_save_inferior ()
1255{
1256 this->beneath ()->terminal_save_inferior ();
1257}
1258
1259void
1260dummy_target::terminal_save_inferior ()
1261{
1262}
1263
1264void
1265debug_target::terminal_save_inferior ()
1266{
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);
1271}
1272
1273void
1274target_ops::terminal_ours_for_output ()
1275{
1276 this->beneath ()->terminal_ours_for_output ();
1277}
1278
1279void
1280dummy_target::terminal_ours_for_output ()
1281{
1282}
1283
1284void
1285debug_target::terminal_ours_for_output ()
1286{
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);
1291}
1292
1293void
1294target_ops::terminal_ours ()
1295{
1296 this->beneath ()->terminal_ours ();
1297}
1298
1299void
1300dummy_target::terminal_ours ()
1301{
1302}
1303
1304void
1305debug_target::terminal_ours ()
1306{
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);
1311}
1312
1313void
1314target_ops::terminal_info (const char *arg0, int arg1)
1315{
1316 this->beneath ()->terminal_info (arg0, arg1);
1317}
1318
1319void
1320dummy_target::terminal_info (const char *arg0, int arg1)
1321{
1322 default_terminal_info (this, arg0, arg1);
1323}
1324
1325void
1326debug_target::terminal_info (const char *arg0, int arg1)
1327{
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);
1335}
1336
1337void
1338target_ops::kill ()
1339{
1340 this->beneath ()->kill ();
1341}
1342
1343void
1344dummy_target::kill ()
1345{
1346 noprocess ();
1347}
1348
1349void
1350debug_target::kill ()
1351{
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);
1356}
1357
1358void
1359target_ops::load (const char *arg0, int arg1)
1360{
1361 this->beneath ()->load (arg0, arg1);
1362}
1363
1364void
1365dummy_target::load (const char *arg0, int arg1)
1366{
1367 tcomplain ();
1368}
1369
1370void
1371debug_target::load (const char *arg0, int arg1)
1372{
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);
1380}
1381
1382void
1383target_ops::post_startup_inferior (ptid_t arg0)
1384{
1385 this->beneath ()->post_startup_inferior (arg0);
1386}
1387
1388void
1389dummy_target::post_startup_inferior (ptid_t arg0)
1390{
1391}
1392
1393void
1394debug_target::post_startup_inferior (ptid_t arg0)
1395{
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);
1401}
1402
1403int
1404target_ops::insert_fork_catchpoint (int arg0)
1405{
1406 return this->beneath ()->insert_fork_catchpoint (arg0);
1407}
1408
1409int
1410dummy_target::insert_fork_catchpoint (int arg0)
1411{
1412 return 1;
1413}
1414
1415int
1416debug_target::insert_fork_catchpoint (int arg0)
1417{
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;
1427}
1428
1429int
1430target_ops::remove_fork_catchpoint (int arg0)
1431{
1432 return this->beneath ()->remove_fork_catchpoint (arg0);
1433}
1434
1435int
1436dummy_target::remove_fork_catchpoint (int arg0)
1437{
1438 return 1;
1439}
1440
1441int
1442debug_target::remove_fork_catchpoint (int arg0)
1443{
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;
1453}
1454
1455int
1456target_ops::insert_vfork_catchpoint (int arg0)
1457{
1458 return this->beneath ()->insert_vfork_catchpoint (arg0);
1459}
1460
1461int
1462dummy_target::insert_vfork_catchpoint (int arg0)
1463{
1464 return 1;
1465}
1466
1467int
1468debug_target::insert_vfork_catchpoint (int arg0)
1469{
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;
1479}
1480
1481int
1482target_ops::remove_vfork_catchpoint (int arg0)
1483{
1484 return this->beneath ()->remove_vfork_catchpoint (arg0);
1485}
1486
1487int
1488dummy_target::remove_vfork_catchpoint (int arg0)
1489{
1490 return 1;
1491}
1492
1493int
1494debug_target::remove_vfork_catchpoint (int arg0)
1495{
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;
1505}
1506
1507int
1508target_ops::follow_fork (int arg0, int arg1)
1509{
1510 return this->beneath ()->follow_fork (arg0, arg1);
1511}
1512
1513int
1514dummy_target::follow_fork (int arg0, int arg1)
1515{
1516 return default_follow_fork (this, arg0, arg1);
1517}
1518
1519int
1520debug_target::follow_fork (int arg0, int arg1)
1521{
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;
1533}
1534
1535int
1536target_ops::insert_exec_catchpoint (int arg0)
1537{
1538 return this->beneath ()->insert_exec_catchpoint (arg0);
1539}
1540
1541int
1542dummy_target::insert_exec_catchpoint (int arg0)
1543{
1544 return 1;
1545}
1546
1547int
1548debug_target::insert_exec_catchpoint (int arg0)
1549{
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;
1559}
1560
1561int
1562target_ops::remove_exec_catchpoint (int arg0)
1563{
1564 return this->beneath ()->remove_exec_catchpoint (arg0);
1565}
1566
1567int
1568dummy_target::remove_exec_catchpoint (int arg0)
1569{
1570 return 1;
1571}
1572
1573int
1574debug_target::remove_exec_catchpoint (int arg0)
1575{
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;
1585}
1586
1587void
1588target_ops::follow_exec (struct inferior *arg0, const char *arg1)
1589{
1590 this->beneath ()->follow_exec (arg0, arg1);
1591}
1592
1593void
1594dummy_target::follow_exec (struct inferior *arg0, const char *arg1)
1595{
1596}
1597
1598void
1599debug_target::follow_exec (struct inferior *arg0, const char *arg1)
1600{
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_const_char_p (arg1);
1607 fputs_unfiltered (")\n", gdb_stdlog);
1608}
1609
1610int
1611target_ops::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1612{
1613 return this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3);
1614}
1615
1616int
1617dummy_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1618{
1619 return 1;
1620}
1621
1622int
1623debug_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1624{
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;
1640}
1641
1642void
1643target_ops::mourn_inferior ()
1644{
1645 this->beneath ()->mourn_inferior ();
1646}
1647
1648void
1649dummy_target::mourn_inferior ()
1650{
1651 default_mourn_inferior (this);
1652}
1653
1654void
1655debug_target::mourn_inferior ()
1656{
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);
1661}
1662
1663void
1664target_ops::pass_signals (gdb::array_view<const unsigned char> arg0)
1665{
1666 this->beneath ()->pass_signals (arg0);
1667}
1668
1669void
1670dummy_target::pass_signals (gdb::array_view<const unsigned char> arg0)
1671{
1672}
1673
1674void
1675debug_target::pass_signals (gdb::array_view<const unsigned char> arg0)
1676{
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);
1682}
1683
1684void
1685target_ops::program_signals (gdb::array_view<const unsigned char> arg0)
1686{
1687 this->beneath ()->program_signals (arg0);
1688}
1689
1690void
1691dummy_target::program_signals (gdb::array_view<const unsigned char> arg0)
1692{
1693}
1694
1695void
1696debug_target::program_signals (gdb::array_view<const unsigned char> arg0)
1697{
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);
1703}
1704
1705bool
1706target_ops::thread_alive (ptid_t arg0)
1707{
1708 return this->beneath ()->thread_alive (arg0);
1709}
1710
1711bool
1712dummy_target::thread_alive (ptid_t arg0)
1713{
1714 return false;
1715}
1716
1717bool
1718debug_target::thread_alive (ptid_t arg0)
1719{
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;
1729}
1730
1731void
1732target_ops::update_thread_list ()
1733{
1734 this->beneath ()->update_thread_list ();
1735}
1736
1737void
1738dummy_target::update_thread_list ()
1739{
1740}
1741
1742void
1743debug_target::update_thread_list ()
1744{
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);
1749}
1750
1751std::string
1752target_ops::pid_to_str (ptid_t arg0)
1753{
1754 return this->beneath ()->pid_to_str (arg0);
1755}
1756
1757std::string
1758dummy_target::pid_to_str (ptid_t arg0)
1759{
1760 return default_pid_to_str (this, arg0);
1761}
1762
1763std::string
1764debug_target::pid_to_str (ptid_t arg0)
1765{
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;
1775}
1776
1777const char *
1778target_ops::extra_thread_info (thread_info *arg0)
1779{
1780 return this->beneath ()->extra_thread_info (arg0);
1781}
1782
1783const char *
1784dummy_target::extra_thread_info (thread_info *arg0)
1785{
1786 return NULL;
1787}
1788
1789const char *
1790debug_target::extra_thread_info (thread_info *arg0)
1791{
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;
1801}
1802
1803const char *
1804target_ops::thread_name (thread_info *arg0)
1805{
1806 return this->beneath ()->thread_name (arg0);
1807}
1808
1809const char *
1810dummy_target::thread_name (thread_info *arg0)
1811{
1812 return NULL;
1813}
1814
1815const char *
1816debug_target::thread_name (thread_info *arg0)
1817{
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;
1827}
1828
1829thread_info *
1830target_ops::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1831{
1832 return this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2);
1833}
1834
1835thread_info *
1836dummy_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1837{
1838 return NULL;
1839}
1840
1841thread_info *
1842debug_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1843{
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;
1857}
1858
1859gdb::byte_vector
1860target_ops::thread_info_to_thread_handle (struct thread_info *arg0)
1861{
1862 return this->beneath ()->thread_info_to_thread_handle (arg0);
1863}
1864
1865gdb::byte_vector
1866dummy_target::thread_info_to_thread_handle (struct thread_info *arg0)
1867{
1868 return gdb::byte_vector ();
1869}
1870
1871gdb::byte_vector
1872debug_target::thread_info_to_thread_handle (struct thread_info *arg0)
1873{
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;
1883}
1884
1885void
1886target_ops::stop (ptid_t arg0)
1887{
1888 this->beneath ()->stop (arg0);
1889}
1890
1891void
1892dummy_target::stop (ptid_t arg0)
1893{
1894}
1895
1896void
1897debug_target::stop (ptid_t arg0)
1898{
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);
1904}
1905
1906void
1907target_ops::interrupt ()
1908{
1909 this->beneath ()->interrupt ();
1910}
1911
1912void
1913dummy_target::interrupt ()
1914{
1915}
1916
1917void
1918debug_target::interrupt ()
1919{
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);
1924}
1925
1926void
1927target_ops::pass_ctrlc ()
1928{
1929 this->beneath ()->pass_ctrlc ();
1930}
1931
1932void
1933dummy_target::pass_ctrlc ()
1934{
1935 default_target_pass_ctrlc (this);
1936}
1937
1938void
1939debug_target::pass_ctrlc ()
1940{
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);
1945}
1946
1947void
1948target_ops::rcmd (const char *arg0, struct ui_file *arg1)
1949{
1950 this->beneath ()->rcmd (arg0, arg1);
1951}
1952
1953void
1954dummy_target::rcmd (const char *arg0, struct ui_file *arg1)
1955{
1956 default_rcmd (this, arg0, arg1);
1957}
1958
1959void
1960debug_target::rcmd (const char *arg0, struct ui_file *arg1)
1961{
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);
1969}
1970
1971char *
1972target_ops::pid_to_exec_file (int arg0)
1973{
1974 return this->beneath ()->pid_to_exec_file (arg0);
1975}
1976
1977char *
1978dummy_target::pid_to_exec_file (int arg0)
1979{
1980 return NULL;
1981}
1982
1983char *
1984debug_target::pid_to_exec_file (int arg0)
1985{
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;
1995}
1996
1997void
1998target_ops::log_command (const char *arg0)
1999{
2000 this->beneath ()->log_command (arg0);
2001}
2002
2003void
2004dummy_target::log_command (const char *arg0)
2005{
2006}
2007
2008void
2009debug_target::log_command (const char *arg0)
2010{
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);
2016}
2017
2018struct target_section_table *
2019target_ops::get_section_table ()
2020{
2021 return this->beneath ()->get_section_table ();
2022}
2023
2024struct target_section_table *
2025dummy_target::get_section_table ()
2026{
2027 return NULL;
2028}
2029
2030struct target_section_table *
2031debug_target::get_section_table ()
2032{
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;
2041}
2042
2043thread_control_capabilities
2044target_ops::get_thread_control_capabilities ()
2045{
2046 return this->beneath ()->get_thread_control_capabilities ();
2047}
2048
2049thread_control_capabilities
2050dummy_target::get_thread_control_capabilities ()
2051{
2052 return tc_none;
2053}
2054
2055thread_control_capabilities
2056debug_target::get_thread_control_capabilities ()
2057{
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;
2066}
2067
2068bool
2069target_ops::attach_no_wait ()
2070{
2071 return this->beneath ()->attach_no_wait ();
2072}
2073
2074bool
2075dummy_target::attach_no_wait ()
2076{
2077 return 0;
2078}
2079
2080bool
2081debug_target::attach_no_wait ()
2082{
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;
2091}
2092
2093bool
2094target_ops::can_async_p ()
2095{
2096 return this->beneath ()->can_async_p ();
2097}
2098
2099bool
2100dummy_target::can_async_p ()
2101{
2102 return false;
2103}
2104
2105bool
2106debug_target::can_async_p ()
2107{
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;
2116}
2117
2118bool
2119target_ops::is_async_p ()
2120{
2121 return this->beneath ()->is_async_p ();
2122}
2123
2124bool
2125dummy_target::is_async_p ()
2126{
2127 return false;
2128}
2129
2130bool
2131debug_target::is_async_p ()
2132{
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;
2141}
2142
2143void
2144target_ops::async (int arg0)
2145{
2146 this->beneath ()->async (arg0);
2147}
2148
2149void
2150dummy_target::async (int arg0)
2151{
2152 tcomplain ();
2153}
2154
2155void
2156debug_target::async (int arg0)
2157{
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);
2163}
2164
2165void
2166target_ops::thread_events (int arg0)
2167{
2168 this->beneath ()->thread_events (arg0);
2169}
2170
2171void
2172dummy_target::thread_events (int arg0)
2173{
2174}
2175
2176void
2177debug_target::thread_events (int arg0)
2178{
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);
2184}
2185
2186bool
2187target_ops::supports_non_stop ()
2188{
2189 return this->beneath ()->supports_non_stop ();
2190}
2191
2192bool
2193dummy_target::supports_non_stop ()
2194{
2195 return false;
2196}
2197
2198bool
2199debug_target::supports_non_stop ()
2200{
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;
2209}
2210
2211bool
2212target_ops::always_non_stop_p ()
2213{
2214 return this->beneath ()->always_non_stop_p ();
2215}
2216
2217bool
2218dummy_target::always_non_stop_p ()
2219{
2220 return false;
2221}
2222
2223bool
2224debug_target::always_non_stop_p ()
2225{
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;
2234}
2235
2236int
2237target_ops::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
2238{
2239 return this->beneath ()->find_memory_regions (arg0, arg1);
2240}
2241
2242int
2243dummy_target::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
2244{
2245 return dummy_find_memory_regions (this, arg0, arg1);
2246}
2247
2248int
2249debug_target::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
2250{
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;
2262}
2263
2264char *
2265target_ops::make_corefile_notes (bfd *arg0, int *arg1)
2266{
2267 return this->beneath ()->make_corefile_notes (arg0, arg1);
2268}
2269
2270char *
2271dummy_target::make_corefile_notes (bfd *arg0, int *arg1)
2272{
2273 return dummy_make_corefile_notes (this, arg0, arg1);
2274}
2275
2276char *
2277debug_target::make_corefile_notes (bfd *arg0, int *arg1)
2278{
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;
2290}
2291
2292gdb_byte *
2293target_ops::get_bookmark (const char *arg0, int arg1)
2294{
2295 return this->beneath ()->get_bookmark (arg0, arg1);
2296}
2297
2298gdb_byte *
2299dummy_target::get_bookmark (const char *arg0, int arg1)
2300{
2301 tcomplain ();
2302}
2303
2304gdb_byte *
2305debug_target::get_bookmark (const char *arg0, int arg1)
2306{
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;
2318}
2319
2320void
2321target_ops::goto_bookmark (const gdb_byte *arg0, int arg1)
2322{
2323 this->beneath ()->goto_bookmark (arg0, arg1);
2324}
2325
2326void
2327dummy_target::goto_bookmark (const gdb_byte *arg0, int arg1)
2328{
2329 tcomplain ();
2330}
2331
2332void
2333debug_target::goto_bookmark (const gdb_byte *arg0, int arg1)
2334{
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);
2342}
2343
2344CORE_ADDR
2345target_ops::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2346{
2347 return this->beneath ()->get_thread_local_address (arg0, arg1, arg2);
2348}
2349
2350CORE_ADDR
2351dummy_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2352{
2353 generic_tls_error ();
2354}
2355
2356CORE_ADDR
2357debug_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2358{
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;
2372}
2373
2374enum target_xfer_status
2375target_ops::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2376{
2377 return this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2378}
2379
2380enum target_xfer_status
2381dummy_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2382{
2383 return TARGET_XFER_E_IO;
2384}
2385
2386enum target_xfer_status
2387debug_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2388{
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;
2410}
2411
2412ULONGEST
2413target_ops::get_memory_xfer_limit ()
2414{
2415 return this->beneath ()->get_memory_xfer_limit ();
2416}
2417
2418ULONGEST
2419dummy_target::get_memory_xfer_limit ()
2420{
2421 return ULONGEST_MAX;
2422}
2423
2424ULONGEST
2425debug_target::get_memory_xfer_limit ()
2426{
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;
2435}
2436
2437std::vector<mem_region>
2438target_ops::memory_map ()
2439{
2440 return this->beneath ()->memory_map ();
2441}
2442
2443std::vector<mem_region>
2444dummy_target::memory_map ()
2445{
2446 return std::vector<mem_region> ();
2447}
2448
2449std::vector<mem_region>
2450debug_target::memory_map ()
2451{
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;
2460}
2461
2462void
2463target_ops::flash_erase (ULONGEST arg0, LONGEST arg1)
2464{
2465 this->beneath ()->flash_erase (arg0, arg1);
2466}
2467
2468void
2469dummy_target::flash_erase (ULONGEST arg0, LONGEST arg1)
2470{
2471 tcomplain ();
2472}
2473
2474void
2475debug_target::flash_erase (ULONGEST arg0, LONGEST arg1)
2476{
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);
2484}
2485
2486void
2487target_ops::flash_done ()
2488{
2489 this->beneath ()->flash_done ();
2490}
2491
2492void
2493dummy_target::flash_done ()
2494{
2495 tcomplain ();
2496}
2497
2498void
2499debug_target::flash_done ()
2500{
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);
2505}
2506
2507const struct target_desc *
2508target_ops::read_description ()
2509{
2510 return this->beneath ()->read_description ();
2511}
2512
2513const struct target_desc *
2514dummy_target::read_description ()
2515{
2516 return NULL;
2517}
2518
2519const struct target_desc *
2520debug_target::read_description ()
2521{
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;
2530}
2531
2532ptid_t
2533target_ops::get_ada_task_ptid (long arg0, long arg1)
2534{
2535 return this->beneath ()->get_ada_task_ptid (arg0, arg1);
2536}
2537
2538ptid_t
2539dummy_target::get_ada_task_ptid (long arg0, long arg1)
2540{
2541 return default_get_ada_task_ptid (this, arg0, arg1);
2542}
2543
2544ptid_t
2545debug_target::get_ada_task_ptid (long arg0, long arg1)
2546{
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;
2558}
2559
2560int
2561target_ops::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2562{
2563 return this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3);
2564}
2565
2566int
2567dummy_target::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2568{
2569 return default_auxv_parse (this, arg0, arg1, arg2, arg3);
2570}
2571
2572int
2573debug_target::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2574{
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;
2590}
2591
2592int
2593target_ops::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2594{
2595 return this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4);
2596}
2597
2598int
2599dummy_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2600{
2601 return default_search_memory (this, arg0, arg1, arg2, arg3, arg4);
2602}
2603
2604int
2605debug_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2606{
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;
2624}
2625
2626bool
2627target_ops::can_execute_reverse ()
2628{
2629 return this->beneath ()->can_execute_reverse ();
2630}
2631
2632bool
2633dummy_target::can_execute_reverse ()
2634{
2635 return false;
2636}
2637
2638bool
2639debug_target::can_execute_reverse ()
2640{
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;
2649}
2650
2651enum exec_direction_kind
2652target_ops::execution_direction ()
2653{
2654 return this->beneath ()->execution_direction ();
2655}
2656
2657enum exec_direction_kind
2658dummy_target::execution_direction ()
2659{
2660 return default_execution_direction (this);
2661}
2662
2663enum exec_direction_kind
2664debug_target::execution_direction ()
2665{
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;
2674}
2675
2676bool
2677target_ops::supports_multi_process ()
2678{
2679 return this->beneath ()->supports_multi_process ();
2680}
2681
2682bool
2683dummy_target::supports_multi_process ()
2684{
2685 return false;
2686}
2687
2688bool
2689debug_target::supports_multi_process ()
2690{
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;
2699}
2700
2701bool
2702target_ops::supports_enable_disable_tracepoint ()
2703{
2704 return this->beneath ()->supports_enable_disable_tracepoint ();
2705}
2706
2707bool
2708dummy_target::supports_enable_disable_tracepoint ()
2709{
2710 return false;
2711}
2712
2713bool
2714debug_target::supports_enable_disable_tracepoint ()
2715{
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;
2724}
2725
2726bool
2727target_ops::supports_disable_randomization ()
2728{
2729 return this->beneath ()->supports_disable_randomization ();
2730}
2731
2732bool
2733dummy_target::supports_disable_randomization ()
2734{
2735 return find_default_supports_disable_randomization (this);
2736}
2737
2738bool
2739debug_target::supports_disable_randomization ()
2740{
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;
2749}
2750
2751bool
2752target_ops::supports_string_tracing ()
2753{
2754 return this->beneath ()->supports_string_tracing ();
2755}
2756
2757bool
2758dummy_target::supports_string_tracing ()
2759{
2760 return false;
2761}
2762
2763bool
2764debug_target::supports_string_tracing ()
2765{
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;
2774}
2775
2776bool
2777target_ops::supports_evaluation_of_breakpoint_conditions ()
2778{
2779 return this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2780}
2781
2782bool
2783dummy_target::supports_evaluation_of_breakpoint_conditions ()
2784{
2785 return false;
2786}
2787
2788bool
2789debug_target::supports_evaluation_of_breakpoint_conditions ()
2790{
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;
2799}
2800
2801bool
2802target_ops::can_run_breakpoint_commands ()
2803{
2804 return this->beneath ()->can_run_breakpoint_commands ();
2805}
2806
2807bool
2808dummy_target::can_run_breakpoint_commands ()
2809{
2810 return false;
2811}
2812
2813bool
2814debug_target::can_run_breakpoint_commands ()
2815{
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;
2824}
2825
2826struct gdbarch *
2827target_ops::thread_architecture (ptid_t arg0)
2828{
2829 return this->beneath ()->thread_architecture (arg0);
2830}
2831
2832struct gdbarch *
2833dummy_target::thread_architecture (ptid_t arg0)
2834{
2835 return NULL;
2836}
2837
2838struct gdbarch *
2839debug_target::thread_architecture (ptid_t arg0)
2840{
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;
2850}
2851
2852struct address_space *
2853target_ops::thread_address_space (ptid_t arg0)
2854{
2855 return this->beneath ()->thread_address_space (arg0);
2856}
2857
2858struct address_space *
2859dummy_target::thread_address_space (ptid_t arg0)
2860{
2861 return NULL;
2862}
2863
2864struct address_space *
2865debug_target::thread_address_space (ptid_t arg0)
2866{
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;
2876}
2877
2878bool
2879target_ops::filesystem_is_local ()
2880{
2881 return this->beneath ()->filesystem_is_local ();
2882}
2883
2884bool
2885dummy_target::filesystem_is_local ()
2886{
2887 return true;
2888}
2889
2890bool
2891debug_target::filesystem_is_local ()
2892{
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;
2901}
2902
2903void
2904target_ops::trace_init ()
2905{
2906 this->beneath ()->trace_init ();
2907}
2908
2909void
2910dummy_target::trace_init ()
2911{
2912 tcomplain ();
2913}
2914
2915void
2916debug_target::trace_init ()
2917{
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);
2922}
2923
2924void
2925target_ops::download_tracepoint (struct bp_location *arg0)
2926{
2927 this->beneath ()->download_tracepoint (arg0);
2928}
2929
2930void
2931dummy_target::download_tracepoint (struct bp_location *arg0)
2932{
2933 tcomplain ();
2934}
2935
2936void
2937debug_target::download_tracepoint (struct bp_location *arg0)
2938{
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);
2944}
2945
2946bool
2947target_ops::can_download_tracepoint ()
2948{
2949 return this->beneath ()->can_download_tracepoint ();
2950}
2951
2952bool
2953dummy_target::can_download_tracepoint ()
2954{
2955 return false;
2956}
2957
2958bool
2959debug_target::can_download_tracepoint ()
2960{
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;
2969}
2970
2971void
2972target_ops::download_trace_state_variable (const trace_state_variable &arg0)
2973{
2974 this->beneath ()->download_trace_state_variable (arg0);
2975}
2976
2977void
2978dummy_target::download_trace_state_variable (const trace_state_variable &arg0)
2979{
2980 tcomplain ();
2981}
2982
2983void
2984debug_target::download_trace_state_variable (const trace_state_variable &arg0)
2985{
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);
2991}
2992
2993void
2994target_ops::enable_tracepoint (struct bp_location *arg0)
2995{
2996 this->beneath ()->enable_tracepoint (arg0);
2997}
2998
2999void
3000dummy_target::enable_tracepoint (struct bp_location *arg0)
3001{
3002 tcomplain ();
3003}
3004
3005void
3006debug_target::enable_tracepoint (struct bp_location *arg0)
3007{
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);
3013}
3014
3015void
3016target_ops::disable_tracepoint (struct bp_location *arg0)
3017{
3018 this->beneath ()->disable_tracepoint (arg0);
3019}
3020
3021void
3022dummy_target::disable_tracepoint (struct bp_location *arg0)
3023{
3024 tcomplain ();
3025}
3026
3027void
3028debug_target::disable_tracepoint (struct bp_location *arg0)
3029{
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);
3035}
3036
3037void
3038target_ops::trace_set_readonly_regions ()
3039{
3040 this->beneath ()->trace_set_readonly_regions ();
3041}
3042
3043void
3044dummy_target::trace_set_readonly_regions ()
3045{
3046 tcomplain ();
3047}
3048
3049void
3050debug_target::trace_set_readonly_regions ()
3051{
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);
3056}
3057
3058void
3059target_ops::trace_start ()
3060{
3061 this->beneath ()->trace_start ();
3062}
3063
3064void
3065dummy_target::trace_start ()
3066{
3067 tcomplain ();
3068}
3069
3070void
3071debug_target::trace_start ()
3072{
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);
3077}
3078
3079int
3080target_ops::get_trace_status (struct trace_status *arg0)
3081{
3082 return this->beneath ()->get_trace_status (arg0);
3083}
3084
3085int
3086dummy_target::get_trace_status (struct trace_status *arg0)
3087{
3088 return -1;
3089}
3090
3091int
3092debug_target::get_trace_status (struct trace_status *arg0)
3093{
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;
3103}
3104
3105void
3106target_ops::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
3107{
3108 this->beneath ()->get_tracepoint_status (arg0, arg1);
3109}
3110
3111void
3112dummy_target::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
3113{
3114 tcomplain ();
3115}
3116
3117void
3118debug_target::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
3119{
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);
3127}
3128
3129void
3130target_ops::trace_stop ()
3131{
3132 this->beneath ()->trace_stop ();
3133}
3134
3135void
3136dummy_target::trace_stop ()
3137{
3138 tcomplain ();
3139}
3140
3141void
3142debug_target::trace_stop ()
3143{
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);
3148}
3149
3150int
3151target_ops::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3152{
3153 return this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4);
3154}
3155
3156int
3157dummy_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3158{
3159 return -1;
3160}
3161
3162int
3163debug_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3164{
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;
3182}
3183
3184bool
3185target_ops::get_trace_state_variable_value (int arg0, LONGEST *arg1)
3186{
3187 return this->beneath ()->get_trace_state_variable_value (arg0, arg1);
3188}
3189
3190bool
3191dummy_target::get_trace_state_variable_value (int arg0, LONGEST *arg1)
3192{
3193 return false;
3194}
3195
3196bool
3197debug_target::get_trace_state_variable_value (int arg0, LONGEST *arg1)
3198{
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;
3210}
3211
3212int
3213target_ops::save_trace_data (const char *arg0)
3214{
3215 return this->beneath ()->save_trace_data (arg0);
3216}
3217
3218int
3219dummy_target::save_trace_data (const char *arg0)
3220{
3221 tcomplain ();
3222}
3223
3224int
3225debug_target::save_trace_data (const char *arg0)
3226{
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;
3236}
3237
3238int
3239target_ops::upload_tracepoints (struct uploaded_tp **arg0)
3240{
3241 return this->beneath ()->upload_tracepoints (arg0);
3242}
3243
3244int
3245dummy_target::upload_tracepoints (struct uploaded_tp **arg0)
3246{
3247 return 0;
3248}
3249
3250int
3251debug_target::upload_tracepoints (struct uploaded_tp **arg0)
3252{
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;
3262}
3263
3264int
3265target_ops::upload_trace_state_variables (struct uploaded_tsv **arg0)
3266{
3267 return this->beneath ()->upload_trace_state_variables (arg0);
3268}
3269
3270int
3271dummy_target::upload_trace_state_variables (struct uploaded_tsv **arg0)
3272{
3273 return 0;
3274}
3275
3276int
3277debug_target::upload_trace_state_variables (struct uploaded_tsv **arg0)
3278{
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;
3288}
3289
3290LONGEST
3291target_ops::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3292{
3293 return this->beneath ()->get_raw_trace_data (arg0, arg1, arg2);
3294}
3295
3296LONGEST
3297dummy_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3298{
3299 tcomplain ();
3300}
3301
3302LONGEST
3303debug_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3304{
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;
3318}
3319
3320int
3321target_ops::get_min_fast_tracepoint_insn_len ()
3322{
3323 return this->beneath ()->get_min_fast_tracepoint_insn_len ();
3324}
3325
3326int
3327dummy_target::get_min_fast_tracepoint_insn_len ()
3328{
3329 return -1;
3330}
3331
3332int
3333debug_target::get_min_fast_tracepoint_insn_len ()
3334{
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;
3343}
3344
3345void
3346target_ops::set_disconnected_tracing (int arg0)
3347{
3348 this->beneath ()->set_disconnected_tracing (arg0);
3349}
3350
3351void
3352dummy_target::set_disconnected_tracing (int arg0)
3353{
3354}
3355
3356void
3357debug_target::set_disconnected_tracing (int arg0)
3358{
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);
3364}
3365
3366void
3367target_ops::set_circular_trace_buffer (int arg0)
3368{
3369 this->beneath ()->set_circular_trace_buffer (arg0);
3370}
3371
3372void
3373dummy_target::set_circular_trace_buffer (int arg0)
3374{
3375}
3376
3377void
3378debug_target::set_circular_trace_buffer (int arg0)
3379{
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);
3385}
3386
3387void
3388target_ops::set_trace_buffer_size (LONGEST arg0)
3389{
3390 this->beneath ()->set_trace_buffer_size (arg0);
3391}
3392
3393void
3394dummy_target::set_trace_buffer_size (LONGEST arg0)
3395{
3396}
3397
3398void
3399debug_target::set_trace_buffer_size (LONGEST arg0)
3400{
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);
3406}
3407
3408bool
3409target_ops::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3410{
3411 return this->beneath ()->set_trace_notes (arg0, arg1, arg2);
3412}
3413
3414bool
3415dummy_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3416{
3417 return false;
3418}
3419
3420bool
3421debug_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3422{
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;
3436}
3437
3438int
3439target_ops::core_of_thread (ptid_t arg0)
3440{
3441 return this->beneath ()->core_of_thread (arg0);
3442}
3443
3444int
3445dummy_target::core_of_thread (ptid_t arg0)
3446{
3447 return -1;
3448}
3449
3450int
3451debug_target::core_of_thread (ptid_t arg0)
3452{
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;
3462}
3463
3464int
3465target_ops::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3466{
3467 return this->beneath ()->verify_memory (arg0, arg1, arg2);
3468}
3469
3470int
3471dummy_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3472{
3473 return default_verify_memory (this, arg0, arg1, arg2);
3474}
3475
3476int
3477debug_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3478{
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;
3492}
3493
3494bool
3495target_ops::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3496{
3497 return this->beneath ()->get_tib_address (arg0, arg1);
3498}
3499
3500bool
3501dummy_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3502{
3503 tcomplain ();
3504}
3505
3506bool
3507debug_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3508{
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;
3520}
3521
3522void
3523target_ops::set_permissions ()
3524{
3525 this->beneath ()->set_permissions ();
3526}
3527
3528void
3529dummy_target::set_permissions ()
3530{
3531}
3532
3533void
3534debug_target::set_permissions ()
3535{
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);
3540}
3541
3542bool
3543target_ops::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
3544{
3545 return this->beneath ()->static_tracepoint_marker_at (arg0, arg1);
3546}
3547
3548bool
3549dummy_target::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
3550{
3551 return false;
3552}
3553
3554bool
3555debug_target::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
3556{
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;
3568}
3569
3570std::vector<static_tracepoint_marker>
3571target_ops::static_tracepoint_markers_by_strid (const char *arg0)
3572{
3573 return this->beneath ()->static_tracepoint_markers_by_strid (arg0);
3574}
3575
3576std::vector<static_tracepoint_marker>
3577dummy_target::static_tracepoint_markers_by_strid (const char *arg0)
3578{
3579 tcomplain ();
3580}
3581
3582std::vector<static_tracepoint_marker>
3583debug_target::static_tracepoint_markers_by_strid (const char *arg0)
3584{
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;
3594}
3595
3596traceframe_info_up
3597target_ops::traceframe_info ()
3598{
3599 return this->beneath ()->traceframe_info ();
3600}
3601
3602traceframe_info_up
3603dummy_target::traceframe_info ()
3604{
3605 tcomplain ();
3606}
3607
3608traceframe_info_up
3609debug_target::traceframe_info ()
3610{
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;
3619}
3620
3621bool
3622target_ops::use_agent (bool arg0)
3623{
3624 return this->beneath ()->use_agent (arg0);
3625}
3626
3627bool
3628dummy_target::use_agent (bool arg0)
3629{
3630 tcomplain ();
3631}
3632
3633bool
3634debug_target::use_agent (bool arg0)
3635{
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;
3645}
3646
3647bool
3648target_ops::can_use_agent ()
3649{
3650 return this->beneath ()->can_use_agent ();
3651}
3652
3653bool
3654dummy_target::can_use_agent ()
3655{
3656 return false;
3657}
3658
3659bool
3660debug_target::can_use_agent ()
3661{
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;
3670}
3671
3672struct btrace_target_info *
3673target_ops::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
3674{
3675 return this->beneath ()->enable_btrace (arg0, arg1);
3676}
3677
3678struct btrace_target_info *
3679dummy_target::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
3680{
3681 tcomplain ();
3682}
3683
3684struct btrace_target_info *
3685debug_target::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
3686{
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;
3698}
3699
3700void
3701target_ops::disable_btrace (struct btrace_target_info *arg0)
3702{
3703 this->beneath ()->disable_btrace (arg0);
3704}
3705
3706void
3707dummy_target::disable_btrace (struct btrace_target_info *arg0)
3708{
3709 tcomplain ();
3710}
3711
3712void
3713debug_target::disable_btrace (struct btrace_target_info *arg0)
3714{
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);
3720}
3721
3722void
3723target_ops::teardown_btrace (struct btrace_target_info *arg0)
3724{
3725 this->beneath ()->teardown_btrace (arg0);
3726}
3727
3728void
3729dummy_target::teardown_btrace (struct btrace_target_info *arg0)
3730{
3731 tcomplain ();
3732}
3733
3734void
3735debug_target::teardown_btrace (struct btrace_target_info *arg0)
3736{
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);
3742}
3743
3744enum btrace_error
3745target_ops::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3746{
3747 return this->beneath ()->read_btrace (arg0, arg1, arg2);
3748}
3749
3750enum btrace_error
3751dummy_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3752{
3753 tcomplain ();
3754}
3755
3756enum btrace_error
3757debug_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3758{
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;
3772}
3773
3774const struct btrace_config *
3775target_ops::btrace_conf (const struct btrace_target_info *arg0)
3776{
3777 return this->beneath ()->btrace_conf (arg0);
3778}
3779
3780const struct btrace_config *
3781dummy_target::btrace_conf (const struct btrace_target_info *arg0)
3782{
3783 return NULL;
3784}
3785
3786const struct btrace_config *
3787debug_target::btrace_conf (const struct btrace_target_info *arg0)
3788{
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;
3798}
3799
3800enum record_method
3801target_ops::record_method (ptid_t arg0)
3802{
3803 return this->beneath ()->record_method (arg0);
3804}
3805
3806enum record_method
3807dummy_target::record_method (ptid_t arg0)
3808{
3809 return RECORD_METHOD_NONE;
3810}
3811
3812enum record_method
3813debug_target::record_method (ptid_t arg0)
3814{
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;
3824}
3825
3826void
3827target_ops::stop_recording ()
3828{
3829 this->beneath ()->stop_recording ();
3830}
3831
3832void
3833dummy_target::stop_recording ()
3834{
3835}
3836
3837void
3838debug_target::stop_recording ()
3839{
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);
3844}
3845
3846void
3847target_ops::info_record ()
3848{
3849 this->beneath ()->info_record ();
3850}
3851
3852void
3853dummy_target::info_record ()
3854{
3855}
3856
3857void
3858debug_target::info_record ()
3859{
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);
3864}
3865
3866void
3867target_ops::save_record (const char *arg0)
3868{
3869 this->beneath ()->save_record (arg0);
3870}
3871
3872void
3873dummy_target::save_record (const char *arg0)
3874{
3875 tcomplain ();
3876}
3877
3878void
3879debug_target::save_record (const char *arg0)
3880{
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);
3886}
3887
3888bool
3889target_ops::supports_delete_record ()
3890{
3891 return this->beneath ()->supports_delete_record ();
3892}
3893
3894bool
3895dummy_target::supports_delete_record ()
3896{
3897 return false;
3898}
3899
3900bool
3901debug_target::supports_delete_record ()
3902{
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;
3911}
3912
3913void
3914target_ops::delete_record ()
3915{
3916 this->beneath ()->delete_record ();
3917}
3918
3919void
3920dummy_target::delete_record ()
3921{
3922 tcomplain ();
3923}
3924
3925void
3926debug_target::delete_record ()
3927{
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);
3932}
3933
3934bool
3935target_ops::record_is_replaying (ptid_t arg0)
3936{
3937 return this->beneath ()->record_is_replaying (arg0);
3938}
3939
3940bool
3941dummy_target::record_is_replaying (ptid_t arg0)
3942{
3943 return false;
3944}
3945
3946bool
3947debug_target::record_is_replaying (ptid_t arg0)
3948{
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;
3958}
3959
3960bool
3961target_ops::record_will_replay (ptid_t arg0, int arg1)
3962{
3963 return this->beneath ()->record_will_replay (arg0, arg1);
3964}
3965
3966bool
3967dummy_target::record_will_replay (ptid_t arg0, int arg1)
3968{
3969 return false;
3970}
3971
3972bool
3973debug_target::record_will_replay (ptid_t arg0, int arg1)
3974{
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;
3986}
3987
3988void
3989target_ops::record_stop_replaying ()
3990{
3991 this->beneath ()->record_stop_replaying ();
3992}
3993
3994void
3995dummy_target::record_stop_replaying ()
3996{
3997}
3998
3999void
4000debug_target::record_stop_replaying ()
4001{
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);
4006}
4007
4008void
4009target_ops::goto_record_begin ()
4010{
4011 this->beneath ()->goto_record_begin ();
4012}
4013
4014void
4015dummy_target::goto_record_begin ()
4016{
4017 tcomplain ();
4018}
4019
4020void
4021debug_target::goto_record_begin ()
4022{
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);
4027}
4028
4029void
4030target_ops::goto_record_end ()
4031{
4032 this->beneath ()->goto_record_end ();
4033}
4034
4035void
4036dummy_target::goto_record_end ()
4037{
4038 tcomplain ();
4039}
4040
4041void
4042debug_target::goto_record_end ()
4043{
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);
4048}
4049
4050void
4051target_ops::goto_record (ULONGEST arg0)
4052{
4053 this->beneath ()->goto_record (arg0);
4054}
4055
4056void
4057dummy_target::goto_record (ULONGEST arg0)
4058{
4059 tcomplain ();
4060}
4061
4062void
4063debug_target::goto_record (ULONGEST arg0)
4064{
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);
4070}
4071
4072void
4073target_ops::insn_history (int arg0, gdb_disassembly_flags arg1)
4074{
4075 this->beneath ()->insn_history (arg0, arg1);
4076}
4077
4078void
4079dummy_target::insn_history (int arg0, gdb_disassembly_flags arg1)
4080{
4081 tcomplain ();
4082}
4083
4084void
4085debug_target::insn_history (int arg0, gdb_disassembly_flags arg1)
4086{
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);
4094}
4095
4096void
4097target_ops::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4098{
4099 this->beneath ()->insn_history_from (arg0, arg1, arg2);
4100}
4101
4102void
4103dummy_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4104{
4105 tcomplain ();
4106}
4107
4108void
4109debug_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4110{
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);
4120}
4121
4122void
4123target_ops::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4124{
4125 this->beneath ()->insn_history_range (arg0, arg1, arg2);
4126}
4127
4128void
4129dummy_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4130{
4131 tcomplain ();
4132}
4133
4134void
4135debug_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4136{
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);
4146}
4147
4148void
4149target_ops::call_history (int arg0, record_print_flags arg1)
4150{
4151 this->beneath ()->call_history (arg0, arg1);
4152}
4153
4154void
4155dummy_target::call_history (int arg0, record_print_flags arg1)
4156{
4157 tcomplain ();
4158}
4159
4160void
4161debug_target::call_history (int arg0, record_print_flags arg1)
4162{
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);
4170}
4171
4172void
4173target_ops::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4174{
4175 this->beneath ()->call_history_from (arg0, arg1, arg2);
4176}
4177
4178void
4179dummy_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4180{
4181 tcomplain ();
4182}
4183
4184void
4185debug_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4186{
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);
4196}
4197
4198void
4199target_ops::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4200{
4201 this->beneath ()->call_history_range (arg0, arg1, arg2);
4202}
4203
4204void
4205dummy_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4206{
4207 tcomplain ();
4208}
4209
4210void
4211debug_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4212{
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);
4222}
4223
4224bool
4225target_ops::augmented_libraries_svr4_read ()
4226{
4227 return this->beneath ()->augmented_libraries_svr4_read ();
4228}
4229
4230bool
4231dummy_target::augmented_libraries_svr4_read ()
4232{
4233 return false;
4234}
4235
4236bool
4237debug_target::augmented_libraries_svr4_read ()
4238{
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;
4247}
4248
4249const struct frame_unwind *
4250target_ops::get_unwinder ()
4251{
4252 return this->beneath ()->get_unwinder ();
4253}
4254
4255const struct frame_unwind *
4256dummy_target::get_unwinder ()
4257{
4258 return NULL;
4259}
4260
4261const struct frame_unwind *
4262debug_target::get_unwinder ()
4263{
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;
4272}
4273
4274const struct frame_unwind *
4275target_ops::get_tailcall_unwinder ()
4276{
4277 return this->beneath ()->get_tailcall_unwinder ();
4278}
4279
4280const struct frame_unwind *
4281dummy_target::get_tailcall_unwinder ()
4282{
4283 return NULL;
4284}
4285
4286const struct frame_unwind *
4287debug_target::get_tailcall_unwinder ()
4288{
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;
4297}
4298
4299void
4300target_ops::prepare_to_generate_core ()
4301{
4302 this->beneath ()->prepare_to_generate_core ();
4303}
4304
4305void
4306dummy_target::prepare_to_generate_core ()
4307{
4308}
4309
4310void
4311debug_target::prepare_to_generate_core ()
4312{
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);
4317}
4318
4319void
4320target_ops::done_generating_core ()
4321{
4322 this->beneath ()->done_generating_core ();
4323}
4324
4325void
4326dummy_target::done_generating_core ()
4327{
4328}
4329
4330void
4331debug_target::done_generating_core ()
4332{
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);
4337}
4338
This page took 0.070001 seconds and 4 git commands to generate.