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  bool follow_fork (bool arg0, bool 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  int async_wait_fd () override;
87  void thread_events (int arg0) override;
88  bool supports_non_stop () override;
89  bool always_non_stop_p () override;
90  int find_memory_regions (find_memory_region_ftype arg0, void *arg1) override;
91  char *make_corefile_notes (bfd *arg0, int *arg1) override;
92  gdb_byte *get_bookmark (const char *arg0, int arg1) override;
93  void goto_bookmark (const gdb_byte *arg0, int arg1) override;
94  CORE_ADDR get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) override;
95  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;
96  ULONGEST get_memory_xfer_limit () override;
97  std::vector<mem_region> memory_map () override;
98  void flash_erase (ULONGEST arg0, LONGEST arg1) override;
99  void flash_done () override;
100  const struct target_desc *read_description () override;
101  ptid_t get_ada_task_ptid (long arg0, long arg1) override;
102  int auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) override;
103  int search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) override;
104  bool can_execute_reverse () override;
105  enum exec_direction_kind execution_direction () override;
106  bool supports_multi_process () override;
107  bool supports_enable_disable_tracepoint () override;
108  bool supports_disable_randomization () override;
109  bool supports_string_tracing () override;
110  bool supports_evaluation_of_breakpoint_conditions () override;
111  bool supports_dumpcore () override;
112  void dumpcore (const char *arg0) override;
113  bool can_run_breakpoint_commands () override;
114  struct gdbarch *thread_architecture (ptid_t arg0) override;
115  struct address_space *thread_address_space (ptid_t arg0) override;
116  bool filesystem_is_local () override;
117  void trace_init () override;
118  void download_tracepoint (struct bp_location *arg0) override;
119  bool can_download_tracepoint () override;
120  void download_trace_state_variable (const trace_state_variable &arg0) override;
121  void enable_tracepoint (struct bp_location *arg0) override;
122  void disable_tracepoint (struct bp_location *arg0) override;
123  void trace_set_readonly_regions () override;
124  void trace_start () override;
125  int get_trace_status (struct trace_status *arg0) override;
126  void get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1) override;
127  void trace_stop () override;
128  int trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) override;
129  bool get_trace_state_variable_value (int arg0, LONGEST *arg1) override;
130  int save_trace_data (const char *arg0) override;
131  int upload_tracepoints (struct uploaded_tp **arg0) override;
132  int upload_trace_state_variables (struct uploaded_tsv **arg0) override;
133  LONGEST get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) override;
134  int get_min_fast_tracepoint_insn_len () override;
135  void set_disconnected_tracing (int arg0) override;
136  void set_circular_trace_buffer (int arg0) override;
137  void set_trace_buffer_size (LONGEST arg0) override;
138  bool set_trace_notes (const char *arg0, const char *arg1, const char *arg2) override;
139  int core_of_thread (ptid_t arg0) override;
140  int verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) override;
141  bool get_tib_address (ptid_t arg0, CORE_ADDR *arg1) override;
142  void set_permissions () override;
143  bool static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) override;
144  std::vector<static_tracepoint_marker> static_tracepoint_markers_by_strid (const char *arg0) override;
145  traceframe_info_up traceframe_info () override;
146  bool use_agent (bool arg0) override;
147  bool can_use_agent () override;
148  struct btrace_target_info *enable_btrace (ptid_t arg0, const struct btrace_config *arg1) override;
149  void disable_btrace (struct btrace_target_info *arg0) override;
150  void teardown_btrace (struct btrace_target_info *arg0) override;
151  enum btrace_error read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) override;
152  const struct btrace_config *btrace_conf (const struct btrace_target_info *arg0) override;
153  enum record_method record_method (ptid_t arg0) override;
154  void stop_recording () override;
155  void info_record () override;
156  void save_record (const char *arg0) override;
157  bool supports_delete_record () override;
158  void delete_record () override;
159  bool record_is_replaying (ptid_t arg0) override;
160  bool record_will_replay (ptid_t arg0, int arg1) override;
161  void record_stop_replaying () override;
162  void goto_record_begin () override;
163  void goto_record_end () override;
164  void goto_record (ULONGEST arg0) override;
165  void insn_history (int arg0, gdb_disassembly_flags arg1) override;
166  void insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) override;
167  void insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) override;
168  void call_history (int arg0, record_print_flags arg1) override;
169  void call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) override;
170  void call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) override;
171  bool augmented_libraries_svr4_read () override;
172  const struct frame_unwind *get_unwinder () override;
173  const struct frame_unwind *get_tailcall_unwinder () override;
174  void prepare_to_generate_core () override;
175  void done_generating_core () override;
176};
177
178struct debug_target : public target_ops
179{
180  const target_info &info () const override;
181
182  strata stratum () const override;
183
184  void post_attach (int arg0) override;
185  void detach (inferior *arg0, int arg1) override;
186  void disconnect (const char *arg0, int arg1) override;
187  void resume (ptid_t arg0, int arg1, enum gdb_signal arg2) override;
188  void commit_resume () override;
189  ptid_t wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2) override;
190  void fetch_registers (struct regcache *arg0, int arg1) override;
191  void store_registers (struct regcache *arg0, int arg1) override;
192  void prepare_to_store (struct regcache *arg0) override;
193  void files_info () override;
194  int insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
195  int remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) override;
196  bool stopped_by_sw_breakpoint () override;
197  bool supports_stopped_by_sw_breakpoint () override;
198  bool stopped_by_hw_breakpoint () override;
199  bool supports_stopped_by_hw_breakpoint () override;
200  int can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2) override;
201  int ranged_break_num_registers () override;
202  int insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
203  int remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override;
204  int remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
205  int insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override;
206  int insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
207  int remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override;
208  bool stopped_by_watchpoint () override;
209  bool have_steppable_watchpoint () override;
210  bool stopped_data_address (CORE_ADDR *arg0) override;
211  bool watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2) override;
212  int region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1) override;
213  bool can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) override;
214  int masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1) override;
215  int can_do_single_step () override;
216  bool supports_terminal_ours () override;
217  void terminal_init () override;
218  void terminal_inferior () override;
219  void terminal_save_inferior () override;
220  void terminal_ours_for_output () override;
221  void terminal_ours () override;
222  void terminal_info (const char *arg0, int arg1) override;
223  void kill () override;
224  void load (const char *arg0, int arg1) override;
225  void post_startup_inferior (ptid_t arg0) override;
226  int insert_fork_catchpoint (int arg0) override;
227  int remove_fork_catchpoint (int arg0) override;
228  int insert_vfork_catchpoint (int arg0) override;
229  int remove_vfork_catchpoint (int arg0) override;
230  bool follow_fork (bool arg0, bool arg1) override;
231  int insert_exec_catchpoint (int arg0) override;
232  int remove_exec_catchpoint (int arg0) override;
233  void follow_exec (struct inferior *arg0, const char *arg1) override;
234  int set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3) override;
235  void mourn_inferior () override;
236  void pass_signals (gdb::array_view<const unsigned char> arg0) override;
237  void program_signals (gdb::array_view<const unsigned char> arg0) override;
238  bool thread_alive (ptid_t arg0) override;
239  void update_thread_list () override;
240  std::string pid_to_str (ptid_t arg0) override;
241  const char *extra_thread_info (thread_info *arg0) override;
242  const char *thread_name (thread_info *arg0) override;
243  thread_info *thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2) override;
244  gdb::byte_vector thread_info_to_thread_handle (struct thread_info *arg0) override;
245  void stop (ptid_t arg0) override;
246  void interrupt () override;
247  void pass_ctrlc () override;
248  void rcmd (const char *arg0, struct ui_file *arg1) override;
249  char *pid_to_exec_file (int arg0) override;
250  void log_command (const char *arg0) override;
251  struct target_section_table *get_section_table () override;
252  thread_control_capabilities get_thread_control_capabilities () override;
253  bool attach_no_wait () override;
254  bool can_async_p () override;
255  bool is_async_p () override;
256  void async (int arg0) override;
257  int async_wait_fd () override;
258  void thread_events (int arg0) override;
259  bool supports_non_stop () override;
260  bool always_non_stop_p () override;
261  int find_memory_regions (find_memory_region_ftype arg0, void *arg1) override;
262  char *make_corefile_notes (bfd *arg0, int *arg1) override;
263  gdb_byte *get_bookmark (const char *arg0, int arg1) override;
264  void goto_bookmark (const gdb_byte *arg0, int arg1) override;
265  CORE_ADDR get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) override;
266  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;
267  ULONGEST get_memory_xfer_limit () override;
268  std::vector<mem_region> memory_map () override;
269  void flash_erase (ULONGEST arg0, LONGEST arg1) override;
270  void flash_done () override;
271  const struct target_desc *read_description () override;
272  ptid_t get_ada_task_ptid (long arg0, long arg1) override;
273  int auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) override;
274  int search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) override;
275  bool can_execute_reverse () override;
276  enum exec_direction_kind execution_direction () override;
277  bool supports_multi_process () override;
278  bool supports_enable_disable_tracepoint () override;
279  bool supports_disable_randomization () override;
280  bool supports_string_tracing () override;
281  bool supports_evaluation_of_breakpoint_conditions () override;
282  bool supports_dumpcore () override;
283  void dumpcore (const char *arg0) override;
284  bool can_run_breakpoint_commands () override;
285  struct gdbarch *thread_architecture (ptid_t arg0) override;
286  struct address_space *thread_address_space (ptid_t arg0) override;
287  bool filesystem_is_local () override;
288  void trace_init () override;
289  void download_tracepoint (struct bp_location *arg0) override;
290  bool can_download_tracepoint () override;
291  void download_trace_state_variable (const trace_state_variable &arg0) override;
292  void enable_tracepoint (struct bp_location *arg0) override;
293  void disable_tracepoint (struct bp_location *arg0) override;
294  void trace_set_readonly_regions () override;
295  void trace_start () override;
296  int get_trace_status (struct trace_status *arg0) override;
297  void get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1) override;
298  void trace_stop () override;
299  int trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) override;
300  bool get_trace_state_variable_value (int arg0, LONGEST *arg1) override;
301  int save_trace_data (const char *arg0) override;
302  int upload_tracepoints (struct uploaded_tp **arg0) override;
303  int upload_trace_state_variables (struct uploaded_tsv **arg0) override;
304  LONGEST get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) override;
305  int get_min_fast_tracepoint_insn_len () override;
306  void set_disconnected_tracing (int arg0) override;
307  void set_circular_trace_buffer (int arg0) override;
308  void set_trace_buffer_size (LONGEST arg0) override;
309  bool set_trace_notes (const char *arg0, const char *arg1, const char *arg2) override;
310  int core_of_thread (ptid_t arg0) override;
311  int verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) override;
312  bool get_tib_address (ptid_t arg0, CORE_ADDR *arg1) override;
313  void set_permissions () override;
314  bool static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) override;
315  std::vector<static_tracepoint_marker> static_tracepoint_markers_by_strid (const char *arg0) override;
316  traceframe_info_up traceframe_info () override;
317  bool use_agent (bool arg0) override;
318  bool can_use_agent () override;
319  struct btrace_target_info *enable_btrace (ptid_t arg0, const struct btrace_config *arg1) override;
320  void disable_btrace (struct btrace_target_info *arg0) override;
321  void teardown_btrace (struct btrace_target_info *arg0) override;
322  enum btrace_error read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) override;
323  const struct btrace_config *btrace_conf (const struct btrace_target_info *arg0) override;
324  enum record_method record_method (ptid_t arg0) override;
325  void stop_recording () override;
326  void info_record () override;
327  void save_record (const char *arg0) override;
328  bool supports_delete_record () override;
329  void delete_record () override;
330  bool record_is_replaying (ptid_t arg0) override;
331  bool record_will_replay (ptid_t arg0, int arg1) override;
332  void record_stop_replaying () override;
333  void goto_record_begin () override;
334  void goto_record_end () override;
335  void goto_record (ULONGEST arg0) override;
336  void insn_history (int arg0, gdb_disassembly_flags arg1) override;
337  void insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) override;
338  void insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) override;
339  void call_history (int arg0, record_print_flags arg1) override;
340  void call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) override;
341  void call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) override;
342  bool augmented_libraries_svr4_read () override;
343  const struct frame_unwind *get_unwinder () override;
344  const struct frame_unwind *get_tailcall_unwinder () override;
345  void prepare_to_generate_core () override;
346  void done_generating_core () override;
347};
348
349void
350target_ops::post_attach (int arg0)
351{
352  this->beneath ()->post_attach (arg0);
353}
354
355void
356dummy_target::post_attach (int arg0)
357{
358}
359
360void
361debug_target::post_attach (int arg0)
362{
363  fprintf_unfiltered (gdb_stdlog, "-> %s->post_attach (...)\n", this->beneath ()->shortname ());
364  this->beneath ()->post_attach (arg0);
365  fprintf_unfiltered (gdb_stdlog, "<- %s->post_attach (", this->beneath ()->shortname ());
366  target_debug_print_int (arg0);
367  fputs_unfiltered (")\n", gdb_stdlog);
368}
369
370void
371target_ops::detach (inferior *arg0, int arg1)
372{
373  this->beneath ()->detach (arg0, arg1);
374}
375
376void
377dummy_target::detach (inferior *arg0, int arg1)
378{
379}
380
381void
382debug_target::detach (inferior *arg0, int arg1)
383{
384  fprintf_unfiltered (gdb_stdlog, "-> %s->detach (...)\n", this->beneath ()->shortname ());
385  this->beneath ()->detach (arg0, arg1);
386  fprintf_unfiltered (gdb_stdlog, "<- %s->detach (", this->beneath ()->shortname ());
387  target_debug_print_inferior_p (arg0);
388  fputs_unfiltered (", ", gdb_stdlog);
389  target_debug_print_int (arg1);
390  fputs_unfiltered (")\n", gdb_stdlog);
391}
392
393void
394target_ops::disconnect (const char *arg0, int arg1)
395{
396  this->beneath ()->disconnect (arg0, arg1);
397}
398
399void
400dummy_target::disconnect (const char *arg0, int arg1)
401{
402  tcomplain ();
403}
404
405void
406debug_target::disconnect (const char *arg0, int arg1)
407{
408  fprintf_unfiltered (gdb_stdlog, "-> %s->disconnect (...)\n", this->beneath ()->shortname ());
409  this->beneath ()->disconnect (arg0, arg1);
410  fprintf_unfiltered (gdb_stdlog, "<- %s->disconnect (", this->beneath ()->shortname ());
411  target_debug_print_const_char_p (arg0);
412  fputs_unfiltered (", ", gdb_stdlog);
413  target_debug_print_int (arg1);
414  fputs_unfiltered (")\n", gdb_stdlog);
415}
416
417void
418target_ops::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
419{
420  this->beneath ()->resume (arg0, arg1, arg2);
421}
422
423void
424dummy_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
425{
426  noprocess ();
427}
428
429void
430debug_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2)
431{
432  fprintf_unfiltered (gdb_stdlog, "-> %s->resume (...)\n", this->beneath ()->shortname ());
433  this->beneath ()->resume (arg0, arg1, arg2);
434  fprintf_unfiltered (gdb_stdlog, "<- %s->resume (", this->beneath ()->shortname ());
435  target_debug_print_ptid_t (arg0);
436  fputs_unfiltered (", ", gdb_stdlog);
437  target_debug_print_step (arg1);
438  fputs_unfiltered (", ", gdb_stdlog);
439  target_debug_print_enum_gdb_signal (arg2);
440  fputs_unfiltered (")\n", gdb_stdlog);
441}
442
443void
444target_ops::commit_resume ()
445{
446  this->beneath ()->commit_resume ();
447}
448
449void
450dummy_target::commit_resume ()
451{
452}
453
454void
455debug_target::commit_resume ()
456{
457  fprintf_unfiltered (gdb_stdlog, "-> %s->commit_resume (...)\n", this->beneath ()->shortname ());
458  this->beneath ()->commit_resume ();
459  fprintf_unfiltered (gdb_stdlog, "<- %s->commit_resume (", this->beneath ()->shortname ());
460  fputs_unfiltered (")\n", gdb_stdlog);
461}
462
463ptid_t
464target_ops::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2)
465{
466  return this->beneath ()->wait (arg0, arg1, arg2);
467}
468
469ptid_t
470dummy_target::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2)
471{
472  return default_target_wait (this, arg0, arg1, arg2);
473}
474
475ptid_t
476debug_target::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2)
477{
478  ptid_t result;
479  fprintf_unfiltered (gdb_stdlog, "-> %s->wait (...)\n", this->beneath ()->shortname ());
480  result = this->beneath ()->wait (arg0, arg1, arg2);
481  fprintf_unfiltered (gdb_stdlog, "<- %s->wait (", this->beneath ()->shortname ());
482  target_debug_print_ptid_t (arg0);
483  fputs_unfiltered (", ", gdb_stdlog);
484  target_debug_print_struct_target_waitstatus_p (arg1);
485  fputs_unfiltered (", ", gdb_stdlog);
486  target_debug_print_options (arg2);
487  fputs_unfiltered (") = ", gdb_stdlog);
488  target_debug_print_ptid_t (result);
489  fputs_unfiltered ("\n", gdb_stdlog);
490  return result;
491}
492
493void
494target_ops::fetch_registers (struct regcache *arg0, int arg1)
495{
496  this->beneath ()->fetch_registers (arg0, arg1);
497}
498
499void
500dummy_target::fetch_registers (struct regcache *arg0, int arg1)
501{
502}
503
504void
505debug_target::fetch_registers (struct regcache *arg0, int arg1)
506{
507  fprintf_unfiltered (gdb_stdlog, "-> %s->fetch_registers (...)\n", this->beneath ()->shortname ());
508  this->beneath ()->fetch_registers (arg0, arg1);
509  fprintf_unfiltered (gdb_stdlog, "<- %s->fetch_registers (", this->beneath ()->shortname ());
510  target_debug_print_struct_regcache_p (arg0);
511  fputs_unfiltered (", ", gdb_stdlog);
512  target_debug_print_int (arg1);
513  fputs_unfiltered (")\n", gdb_stdlog);
514}
515
516void
517target_ops::store_registers (struct regcache *arg0, int arg1)
518{
519  this->beneath ()->store_registers (arg0, arg1);
520}
521
522void
523dummy_target::store_registers (struct regcache *arg0, int arg1)
524{
525  noprocess ();
526}
527
528void
529debug_target::store_registers (struct regcache *arg0, int arg1)
530{
531  fprintf_unfiltered (gdb_stdlog, "-> %s->store_registers (...)\n", this->beneath ()->shortname ());
532  this->beneath ()->store_registers (arg0, arg1);
533  fprintf_unfiltered (gdb_stdlog, "<- %s->store_registers (", this->beneath ()->shortname ());
534  target_debug_print_struct_regcache_p (arg0);
535  fputs_unfiltered (", ", gdb_stdlog);
536  target_debug_print_int (arg1);
537  fputs_unfiltered (")\n", gdb_stdlog);
538}
539
540void
541target_ops::prepare_to_store (struct regcache *arg0)
542{
543  this->beneath ()->prepare_to_store (arg0);
544}
545
546void
547dummy_target::prepare_to_store (struct regcache *arg0)
548{
549  noprocess ();
550}
551
552void
553debug_target::prepare_to_store (struct regcache *arg0)
554{
555  fprintf_unfiltered (gdb_stdlog, "-> %s->prepare_to_store (...)\n", this->beneath ()->shortname ());
556  this->beneath ()->prepare_to_store (arg0);
557  fprintf_unfiltered (gdb_stdlog, "<- %s->prepare_to_store (", this->beneath ()->shortname ());
558  target_debug_print_struct_regcache_p (arg0);
559  fputs_unfiltered (")\n", gdb_stdlog);
560}
561
562void
563target_ops::files_info ()
564{
565  this->beneath ()->files_info ();
566}
567
568void
569dummy_target::files_info ()
570{
571}
572
573void
574debug_target::files_info ()
575{
576  fprintf_unfiltered (gdb_stdlog, "-> %s->files_info (...)\n", this->beneath ()->shortname ());
577  this->beneath ()->files_info ();
578  fprintf_unfiltered (gdb_stdlog, "<- %s->files_info (", this->beneath ()->shortname ());
579  fputs_unfiltered (")\n", gdb_stdlog);
580}
581
582int
583target_ops::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
584{
585  return this->beneath ()->insert_breakpoint (arg0, arg1);
586}
587
588int
589dummy_target::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
590{
591  noprocess ();
592}
593
594int
595debug_target::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
596{
597  int result;
598  fprintf_unfiltered (gdb_stdlog, "-> %s->insert_breakpoint (...)\n", this->beneath ()->shortname ());
599  result = this->beneath ()->insert_breakpoint (arg0, arg1);
600  fprintf_unfiltered (gdb_stdlog, "<- %s->insert_breakpoint (", this->beneath ()->shortname ());
601  target_debug_print_struct_gdbarch_p (arg0);
602  fputs_unfiltered (", ", gdb_stdlog);
603  target_debug_print_struct_bp_target_info_p (arg1);
604  fputs_unfiltered (") = ", gdb_stdlog);
605  target_debug_print_int (result);
606  fputs_unfiltered ("\n", gdb_stdlog);
607  return result;
608}
609
610int
611target_ops::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2)
612{
613  return this->beneath ()->remove_breakpoint (arg0, arg1, arg2);
614}
615
616int
617dummy_target::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2)
618{
619  noprocess ();
620}
621
622int
623debug_target::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2)
624{
625  int result;
626  fprintf_unfiltered (gdb_stdlog, "-> %s->remove_breakpoint (...)\n", this->beneath ()->shortname ());
627  result = this->beneath ()->remove_breakpoint (arg0, arg1, arg2);
628  fprintf_unfiltered (gdb_stdlog, "<- %s->remove_breakpoint (", this->beneath ()->shortname ());
629  target_debug_print_struct_gdbarch_p (arg0);
630  fputs_unfiltered (", ", gdb_stdlog);
631  target_debug_print_struct_bp_target_info_p (arg1);
632  fputs_unfiltered (", ", gdb_stdlog);
633  target_debug_print_enum_remove_bp_reason (arg2);
634  fputs_unfiltered (") = ", gdb_stdlog);
635  target_debug_print_int (result);
636  fputs_unfiltered ("\n", gdb_stdlog);
637  return result;
638}
639
640bool
641target_ops::stopped_by_sw_breakpoint ()
642{
643  return this->beneath ()->stopped_by_sw_breakpoint ();
644}
645
646bool
647dummy_target::stopped_by_sw_breakpoint ()
648{
649  return false;
650}
651
652bool
653debug_target::stopped_by_sw_breakpoint ()
654{
655  bool result;
656  fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
657  result = this->beneath ()->stopped_by_sw_breakpoint ();
658  fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
659  fputs_unfiltered (") = ", gdb_stdlog);
660  target_debug_print_bool (result);
661  fputs_unfiltered ("\n", gdb_stdlog);
662  return result;
663}
664
665bool
666target_ops::supports_stopped_by_sw_breakpoint ()
667{
668  return this->beneath ()->supports_stopped_by_sw_breakpoint ();
669}
670
671bool
672dummy_target::supports_stopped_by_sw_breakpoint ()
673{
674  return false;
675}
676
677bool
678debug_target::supports_stopped_by_sw_breakpoint ()
679{
680  bool result;
681  fprintf_unfiltered (gdb_stdlog, "-> %s->supports_stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
682  result = this->beneath ()->supports_stopped_by_sw_breakpoint ();
683  fprintf_unfiltered (gdb_stdlog, "<- %s->supports_stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
684  fputs_unfiltered (") = ", gdb_stdlog);
685  target_debug_print_bool (result);
686  fputs_unfiltered ("\n", gdb_stdlog);
687  return result;
688}
689
690bool
691target_ops::stopped_by_hw_breakpoint ()
692{
693  return this->beneath ()->stopped_by_hw_breakpoint ();
694}
695
696bool
697dummy_target::stopped_by_hw_breakpoint ()
698{
699  return false;
700}
701
702bool
703debug_target::stopped_by_hw_breakpoint ()
704{
705  bool result;
706  fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
707  result = this->beneath ()->stopped_by_hw_breakpoint ();
708  fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
709  fputs_unfiltered (") = ", gdb_stdlog);
710  target_debug_print_bool (result);
711  fputs_unfiltered ("\n", gdb_stdlog);
712  return result;
713}
714
715bool
716target_ops::supports_stopped_by_hw_breakpoint ()
717{
718  return this->beneath ()->supports_stopped_by_hw_breakpoint ();
719}
720
721bool
722dummy_target::supports_stopped_by_hw_breakpoint ()
723{
724  return false;
725}
726
727bool
728debug_target::supports_stopped_by_hw_breakpoint ()
729{
730  bool result;
731  fprintf_unfiltered (gdb_stdlog, "-> %s->supports_stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
732  result = this->beneath ()->supports_stopped_by_hw_breakpoint ();
733  fprintf_unfiltered (gdb_stdlog, "<- %s->supports_stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
734  fputs_unfiltered (") = ", gdb_stdlog);
735  target_debug_print_bool (result);
736  fputs_unfiltered ("\n", gdb_stdlog);
737  return result;
738}
739
740int
741target_ops::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
742{
743  return this->beneath ()->can_use_hw_breakpoint (arg0, arg1, arg2);
744}
745
746int
747dummy_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
748{
749  return 0;
750}
751
752int
753debug_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2)
754{
755  int result;
756  fprintf_unfiltered (gdb_stdlog, "-> %s->can_use_hw_breakpoint (...)\n", this->beneath ()->shortname ());
757  result = this->beneath ()->can_use_hw_breakpoint (arg0, arg1, arg2);
758  fprintf_unfiltered (gdb_stdlog, "<- %s->can_use_hw_breakpoint (", this->beneath ()->shortname ());
759  target_debug_print_enum_bptype (arg0);
760  fputs_unfiltered (", ", gdb_stdlog);
761  target_debug_print_int (arg1);
762  fputs_unfiltered (", ", gdb_stdlog);
763  target_debug_print_int (arg2);
764  fputs_unfiltered (") = ", gdb_stdlog);
765  target_debug_print_int (result);
766  fputs_unfiltered ("\n", gdb_stdlog);
767  return result;
768}
769
770int
771target_ops::ranged_break_num_registers ()
772{
773  return this->beneath ()->ranged_break_num_registers ();
774}
775
776int
777dummy_target::ranged_break_num_registers ()
778{
779  return -1;
780}
781
782int
783debug_target::ranged_break_num_registers ()
784{
785  int result;
786  fprintf_unfiltered (gdb_stdlog, "-> %s->ranged_break_num_registers (...)\n", this->beneath ()->shortname ());
787  result = this->beneath ()->ranged_break_num_registers ();
788  fprintf_unfiltered (gdb_stdlog, "<- %s->ranged_break_num_registers (", this->beneath ()->shortname ());
789  fputs_unfiltered (") = ", gdb_stdlog);
790  target_debug_print_int (result);
791  fputs_unfiltered ("\n", gdb_stdlog);
792  return result;
793}
794
795int
796target_ops::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
797{
798  return this->beneath ()->insert_hw_breakpoint (arg0, arg1);
799}
800
801int
802dummy_target::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
803{
804  return -1;
805}
806
807int
808debug_target::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
809{
810  int result;
811  fprintf_unfiltered (gdb_stdlog, "-> %s->insert_hw_breakpoint (...)\n", this->beneath ()->shortname ());
812  result = this->beneath ()->insert_hw_breakpoint (arg0, arg1);
813  fprintf_unfiltered (gdb_stdlog, "<- %s->insert_hw_breakpoint (", this->beneath ()->shortname ());
814  target_debug_print_struct_gdbarch_p (arg0);
815  fputs_unfiltered (", ", gdb_stdlog);
816  target_debug_print_struct_bp_target_info_p (arg1);
817  fputs_unfiltered (") = ", gdb_stdlog);
818  target_debug_print_int (result);
819  fputs_unfiltered ("\n", gdb_stdlog);
820  return result;
821}
822
823int
824target_ops::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
825{
826  return this->beneath ()->remove_hw_breakpoint (arg0, arg1);
827}
828
829int
830dummy_target::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
831{
832  return -1;
833}
834
835int
836debug_target::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1)
837{
838  int result;
839  fprintf_unfiltered (gdb_stdlog, "-> %s->remove_hw_breakpoint (...)\n", this->beneath ()->shortname ());
840  result = this->beneath ()->remove_hw_breakpoint (arg0, arg1);
841  fprintf_unfiltered (gdb_stdlog, "<- %s->remove_hw_breakpoint (", this->beneath ()->shortname ());
842  target_debug_print_struct_gdbarch_p (arg0);
843  fputs_unfiltered (", ", gdb_stdlog);
844  target_debug_print_struct_bp_target_info_p (arg1);
845  fputs_unfiltered (") = ", gdb_stdlog);
846  target_debug_print_int (result);
847  fputs_unfiltered ("\n", gdb_stdlog);
848  return result;
849}
850
851int
852target_ops::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
853{
854  return this->beneath ()->remove_watchpoint (arg0, arg1, arg2, arg3);
855}
856
857int
858dummy_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
859{
860  return -1;
861}
862
863int
864debug_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
865{
866  int result;
867  fprintf_unfiltered (gdb_stdlog, "-> %s->remove_watchpoint (...)\n", this->beneath ()->shortname ());
868  result = this->beneath ()->remove_watchpoint (arg0, arg1, arg2, arg3);
869  fprintf_unfiltered (gdb_stdlog, "<- %s->remove_watchpoint (", this->beneath ()->shortname ());
870  target_debug_print_CORE_ADDR (arg0);
871  fputs_unfiltered (", ", gdb_stdlog);
872  target_debug_print_int (arg1);
873  fputs_unfiltered (", ", gdb_stdlog);
874  target_debug_print_enum_target_hw_bp_type (arg2);
875  fputs_unfiltered (", ", gdb_stdlog);
876  target_debug_print_struct_expression_p (arg3);
877  fputs_unfiltered (") = ", gdb_stdlog);
878  target_debug_print_int (result);
879  fputs_unfiltered ("\n", gdb_stdlog);
880  return result;
881}
882
883int
884target_ops::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
885{
886  return this->beneath ()->insert_watchpoint (arg0, arg1, arg2, arg3);
887}
888
889int
890dummy_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
891{
892  return -1;
893}
894
895int
896debug_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3)
897{
898  int result;
899  fprintf_unfiltered (gdb_stdlog, "-> %s->insert_watchpoint (...)\n", this->beneath ()->shortname ());
900  result = this->beneath ()->insert_watchpoint (arg0, arg1, arg2, arg3);
901  fprintf_unfiltered (gdb_stdlog, "<- %s->insert_watchpoint (", this->beneath ()->shortname ());
902  target_debug_print_CORE_ADDR (arg0);
903  fputs_unfiltered (", ", gdb_stdlog);
904  target_debug_print_int (arg1);
905  fputs_unfiltered (", ", gdb_stdlog);
906  target_debug_print_enum_target_hw_bp_type (arg2);
907  fputs_unfiltered (", ", gdb_stdlog);
908  target_debug_print_struct_expression_p (arg3);
909  fputs_unfiltered (") = ", gdb_stdlog);
910  target_debug_print_int (result);
911  fputs_unfiltered ("\n", gdb_stdlog);
912  return result;
913}
914
915int
916target_ops::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
917{
918  return this->beneath ()->insert_mask_watchpoint (arg0, arg1, arg2);
919}
920
921int
922dummy_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
923{
924  return 1;
925}
926
927int
928debug_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
929{
930  int result;
931  fprintf_unfiltered (gdb_stdlog, "-> %s->insert_mask_watchpoint (...)\n", this->beneath ()->shortname ());
932  result = this->beneath ()->insert_mask_watchpoint (arg0, arg1, arg2);
933  fprintf_unfiltered (gdb_stdlog, "<- %s->insert_mask_watchpoint (", this->beneath ()->shortname ());
934  target_debug_print_CORE_ADDR (arg0);
935  fputs_unfiltered (", ", gdb_stdlog);
936  target_debug_print_CORE_ADDR (arg1);
937  fputs_unfiltered (", ", gdb_stdlog);
938  target_debug_print_enum_target_hw_bp_type (arg2);
939  fputs_unfiltered (") = ", gdb_stdlog);
940  target_debug_print_int (result);
941  fputs_unfiltered ("\n", gdb_stdlog);
942  return result;
943}
944
945int
946target_ops::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
947{
948  return this->beneath ()->remove_mask_watchpoint (arg0, arg1, arg2);
949}
950
951int
952dummy_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
953{
954  return 1;
955}
956
957int
958debug_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2)
959{
960  int result;
961  fprintf_unfiltered (gdb_stdlog, "-> %s->remove_mask_watchpoint (...)\n", this->beneath ()->shortname ());
962  result = this->beneath ()->remove_mask_watchpoint (arg0, arg1, arg2);
963  fprintf_unfiltered (gdb_stdlog, "<- %s->remove_mask_watchpoint (", this->beneath ()->shortname ());
964  target_debug_print_CORE_ADDR (arg0);
965  fputs_unfiltered (", ", gdb_stdlog);
966  target_debug_print_CORE_ADDR (arg1);
967  fputs_unfiltered (", ", gdb_stdlog);
968  target_debug_print_enum_target_hw_bp_type (arg2);
969  fputs_unfiltered (") = ", gdb_stdlog);
970  target_debug_print_int (result);
971  fputs_unfiltered ("\n", gdb_stdlog);
972  return result;
973}
974
975bool
976target_ops::stopped_by_watchpoint ()
977{
978  return this->beneath ()->stopped_by_watchpoint ();
979}
980
981bool
982dummy_target::stopped_by_watchpoint ()
983{
984  return false;
985}
986
987bool
988debug_target::stopped_by_watchpoint ()
989{
990  bool result;
991  fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_by_watchpoint (...)\n", this->beneath ()->shortname ());
992  result = this->beneath ()->stopped_by_watchpoint ();
993  fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_by_watchpoint (", this->beneath ()->shortname ());
994  fputs_unfiltered (") = ", gdb_stdlog);
995  target_debug_print_bool (result);
996  fputs_unfiltered ("\n", gdb_stdlog);
997  return result;
998}
999
1000bool
1001target_ops::have_steppable_watchpoint ()
1002{
1003  return this->beneath ()->have_steppable_watchpoint ();
1004}
1005
1006bool
1007dummy_target::have_steppable_watchpoint ()
1008{
1009  return false;
1010}
1011
1012bool
1013debug_target::have_steppable_watchpoint ()
1014{
1015  bool result;
1016  fprintf_unfiltered (gdb_stdlog, "-> %s->have_steppable_watchpoint (...)\n", this->beneath ()->shortname ());
1017  result = this->beneath ()->have_steppable_watchpoint ();
1018  fprintf_unfiltered (gdb_stdlog, "<- %s->have_steppable_watchpoint (", this->beneath ()->shortname ());
1019  fputs_unfiltered (") = ", gdb_stdlog);
1020  target_debug_print_bool (result);
1021  fputs_unfiltered ("\n", gdb_stdlog);
1022  return result;
1023}
1024
1025bool
1026target_ops::stopped_data_address (CORE_ADDR *arg0)
1027{
1028  return this->beneath ()->stopped_data_address (arg0);
1029}
1030
1031bool
1032dummy_target::stopped_data_address (CORE_ADDR *arg0)
1033{
1034  return false;
1035}
1036
1037bool
1038debug_target::stopped_data_address (CORE_ADDR *arg0)
1039{
1040  bool result;
1041  fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_data_address (...)\n", this->beneath ()->shortname ());
1042  result = this->beneath ()->stopped_data_address (arg0);
1043  fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_data_address (", this->beneath ()->shortname ());
1044  target_debug_print_CORE_ADDR_p (arg0);
1045  fputs_unfiltered (") = ", gdb_stdlog);
1046  target_debug_print_bool (result);
1047  fputs_unfiltered ("\n", gdb_stdlog);
1048  return result;
1049}
1050
1051bool
1052target_ops::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1053{
1054  return this->beneath ()->watchpoint_addr_within_range (arg0, arg1, arg2);
1055}
1056
1057bool
1058dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1059{
1060  return default_watchpoint_addr_within_range (this, arg0, arg1, arg2);
1061}
1062
1063bool
1064debug_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2)
1065{
1066  bool result;
1067  fprintf_unfiltered (gdb_stdlog, "-> %s->watchpoint_addr_within_range (...)\n", this->beneath ()->shortname ());
1068  result = this->beneath ()->watchpoint_addr_within_range (arg0, arg1, arg2);
1069  fprintf_unfiltered (gdb_stdlog, "<- %s->watchpoint_addr_within_range (", this->beneath ()->shortname ());
1070  target_debug_print_CORE_ADDR (arg0);
1071  fputs_unfiltered (", ", gdb_stdlog);
1072  target_debug_print_CORE_ADDR (arg1);
1073  fputs_unfiltered (", ", gdb_stdlog);
1074  target_debug_print_int (arg2);
1075  fputs_unfiltered (") = ", gdb_stdlog);
1076  target_debug_print_bool (result);
1077  fputs_unfiltered ("\n", gdb_stdlog);
1078  return result;
1079}
1080
1081int
1082target_ops::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1)
1083{
1084  return this->beneath ()->region_ok_for_hw_watchpoint (arg0, arg1);
1085}
1086
1087int
1088dummy_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1)
1089{
1090  return default_region_ok_for_hw_watchpoint (this, arg0, arg1);
1091}
1092
1093int
1094debug_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1)
1095{
1096  int result;
1097  fprintf_unfiltered (gdb_stdlog, "-> %s->region_ok_for_hw_watchpoint (...)\n", this->beneath ()->shortname ());
1098  result = this->beneath ()->region_ok_for_hw_watchpoint (arg0, arg1);
1099  fprintf_unfiltered (gdb_stdlog, "<- %s->region_ok_for_hw_watchpoint (", this->beneath ()->shortname ());
1100  target_debug_print_CORE_ADDR (arg0);
1101  fputs_unfiltered (", ", gdb_stdlog);
1102  target_debug_print_int (arg1);
1103  fputs_unfiltered (") = ", gdb_stdlog);
1104  target_debug_print_int (result);
1105  fputs_unfiltered ("\n", gdb_stdlog);
1106  return result;
1107}
1108
1109bool
1110target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1111{
1112  return this->beneath ()->can_accel_watchpoint_condition (arg0, arg1, arg2, arg3);
1113}
1114
1115bool
1116dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1117{
1118  return false;
1119}
1120
1121bool
1122debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3)
1123{
1124  bool result;
1125  fprintf_unfiltered (gdb_stdlog, "-> %s->can_accel_watchpoint_condition (...)\n", this->beneath ()->shortname ());
1126  result = this->beneath ()->can_accel_watchpoint_condition (arg0, arg1, arg2, arg3);
1127  fprintf_unfiltered (gdb_stdlog, "<- %s->can_accel_watchpoint_condition (", this->beneath ()->shortname ());
1128  target_debug_print_CORE_ADDR (arg0);
1129  fputs_unfiltered (", ", gdb_stdlog);
1130  target_debug_print_int (arg1);
1131  fputs_unfiltered (", ", gdb_stdlog);
1132  target_debug_print_int (arg2);
1133  fputs_unfiltered (", ", gdb_stdlog);
1134  target_debug_print_struct_expression_p (arg3);
1135  fputs_unfiltered (") = ", gdb_stdlog);
1136  target_debug_print_bool (result);
1137  fputs_unfiltered ("\n", gdb_stdlog);
1138  return result;
1139}
1140
1141int
1142target_ops::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1143{
1144  return this->beneath ()->masked_watch_num_registers (arg0, arg1);
1145}
1146
1147int
1148dummy_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1149{
1150  return -1;
1151}
1152
1153int
1154debug_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1)
1155{
1156  int result;
1157  fprintf_unfiltered (gdb_stdlog, "-> %s->masked_watch_num_registers (...)\n", this->beneath ()->shortname ());
1158  result = this->beneath ()->masked_watch_num_registers (arg0, arg1);
1159  fprintf_unfiltered (gdb_stdlog, "<- %s->masked_watch_num_registers (", this->beneath ()->shortname ());
1160  target_debug_print_CORE_ADDR (arg0);
1161  fputs_unfiltered (", ", gdb_stdlog);
1162  target_debug_print_CORE_ADDR (arg1);
1163  fputs_unfiltered (") = ", gdb_stdlog);
1164  target_debug_print_int (result);
1165  fputs_unfiltered ("\n", gdb_stdlog);
1166  return result;
1167}
1168
1169int
1170target_ops::can_do_single_step ()
1171{
1172  return this->beneath ()->can_do_single_step ();
1173}
1174
1175int
1176dummy_target::can_do_single_step ()
1177{
1178  return -1;
1179}
1180
1181int
1182debug_target::can_do_single_step ()
1183{
1184  int result;
1185  fprintf_unfiltered (gdb_stdlog, "-> %s->can_do_single_step (...)\n", this->beneath ()->shortname ());
1186  result = this->beneath ()->can_do_single_step ();
1187  fprintf_unfiltered (gdb_stdlog, "<- %s->can_do_single_step (", this->beneath ()->shortname ());
1188  fputs_unfiltered (") = ", gdb_stdlog);
1189  target_debug_print_int (result);
1190  fputs_unfiltered ("\n", gdb_stdlog);
1191  return result;
1192}
1193
1194bool
1195target_ops::supports_terminal_ours ()
1196{
1197  return this->beneath ()->supports_terminal_ours ();
1198}
1199
1200bool
1201dummy_target::supports_terminal_ours ()
1202{
1203  return false;
1204}
1205
1206bool
1207debug_target::supports_terminal_ours ()
1208{
1209  bool result;
1210  fprintf_unfiltered (gdb_stdlog, "-> %s->supports_terminal_ours (...)\n", this->beneath ()->shortname ());
1211  result = this->beneath ()->supports_terminal_ours ();
1212  fprintf_unfiltered (gdb_stdlog, "<- %s->supports_terminal_ours (", this->beneath ()->shortname ());
1213  fputs_unfiltered (") = ", gdb_stdlog);
1214  target_debug_print_bool (result);
1215  fputs_unfiltered ("\n", gdb_stdlog);
1216  return result;
1217}
1218
1219void
1220target_ops::terminal_init ()
1221{
1222  this->beneath ()->terminal_init ();
1223}
1224
1225void
1226dummy_target::terminal_init ()
1227{
1228}
1229
1230void
1231debug_target::terminal_init ()
1232{
1233  fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_init (...)\n", this->beneath ()->shortname ());
1234  this->beneath ()->terminal_init ();
1235  fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_init (", this->beneath ()->shortname ());
1236  fputs_unfiltered (")\n", gdb_stdlog);
1237}
1238
1239void
1240target_ops::terminal_inferior ()
1241{
1242  this->beneath ()->terminal_inferior ();
1243}
1244
1245void
1246dummy_target::terminal_inferior ()
1247{
1248}
1249
1250void
1251debug_target::terminal_inferior ()
1252{
1253  fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_inferior (...)\n", this->beneath ()->shortname ());
1254  this->beneath ()->terminal_inferior ();
1255  fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_inferior (", this->beneath ()->shortname ());
1256  fputs_unfiltered (")\n", gdb_stdlog);
1257}
1258
1259void
1260target_ops::terminal_save_inferior ()
1261{
1262  this->beneath ()->terminal_save_inferior ();
1263}
1264
1265void
1266dummy_target::terminal_save_inferior ()
1267{
1268}
1269
1270void
1271debug_target::terminal_save_inferior ()
1272{
1273  fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_save_inferior (...)\n", this->beneath ()->shortname ());
1274  this->beneath ()->terminal_save_inferior ();
1275  fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_save_inferior (", this->beneath ()->shortname ());
1276  fputs_unfiltered (")\n", gdb_stdlog);
1277}
1278
1279void
1280target_ops::terminal_ours_for_output ()
1281{
1282  this->beneath ()->terminal_ours_for_output ();
1283}
1284
1285void
1286dummy_target::terminal_ours_for_output ()
1287{
1288}
1289
1290void
1291debug_target::terminal_ours_for_output ()
1292{
1293  fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_ours_for_output (...)\n", this->beneath ()->shortname ());
1294  this->beneath ()->terminal_ours_for_output ();
1295  fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_ours_for_output (", this->beneath ()->shortname ());
1296  fputs_unfiltered (")\n", gdb_stdlog);
1297}
1298
1299void
1300target_ops::terminal_ours ()
1301{
1302  this->beneath ()->terminal_ours ();
1303}
1304
1305void
1306dummy_target::terminal_ours ()
1307{
1308}
1309
1310void
1311debug_target::terminal_ours ()
1312{
1313  fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_ours (...)\n", this->beneath ()->shortname ());
1314  this->beneath ()->terminal_ours ();
1315  fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_ours (", this->beneath ()->shortname ());
1316  fputs_unfiltered (")\n", gdb_stdlog);
1317}
1318
1319void
1320target_ops::terminal_info (const char *arg0, int arg1)
1321{
1322  this->beneath ()->terminal_info (arg0, arg1);
1323}
1324
1325void
1326dummy_target::terminal_info (const char *arg0, int arg1)
1327{
1328  default_terminal_info (this, arg0, arg1);
1329}
1330
1331void
1332debug_target::terminal_info (const char *arg0, int arg1)
1333{
1334  fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_info (...)\n", this->beneath ()->shortname ());
1335  this->beneath ()->terminal_info (arg0, arg1);
1336  fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_info (", this->beneath ()->shortname ());
1337  target_debug_print_const_char_p (arg0);
1338  fputs_unfiltered (", ", gdb_stdlog);
1339  target_debug_print_int (arg1);
1340  fputs_unfiltered (")\n", gdb_stdlog);
1341}
1342
1343void
1344target_ops::kill ()
1345{
1346  this->beneath ()->kill ();
1347}
1348
1349void
1350dummy_target::kill ()
1351{
1352  noprocess ();
1353}
1354
1355void
1356debug_target::kill ()
1357{
1358  fprintf_unfiltered (gdb_stdlog, "-> %s->kill (...)\n", this->beneath ()->shortname ());
1359  this->beneath ()->kill ();
1360  fprintf_unfiltered (gdb_stdlog, "<- %s->kill (", this->beneath ()->shortname ());
1361  fputs_unfiltered (")\n", gdb_stdlog);
1362}
1363
1364void
1365target_ops::load (const char *arg0, int arg1)
1366{
1367  this->beneath ()->load (arg0, arg1);
1368}
1369
1370void
1371dummy_target::load (const char *arg0, int arg1)
1372{
1373  tcomplain ();
1374}
1375
1376void
1377debug_target::load (const char *arg0, int arg1)
1378{
1379  fprintf_unfiltered (gdb_stdlog, "-> %s->load (...)\n", this->beneath ()->shortname ());
1380  this->beneath ()->load (arg0, arg1);
1381  fprintf_unfiltered (gdb_stdlog, "<- %s->load (", this->beneath ()->shortname ());
1382  target_debug_print_const_char_p (arg0);
1383  fputs_unfiltered (", ", gdb_stdlog);
1384  target_debug_print_int (arg1);
1385  fputs_unfiltered (")\n", gdb_stdlog);
1386}
1387
1388void
1389target_ops::post_startup_inferior (ptid_t arg0)
1390{
1391  this->beneath ()->post_startup_inferior (arg0);
1392}
1393
1394void
1395dummy_target::post_startup_inferior (ptid_t arg0)
1396{
1397}
1398
1399void
1400debug_target::post_startup_inferior (ptid_t arg0)
1401{
1402  fprintf_unfiltered (gdb_stdlog, "-> %s->post_startup_inferior (...)\n", this->beneath ()->shortname ());
1403  this->beneath ()->post_startup_inferior (arg0);
1404  fprintf_unfiltered (gdb_stdlog, "<- %s->post_startup_inferior (", this->beneath ()->shortname ());
1405  target_debug_print_ptid_t (arg0);
1406  fputs_unfiltered (")\n", gdb_stdlog);
1407}
1408
1409int
1410target_ops::insert_fork_catchpoint (int arg0)
1411{
1412  return this->beneath ()->insert_fork_catchpoint (arg0);
1413}
1414
1415int
1416dummy_target::insert_fork_catchpoint (int arg0)
1417{
1418  return 1;
1419}
1420
1421int
1422debug_target::insert_fork_catchpoint (int arg0)
1423{
1424  int result;
1425  fprintf_unfiltered (gdb_stdlog, "-> %s->insert_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1426  result = this->beneath ()->insert_fork_catchpoint (arg0);
1427  fprintf_unfiltered (gdb_stdlog, "<- %s->insert_fork_catchpoint (", this->beneath ()->shortname ());
1428  target_debug_print_int (arg0);
1429  fputs_unfiltered (") = ", gdb_stdlog);
1430  target_debug_print_int (result);
1431  fputs_unfiltered ("\n", gdb_stdlog);
1432  return result;
1433}
1434
1435int
1436target_ops::remove_fork_catchpoint (int arg0)
1437{
1438  return this->beneath ()->remove_fork_catchpoint (arg0);
1439}
1440
1441int
1442dummy_target::remove_fork_catchpoint (int arg0)
1443{
1444  return 1;
1445}
1446
1447int
1448debug_target::remove_fork_catchpoint (int arg0)
1449{
1450  int result;
1451  fprintf_unfiltered (gdb_stdlog, "-> %s->remove_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1452  result = this->beneath ()->remove_fork_catchpoint (arg0);
1453  fprintf_unfiltered (gdb_stdlog, "<- %s->remove_fork_catchpoint (", this->beneath ()->shortname ());
1454  target_debug_print_int (arg0);
1455  fputs_unfiltered (") = ", gdb_stdlog);
1456  target_debug_print_int (result);
1457  fputs_unfiltered ("\n", gdb_stdlog);
1458  return result;
1459}
1460
1461int
1462target_ops::insert_vfork_catchpoint (int arg0)
1463{
1464  return this->beneath ()->insert_vfork_catchpoint (arg0);
1465}
1466
1467int
1468dummy_target::insert_vfork_catchpoint (int arg0)
1469{
1470  return 1;
1471}
1472
1473int
1474debug_target::insert_vfork_catchpoint (int arg0)
1475{
1476  int result;
1477  fprintf_unfiltered (gdb_stdlog, "-> %s->insert_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1478  result = this->beneath ()->insert_vfork_catchpoint (arg0);
1479  fprintf_unfiltered (gdb_stdlog, "<- %s->insert_vfork_catchpoint (", this->beneath ()->shortname ());
1480  target_debug_print_int (arg0);
1481  fputs_unfiltered (") = ", gdb_stdlog);
1482  target_debug_print_int (result);
1483  fputs_unfiltered ("\n", gdb_stdlog);
1484  return result;
1485}
1486
1487int
1488target_ops::remove_vfork_catchpoint (int arg0)
1489{
1490  return this->beneath ()->remove_vfork_catchpoint (arg0);
1491}
1492
1493int
1494dummy_target::remove_vfork_catchpoint (int arg0)
1495{
1496  return 1;
1497}
1498
1499int
1500debug_target::remove_vfork_catchpoint (int arg0)
1501{
1502  int result;
1503  fprintf_unfiltered (gdb_stdlog, "-> %s->remove_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1504  result = this->beneath ()->remove_vfork_catchpoint (arg0);
1505  fprintf_unfiltered (gdb_stdlog, "<- %s->remove_vfork_catchpoint (", this->beneath ()->shortname ());
1506  target_debug_print_int (arg0);
1507  fputs_unfiltered (") = ", gdb_stdlog);
1508  target_debug_print_int (result);
1509  fputs_unfiltered ("\n", gdb_stdlog);
1510  return result;
1511}
1512
1513bool
1514target_ops::follow_fork (bool arg0, bool arg1)
1515{
1516  return this->beneath ()->follow_fork (arg0, arg1);
1517}
1518
1519bool
1520dummy_target::follow_fork (bool arg0, bool arg1)
1521{
1522  return default_follow_fork (this, arg0, arg1);
1523}
1524
1525bool
1526debug_target::follow_fork (bool arg0, bool arg1)
1527{
1528  bool result;
1529  fprintf_unfiltered (gdb_stdlog, "-> %s->follow_fork (...)\n", this->beneath ()->shortname ());
1530  result = this->beneath ()->follow_fork (arg0, arg1);
1531  fprintf_unfiltered (gdb_stdlog, "<- %s->follow_fork (", this->beneath ()->shortname ());
1532  target_debug_print_bool (arg0);
1533  fputs_unfiltered (", ", gdb_stdlog);
1534  target_debug_print_bool (arg1);
1535  fputs_unfiltered (") = ", gdb_stdlog);
1536  target_debug_print_bool (result);
1537  fputs_unfiltered ("\n", gdb_stdlog);
1538  return result;
1539}
1540
1541int
1542target_ops::insert_exec_catchpoint (int arg0)
1543{
1544  return this->beneath ()->insert_exec_catchpoint (arg0);
1545}
1546
1547int
1548dummy_target::insert_exec_catchpoint (int arg0)
1549{
1550  return 1;
1551}
1552
1553int
1554debug_target::insert_exec_catchpoint (int arg0)
1555{
1556  int result;
1557  fprintf_unfiltered (gdb_stdlog, "-> %s->insert_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1558  result = this->beneath ()->insert_exec_catchpoint (arg0);
1559  fprintf_unfiltered (gdb_stdlog, "<- %s->insert_exec_catchpoint (", this->beneath ()->shortname ());
1560  target_debug_print_int (arg0);
1561  fputs_unfiltered (") = ", gdb_stdlog);
1562  target_debug_print_int (result);
1563  fputs_unfiltered ("\n", gdb_stdlog);
1564  return result;
1565}
1566
1567int
1568target_ops::remove_exec_catchpoint (int arg0)
1569{
1570  return this->beneath ()->remove_exec_catchpoint (arg0);
1571}
1572
1573int
1574dummy_target::remove_exec_catchpoint (int arg0)
1575{
1576  return 1;
1577}
1578
1579int
1580debug_target::remove_exec_catchpoint (int arg0)
1581{
1582  int result;
1583  fprintf_unfiltered (gdb_stdlog, "-> %s->remove_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1584  result = this->beneath ()->remove_exec_catchpoint (arg0);
1585  fprintf_unfiltered (gdb_stdlog, "<- %s->remove_exec_catchpoint (", this->beneath ()->shortname ());
1586  target_debug_print_int (arg0);
1587  fputs_unfiltered (") = ", gdb_stdlog);
1588  target_debug_print_int (result);
1589  fputs_unfiltered ("\n", gdb_stdlog);
1590  return result;
1591}
1592
1593void
1594target_ops::follow_exec (struct inferior *arg0, const char *arg1)
1595{
1596  this->beneath ()->follow_exec (arg0, arg1);
1597}
1598
1599void
1600dummy_target::follow_exec (struct inferior *arg0, const char *arg1)
1601{
1602}
1603
1604void
1605debug_target::follow_exec (struct inferior *arg0, const char *arg1)
1606{
1607  fprintf_unfiltered (gdb_stdlog, "-> %s->follow_exec (...)\n", this->beneath ()->shortname ());
1608  this->beneath ()->follow_exec (arg0, arg1);
1609  fprintf_unfiltered (gdb_stdlog, "<- %s->follow_exec (", this->beneath ()->shortname ());
1610  target_debug_print_struct_inferior_p (arg0);
1611  fputs_unfiltered (", ", gdb_stdlog);
1612  target_debug_print_const_char_p (arg1);
1613  fputs_unfiltered (")\n", gdb_stdlog);
1614}
1615
1616int
1617target_ops::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1618{
1619  return this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3);
1620}
1621
1622int
1623dummy_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1624{
1625  return 1;
1626}
1627
1628int
1629debug_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
1630{
1631  int result;
1632  fprintf_unfiltered (gdb_stdlog, "-> %s->set_syscall_catchpoint (...)\n", this->beneath ()->shortname ());
1633  result = this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3);
1634  fprintf_unfiltered (gdb_stdlog, "<- %s->set_syscall_catchpoint (", this->beneath ()->shortname ());
1635  target_debug_print_int (arg0);
1636  fputs_unfiltered (", ", gdb_stdlog);
1637  target_debug_print_bool (arg1);
1638  fputs_unfiltered (", ", gdb_stdlog);
1639  target_debug_print_int (arg2);
1640  fputs_unfiltered (", ", gdb_stdlog);
1641  target_debug_print_gdb_array_view_const_int (arg3);
1642  fputs_unfiltered (") = ", gdb_stdlog);
1643  target_debug_print_int (result);
1644  fputs_unfiltered ("\n", gdb_stdlog);
1645  return result;
1646}
1647
1648void
1649target_ops::mourn_inferior ()
1650{
1651  this->beneath ()->mourn_inferior ();
1652}
1653
1654void
1655dummy_target::mourn_inferior ()
1656{
1657  default_mourn_inferior (this);
1658}
1659
1660void
1661debug_target::mourn_inferior ()
1662{
1663  fprintf_unfiltered (gdb_stdlog, "-> %s->mourn_inferior (...)\n", this->beneath ()->shortname ());
1664  this->beneath ()->mourn_inferior ();
1665  fprintf_unfiltered (gdb_stdlog, "<- %s->mourn_inferior (", this->beneath ()->shortname ());
1666  fputs_unfiltered (")\n", gdb_stdlog);
1667}
1668
1669void
1670target_ops::pass_signals (gdb::array_view<const unsigned char> arg0)
1671{
1672  this->beneath ()->pass_signals (arg0);
1673}
1674
1675void
1676dummy_target::pass_signals (gdb::array_view<const unsigned char> arg0)
1677{
1678}
1679
1680void
1681debug_target::pass_signals (gdb::array_view<const unsigned char> arg0)
1682{
1683  fprintf_unfiltered (gdb_stdlog, "-> %s->pass_signals (...)\n", this->beneath ()->shortname ());
1684  this->beneath ()->pass_signals (arg0);
1685  fprintf_unfiltered (gdb_stdlog, "<- %s->pass_signals (", this->beneath ()->shortname ());
1686  target_debug_print_signals (arg0);
1687  fputs_unfiltered (")\n", gdb_stdlog);
1688}
1689
1690void
1691target_ops::program_signals (gdb::array_view<const unsigned char> arg0)
1692{
1693  this->beneath ()->program_signals (arg0);
1694}
1695
1696void
1697dummy_target::program_signals (gdb::array_view<const unsigned char> arg0)
1698{
1699}
1700
1701void
1702debug_target::program_signals (gdb::array_view<const unsigned char> arg0)
1703{
1704  fprintf_unfiltered (gdb_stdlog, "-> %s->program_signals (...)\n", this->beneath ()->shortname ());
1705  this->beneath ()->program_signals (arg0);
1706  fprintf_unfiltered (gdb_stdlog, "<- %s->program_signals (", this->beneath ()->shortname ());
1707  target_debug_print_signals (arg0);
1708  fputs_unfiltered (")\n", gdb_stdlog);
1709}
1710
1711bool
1712target_ops::thread_alive (ptid_t arg0)
1713{
1714  return this->beneath ()->thread_alive (arg0);
1715}
1716
1717bool
1718dummy_target::thread_alive (ptid_t arg0)
1719{
1720  return false;
1721}
1722
1723bool
1724debug_target::thread_alive (ptid_t arg0)
1725{
1726  bool result;
1727  fprintf_unfiltered (gdb_stdlog, "-> %s->thread_alive (...)\n", this->beneath ()->shortname ());
1728  result = this->beneath ()->thread_alive (arg0);
1729  fprintf_unfiltered (gdb_stdlog, "<- %s->thread_alive (", this->beneath ()->shortname ());
1730  target_debug_print_ptid_t (arg0);
1731  fputs_unfiltered (") = ", gdb_stdlog);
1732  target_debug_print_bool (result);
1733  fputs_unfiltered ("\n", gdb_stdlog);
1734  return result;
1735}
1736
1737void
1738target_ops::update_thread_list ()
1739{
1740  this->beneath ()->update_thread_list ();
1741}
1742
1743void
1744dummy_target::update_thread_list ()
1745{
1746}
1747
1748void
1749debug_target::update_thread_list ()
1750{
1751  fprintf_unfiltered (gdb_stdlog, "-> %s->update_thread_list (...)\n", this->beneath ()->shortname ());
1752  this->beneath ()->update_thread_list ();
1753  fprintf_unfiltered (gdb_stdlog, "<- %s->update_thread_list (", this->beneath ()->shortname ());
1754  fputs_unfiltered (")\n", gdb_stdlog);
1755}
1756
1757std::string
1758target_ops::pid_to_str (ptid_t arg0)
1759{
1760  return this->beneath ()->pid_to_str (arg0);
1761}
1762
1763std::string
1764dummy_target::pid_to_str (ptid_t arg0)
1765{
1766  return default_pid_to_str (this, arg0);
1767}
1768
1769std::string
1770debug_target::pid_to_str (ptid_t arg0)
1771{
1772  std::string result;
1773  fprintf_unfiltered (gdb_stdlog, "-> %s->pid_to_str (...)\n", this->beneath ()->shortname ());
1774  result = this->beneath ()->pid_to_str (arg0);
1775  fprintf_unfiltered (gdb_stdlog, "<- %s->pid_to_str (", this->beneath ()->shortname ());
1776  target_debug_print_ptid_t (arg0);
1777  fputs_unfiltered (") = ", gdb_stdlog);
1778  target_debug_print_std_string (result);
1779  fputs_unfiltered ("\n", gdb_stdlog);
1780  return result;
1781}
1782
1783const char *
1784target_ops::extra_thread_info (thread_info *arg0)
1785{
1786  return this->beneath ()->extra_thread_info (arg0);
1787}
1788
1789const char *
1790dummy_target::extra_thread_info (thread_info *arg0)
1791{
1792  return NULL;
1793}
1794
1795const char *
1796debug_target::extra_thread_info (thread_info *arg0)
1797{
1798  const char * result;
1799  fprintf_unfiltered (gdb_stdlog, "-> %s->extra_thread_info (...)\n", this->beneath ()->shortname ());
1800  result = this->beneath ()->extra_thread_info (arg0);
1801  fprintf_unfiltered (gdb_stdlog, "<- %s->extra_thread_info (", this->beneath ()->shortname ());
1802  target_debug_print_thread_info_p (arg0);
1803  fputs_unfiltered (") = ", gdb_stdlog);
1804  target_debug_print_const_char_p (result);
1805  fputs_unfiltered ("\n", gdb_stdlog);
1806  return result;
1807}
1808
1809const char *
1810target_ops::thread_name (thread_info *arg0)
1811{
1812  return this->beneath ()->thread_name (arg0);
1813}
1814
1815const char *
1816dummy_target::thread_name (thread_info *arg0)
1817{
1818  return NULL;
1819}
1820
1821const char *
1822debug_target::thread_name (thread_info *arg0)
1823{
1824  const char * result;
1825  fprintf_unfiltered (gdb_stdlog, "-> %s->thread_name (...)\n", this->beneath ()->shortname ());
1826  result = this->beneath ()->thread_name (arg0);
1827  fprintf_unfiltered (gdb_stdlog, "<- %s->thread_name (", this->beneath ()->shortname ());
1828  target_debug_print_thread_info_p (arg0);
1829  fputs_unfiltered (") = ", gdb_stdlog);
1830  target_debug_print_const_char_p (result);
1831  fputs_unfiltered ("\n", gdb_stdlog);
1832  return result;
1833}
1834
1835thread_info *
1836target_ops::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1837{
1838  return this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2);
1839}
1840
1841thread_info *
1842dummy_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1843{
1844  return NULL;
1845}
1846
1847thread_info *
1848debug_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
1849{
1850  thread_info * result;
1851  fprintf_unfiltered (gdb_stdlog, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath ()->shortname ());
1852  result = this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2);
1853  fprintf_unfiltered (gdb_stdlog, "<- %s->thread_handle_to_thread_info (", this->beneath ()->shortname ());
1854  target_debug_print_const_gdb_byte_p (arg0);
1855  fputs_unfiltered (", ", gdb_stdlog);
1856  target_debug_print_int (arg1);
1857  fputs_unfiltered (", ", gdb_stdlog);
1858  target_debug_print_inferior_p (arg2);
1859  fputs_unfiltered (") = ", gdb_stdlog);
1860  target_debug_print_thread_info_p (result);
1861  fputs_unfiltered ("\n", gdb_stdlog);
1862  return result;
1863}
1864
1865gdb::byte_vector
1866target_ops::thread_info_to_thread_handle (struct thread_info *arg0)
1867{
1868  return this->beneath ()->thread_info_to_thread_handle (arg0);
1869}
1870
1871gdb::byte_vector
1872dummy_target::thread_info_to_thread_handle (struct thread_info *arg0)
1873{
1874  return gdb::byte_vector ();
1875}
1876
1877gdb::byte_vector
1878debug_target::thread_info_to_thread_handle (struct thread_info *arg0)
1879{
1880  gdb::byte_vector result;
1881  fprintf_unfiltered (gdb_stdlog, "-> %s->thread_info_to_thread_handle (...)\n", this->beneath ()->shortname ());
1882  result = this->beneath ()->thread_info_to_thread_handle (arg0);
1883  fprintf_unfiltered (gdb_stdlog, "<- %s->thread_info_to_thread_handle (", this->beneath ()->shortname ());
1884  target_debug_print_struct_thread_info_p (arg0);
1885  fputs_unfiltered (") = ", gdb_stdlog);
1886  target_debug_print_gdb_byte_vector (result);
1887  fputs_unfiltered ("\n", gdb_stdlog);
1888  return result;
1889}
1890
1891void
1892target_ops::stop (ptid_t arg0)
1893{
1894  this->beneath ()->stop (arg0);
1895}
1896
1897void
1898dummy_target::stop (ptid_t arg0)
1899{
1900}
1901
1902void
1903debug_target::stop (ptid_t arg0)
1904{
1905  fprintf_unfiltered (gdb_stdlog, "-> %s->stop (...)\n", this->beneath ()->shortname ());
1906  this->beneath ()->stop (arg0);
1907  fprintf_unfiltered (gdb_stdlog, "<- %s->stop (", this->beneath ()->shortname ());
1908  target_debug_print_ptid_t (arg0);
1909  fputs_unfiltered (")\n", gdb_stdlog);
1910}
1911
1912void
1913target_ops::interrupt ()
1914{
1915  this->beneath ()->interrupt ();
1916}
1917
1918void
1919dummy_target::interrupt ()
1920{
1921}
1922
1923void
1924debug_target::interrupt ()
1925{
1926  fprintf_unfiltered (gdb_stdlog, "-> %s->interrupt (...)\n", this->beneath ()->shortname ());
1927  this->beneath ()->interrupt ();
1928  fprintf_unfiltered (gdb_stdlog, "<- %s->interrupt (", this->beneath ()->shortname ());
1929  fputs_unfiltered (")\n", gdb_stdlog);
1930}
1931
1932void
1933target_ops::pass_ctrlc ()
1934{
1935  this->beneath ()->pass_ctrlc ();
1936}
1937
1938void
1939dummy_target::pass_ctrlc ()
1940{
1941  default_target_pass_ctrlc (this);
1942}
1943
1944void
1945debug_target::pass_ctrlc ()
1946{
1947  fprintf_unfiltered (gdb_stdlog, "-> %s->pass_ctrlc (...)\n", this->beneath ()->shortname ());
1948  this->beneath ()->pass_ctrlc ();
1949  fprintf_unfiltered (gdb_stdlog, "<- %s->pass_ctrlc (", this->beneath ()->shortname ());
1950  fputs_unfiltered (")\n", gdb_stdlog);
1951}
1952
1953void
1954target_ops::rcmd (const char *arg0, struct ui_file *arg1)
1955{
1956  this->beneath ()->rcmd (arg0, arg1);
1957}
1958
1959void
1960dummy_target::rcmd (const char *arg0, struct ui_file *arg1)
1961{
1962  default_rcmd (this, arg0, arg1);
1963}
1964
1965void
1966debug_target::rcmd (const char *arg0, struct ui_file *arg1)
1967{
1968  fprintf_unfiltered (gdb_stdlog, "-> %s->rcmd (...)\n", this->beneath ()->shortname ());
1969  this->beneath ()->rcmd (arg0, arg1);
1970  fprintf_unfiltered (gdb_stdlog, "<- %s->rcmd (", this->beneath ()->shortname ());
1971  target_debug_print_const_char_p (arg0);
1972  fputs_unfiltered (", ", gdb_stdlog);
1973  target_debug_print_struct_ui_file_p (arg1);
1974  fputs_unfiltered (")\n", gdb_stdlog);
1975}
1976
1977char *
1978target_ops::pid_to_exec_file (int arg0)
1979{
1980  return this->beneath ()->pid_to_exec_file (arg0);
1981}
1982
1983char *
1984dummy_target::pid_to_exec_file (int arg0)
1985{
1986  return NULL;
1987}
1988
1989char *
1990debug_target::pid_to_exec_file (int arg0)
1991{
1992  char * result;
1993  fprintf_unfiltered (gdb_stdlog, "-> %s->pid_to_exec_file (...)\n", this->beneath ()->shortname ());
1994  result = this->beneath ()->pid_to_exec_file (arg0);
1995  fprintf_unfiltered (gdb_stdlog, "<- %s->pid_to_exec_file (", this->beneath ()->shortname ());
1996  target_debug_print_int (arg0);
1997  fputs_unfiltered (") = ", gdb_stdlog);
1998  target_debug_print_char_p (result);
1999  fputs_unfiltered ("\n", gdb_stdlog);
2000  return result;
2001}
2002
2003void
2004target_ops::log_command (const char *arg0)
2005{
2006  this->beneath ()->log_command (arg0);
2007}
2008
2009void
2010dummy_target::log_command (const char *arg0)
2011{
2012}
2013
2014void
2015debug_target::log_command (const char *arg0)
2016{
2017  fprintf_unfiltered (gdb_stdlog, "-> %s->log_command (...)\n", this->beneath ()->shortname ());
2018  this->beneath ()->log_command (arg0);
2019  fprintf_unfiltered (gdb_stdlog, "<- %s->log_command (", this->beneath ()->shortname ());
2020  target_debug_print_const_char_p (arg0);
2021  fputs_unfiltered (")\n", gdb_stdlog);
2022}
2023
2024struct target_section_table *
2025target_ops::get_section_table ()
2026{
2027  return this->beneath ()->get_section_table ();
2028}
2029
2030struct target_section_table *
2031dummy_target::get_section_table ()
2032{
2033  return NULL;
2034}
2035
2036struct target_section_table *
2037debug_target::get_section_table ()
2038{
2039  struct target_section_table * result;
2040  fprintf_unfiltered (gdb_stdlog, "-> %s->get_section_table (...)\n", this->beneath ()->shortname ());
2041  result = this->beneath ()->get_section_table ();
2042  fprintf_unfiltered (gdb_stdlog, "<- %s->get_section_table (", this->beneath ()->shortname ());
2043  fputs_unfiltered (") = ", gdb_stdlog);
2044  target_debug_print_struct_target_section_table_p (result);
2045  fputs_unfiltered ("\n", gdb_stdlog);
2046  return result;
2047}
2048
2049thread_control_capabilities
2050target_ops::get_thread_control_capabilities ()
2051{
2052  return this->beneath ()->get_thread_control_capabilities ();
2053}
2054
2055thread_control_capabilities
2056dummy_target::get_thread_control_capabilities ()
2057{
2058  return tc_none;
2059}
2060
2061thread_control_capabilities
2062debug_target::get_thread_control_capabilities ()
2063{
2064  thread_control_capabilities result;
2065  fprintf_unfiltered (gdb_stdlog, "-> %s->get_thread_control_capabilities (...)\n", this->beneath ()->shortname ());
2066  result = this->beneath ()->get_thread_control_capabilities ();
2067  fprintf_unfiltered (gdb_stdlog, "<- %s->get_thread_control_capabilities (", this->beneath ()->shortname ());
2068  fputs_unfiltered (") = ", gdb_stdlog);
2069  target_debug_print_thread_control_capabilities (result);
2070  fputs_unfiltered ("\n", gdb_stdlog);
2071  return result;
2072}
2073
2074bool
2075target_ops::attach_no_wait ()
2076{
2077  return this->beneath ()->attach_no_wait ();
2078}
2079
2080bool
2081dummy_target::attach_no_wait ()
2082{
2083  return 0;
2084}
2085
2086bool
2087debug_target::attach_no_wait ()
2088{
2089  bool result;
2090  fprintf_unfiltered (gdb_stdlog, "-> %s->attach_no_wait (...)\n", this->beneath ()->shortname ());
2091  result = this->beneath ()->attach_no_wait ();
2092  fprintf_unfiltered (gdb_stdlog, "<- %s->attach_no_wait (", this->beneath ()->shortname ());
2093  fputs_unfiltered (") = ", gdb_stdlog);
2094  target_debug_print_bool (result);
2095  fputs_unfiltered ("\n", gdb_stdlog);
2096  return result;
2097}
2098
2099bool
2100target_ops::can_async_p ()
2101{
2102  return this->beneath ()->can_async_p ();
2103}
2104
2105bool
2106dummy_target::can_async_p ()
2107{
2108  return false;
2109}
2110
2111bool
2112debug_target::can_async_p ()
2113{
2114  bool result;
2115  fprintf_unfiltered (gdb_stdlog, "-> %s->can_async_p (...)\n", this->beneath ()->shortname ());
2116  result = this->beneath ()->can_async_p ();
2117  fprintf_unfiltered (gdb_stdlog, "<- %s->can_async_p (", this->beneath ()->shortname ());
2118  fputs_unfiltered (") = ", gdb_stdlog);
2119  target_debug_print_bool (result);
2120  fputs_unfiltered ("\n", gdb_stdlog);
2121  return result;
2122}
2123
2124bool
2125target_ops::is_async_p ()
2126{
2127  return this->beneath ()->is_async_p ();
2128}
2129
2130bool
2131dummy_target::is_async_p ()
2132{
2133  return false;
2134}
2135
2136bool
2137debug_target::is_async_p ()
2138{
2139  bool result;
2140  fprintf_unfiltered (gdb_stdlog, "-> %s->is_async_p (...)\n", this->beneath ()->shortname ());
2141  result = this->beneath ()->is_async_p ();
2142  fprintf_unfiltered (gdb_stdlog, "<- %s->is_async_p (", this->beneath ()->shortname ());
2143  fputs_unfiltered (") = ", gdb_stdlog);
2144  target_debug_print_bool (result);
2145  fputs_unfiltered ("\n", gdb_stdlog);
2146  return result;
2147}
2148
2149void
2150target_ops::async (int arg0)
2151{
2152  this->beneath ()->async (arg0);
2153}
2154
2155void
2156dummy_target::async (int arg0)
2157{
2158  tcomplain ();
2159}
2160
2161void
2162debug_target::async (int arg0)
2163{
2164  fprintf_unfiltered (gdb_stdlog, "-> %s->async (...)\n", this->beneath ()->shortname ());
2165  this->beneath ()->async (arg0);
2166  fprintf_unfiltered (gdb_stdlog, "<- %s->async (", this->beneath ()->shortname ());
2167  target_debug_print_int (arg0);
2168  fputs_unfiltered (")\n", gdb_stdlog);
2169}
2170
2171int
2172target_ops::async_wait_fd ()
2173{
2174  return this->beneath ()->async_wait_fd ();
2175}
2176
2177int
2178dummy_target::async_wait_fd ()
2179{
2180  noprocess ();
2181}
2182
2183int
2184debug_target::async_wait_fd ()
2185{
2186  int result;
2187  fprintf_unfiltered (gdb_stdlog, "-> %s->async_wait_fd (...)\n", this->beneath ()->shortname ());
2188  result = this->beneath ()->async_wait_fd ();
2189  fprintf_unfiltered (gdb_stdlog, "<- %s->async_wait_fd (", this->beneath ()->shortname ());
2190  fputs_unfiltered (") = ", gdb_stdlog);
2191  target_debug_print_int (result);
2192  fputs_unfiltered ("\n", gdb_stdlog);
2193  return result;
2194}
2195
2196void
2197target_ops::thread_events (int arg0)
2198{
2199  this->beneath ()->thread_events (arg0);
2200}
2201
2202void
2203dummy_target::thread_events (int arg0)
2204{
2205}
2206
2207void
2208debug_target::thread_events (int arg0)
2209{
2210  fprintf_unfiltered (gdb_stdlog, "-> %s->thread_events (...)\n", this->beneath ()->shortname ());
2211  this->beneath ()->thread_events (arg0);
2212  fprintf_unfiltered (gdb_stdlog, "<- %s->thread_events (", this->beneath ()->shortname ());
2213  target_debug_print_int (arg0);
2214  fputs_unfiltered (")\n", gdb_stdlog);
2215}
2216
2217bool
2218target_ops::supports_non_stop ()
2219{
2220  return this->beneath ()->supports_non_stop ();
2221}
2222
2223bool
2224dummy_target::supports_non_stop ()
2225{
2226  return false;
2227}
2228
2229bool
2230debug_target::supports_non_stop ()
2231{
2232  bool result;
2233  fprintf_unfiltered (gdb_stdlog, "-> %s->supports_non_stop (...)\n", this->beneath ()->shortname ());
2234  result = this->beneath ()->supports_non_stop ();
2235  fprintf_unfiltered (gdb_stdlog, "<- %s->supports_non_stop (", this->beneath ()->shortname ());
2236  fputs_unfiltered (") = ", gdb_stdlog);
2237  target_debug_print_bool (result);
2238  fputs_unfiltered ("\n", gdb_stdlog);
2239  return result;
2240}
2241
2242bool
2243target_ops::always_non_stop_p ()
2244{
2245  return this->beneath ()->always_non_stop_p ();
2246}
2247
2248bool
2249dummy_target::always_non_stop_p ()
2250{
2251  return false;
2252}
2253
2254bool
2255debug_target::always_non_stop_p ()
2256{
2257  bool result;
2258  fprintf_unfiltered (gdb_stdlog, "-> %s->always_non_stop_p (...)\n", this->beneath ()->shortname ());
2259  result = this->beneath ()->always_non_stop_p ();
2260  fprintf_unfiltered (gdb_stdlog, "<- %s->always_non_stop_p (", this->beneath ()->shortname ());
2261  fputs_unfiltered (") = ", gdb_stdlog);
2262  target_debug_print_bool (result);
2263  fputs_unfiltered ("\n", gdb_stdlog);
2264  return result;
2265}
2266
2267int
2268target_ops::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
2269{
2270  return this->beneath ()->find_memory_regions (arg0, arg1);
2271}
2272
2273int
2274dummy_target::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
2275{
2276  return dummy_find_memory_regions (this, arg0, arg1);
2277}
2278
2279int
2280debug_target::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
2281{
2282  int result;
2283  fprintf_unfiltered (gdb_stdlog, "-> %s->find_memory_regions (...)\n", this->beneath ()->shortname ());
2284  result = this->beneath ()->find_memory_regions (arg0, arg1);
2285  fprintf_unfiltered (gdb_stdlog, "<- %s->find_memory_regions (", this->beneath ()->shortname ());
2286  target_debug_print_find_memory_region_ftype (arg0);
2287  fputs_unfiltered (", ", gdb_stdlog);
2288  target_debug_print_void_p (arg1);
2289  fputs_unfiltered (") = ", gdb_stdlog);
2290  target_debug_print_int (result);
2291  fputs_unfiltered ("\n", gdb_stdlog);
2292  return result;
2293}
2294
2295char *
2296target_ops::make_corefile_notes (bfd *arg0, int *arg1)
2297{
2298  return this->beneath ()->make_corefile_notes (arg0, arg1);
2299}
2300
2301char *
2302dummy_target::make_corefile_notes (bfd *arg0, int *arg1)
2303{
2304  return dummy_make_corefile_notes (this, arg0, arg1);
2305}
2306
2307char *
2308debug_target::make_corefile_notes (bfd *arg0, int *arg1)
2309{
2310  char * result;
2311  fprintf_unfiltered (gdb_stdlog, "-> %s->make_corefile_notes (...)\n", this->beneath ()->shortname ());
2312  result = this->beneath ()->make_corefile_notes (arg0, arg1);
2313  fprintf_unfiltered (gdb_stdlog, "<- %s->make_corefile_notes (", this->beneath ()->shortname ());
2314  target_debug_print_bfd_p (arg0);
2315  fputs_unfiltered (", ", gdb_stdlog);
2316  target_debug_print_int_p (arg1);
2317  fputs_unfiltered (") = ", gdb_stdlog);
2318  target_debug_print_char_p (result);
2319  fputs_unfiltered ("\n", gdb_stdlog);
2320  return result;
2321}
2322
2323gdb_byte *
2324target_ops::get_bookmark (const char *arg0, int arg1)
2325{
2326  return this->beneath ()->get_bookmark (arg0, arg1);
2327}
2328
2329gdb_byte *
2330dummy_target::get_bookmark (const char *arg0, int arg1)
2331{
2332  tcomplain ();
2333}
2334
2335gdb_byte *
2336debug_target::get_bookmark (const char *arg0, int arg1)
2337{
2338  gdb_byte * result;
2339  fprintf_unfiltered (gdb_stdlog, "-> %s->get_bookmark (...)\n", this->beneath ()->shortname ());
2340  result = this->beneath ()->get_bookmark (arg0, arg1);
2341  fprintf_unfiltered (gdb_stdlog, "<- %s->get_bookmark (", this->beneath ()->shortname ());
2342  target_debug_print_const_char_p (arg0);
2343  fputs_unfiltered (", ", gdb_stdlog);
2344  target_debug_print_int (arg1);
2345  fputs_unfiltered (") = ", gdb_stdlog);
2346  target_debug_print_gdb_byte_p (result);
2347  fputs_unfiltered ("\n", gdb_stdlog);
2348  return result;
2349}
2350
2351void
2352target_ops::goto_bookmark (const gdb_byte *arg0, int arg1)
2353{
2354  this->beneath ()->goto_bookmark (arg0, arg1);
2355}
2356
2357void
2358dummy_target::goto_bookmark (const gdb_byte *arg0, int arg1)
2359{
2360  tcomplain ();
2361}
2362
2363void
2364debug_target::goto_bookmark (const gdb_byte *arg0, int arg1)
2365{
2366  fprintf_unfiltered (gdb_stdlog, "-> %s->goto_bookmark (...)\n", this->beneath ()->shortname ());
2367  this->beneath ()->goto_bookmark (arg0, arg1);
2368  fprintf_unfiltered (gdb_stdlog, "<- %s->goto_bookmark (", this->beneath ()->shortname ());
2369  target_debug_print_const_gdb_byte_p (arg0);
2370  fputs_unfiltered (", ", gdb_stdlog);
2371  target_debug_print_int (arg1);
2372  fputs_unfiltered (")\n", gdb_stdlog);
2373}
2374
2375CORE_ADDR
2376target_ops::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2377{
2378  return this->beneath ()->get_thread_local_address (arg0, arg1, arg2);
2379}
2380
2381CORE_ADDR
2382dummy_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2383{
2384  generic_tls_error ();
2385}
2386
2387CORE_ADDR
2388debug_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
2389{
2390  CORE_ADDR result;
2391  fprintf_unfiltered (gdb_stdlog, "-> %s->get_thread_local_address (...)\n", this->beneath ()->shortname ());
2392  result = this->beneath ()->get_thread_local_address (arg0, arg1, arg2);
2393  fprintf_unfiltered (gdb_stdlog, "<- %s->get_thread_local_address (", this->beneath ()->shortname ());
2394  target_debug_print_ptid_t (arg0);
2395  fputs_unfiltered (", ", gdb_stdlog);
2396  target_debug_print_CORE_ADDR (arg1);
2397  fputs_unfiltered (", ", gdb_stdlog);
2398  target_debug_print_CORE_ADDR (arg2);
2399  fputs_unfiltered (") = ", gdb_stdlog);
2400  target_debug_print_CORE_ADDR (result);
2401  fputs_unfiltered ("\n", gdb_stdlog);
2402  return result;
2403}
2404
2405enum target_xfer_status
2406target_ops::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2407{
2408  return this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2409}
2410
2411enum target_xfer_status
2412dummy_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2413{
2414  return TARGET_XFER_E_IO;
2415}
2416
2417enum target_xfer_status
2418debug_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
2419{
2420  enum target_xfer_status result;
2421  fprintf_unfiltered (gdb_stdlog, "-> %s->xfer_partial (...)\n", this->beneath ()->shortname ());
2422  result = this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2423  fprintf_unfiltered (gdb_stdlog, "<- %s->xfer_partial (", this->beneath ()->shortname ());
2424  target_debug_print_enum_target_object (arg0);
2425  fputs_unfiltered (", ", gdb_stdlog);
2426  target_debug_print_const_char_p (arg1);
2427  fputs_unfiltered (", ", gdb_stdlog);
2428  target_debug_print_gdb_byte_p (arg2);
2429  fputs_unfiltered (", ", gdb_stdlog);
2430  target_debug_print_const_gdb_byte_p (arg3);
2431  fputs_unfiltered (", ", gdb_stdlog);
2432  target_debug_print_ULONGEST (arg4);
2433  fputs_unfiltered (", ", gdb_stdlog);
2434  target_debug_print_ULONGEST (arg5);
2435  fputs_unfiltered (", ", gdb_stdlog);
2436  target_debug_print_ULONGEST_p (arg6);
2437  fputs_unfiltered (") = ", gdb_stdlog);
2438  target_debug_print_enum_target_xfer_status (result);
2439  fputs_unfiltered ("\n", gdb_stdlog);
2440  return result;
2441}
2442
2443ULONGEST
2444target_ops::get_memory_xfer_limit ()
2445{
2446  return this->beneath ()->get_memory_xfer_limit ();
2447}
2448
2449ULONGEST
2450dummy_target::get_memory_xfer_limit ()
2451{
2452  return ULONGEST_MAX;
2453}
2454
2455ULONGEST
2456debug_target::get_memory_xfer_limit ()
2457{
2458  ULONGEST result;
2459  fprintf_unfiltered (gdb_stdlog, "-> %s->get_memory_xfer_limit (...)\n", this->beneath ()->shortname ());
2460  result = this->beneath ()->get_memory_xfer_limit ();
2461  fprintf_unfiltered (gdb_stdlog, "<- %s->get_memory_xfer_limit (", this->beneath ()->shortname ());
2462  fputs_unfiltered (") = ", gdb_stdlog);
2463  target_debug_print_ULONGEST (result);
2464  fputs_unfiltered ("\n", gdb_stdlog);
2465  return result;
2466}
2467
2468std::vector<mem_region>
2469target_ops::memory_map ()
2470{
2471  return this->beneath ()->memory_map ();
2472}
2473
2474std::vector<mem_region>
2475dummy_target::memory_map ()
2476{
2477  return std::vector<mem_region> ();
2478}
2479
2480std::vector<mem_region>
2481debug_target::memory_map ()
2482{
2483  std::vector<mem_region> result;
2484  fprintf_unfiltered (gdb_stdlog, "-> %s->memory_map (...)\n", this->beneath ()->shortname ());
2485  result = this->beneath ()->memory_map ();
2486  fprintf_unfiltered (gdb_stdlog, "<- %s->memory_map (", this->beneath ()->shortname ());
2487  fputs_unfiltered (") = ", gdb_stdlog);
2488  target_debug_print_std_vector_mem_region (result);
2489  fputs_unfiltered ("\n", gdb_stdlog);
2490  return result;
2491}
2492
2493void
2494target_ops::flash_erase (ULONGEST arg0, LONGEST arg1)
2495{
2496  this->beneath ()->flash_erase (arg0, arg1);
2497}
2498
2499void
2500dummy_target::flash_erase (ULONGEST arg0, LONGEST arg1)
2501{
2502  tcomplain ();
2503}
2504
2505void
2506debug_target::flash_erase (ULONGEST arg0, LONGEST arg1)
2507{
2508  fprintf_unfiltered (gdb_stdlog, "-> %s->flash_erase (...)\n", this->beneath ()->shortname ());
2509  this->beneath ()->flash_erase (arg0, arg1);
2510  fprintf_unfiltered (gdb_stdlog, "<- %s->flash_erase (", this->beneath ()->shortname ());
2511  target_debug_print_ULONGEST (arg0);
2512  fputs_unfiltered (", ", gdb_stdlog);
2513  target_debug_print_LONGEST (arg1);
2514  fputs_unfiltered (")\n", gdb_stdlog);
2515}
2516
2517void
2518target_ops::flash_done ()
2519{
2520  this->beneath ()->flash_done ();
2521}
2522
2523void
2524dummy_target::flash_done ()
2525{
2526  tcomplain ();
2527}
2528
2529void
2530debug_target::flash_done ()
2531{
2532  fprintf_unfiltered (gdb_stdlog, "-> %s->flash_done (...)\n", this->beneath ()->shortname ());
2533  this->beneath ()->flash_done ();
2534  fprintf_unfiltered (gdb_stdlog, "<- %s->flash_done (", this->beneath ()->shortname ());
2535  fputs_unfiltered (")\n", gdb_stdlog);
2536}
2537
2538const struct target_desc *
2539target_ops::read_description ()
2540{
2541  return this->beneath ()->read_description ();
2542}
2543
2544const struct target_desc *
2545dummy_target::read_description ()
2546{
2547  return NULL;
2548}
2549
2550const struct target_desc *
2551debug_target::read_description ()
2552{
2553  const struct target_desc * result;
2554  fprintf_unfiltered (gdb_stdlog, "-> %s->read_description (...)\n", this->beneath ()->shortname ());
2555  result = this->beneath ()->read_description ();
2556  fprintf_unfiltered (gdb_stdlog, "<- %s->read_description (", this->beneath ()->shortname ());
2557  fputs_unfiltered (") = ", gdb_stdlog);
2558  target_debug_print_const_struct_target_desc_p (result);
2559  fputs_unfiltered ("\n", gdb_stdlog);
2560  return result;
2561}
2562
2563ptid_t
2564target_ops::get_ada_task_ptid (long arg0, long arg1)
2565{
2566  return this->beneath ()->get_ada_task_ptid (arg0, arg1);
2567}
2568
2569ptid_t
2570dummy_target::get_ada_task_ptid (long arg0, long arg1)
2571{
2572  return default_get_ada_task_ptid (this, arg0, arg1);
2573}
2574
2575ptid_t
2576debug_target::get_ada_task_ptid (long arg0, long arg1)
2577{
2578  ptid_t result;
2579  fprintf_unfiltered (gdb_stdlog, "-> %s->get_ada_task_ptid (...)\n", this->beneath ()->shortname ());
2580  result = this->beneath ()->get_ada_task_ptid (arg0, arg1);
2581  fprintf_unfiltered (gdb_stdlog, "<- %s->get_ada_task_ptid (", this->beneath ()->shortname ());
2582  target_debug_print_long (arg0);
2583  fputs_unfiltered (", ", gdb_stdlog);
2584  target_debug_print_long (arg1);
2585  fputs_unfiltered (") = ", gdb_stdlog);
2586  target_debug_print_ptid_t (result);
2587  fputs_unfiltered ("\n", gdb_stdlog);
2588  return result;
2589}
2590
2591int
2592target_ops::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2593{
2594  return this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3);
2595}
2596
2597int
2598dummy_target::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2599{
2600  return default_auxv_parse (this, arg0, arg1, arg2, arg3);
2601}
2602
2603int
2604debug_target::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2605{
2606  int result;
2607  fprintf_unfiltered (gdb_stdlog, "-> %s->auxv_parse (...)\n", this->beneath ()->shortname ());
2608  result = this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3);
2609  fprintf_unfiltered (gdb_stdlog, "<- %s->auxv_parse (", this->beneath ()->shortname ());
2610  target_debug_print_gdb_byte_pp (arg0);
2611  fputs_unfiltered (", ", gdb_stdlog);
2612  target_debug_print_gdb_byte_p (arg1);
2613  fputs_unfiltered (", ", gdb_stdlog);
2614  target_debug_print_CORE_ADDR_p (arg2);
2615  fputs_unfiltered (", ", gdb_stdlog);
2616  target_debug_print_CORE_ADDR_p (arg3);
2617  fputs_unfiltered (") = ", gdb_stdlog);
2618  target_debug_print_int (result);
2619  fputs_unfiltered ("\n", gdb_stdlog);
2620  return result;
2621}
2622
2623int
2624target_ops::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2625{
2626  return this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4);
2627}
2628
2629int
2630dummy_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2631{
2632  return default_search_memory (this, arg0, arg1, arg2, arg3, arg4);
2633}
2634
2635int
2636debug_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2637{
2638  int result;
2639  fprintf_unfiltered (gdb_stdlog, "-> %s->search_memory (...)\n", this->beneath ()->shortname ());
2640  result = this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4);
2641  fprintf_unfiltered (gdb_stdlog, "<- %s->search_memory (", this->beneath ()->shortname ());
2642  target_debug_print_CORE_ADDR (arg0);
2643  fputs_unfiltered (", ", gdb_stdlog);
2644  target_debug_print_ULONGEST (arg1);
2645  fputs_unfiltered (", ", gdb_stdlog);
2646  target_debug_print_const_gdb_byte_p (arg2);
2647  fputs_unfiltered (", ", gdb_stdlog);
2648  target_debug_print_ULONGEST (arg3);
2649  fputs_unfiltered (", ", gdb_stdlog);
2650  target_debug_print_CORE_ADDR_p (arg4);
2651  fputs_unfiltered (") = ", gdb_stdlog);
2652  target_debug_print_int (result);
2653  fputs_unfiltered ("\n", gdb_stdlog);
2654  return result;
2655}
2656
2657bool
2658target_ops::can_execute_reverse ()
2659{
2660  return this->beneath ()->can_execute_reverse ();
2661}
2662
2663bool
2664dummy_target::can_execute_reverse ()
2665{
2666  return false;
2667}
2668
2669bool
2670debug_target::can_execute_reverse ()
2671{
2672  bool result;
2673  fprintf_unfiltered (gdb_stdlog, "-> %s->can_execute_reverse (...)\n", this->beneath ()->shortname ());
2674  result = this->beneath ()->can_execute_reverse ();
2675  fprintf_unfiltered (gdb_stdlog, "<- %s->can_execute_reverse (", this->beneath ()->shortname ());
2676  fputs_unfiltered (") = ", gdb_stdlog);
2677  target_debug_print_bool (result);
2678  fputs_unfiltered ("\n", gdb_stdlog);
2679  return result;
2680}
2681
2682enum exec_direction_kind
2683target_ops::execution_direction ()
2684{
2685  return this->beneath ()->execution_direction ();
2686}
2687
2688enum exec_direction_kind
2689dummy_target::execution_direction ()
2690{
2691  return default_execution_direction (this);
2692}
2693
2694enum exec_direction_kind
2695debug_target::execution_direction ()
2696{
2697  enum exec_direction_kind result;
2698  fprintf_unfiltered (gdb_stdlog, "-> %s->execution_direction (...)\n", this->beneath ()->shortname ());
2699  result = this->beneath ()->execution_direction ();
2700  fprintf_unfiltered (gdb_stdlog, "<- %s->execution_direction (", this->beneath ()->shortname ());
2701  fputs_unfiltered (") = ", gdb_stdlog);
2702  target_debug_print_enum_exec_direction_kind (result);
2703  fputs_unfiltered ("\n", gdb_stdlog);
2704  return result;
2705}
2706
2707bool
2708target_ops::supports_multi_process ()
2709{
2710  return this->beneath ()->supports_multi_process ();
2711}
2712
2713bool
2714dummy_target::supports_multi_process ()
2715{
2716  return false;
2717}
2718
2719bool
2720debug_target::supports_multi_process ()
2721{
2722  bool result;
2723  fprintf_unfiltered (gdb_stdlog, "-> %s->supports_multi_process (...)\n", this->beneath ()->shortname ());
2724  result = this->beneath ()->supports_multi_process ();
2725  fprintf_unfiltered (gdb_stdlog, "<- %s->supports_multi_process (", this->beneath ()->shortname ());
2726  fputs_unfiltered (") = ", gdb_stdlog);
2727  target_debug_print_bool (result);
2728  fputs_unfiltered ("\n", gdb_stdlog);
2729  return result;
2730}
2731
2732bool
2733target_ops::supports_enable_disable_tracepoint ()
2734{
2735  return this->beneath ()->supports_enable_disable_tracepoint ();
2736}
2737
2738bool
2739dummy_target::supports_enable_disable_tracepoint ()
2740{
2741  return false;
2742}
2743
2744bool
2745debug_target::supports_enable_disable_tracepoint ()
2746{
2747  bool result;
2748  fprintf_unfiltered (gdb_stdlog, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath ()->shortname ());
2749  result = this->beneath ()->supports_enable_disable_tracepoint ();
2750  fprintf_unfiltered (gdb_stdlog, "<- %s->supports_enable_disable_tracepoint (", this->beneath ()->shortname ());
2751  fputs_unfiltered (") = ", gdb_stdlog);
2752  target_debug_print_bool (result);
2753  fputs_unfiltered ("\n", gdb_stdlog);
2754  return result;
2755}
2756
2757bool
2758target_ops::supports_disable_randomization ()
2759{
2760  return this->beneath ()->supports_disable_randomization ();
2761}
2762
2763bool
2764dummy_target::supports_disable_randomization ()
2765{
2766  return find_default_supports_disable_randomization (this);
2767}
2768
2769bool
2770debug_target::supports_disable_randomization ()
2771{
2772  bool result;
2773  fprintf_unfiltered (gdb_stdlog, "-> %s->supports_disable_randomization (...)\n", this->beneath ()->shortname ());
2774  result = this->beneath ()->supports_disable_randomization ();
2775  fprintf_unfiltered (gdb_stdlog, "<- %s->supports_disable_randomization (", this->beneath ()->shortname ());
2776  fputs_unfiltered (") = ", gdb_stdlog);
2777  target_debug_print_bool (result);
2778  fputs_unfiltered ("\n", gdb_stdlog);
2779  return result;
2780}
2781
2782bool
2783target_ops::supports_string_tracing ()
2784{
2785  return this->beneath ()->supports_string_tracing ();
2786}
2787
2788bool
2789dummy_target::supports_string_tracing ()
2790{
2791  return false;
2792}
2793
2794bool
2795debug_target::supports_string_tracing ()
2796{
2797  bool result;
2798  fprintf_unfiltered (gdb_stdlog, "-> %s->supports_string_tracing (...)\n", this->beneath ()->shortname ());
2799  result = this->beneath ()->supports_string_tracing ();
2800  fprintf_unfiltered (gdb_stdlog, "<- %s->supports_string_tracing (", this->beneath ()->shortname ());
2801  fputs_unfiltered (") = ", gdb_stdlog);
2802  target_debug_print_bool (result);
2803  fputs_unfiltered ("\n", gdb_stdlog);
2804  return result;
2805}
2806
2807bool
2808target_ops::supports_evaluation_of_breakpoint_conditions ()
2809{
2810  return this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2811}
2812
2813bool
2814dummy_target::supports_evaluation_of_breakpoint_conditions ()
2815{
2816  return false;
2817}
2818
2819bool
2820debug_target::supports_evaluation_of_breakpoint_conditions ()
2821{
2822  bool result;
2823  fprintf_unfiltered (gdb_stdlog, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath ()->shortname ());
2824  result = this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2825  fprintf_unfiltered (gdb_stdlog, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath ()->shortname ());
2826  fputs_unfiltered (") = ", gdb_stdlog);
2827  target_debug_print_bool (result);
2828  fputs_unfiltered ("\n", gdb_stdlog);
2829  return result;
2830}
2831
2832bool
2833target_ops::supports_dumpcore ()
2834{
2835  return this->beneath ()->supports_dumpcore ();
2836}
2837
2838bool
2839dummy_target::supports_dumpcore ()
2840{
2841  return false;
2842}
2843
2844bool
2845debug_target::supports_dumpcore ()
2846{
2847  bool result;
2848  fprintf_unfiltered (gdb_stdlog, "-> %s->supports_dumpcore (...)\n", this->beneath ()->shortname ());
2849  result = this->beneath ()->supports_dumpcore ();
2850  fprintf_unfiltered (gdb_stdlog, "<- %s->supports_dumpcore (", this->beneath ()->shortname ());
2851  fputs_unfiltered (") = ", gdb_stdlog);
2852  target_debug_print_bool (result);
2853  fputs_unfiltered ("\n", gdb_stdlog);
2854  return result;
2855}
2856
2857void
2858target_ops::dumpcore (const char *arg0)
2859{
2860  this->beneath ()->dumpcore (arg0);
2861}
2862
2863void
2864dummy_target::dumpcore (const char *arg0)
2865{
2866}
2867
2868void
2869debug_target::dumpcore (const char *arg0)
2870{
2871  fprintf_unfiltered (gdb_stdlog, "-> %s->dumpcore (...)\n", this->beneath ()->shortname ());
2872  this->beneath ()->dumpcore (arg0);
2873  fprintf_unfiltered (gdb_stdlog, "<- %s->dumpcore (", this->beneath ()->shortname ());
2874  target_debug_print_const_char_p (arg0);
2875  fputs_unfiltered (")\n", gdb_stdlog);
2876}
2877
2878bool
2879target_ops::can_run_breakpoint_commands ()
2880{
2881  return this->beneath ()->can_run_breakpoint_commands ();
2882}
2883
2884bool
2885dummy_target::can_run_breakpoint_commands ()
2886{
2887  return false;
2888}
2889
2890bool
2891debug_target::can_run_breakpoint_commands ()
2892{
2893  bool result;
2894  fprintf_unfiltered (gdb_stdlog, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath ()->shortname ());
2895  result = this->beneath ()->can_run_breakpoint_commands ();
2896  fprintf_unfiltered (gdb_stdlog, "<- %s->can_run_breakpoint_commands (", 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
2903struct gdbarch *
2904target_ops::thread_architecture (ptid_t arg0)
2905{
2906  return this->beneath ()->thread_architecture (arg0);
2907}
2908
2909struct gdbarch *
2910dummy_target::thread_architecture (ptid_t arg0)
2911{
2912  return NULL;
2913}
2914
2915struct gdbarch *
2916debug_target::thread_architecture (ptid_t arg0)
2917{
2918  struct gdbarch * result;
2919  fprintf_unfiltered (gdb_stdlog, "-> %s->thread_architecture (...)\n", this->beneath ()->shortname ());
2920  result = this->beneath ()->thread_architecture (arg0);
2921  fprintf_unfiltered (gdb_stdlog, "<- %s->thread_architecture (", this->beneath ()->shortname ());
2922  target_debug_print_ptid_t (arg0);
2923  fputs_unfiltered (") = ", gdb_stdlog);
2924  target_debug_print_struct_gdbarch_p (result);
2925  fputs_unfiltered ("\n", gdb_stdlog);
2926  return result;
2927}
2928
2929struct address_space *
2930target_ops::thread_address_space (ptid_t arg0)
2931{
2932  return this->beneath ()->thread_address_space (arg0);
2933}
2934
2935struct address_space *
2936dummy_target::thread_address_space (ptid_t arg0)
2937{
2938  return NULL;
2939}
2940
2941struct address_space *
2942debug_target::thread_address_space (ptid_t arg0)
2943{
2944  struct address_space * result;
2945  fprintf_unfiltered (gdb_stdlog, "-> %s->thread_address_space (...)\n", this->beneath ()->shortname ());
2946  result = this->beneath ()->thread_address_space (arg0);
2947  fprintf_unfiltered (gdb_stdlog, "<- %s->thread_address_space (", this->beneath ()->shortname ());
2948  target_debug_print_ptid_t (arg0);
2949  fputs_unfiltered (") = ", gdb_stdlog);
2950  target_debug_print_struct_address_space_p (result);
2951  fputs_unfiltered ("\n", gdb_stdlog);
2952  return result;
2953}
2954
2955bool
2956target_ops::filesystem_is_local ()
2957{
2958  return this->beneath ()->filesystem_is_local ();
2959}
2960
2961bool
2962dummy_target::filesystem_is_local ()
2963{
2964  return true;
2965}
2966
2967bool
2968debug_target::filesystem_is_local ()
2969{
2970  bool result;
2971  fprintf_unfiltered (gdb_stdlog, "-> %s->filesystem_is_local (...)\n", this->beneath ()->shortname ());
2972  result = this->beneath ()->filesystem_is_local ();
2973  fprintf_unfiltered (gdb_stdlog, "<- %s->filesystem_is_local (", this->beneath ()->shortname ());
2974  fputs_unfiltered (") = ", gdb_stdlog);
2975  target_debug_print_bool (result);
2976  fputs_unfiltered ("\n", gdb_stdlog);
2977  return result;
2978}
2979
2980void
2981target_ops::trace_init ()
2982{
2983  this->beneath ()->trace_init ();
2984}
2985
2986void
2987dummy_target::trace_init ()
2988{
2989  tcomplain ();
2990}
2991
2992void
2993debug_target::trace_init ()
2994{
2995  fprintf_unfiltered (gdb_stdlog, "-> %s->trace_init (...)\n", this->beneath ()->shortname ());
2996  this->beneath ()->trace_init ();
2997  fprintf_unfiltered (gdb_stdlog, "<- %s->trace_init (", this->beneath ()->shortname ());
2998  fputs_unfiltered (")\n", gdb_stdlog);
2999}
3000
3001void
3002target_ops::download_tracepoint (struct bp_location *arg0)
3003{
3004  this->beneath ()->download_tracepoint (arg0);
3005}
3006
3007void
3008dummy_target::download_tracepoint (struct bp_location *arg0)
3009{
3010  tcomplain ();
3011}
3012
3013void
3014debug_target::download_tracepoint (struct bp_location *arg0)
3015{
3016  fprintf_unfiltered (gdb_stdlog, "-> %s->download_tracepoint (...)\n", this->beneath ()->shortname ());
3017  this->beneath ()->download_tracepoint (arg0);
3018  fprintf_unfiltered (gdb_stdlog, "<- %s->download_tracepoint (", this->beneath ()->shortname ());
3019  target_debug_print_struct_bp_location_p (arg0);
3020  fputs_unfiltered (")\n", gdb_stdlog);
3021}
3022
3023bool
3024target_ops::can_download_tracepoint ()
3025{
3026  return this->beneath ()->can_download_tracepoint ();
3027}
3028
3029bool
3030dummy_target::can_download_tracepoint ()
3031{
3032  return false;
3033}
3034
3035bool
3036debug_target::can_download_tracepoint ()
3037{
3038  bool result;
3039  fprintf_unfiltered (gdb_stdlog, "-> %s->can_download_tracepoint (...)\n", this->beneath ()->shortname ());
3040  result = this->beneath ()->can_download_tracepoint ();
3041  fprintf_unfiltered (gdb_stdlog, "<- %s->can_download_tracepoint (", this->beneath ()->shortname ());
3042  fputs_unfiltered (") = ", gdb_stdlog);
3043  target_debug_print_bool (result);
3044  fputs_unfiltered ("\n", gdb_stdlog);
3045  return result;
3046}
3047
3048void
3049target_ops::download_trace_state_variable (const trace_state_variable &arg0)
3050{
3051  this->beneath ()->download_trace_state_variable (arg0);
3052}
3053
3054void
3055dummy_target::download_trace_state_variable (const trace_state_variable &arg0)
3056{
3057  tcomplain ();
3058}
3059
3060void
3061debug_target::download_trace_state_variable (const trace_state_variable &arg0)
3062{
3063  fprintf_unfiltered (gdb_stdlog, "-> %s->download_trace_state_variable (...)\n", this->beneath ()->shortname ());
3064  this->beneath ()->download_trace_state_variable (arg0);
3065  fprintf_unfiltered (gdb_stdlog, "<- %s->download_trace_state_variable (", this->beneath ()->shortname ());
3066  target_debug_print_const_trace_state_variable_r (arg0);
3067  fputs_unfiltered (")\n", gdb_stdlog);
3068}
3069
3070void
3071target_ops::enable_tracepoint (struct bp_location *arg0)
3072{
3073  this->beneath ()->enable_tracepoint (arg0);
3074}
3075
3076void
3077dummy_target::enable_tracepoint (struct bp_location *arg0)
3078{
3079  tcomplain ();
3080}
3081
3082void
3083debug_target::enable_tracepoint (struct bp_location *arg0)
3084{
3085  fprintf_unfiltered (gdb_stdlog, "-> %s->enable_tracepoint (...)\n", this->beneath ()->shortname ());
3086  this->beneath ()->enable_tracepoint (arg0);
3087  fprintf_unfiltered (gdb_stdlog, "<- %s->enable_tracepoint (", this->beneath ()->shortname ());
3088  target_debug_print_struct_bp_location_p (arg0);
3089  fputs_unfiltered (")\n", gdb_stdlog);
3090}
3091
3092void
3093target_ops::disable_tracepoint (struct bp_location *arg0)
3094{
3095  this->beneath ()->disable_tracepoint (arg0);
3096}
3097
3098void
3099dummy_target::disable_tracepoint (struct bp_location *arg0)
3100{
3101  tcomplain ();
3102}
3103
3104void
3105debug_target::disable_tracepoint (struct bp_location *arg0)
3106{
3107  fprintf_unfiltered (gdb_stdlog, "-> %s->disable_tracepoint (...)\n", this->beneath ()->shortname ());
3108  this->beneath ()->disable_tracepoint (arg0);
3109  fprintf_unfiltered (gdb_stdlog, "<- %s->disable_tracepoint (", this->beneath ()->shortname ());
3110  target_debug_print_struct_bp_location_p (arg0);
3111  fputs_unfiltered (")\n", gdb_stdlog);
3112}
3113
3114void
3115target_ops::trace_set_readonly_regions ()
3116{
3117  this->beneath ()->trace_set_readonly_regions ();
3118}
3119
3120void
3121dummy_target::trace_set_readonly_regions ()
3122{
3123  tcomplain ();
3124}
3125
3126void
3127debug_target::trace_set_readonly_regions ()
3128{
3129  fprintf_unfiltered (gdb_stdlog, "-> %s->trace_set_readonly_regions (...)\n", this->beneath ()->shortname ());
3130  this->beneath ()->trace_set_readonly_regions ();
3131  fprintf_unfiltered (gdb_stdlog, "<- %s->trace_set_readonly_regions (", this->beneath ()->shortname ());
3132  fputs_unfiltered (")\n", gdb_stdlog);
3133}
3134
3135void
3136target_ops::trace_start ()
3137{
3138  this->beneath ()->trace_start ();
3139}
3140
3141void
3142dummy_target::trace_start ()
3143{
3144  tcomplain ();
3145}
3146
3147void
3148debug_target::trace_start ()
3149{
3150  fprintf_unfiltered (gdb_stdlog, "-> %s->trace_start (...)\n", this->beneath ()->shortname ());
3151  this->beneath ()->trace_start ();
3152  fprintf_unfiltered (gdb_stdlog, "<- %s->trace_start (", this->beneath ()->shortname ());
3153  fputs_unfiltered (")\n", gdb_stdlog);
3154}
3155
3156int
3157target_ops::get_trace_status (struct trace_status *arg0)
3158{
3159  return this->beneath ()->get_trace_status (arg0);
3160}
3161
3162int
3163dummy_target::get_trace_status (struct trace_status *arg0)
3164{
3165  return -1;
3166}
3167
3168int
3169debug_target::get_trace_status (struct trace_status *arg0)
3170{
3171  int result;
3172  fprintf_unfiltered (gdb_stdlog, "-> %s->get_trace_status (...)\n", this->beneath ()->shortname ());
3173  result = this->beneath ()->get_trace_status (arg0);
3174  fprintf_unfiltered (gdb_stdlog, "<- %s->get_trace_status (", this->beneath ()->shortname ());
3175  target_debug_print_struct_trace_status_p (arg0);
3176  fputs_unfiltered (") = ", gdb_stdlog);
3177  target_debug_print_int (result);
3178  fputs_unfiltered ("\n", gdb_stdlog);
3179  return result;
3180}
3181
3182void
3183target_ops::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
3184{
3185  this->beneath ()->get_tracepoint_status (arg0, arg1);
3186}
3187
3188void
3189dummy_target::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
3190{
3191  tcomplain ();
3192}
3193
3194void
3195debug_target::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
3196{
3197  fprintf_unfiltered (gdb_stdlog, "-> %s->get_tracepoint_status (...)\n", this->beneath ()->shortname ());
3198  this->beneath ()->get_tracepoint_status (arg0, arg1);
3199  fprintf_unfiltered (gdb_stdlog, "<- %s->get_tracepoint_status (", this->beneath ()->shortname ());
3200  target_debug_print_struct_breakpoint_p (arg0);
3201  fputs_unfiltered (", ", gdb_stdlog);
3202  target_debug_print_struct_uploaded_tp_p (arg1);
3203  fputs_unfiltered (")\n", gdb_stdlog);
3204}
3205
3206void
3207target_ops::trace_stop ()
3208{
3209  this->beneath ()->trace_stop ();
3210}
3211
3212void
3213dummy_target::trace_stop ()
3214{
3215  tcomplain ();
3216}
3217
3218void
3219debug_target::trace_stop ()
3220{
3221  fprintf_unfiltered (gdb_stdlog, "-> %s->trace_stop (...)\n", this->beneath ()->shortname ());
3222  this->beneath ()->trace_stop ();
3223  fprintf_unfiltered (gdb_stdlog, "<- %s->trace_stop (", this->beneath ()->shortname ());
3224  fputs_unfiltered (")\n", gdb_stdlog);
3225}
3226
3227int
3228target_ops::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3229{
3230  return this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4);
3231}
3232
3233int
3234dummy_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3235{
3236  return -1;
3237}
3238
3239int
3240debug_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
3241{
3242  int result;
3243  fprintf_unfiltered (gdb_stdlog, "-> %s->trace_find (...)\n", this->beneath ()->shortname ());
3244  result = this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4);
3245  fprintf_unfiltered (gdb_stdlog, "<- %s->trace_find (", this->beneath ()->shortname ());
3246  target_debug_print_enum_trace_find_type (arg0);
3247  fputs_unfiltered (", ", gdb_stdlog);
3248  target_debug_print_int (arg1);
3249  fputs_unfiltered (", ", gdb_stdlog);
3250  target_debug_print_CORE_ADDR (arg2);
3251  fputs_unfiltered (", ", gdb_stdlog);
3252  target_debug_print_CORE_ADDR (arg3);
3253  fputs_unfiltered (", ", gdb_stdlog);
3254  target_debug_print_int_p (arg4);
3255  fputs_unfiltered (") = ", gdb_stdlog);
3256  target_debug_print_int (result);
3257  fputs_unfiltered ("\n", gdb_stdlog);
3258  return result;
3259}
3260
3261bool
3262target_ops::get_trace_state_variable_value (int arg0, LONGEST *arg1)
3263{
3264  return this->beneath ()->get_trace_state_variable_value (arg0, arg1);
3265}
3266
3267bool
3268dummy_target::get_trace_state_variable_value (int arg0, LONGEST *arg1)
3269{
3270  return false;
3271}
3272
3273bool
3274debug_target::get_trace_state_variable_value (int arg0, LONGEST *arg1)
3275{
3276  bool result;
3277  fprintf_unfiltered (gdb_stdlog, "-> %s->get_trace_state_variable_value (...)\n", this->beneath ()->shortname ());
3278  result = this->beneath ()->get_trace_state_variable_value (arg0, arg1);
3279  fprintf_unfiltered (gdb_stdlog, "<- %s->get_trace_state_variable_value (", this->beneath ()->shortname ());
3280  target_debug_print_int (arg0);
3281  fputs_unfiltered (", ", gdb_stdlog);
3282  target_debug_print_LONGEST_p (arg1);
3283  fputs_unfiltered (") = ", gdb_stdlog);
3284  target_debug_print_bool (result);
3285  fputs_unfiltered ("\n", gdb_stdlog);
3286  return result;
3287}
3288
3289int
3290target_ops::save_trace_data (const char *arg0)
3291{
3292  return this->beneath ()->save_trace_data (arg0);
3293}
3294
3295int
3296dummy_target::save_trace_data (const char *arg0)
3297{
3298  tcomplain ();
3299}
3300
3301int
3302debug_target::save_trace_data (const char *arg0)
3303{
3304  int result;
3305  fprintf_unfiltered (gdb_stdlog, "-> %s->save_trace_data (...)\n", this->beneath ()->shortname ());
3306  result = this->beneath ()->save_trace_data (arg0);
3307  fprintf_unfiltered (gdb_stdlog, "<- %s->save_trace_data (", this->beneath ()->shortname ());
3308  target_debug_print_const_char_p (arg0);
3309  fputs_unfiltered (") = ", gdb_stdlog);
3310  target_debug_print_int (result);
3311  fputs_unfiltered ("\n", gdb_stdlog);
3312  return result;
3313}
3314
3315int
3316target_ops::upload_tracepoints (struct uploaded_tp **arg0)
3317{
3318  return this->beneath ()->upload_tracepoints (arg0);
3319}
3320
3321int
3322dummy_target::upload_tracepoints (struct uploaded_tp **arg0)
3323{
3324  return 0;
3325}
3326
3327int
3328debug_target::upload_tracepoints (struct uploaded_tp **arg0)
3329{
3330  int result;
3331  fprintf_unfiltered (gdb_stdlog, "-> %s->upload_tracepoints (...)\n", this->beneath ()->shortname ());
3332  result = this->beneath ()->upload_tracepoints (arg0);
3333  fprintf_unfiltered (gdb_stdlog, "<- %s->upload_tracepoints (", this->beneath ()->shortname ());
3334  target_debug_print_struct_uploaded_tp_pp (arg0);
3335  fputs_unfiltered (") = ", gdb_stdlog);
3336  target_debug_print_int (result);
3337  fputs_unfiltered ("\n", gdb_stdlog);
3338  return result;
3339}
3340
3341int
3342target_ops::upload_trace_state_variables (struct uploaded_tsv **arg0)
3343{
3344  return this->beneath ()->upload_trace_state_variables (arg0);
3345}
3346
3347int
3348dummy_target::upload_trace_state_variables (struct uploaded_tsv **arg0)
3349{
3350  return 0;
3351}
3352
3353int
3354debug_target::upload_trace_state_variables (struct uploaded_tsv **arg0)
3355{
3356  int result;
3357  fprintf_unfiltered (gdb_stdlog, "-> %s->upload_trace_state_variables (...)\n", this->beneath ()->shortname ());
3358  result = this->beneath ()->upload_trace_state_variables (arg0);
3359  fprintf_unfiltered (gdb_stdlog, "<- %s->upload_trace_state_variables (", this->beneath ()->shortname ());
3360  target_debug_print_struct_uploaded_tsv_pp (arg0);
3361  fputs_unfiltered (") = ", gdb_stdlog);
3362  target_debug_print_int (result);
3363  fputs_unfiltered ("\n", gdb_stdlog);
3364  return result;
3365}
3366
3367LONGEST
3368target_ops::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3369{
3370  return this->beneath ()->get_raw_trace_data (arg0, arg1, arg2);
3371}
3372
3373LONGEST
3374dummy_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3375{
3376  tcomplain ();
3377}
3378
3379LONGEST
3380debug_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
3381{
3382  LONGEST result;
3383  fprintf_unfiltered (gdb_stdlog, "-> %s->get_raw_trace_data (...)\n", this->beneath ()->shortname ());
3384  result = this->beneath ()->get_raw_trace_data (arg0, arg1, arg2);
3385  fprintf_unfiltered (gdb_stdlog, "<- %s->get_raw_trace_data (", this->beneath ()->shortname ());
3386  target_debug_print_gdb_byte_p (arg0);
3387  fputs_unfiltered (", ", gdb_stdlog);
3388  target_debug_print_ULONGEST (arg1);
3389  fputs_unfiltered (", ", gdb_stdlog);
3390  target_debug_print_LONGEST (arg2);
3391  fputs_unfiltered (") = ", gdb_stdlog);
3392  target_debug_print_LONGEST (result);
3393  fputs_unfiltered ("\n", gdb_stdlog);
3394  return result;
3395}
3396
3397int
3398target_ops::get_min_fast_tracepoint_insn_len ()
3399{
3400  return this->beneath ()->get_min_fast_tracepoint_insn_len ();
3401}
3402
3403int
3404dummy_target::get_min_fast_tracepoint_insn_len ()
3405{
3406  return -1;
3407}
3408
3409int
3410debug_target::get_min_fast_tracepoint_insn_len ()
3411{
3412  int result;
3413  fprintf_unfiltered (gdb_stdlog, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath ()->shortname ());
3414  result = this->beneath ()->get_min_fast_tracepoint_insn_len ();
3415  fprintf_unfiltered (gdb_stdlog, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath ()->shortname ());
3416  fputs_unfiltered (") = ", gdb_stdlog);
3417  target_debug_print_int (result);
3418  fputs_unfiltered ("\n", gdb_stdlog);
3419  return result;
3420}
3421
3422void
3423target_ops::set_disconnected_tracing (int arg0)
3424{
3425  this->beneath ()->set_disconnected_tracing (arg0);
3426}
3427
3428void
3429dummy_target::set_disconnected_tracing (int arg0)
3430{
3431}
3432
3433void
3434debug_target::set_disconnected_tracing (int arg0)
3435{
3436  fprintf_unfiltered (gdb_stdlog, "-> %s->set_disconnected_tracing (...)\n", this->beneath ()->shortname ());
3437  this->beneath ()->set_disconnected_tracing (arg0);
3438  fprintf_unfiltered (gdb_stdlog, "<- %s->set_disconnected_tracing (", this->beneath ()->shortname ());
3439  target_debug_print_int (arg0);
3440  fputs_unfiltered (")\n", gdb_stdlog);
3441}
3442
3443void
3444target_ops::set_circular_trace_buffer (int arg0)
3445{
3446  this->beneath ()->set_circular_trace_buffer (arg0);
3447}
3448
3449void
3450dummy_target::set_circular_trace_buffer (int arg0)
3451{
3452}
3453
3454void
3455debug_target::set_circular_trace_buffer (int arg0)
3456{
3457  fprintf_unfiltered (gdb_stdlog, "-> %s->set_circular_trace_buffer (...)\n", this->beneath ()->shortname ());
3458  this->beneath ()->set_circular_trace_buffer (arg0);
3459  fprintf_unfiltered (gdb_stdlog, "<- %s->set_circular_trace_buffer (", this->beneath ()->shortname ());
3460  target_debug_print_int (arg0);
3461  fputs_unfiltered (")\n", gdb_stdlog);
3462}
3463
3464void
3465target_ops::set_trace_buffer_size (LONGEST arg0)
3466{
3467  this->beneath ()->set_trace_buffer_size (arg0);
3468}
3469
3470void
3471dummy_target::set_trace_buffer_size (LONGEST arg0)
3472{
3473}
3474
3475void
3476debug_target::set_trace_buffer_size (LONGEST arg0)
3477{
3478  fprintf_unfiltered (gdb_stdlog, "-> %s->set_trace_buffer_size (...)\n", this->beneath ()->shortname ());
3479  this->beneath ()->set_trace_buffer_size (arg0);
3480  fprintf_unfiltered (gdb_stdlog, "<- %s->set_trace_buffer_size (", this->beneath ()->shortname ());
3481  target_debug_print_LONGEST (arg0);
3482  fputs_unfiltered (")\n", gdb_stdlog);
3483}
3484
3485bool
3486target_ops::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3487{
3488  return this->beneath ()->set_trace_notes (arg0, arg1, arg2);
3489}
3490
3491bool
3492dummy_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3493{
3494  return false;
3495}
3496
3497bool
3498debug_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
3499{
3500  bool result;
3501  fprintf_unfiltered (gdb_stdlog, "-> %s->set_trace_notes (...)\n", this->beneath ()->shortname ());
3502  result = this->beneath ()->set_trace_notes (arg0, arg1, arg2);
3503  fprintf_unfiltered (gdb_stdlog, "<- %s->set_trace_notes (", this->beneath ()->shortname ());
3504  target_debug_print_const_char_p (arg0);
3505  fputs_unfiltered (", ", gdb_stdlog);
3506  target_debug_print_const_char_p (arg1);
3507  fputs_unfiltered (", ", gdb_stdlog);
3508  target_debug_print_const_char_p (arg2);
3509  fputs_unfiltered (") = ", gdb_stdlog);
3510  target_debug_print_bool (result);
3511  fputs_unfiltered ("\n", gdb_stdlog);
3512  return result;
3513}
3514
3515int
3516target_ops::core_of_thread (ptid_t arg0)
3517{
3518  return this->beneath ()->core_of_thread (arg0);
3519}
3520
3521int
3522dummy_target::core_of_thread (ptid_t arg0)
3523{
3524  return -1;
3525}
3526
3527int
3528debug_target::core_of_thread (ptid_t arg0)
3529{
3530  int result;
3531  fprintf_unfiltered (gdb_stdlog, "-> %s->core_of_thread (...)\n", this->beneath ()->shortname ());
3532  result = this->beneath ()->core_of_thread (arg0);
3533  fprintf_unfiltered (gdb_stdlog, "<- %s->core_of_thread (", this->beneath ()->shortname ());
3534  target_debug_print_ptid_t (arg0);
3535  fputs_unfiltered (") = ", gdb_stdlog);
3536  target_debug_print_int (result);
3537  fputs_unfiltered ("\n", gdb_stdlog);
3538  return result;
3539}
3540
3541int
3542target_ops::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3543{
3544  return this->beneath ()->verify_memory (arg0, arg1, arg2);
3545}
3546
3547int
3548dummy_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3549{
3550  return default_verify_memory (this, arg0, arg1, arg2);
3551}
3552
3553int
3554debug_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3555{
3556  int result;
3557  fprintf_unfiltered (gdb_stdlog, "-> %s->verify_memory (...)\n", this->beneath ()->shortname ());
3558  result = this->beneath ()->verify_memory (arg0, arg1, arg2);
3559  fprintf_unfiltered (gdb_stdlog, "<- %s->verify_memory (", this->beneath ()->shortname ());
3560  target_debug_print_const_gdb_byte_p (arg0);
3561  fputs_unfiltered (", ", gdb_stdlog);
3562  target_debug_print_CORE_ADDR (arg1);
3563  fputs_unfiltered (", ", gdb_stdlog);
3564  target_debug_print_ULONGEST (arg2);
3565  fputs_unfiltered (") = ", gdb_stdlog);
3566  target_debug_print_int (result);
3567  fputs_unfiltered ("\n", gdb_stdlog);
3568  return result;
3569}
3570
3571bool
3572target_ops::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3573{
3574  return this->beneath ()->get_tib_address (arg0, arg1);
3575}
3576
3577bool
3578dummy_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3579{
3580  tcomplain ();
3581}
3582
3583bool
3584debug_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
3585{
3586  bool result;
3587  fprintf_unfiltered (gdb_stdlog, "-> %s->get_tib_address (...)\n", this->beneath ()->shortname ());
3588  result = this->beneath ()->get_tib_address (arg0, arg1);
3589  fprintf_unfiltered (gdb_stdlog, "<- %s->get_tib_address (", this->beneath ()->shortname ());
3590  target_debug_print_ptid_t (arg0);
3591  fputs_unfiltered (", ", gdb_stdlog);
3592  target_debug_print_CORE_ADDR_p (arg1);
3593  fputs_unfiltered (") = ", gdb_stdlog);
3594  target_debug_print_bool (result);
3595  fputs_unfiltered ("\n", gdb_stdlog);
3596  return result;
3597}
3598
3599void
3600target_ops::set_permissions ()
3601{
3602  this->beneath ()->set_permissions ();
3603}
3604
3605void
3606dummy_target::set_permissions ()
3607{
3608}
3609
3610void
3611debug_target::set_permissions ()
3612{
3613  fprintf_unfiltered (gdb_stdlog, "-> %s->set_permissions (...)\n", this->beneath ()->shortname ());
3614  this->beneath ()->set_permissions ();
3615  fprintf_unfiltered (gdb_stdlog, "<- %s->set_permissions (", this->beneath ()->shortname ());
3616  fputs_unfiltered (")\n", gdb_stdlog);
3617}
3618
3619bool
3620target_ops::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
3621{
3622  return this->beneath ()->static_tracepoint_marker_at (arg0, arg1);
3623}
3624
3625bool
3626dummy_target::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
3627{
3628  return false;
3629}
3630
3631bool
3632debug_target::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
3633{
3634  bool result;
3635  fprintf_unfiltered (gdb_stdlog, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath ()->shortname ());
3636  result = this->beneath ()->static_tracepoint_marker_at (arg0, arg1);
3637  fprintf_unfiltered (gdb_stdlog, "<- %s->static_tracepoint_marker_at (", this->beneath ()->shortname ());
3638  target_debug_print_CORE_ADDR (arg0);
3639  fputs_unfiltered (", ", gdb_stdlog);
3640  target_debug_print_static_tracepoint_marker_p (arg1);
3641  fputs_unfiltered (") = ", gdb_stdlog);
3642  target_debug_print_bool (result);
3643  fputs_unfiltered ("\n", gdb_stdlog);
3644  return result;
3645}
3646
3647std::vector<static_tracepoint_marker>
3648target_ops::static_tracepoint_markers_by_strid (const char *arg0)
3649{
3650  return this->beneath ()->static_tracepoint_markers_by_strid (arg0);
3651}
3652
3653std::vector<static_tracepoint_marker>
3654dummy_target::static_tracepoint_markers_by_strid (const char *arg0)
3655{
3656  tcomplain ();
3657}
3658
3659std::vector<static_tracepoint_marker>
3660debug_target::static_tracepoint_markers_by_strid (const char *arg0)
3661{
3662  std::vector<static_tracepoint_marker> result;
3663  fprintf_unfiltered (gdb_stdlog, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath ()->shortname ());
3664  result = this->beneath ()->static_tracepoint_markers_by_strid (arg0);
3665  fprintf_unfiltered (gdb_stdlog, "<- %s->static_tracepoint_markers_by_strid (", this->beneath ()->shortname ());
3666  target_debug_print_const_char_p (arg0);
3667  fputs_unfiltered (") = ", gdb_stdlog);
3668  target_debug_print_std_vector_static_tracepoint_marker (result);
3669  fputs_unfiltered ("\n", gdb_stdlog);
3670  return result;
3671}
3672
3673traceframe_info_up
3674target_ops::traceframe_info ()
3675{
3676  return this->beneath ()->traceframe_info ();
3677}
3678
3679traceframe_info_up
3680dummy_target::traceframe_info ()
3681{
3682  tcomplain ();
3683}
3684
3685traceframe_info_up
3686debug_target::traceframe_info ()
3687{
3688  traceframe_info_up result;
3689  fprintf_unfiltered (gdb_stdlog, "-> %s->traceframe_info (...)\n", this->beneath ()->shortname ());
3690  result = this->beneath ()->traceframe_info ();
3691  fprintf_unfiltered (gdb_stdlog, "<- %s->traceframe_info (", this->beneath ()->shortname ());
3692  fputs_unfiltered (") = ", gdb_stdlog);
3693  target_debug_print_traceframe_info_up (result);
3694  fputs_unfiltered ("\n", gdb_stdlog);
3695  return result;
3696}
3697
3698bool
3699target_ops::use_agent (bool arg0)
3700{
3701  return this->beneath ()->use_agent (arg0);
3702}
3703
3704bool
3705dummy_target::use_agent (bool arg0)
3706{
3707  tcomplain ();
3708}
3709
3710bool
3711debug_target::use_agent (bool arg0)
3712{
3713  bool result;
3714  fprintf_unfiltered (gdb_stdlog, "-> %s->use_agent (...)\n", this->beneath ()->shortname ());
3715  result = this->beneath ()->use_agent (arg0);
3716  fprintf_unfiltered (gdb_stdlog, "<- %s->use_agent (", this->beneath ()->shortname ());
3717  target_debug_print_bool (arg0);
3718  fputs_unfiltered (") = ", gdb_stdlog);
3719  target_debug_print_bool (result);
3720  fputs_unfiltered ("\n", gdb_stdlog);
3721  return result;
3722}
3723
3724bool
3725target_ops::can_use_agent ()
3726{
3727  return this->beneath ()->can_use_agent ();
3728}
3729
3730bool
3731dummy_target::can_use_agent ()
3732{
3733  return false;
3734}
3735
3736bool
3737debug_target::can_use_agent ()
3738{
3739  bool result;
3740  fprintf_unfiltered (gdb_stdlog, "-> %s->can_use_agent (...)\n", this->beneath ()->shortname ());
3741  result = this->beneath ()->can_use_agent ();
3742  fprintf_unfiltered (gdb_stdlog, "<- %s->can_use_agent (", this->beneath ()->shortname ());
3743  fputs_unfiltered (") = ", gdb_stdlog);
3744  target_debug_print_bool (result);
3745  fputs_unfiltered ("\n", gdb_stdlog);
3746  return result;
3747}
3748
3749struct btrace_target_info *
3750target_ops::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
3751{
3752  return this->beneath ()->enable_btrace (arg0, arg1);
3753}
3754
3755struct btrace_target_info *
3756dummy_target::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
3757{
3758  tcomplain ();
3759}
3760
3761struct btrace_target_info *
3762debug_target::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
3763{
3764  struct btrace_target_info * result;
3765  fprintf_unfiltered (gdb_stdlog, "-> %s->enable_btrace (...)\n", this->beneath ()->shortname ());
3766  result = this->beneath ()->enable_btrace (arg0, arg1);
3767  fprintf_unfiltered (gdb_stdlog, "<- %s->enable_btrace (", this->beneath ()->shortname ());
3768  target_debug_print_ptid_t (arg0);
3769  fputs_unfiltered (", ", gdb_stdlog);
3770  target_debug_print_const_struct_btrace_config_p (arg1);
3771  fputs_unfiltered (") = ", gdb_stdlog);
3772  target_debug_print_struct_btrace_target_info_p (result);
3773  fputs_unfiltered ("\n", gdb_stdlog);
3774  return result;
3775}
3776
3777void
3778target_ops::disable_btrace (struct btrace_target_info *arg0)
3779{
3780  this->beneath ()->disable_btrace (arg0);
3781}
3782
3783void
3784dummy_target::disable_btrace (struct btrace_target_info *arg0)
3785{
3786  tcomplain ();
3787}
3788
3789void
3790debug_target::disable_btrace (struct btrace_target_info *arg0)
3791{
3792  fprintf_unfiltered (gdb_stdlog, "-> %s->disable_btrace (...)\n", this->beneath ()->shortname ());
3793  this->beneath ()->disable_btrace (arg0);
3794  fprintf_unfiltered (gdb_stdlog, "<- %s->disable_btrace (", this->beneath ()->shortname ());
3795  target_debug_print_struct_btrace_target_info_p (arg0);
3796  fputs_unfiltered (")\n", gdb_stdlog);
3797}
3798
3799void
3800target_ops::teardown_btrace (struct btrace_target_info *arg0)
3801{
3802  this->beneath ()->teardown_btrace (arg0);
3803}
3804
3805void
3806dummy_target::teardown_btrace (struct btrace_target_info *arg0)
3807{
3808  tcomplain ();
3809}
3810
3811void
3812debug_target::teardown_btrace (struct btrace_target_info *arg0)
3813{
3814  fprintf_unfiltered (gdb_stdlog, "-> %s->teardown_btrace (...)\n", this->beneath ()->shortname ());
3815  this->beneath ()->teardown_btrace (arg0);
3816  fprintf_unfiltered (gdb_stdlog, "<- %s->teardown_btrace (", this->beneath ()->shortname ());
3817  target_debug_print_struct_btrace_target_info_p (arg0);
3818  fputs_unfiltered (")\n", gdb_stdlog);
3819}
3820
3821enum btrace_error
3822target_ops::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3823{
3824  return this->beneath ()->read_btrace (arg0, arg1, arg2);
3825}
3826
3827enum btrace_error
3828dummy_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3829{
3830  tcomplain ();
3831}
3832
3833enum btrace_error
3834debug_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
3835{
3836  enum btrace_error result;
3837  fprintf_unfiltered (gdb_stdlog, "-> %s->read_btrace (...)\n", this->beneath ()->shortname ());
3838  result = this->beneath ()->read_btrace (arg0, arg1, arg2);
3839  fprintf_unfiltered (gdb_stdlog, "<- %s->read_btrace (", this->beneath ()->shortname ());
3840  target_debug_print_struct_btrace_data_p (arg0);
3841  fputs_unfiltered (", ", gdb_stdlog);
3842  target_debug_print_struct_btrace_target_info_p (arg1);
3843  fputs_unfiltered (", ", gdb_stdlog);
3844  target_debug_print_enum_btrace_read_type (arg2);
3845  fputs_unfiltered (") = ", gdb_stdlog);
3846  target_debug_print_enum_btrace_error (result);
3847  fputs_unfiltered ("\n", gdb_stdlog);
3848  return result;
3849}
3850
3851const struct btrace_config *
3852target_ops::btrace_conf (const struct btrace_target_info *arg0)
3853{
3854  return this->beneath ()->btrace_conf (arg0);
3855}
3856
3857const struct btrace_config *
3858dummy_target::btrace_conf (const struct btrace_target_info *arg0)
3859{
3860  return NULL;
3861}
3862
3863const struct btrace_config *
3864debug_target::btrace_conf (const struct btrace_target_info *arg0)
3865{
3866  const struct btrace_config * result;
3867  fprintf_unfiltered (gdb_stdlog, "-> %s->btrace_conf (...)\n", this->beneath ()->shortname ());
3868  result = this->beneath ()->btrace_conf (arg0);
3869  fprintf_unfiltered (gdb_stdlog, "<- %s->btrace_conf (", this->beneath ()->shortname ());
3870  target_debug_print_const_struct_btrace_target_info_p (arg0);
3871  fputs_unfiltered (") = ", gdb_stdlog);
3872  target_debug_print_const_struct_btrace_config_p (result);
3873  fputs_unfiltered ("\n", gdb_stdlog);
3874  return result;
3875}
3876
3877enum record_method
3878target_ops::record_method (ptid_t arg0)
3879{
3880  return this->beneath ()->record_method (arg0);
3881}
3882
3883enum record_method
3884dummy_target::record_method (ptid_t arg0)
3885{
3886  return RECORD_METHOD_NONE;
3887}
3888
3889enum record_method
3890debug_target::record_method (ptid_t arg0)
3891{
3892  enum record_method result;
3893  fprintf_unfiltered (gdb_stdlog, "-> %s->record_method (...)\n", this->beneath ()->shortname ());
3894  result = this->beneath ()->record_method (arg0);
3895  fprintf_unfiltered (gdb_stdlog, "<- %s->record_method (", this->beneath ()->shortname ());
3896  target_debug_print_ptid_t (arg0);
3897  fputs_unfiltered (") = ", gdb_stdlog);
3898  target_debug_print_enum_record_method (result);
3899  fputs_unfiltered ("\n", gdb_stdlog);
3900  return result;
3901}
3902
3903void
3904target_ops::stop_recording ()
3905{
3906  this->beneath ()->stop_recording ();
3907}
3908
3909void
3910dummy_target::stop_recording ()
3911{
3912}
3913
3914void
3915debug_target::stop_recording ()
3916{
3917  fprintf_unfiltered (gdb_stdlog, "-> %s->stop_recording (...)\n", this->beneath ()->shortname ());
3918  this->beneath ()->stop_recording ();
3919  fprintf_unfiltered (gdb_stdlog, "<- %s->stop_recording (", this->beneath ()->shortname ());
3920  fputs_unfiltered (")\n", gdb_stdlog);
3921}
3922
3923void
3924target_ops::info_record ()
3925{
3926  this->beneath ()->info_record ();
3927}
3928
3929void
3930dummy_target::info_record ()
3931{
3932}
3933
3934void
3935debug_target::info_record ()
3936{
3937  fprintf_unfiltered (gdb_stdlog, "-> %s->info_record (...)\n", this->beneath ()->shortname ());
3938  this->beneath ()->info_record ();
3939  fprintf_unfiltered (gdb_stdlog, "<- %s->info_record (", this->beneath ()->shortname ());
3940  fputs_unfiltered (")\n", gdb_stdlog);
3941}
3942
3943void
3944target_ops::save_record (const char *arg0)
3945{
3946  this->beneath ()->save_record (arg0);
3947}
3948
3949void
3950dummy_target::save_record (const char *arg0)
3951{
3952  tcomplain ();
3953}
3954
3955void
3956debug_target::save_record (const char *arg0)
3957{
3958  fprintf_unfiltered (gdb_stdlog, "-> %s->save_record (...)\n", this->beneath ()->shortname ());
3959  this->beneath ()->save_record (arg0);
3960  fprintf_unfiltered (gdb_stdlog, "<- %s->save_record (", this->beneath ()->shortname ());
3961  target_debug_print_const_char_p (arg0);
3962  fputs_unfiltered (")\n", gdb_stdlog);
3963}
3964
3965bool
3966target_ops::supports_delete_record ()
3967{
3968  return this->beneath ()->supports_delete_record ();
3969}
3970
3971bool
3972dummy_target::supports_delete_record ()
3973{
3974  return false;
3975}
3976
3977bool
3978debug_target::supports_delete_record ()
3979{
3980  bool result;
3981  fprintf_unfiltered (gdb_stdlog, "-> %s->supports_delete_record (...)\n", this->beneath ()->shortname ());
3982  result = this->beneath ()->supports_delete_record ();
3983  fprintf_unfiltered (gdb_stdlog, "<- %s->supports_delete_record (", this->beneath ()->shortname ());
3984  fputs_unfiltered (") = ", gdb_stdlog);
3985  target_debug_print_bool (result);
3986  fputs_unfiltered ("\n", gdb_stdlog);
3987  return result;
3988}
3989
3990void
3991target_ops::delete_record ()
3992{
3993  this->beneath ()->delete_record ();
3994}
3995
3996void
3997dummy_target::delete_record ()
3998{
3999  tcomplain ();
4000}
4001
4002void
4003debug_target::delete_record ()
4004{
4005  fprintf_unfiltered (gdb_stdlog, "-> %s->delete_record (...)\n", this->beneath ()->shortname ());
4006  this->beneath ()->delete_record ();
4007  fprintf_unfiltered (gdb_stdlog, "<- %s->delete_record (", this->beneath ()->shortname ());
4008  fputs_unfiltered (")\n", gdb_stdlog);
4009}
4010
4011bool
4012target_ops::record_is_replaying (ptid_t arg0)
4013{
4014  return this->beneath ()->record_is_replaying (arg0);
4015}
4016
4017bool
4018dummy_target::record_is_replaying (ptid_t arg0)
4019{
4020  return false;
4021}
4022
4023bool
4024debug_target::record_is_replaying (ptid_t arg0)
4025{
4026  bool result;
4027  fprintf_unfiltered (gdb_stdlog, "-> %s->record_is_replaying (...)\n", this->beneath ()->shortname ());
4028  result = this->beneath ()->record_is_replaying (arg0);
4029  fprintf_unfiltered (gdb_stdlog, "<- %s->record_is_replaying (", this->beneath ()->shortname ());
4030  target_debug_print_ptid_t (arg0);
4031  fputs_unfiltered (") = ", gdb_stdlog);
4032  target_debug_print_bool (result);
4033  fputs_unfiltered ("\n", gdb_stdlog);
4034  return result;
4035}
4036
4037bool
4038target_ops::record_will_replay (ptid_t arg0, int arg1)
4039{
4040  return this->beneath ()->record_will_replay (arg0, arg1);
4041}
4042
4043bool
4044dummy_target::record_will_replay (ptid_t arg0, int arg1)
4045{
4046  return false;
4047}
4048
4049bool
4050debug_target::record_will_replay (ptid_t arg0, int arg1)
4051{
4052  bool result;
4053  fprintf_unfiltered (gdb_stdlog, "-> %s->record_will_replay (...)\n", this->beneath ()->shortname ());
4054  result = this->beneath ()->record_will_replay (arg0, arg1);
4055  fprintf_unfiltered (gdb_stdlog, "<- %s->record_will_replay (", this->beneath ()->shortname ());
4056  target_debug_print_ptid_t (arg0);
4057  fputs_unfiltered (", ", gdb_stdlog);
4058  target_debug_print_int (arg1);
4059  fputs_unfiltered (") = ", gdb_stdlog);
4060  target_debug_print_bool (result);
4061  fputs_unfiltered ("\n", gdb_stdlog);
4062  return result;
4063}
4064
4065void
4066target_ops::record_stop_replaying ()
4067{
4068  this->beneath ()->record_stop_replaying ();
4069}
4070
4071void
4072dummy_target::record_stop_replaying ()
4073{
4074}
4075
4076void
4077debug_target::record_stop_replaying ()
4078{
4079  fprintf_unfiltered (gdb_stdlog, "-> %s->record_stop_replaying (...)\n", this->beneath ()->shortname ());
4080  this->beneath ()->record_stop_replaying ();
4081  fprintf_unfiltered (gdb_stdlog, "<- %s->record_stop_replaying (", this->beneath ()->shortname ());
4082  fputs_unfiltered (")\n", gdb_stdlog);
4083}
4084
4085void
4086target_ops::goto_record_begin ()
4087{
4088  this->beneath ()->goto_record_begin ();
4089}
4090
4091void
4092dummy_target::goto_record_begin ()
4093{
4094  tcomplain ();
4095}
4096
4097void
4098debug_target::goto_record_begin ()
4099{
4100  fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record_begin (...)\n", this->beneath ()->shortname ());
4101  this->beneath ()->goto_record_begin ();
4102  fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record_begin (", this->beneath ()->shortname ());
4103  fputs_unfiltered (")\n", gdb_stdlog);
4104}
4105
4106void
4107target_ops::goto_record_end ()
4108{
4109  this->beneath ()->goto_record_end ();
4110}
4111
4112void
4113dummy_target::goto_record_end ()
4114{
4115  tcomplain ();
4116}
4117
4118void
4119debug_target::goto_record_end ()
4120{
4121  fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record_end (...)\n", this->beneath ()->shortname ());
4122  this->beneath ()->goto_record_end ();
4123  fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record_end (", this->beneath ()->shortname ());
4124  fputs_unfiltered (")\n", gdb_stdlog);
4125}
4126
4127void
4128target_ops::goto_record (ULONGEST arg0)
4129{
4130  this->beneath ()->goto_record (arg0);
4131}
4132
4133void
4134dummy_target::goto_record (ULONGEST arg0)
4135{
4136  tcomplain ();
4137}
4138
4139void
4140debug_target::goto_record (ULONGEST arg0)
4141{
4142  fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record (...)\n", this->beneath ()->shortname ());
4143  this->beneath ()->goto_record (arg0);
4144  fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record (", this->beneath ()->shortname ());
4145  target_debug_print_ULONGEST (arg0);
4146  fputs_unfiltered (")\n", gdb_stdlog);
4147}
4148
4149void
4150target_ops::insn_history (int arg0, gdb_disassembly_flags arg1)
4151{
4152  this->beneath ()->insn_history (arg0, arg1);
4153}
4154
4155void
4156dummy_target::insn_history (int arg0, gdb_disassembly_flags arg1)
4157{
4158  tcomplain ();
4159}
4160
4161void
4162debug_target::insn_history (int arg0, gdb_disassembly_flags arg1)
4163{
4164  fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history (...)\n", this->beneath ()->shortname ());
4165  this->beneath ()->insn_history (arg0, arg1);
4166  fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history (", this->beneath ()->shortname ());
4167  target_debug_print_int (arg0);
4168  fputs_unfiltered (", ", gdb_stdlog);
4169  target_debug_print_gdb_disassembly_flags (arg1);
4170  fputs_unfiltered (")\n", gdb_stdlog);
4171}
4172
4173void
4174target_ops::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4175{
4176  this->beneath ()->insn_history_from (arg0, arg1, arg2);
4177}
4178
4179void
4180dummy_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4181{
4182  tcomplain ();
4183}
4184
4185void
4186debug_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
4187{
4188  fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history_from (...)\n", this->beneath ()->shortname ());
4189  this->beneath ()->insn_history_from (arg0, arg1, arg2);
4190  fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history_from (", this->beneath ()->shortname ());
4191  target_debug_print_ULONGEST (arg0);
4192  fputs_unfiltered (", ", gdb_stdlog);
4193  target_debug_print_int (arg1);
4194  fputs_unfiltered (", ", gdb_stdlog);
4195  target_debug_print_gdb_disassembly_flags (arg2);
4196  fputs_unfiltered (")\n", gdb_stdlog);
4197}
4198
4199void
4200target_ops::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4201{
4202  this->beneath ()->insn_history_range (arg0, arg1, arg2);
4203}
4204
4205void
4206dummy_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4207{
4208  tcomplain ();
4209}
4210
4211void
4212debug_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
4213{
4214  fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history_range (...)\n", this->beneath ()->shortname ());
4215  this->beneath ()->insn_history_range (arg0, arg1, arg2);
4216  fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history_range (", this->beneath ()->shortname ());
4217  target_debug_print_ULONGEST (arg0);
4218  fputs_unfiltered (", ", gdb_stdlog);
4219  target_debug_print_ULONGEST (arg1);
4220  fputs_unfiltered (", ", gdb_stdlog);
4221  target_debug_print_gdb_disassembly_flags (arg2);
4222  fputs_unfiltered (")\n", gdb_stdlog);
4223}
4224
4225void
4226target_ops::call_history (int arg0, record_print_flags arg1)
4227{
4228  this->beneath ()->call_history (arg0, arg1);
4229}
4230
4231void
4232dummy_target::call_history (int arg0, record_print_flags arg1)
4233{
4234  tcomplain ();
4235}
4236
4237void
4238debug_target::call_history (int arg0, record_print_flags arg1)
4239{
4240  fprintf_unfiltered (gdb_stdlog, "-> %s->call_history (...)\n", this->beneath ()->shortname ());
4241  this->beneath ()->call_history (arg0, arg1);
4242  fprintf_unfiltered (gdb_stdlog, "<- %s->call_history (", this->beneath ()->shortname ());
4243  target_debug_print_int (arg0);
4244  fputs_unfiltered (", ", gdb_stdlog);
4245  target_debug_print_record_print_flags (arg1);
4246  fputs_unfiltered (")\n", gdb_stdlog);
4247}
4248
4249void
4250target_ops::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4251{
4252  this->beneath ()->call_history_from (arg0, arg1, arg2);
4253}
4254
4255void
4256dummy_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4257{
4258  tcomplain ();
4259}
4260
4261void
4262debug_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
4263{
4264  fprintf_unfiltered (gdb_stdlog, "-> %s->call_history_from (...)\n", this->beneath ()->shortname ());
4265  this->beneath ()->call_history_from (arg0, arg1, arg2);
4266  fprintf_unfiltered (gdb_stdlog, "<- %s->call_history_from (", this->beneath ()->shortname ());
4267  target_debug_print_ULONGEST (arg0);
4268  fputs_unfiltered (", ", gdb_stdlog);
4269  target_debug_print_int (arg1);
4270  fputs_unfiltered (", ", gdb_stdlog);
4271  target_debug_print_record_print_flags (arg2);
4272  fputs_unfiltered (")\n", gdb_stdlog);
4273}
4274
4275void
4276target_ops::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4277{
4278  this->beneath ()->call_history_range (arg0, arg1, arg2);
4279}
4280
4281void
4282dummy_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4283{
4284  tcomplain ();
4285}
4286
4287void
4288debug_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
4289{
4290  fprintf_unfiltered (gdb_stdlog, "-> %s->call_history_range (...)\n", this->beneath ()->shortname ());
4291  this->beneath ()->call_history_range (arg0, arg1, arg2);
4292  fprintf_unfiltered (gdb_stdlog, "<- %s->call_history_range (", this->beneath ()->shortname ());
4293  target_debug_print_ULONGEST (arg0);
4294  fputs_unfiltered (", ", gdb_stdlog);
4295  target_debug_print_ULONGEST (arg1);
4296  fputs_unfiltered (", ", gdb_stdlog);
4297  target_debug_print_record_print_flags (arg2);
4298  fputs_unfiltered (")\n", gdb_stdlog);
4299}
4300
4301bool
4302target_ops::augmented_libraries_svr4_read ()
4303{
4304  return this->beneath ()->augmented_libraries_svr4_read ();
4305}
4306
4307bool
4308dummy_target::augmented_libraries_svr4_read ()
4309{
4310  return false;
4311}
4312
4313bool
4314debug_target::augmented_libraries_svr4_read ()
4315{
4316  bool result;
4317  fprintf_unfiltered (gdb_stdlog, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath ()->shortname ());
4318  result = this->beneath ()->augmented_libraries_svr4_read ();
4319  fprintf_unfiltered (gdb_stdlog, "<- %s->augmented_libraries_svr4_read (", this->beneath ()->shortname ());
4320  fputs_unfiltered (") = ", gdb_stdlog);
4321  target_debug_print_bool (result);
4322  fputs_unfiltered ("\n", gdb_stdlog);
4323  return result;
4324}
4325
4326const struct frame_unwind *
4327target_ops::get_unwinder ()
4328{
4329  return this->beneath ()->get_unwinder ();
4330}
4331
4332const struct frame_unwind *
4333dummy_target::get_unwinder ()
4334{
4335  return NULL;
4336}
4337
4338const struct frame_unwind *
4339debug_target::get_unwinder ()
4340{
4341  const struct frame_unwind * result;
4342  fprintf_unfiltered (gdb_stdlog, "-> %s->get_unwinder (...)\n", this->beneath ()->shortname ());
4343  result = this->beneath ()->get_unwinder ();
4344  fprintf_unfiltered (gdb_stdlog, "<- %s->get_unwinder (", this->beneath ()->shortname ());
4345  fputs_unfiltered (") = ", gdb_stdlog);
4346  target_debug_print_const_struct_frame_unwind_p (result);
4347  fputs_unfiltered ("\n", gdb_stdlog);
4348  return result;
4349}
4350
4351const struct frame_unwind *
4352target_ops::get_tailcall_unwinder ()
4353{
4354  return this->beneath ()->get_tailcall_unwinder ();
4355}
4356
4357const struct frame_unwind *
4358dummy_target::get_tailcall_unwinder ()
4359{
4360  return NULL;
4361}
4362
4363const struct frame_unwind *
4364debug_target::get_tailcall_unwinder ()
4365{
4366  const struct frame_unwind * result;
4367  fprintf_unfiltered (gdb_stdlog, "-> %s->get_tailcall_unwinder (...)\n", this->beneath ()->shortname ());
4368  result = this->beneath ()->get_tailcall_unwinder ();
4369  fprintf_unfiltered (gdb_stdlog, "<- %s->get_tailcall_unwinder (", this->beneath ()->shortname ());
4370  fputs_unfiltered (") = ", gdb_stdlog);
4371  target_debug_print_const_struct_frame_unwind_p (result);
4372  fputs_unfiltered ("\n", gdb_stdlog);
4373  return result;
4374}
4375
4376void
4377target_ops::prepare_to_generate_core ()
4378{
4379  this->beneath ()->prepare_to_generate_core ();
4380}
4381
4382void
4383dummy_target::prepare_to_generate_core ()
4384{
4385}
4386
4387void
4388debug_target::prepare_to_generate_core ()
4389{
4390  fprintf_unfiltered (gdb_stdlog, "-> %s->prepare_to_generate_core (...)\n", this->beneath ()->shortname ());
4391  this->beneath ()->prepare_to_generate_core ();
4392  fprintf_unfiltered (gdb_stdlog, "<- %s->prepare_to_generate_core (", this->beneath ()->shortname ());
4393  fputs_unfiltered (")\n", gdb_stdlog);
4394}
4395
4396void
4397target_ops::done_generating_core ()
4398{
4399  this->beneath ()->done_generating_core ();
4400}
4401
4402void
4403dummy_target::done_generating_core ()
4404{
4405}
4406
4407void
4408debug_target::done_generating_core ()
4409{
4410  fprintf_unfiltered (gdb_stdlog, "-> %s->done_generating_core (...)\n", this->beneath ()->shortname ());
4411  this->beneath ()->done_generating_core ();
4412  fprintf_unfiltered (gdb_stdlog, "<- %s->done_generating_core (", this->beneath ()->shortname ());
4413  fputs_unfiltered (")\n", gdb_stdlog);
4414}
4415
4416