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