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