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