gdb/remote: Use true/false instead of 1/0
[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;
294c36eb 62 void follow_exec (inferior *arg0, ptid_t arg1, const char *arg2) 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;
294c36eb 237 void follow_exec (inferior *arg0, ptid_t arg1, const char *arg2) 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
294c36eb 1598target_ops::follow_exec (inferior *arg0, ptid_t arg1, const char *arg2)
94585166 1599{
294c36eb 1600 this->beneath ()->follow_exec (arg0, arg1, arg2);
94585166
DB
1601}
1602
f6ac5f3d 1603void
294c36eb 1604dummy_target::follow_exec (inferior *arg0, ptid_t arg1, const char *arg2)
94585166
DB
1605{
1606}
1607
f6ac5f3d 1608void
294c36eb 1609debug_target::follow_exec (inferior *arg0, ptid_t arg1, const char *arg2)
94585166 1610{
b6a8c27b 1611 fprintf_unfiltered (gdb_stdlog, "-> %s->follow_exec (...)\n", this->beneath ()->shortname ());
294c36eb 1612 this->beneath ()->follow_exec (arg0, arg1, arg2);
b6a8c27b 1613 fprintf_unfiltered (gdb_stdlog, "<- %s->follow_exec (", this->beneath ()->shortname ());
294c36eb
SM
1614 target_debug_print_inferior_p (arg0);
1615 fputs_unfiltered (", ", gdb_stdlog);
1616 target_debug_print_ptid_t (arg1);
94585166 1617 fputs_unfiltered (", ", gdb_stdlog);
294c36eb 1618 target_debug_print_const_char_p (arg2);
94585166
DB
1619 fputs_unfiltered (")\n", gdb_stdlog);
1620}
1621
f6ac5f3d
PA
1622int
1623target_ops::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
6a9fa051 1624{
b6a8c27b 1625 return this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3);
6a9fa051
TT
1626}
1627
f6ac5f3d
PA
1628int
1629dummy_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
6a9fa051
TT
1630{
1631 return 1;
1632}
1633
f6ac5f3d
PA
1634int
1635debug_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3)
a7068b60
TT
1636{
1637 int result;
b6a8c27b
PA
1638 fprintf_unfiltered (gdb_stdlog, "-> %s->set_syscall_catchpoint (...)\n", this->beneath ()->shortname ());
1639 result = this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3);
1640 fprintf_unfiltered (gdb_stdlog, "<- %s->set_syscall_catchpoint (", this->beneath ()->shortname ());
f6ac5f3d 1641 target_debug_print_int (arg0);
a7068b60 1642 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 1643 target_debug_print_bool (arg1);
a7068b60 1644 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 1645 target_debug_print_int (arg2);
a7068b60 1646 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 1647 target_debug_print_gdb_array_view_const_int (arg3);
a7068b60
TT
1648 fputs_unfiltered (") = ", gdb_stdlog);
1649 target_debug_print_int (result);
1650 fputs_unfiltered ("\n", gdb_stdlog);
1651 return result;
1652}
1653
f6ac5f3d
PA
1654void
1655target_ops::mourn_inferior ()
8d657035 1656{
b6a8c27b 1657 this->beneath ()->mourn_inferior ();
8d657035
TT
1658}
1659
f6ac5f3d
PA
1660void
1661dummy_target::mourn_inferior ()
a7068b60 1662{
f6ac5f3d 1663 default_mourn_inferior (this);
a7068b60
TT
1664}
1665
f6ac5f3d
PA
1666void
1667debug_target::mourn_inferior ()
e88ef65c 1668{
b6a8c27b
PA
1669 fprintf_unfiltered (gdb_stdlog, "-> %s->mourn_inferior (...)\n", this->beneath ()->shortname ());
1670 this->beneath ()->mourn_inferior ();
1671 fprintf_unfiltered (gdb_stdlog, "<- %s->mourn_inferior (", this->beneath ()->shortname ());
f6ac5f3d 1672 fputs_unfiltered (")\n", gdb_stdlog);
a7068b60
TT
1673}
1674
f6ac5f3d 1675void
adc6a863 1676target_ops::pass_signals (gdb::array_view<const unsigned char> arg0)
035cad7f 1677{
adc6a863 1678 this->beneath ()->pass_signals (arg0);
035cad7f
TT
1679}
1680
f6ac5f3d 1681void
adc6a863 1682dummy_target::pass_signals (gdb::array_view<const unsigned char> arg0)
a7068b60
TT
1683{
1684}
1685
f6ac5f3d 1686void
adc6a863 1687debug_target::pass_signals (gdb::array_view<const unsigned char> arg0)
035cad7f 1688{
b6a8c27b 1689 fprintf_unfiltered (gdb_stdlog, "-> %s->pass_signals (...)\n", this->beneath ()->shortname ());
adc6a863 1690 this->beneath ()->pass_signals (arg0);
b6a8c27b 1691 fprintf_unfiltered (gdb_stdlog, "<- %s->pass_signals (", this->beneath ()->shortname ());
adc6a863 1692 target_debug_print_signals (arg0);
a7068b60 1693 fputs_unfiltered (")\n", gdb_stdlog);
035cad7f
TT
1694}
1695
f6ac5f3d 1696void
adc6a863 1697target_ops::program_signals (gdb::array_view<const unsigned char> arg0)
7d4f8efa 1698{
adc6a863 1699 this->beneath ()->program_signals (arg0);
7d4f8efa
TT
1700}
1701
f6ac5f3d 1702void
adc6a863 1703dummy_target::program_signals (gdb::array_view<const unsigned char> arg0)
a7068b60
TT
1704{
1705}
1706
f6ac5f3d 1707void
adc6a863 1708debug_target::program_signals (gdb::array_view<const unsigned char> arg0)
7d4f8efa 1709{
b6a8c27b 1710 fprintf_unfiltered (gdb_stdlog, "-> %s->program_signals (...)\n", this->beneath ()->shortname ());
adc6a863 1711 this->beneath ()->program_signals (arg0);
b6a8c27b 1712 fprintf_unfiltered (gdb_stdlog, "<- %s->program_signals (", this->beneath ()->shortname ());
adc6a863 1713 target_debug_print_signals (arg0);
a7068b60 1714 fputs_unfiltered (")\n", gdb_stdlog);
7d4f8efa
TT
1715}
1716
57810aa7 1717bool
f6ac5f3d 1718target_ops::thread_alive (ptid_t arg0)
cbffc065 1719{
b6a8c27b 1720 return this->beneath ()->thread_alive (arg0);
cbffc065
TT
1721}
1722
57810aa7 1723bool
f6ac5f3d 1724dummy_target::thread_alive (ptid_t arg0)
cbffc065 1725{
57810aa7 1726 return false;
cbffc065
TT
1727}
1728
57810aa7 1729bool
f6ac5f3d 1730debug_target::thread_alive (ptid_t arg0)
a7068b60 1731{
57810aa7 1732 bool result;
b6a8c27b
PA
1733 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_alive (...)\n", this->beneath ()->shortname ());
1734 result = this->beneath ()->thread_alive (arg0);
1735 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_alive (", this->beneath ()->shortname ());
f6ac5f3d 1736 target_debug_print_ptid_t (arg0);
a7068b60 1737 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 1738 target_debug_print_bool (result);
a7068b60
TT
1739 fputs_unfiltered ("\n", gdb_stdlog);
1740 return result;
1741}
1742
f6ac5f3d
PA
1743void
1744target_ops::update_thread_list ()
09b0dc2b 1745{
b6a8c27b 1746 this->beneath ()->update_thread_list ();
09b0dc2b
TT
1747}
1748
f6ac5f3d
PA
1749void
1750dummy_target::update_thread_list ()
09b0dc2b
TT
1751{
1752}
1753
f6ac5f3d
PA
1754void
1755debug_target::update_thread_list ()
a7068b60 1756{
b6a8c27b
PA
1757 fprintf_unfiltered (gdb_stdlog, "-> %s->update_thread_list (...)\n", this->beneath ()->shortname ());
1758 this->beneath ()->update_thread_list ();
1759 fprintf_unfiltered (gdb_stdlog, "<- %s->update_thread_list (", this->beneath ()->shortname ());
a7068b60
TT
1760 fputs_unfiltered (")\n", gdb_stdlog);
1761}
1762
a068643d 1763std::string
f6ac5f3d
PA
1764target_ops::pid_to_str (ptid_t arg0)
1765{
b6a8c27b 1766 return this->beneath ()->pid_to_str (arg0);
f6ac5f3d
PA
1767}
1768
a068643d 1769std::string
f6ac5f3d 1770dummy_target::pid_to_str (ptid_t arg0)
770234d3 1771{
f6ac5f3d 1772 return default_pid_to_str (this, arg0);
770234d3
TT
1773}
1774
a068643d 1775std::string
f6ac5f3d 1776debug_target::pid_to_str (ptid_t arg0)
a7068b60 1777{
a068643d 1778 std::string result;
b6a8c27b
PA
1779 fprintf_unfiltered (gdb_stdlog, "-> %s->pid_to_str (...)\n", this->beneath ()->shortname ());
1780 result = this->beneath ()->pid_to_str (arg0);
1781 fprintf_unfiltered (gdb_stdlog, "<- %s->pid_to_str (", this->beneath ()->shortname ());
f6ac5f3d 1782 target_debug_print_ptid_t (arg0);
a7068b60 1783 fputs_unfiltered (") = ", gdb_stdlog);
a068643d 1784 target_debug_print_std_string (result);
a7068b60
TT
1785 fputs_unfiltered ("\n", gdb_stdlog);
1786 return result;
1787}
1788
f6ac5f3d
PA
1789const char *
1790target_ops::extra_thread_info (thread_info *arg0)
4a7e6dda 1791{
b6a8c27b 1792 return this->beneath ()->extra_thread_info (arg0);
4a7e6dda
TT
1793}
1794
f6ac5f3d
PA
1795const char *
1796dummy_target::extra_thread_info (thread_info *arg0)
4a7e6dda 1797{
9b144037 1798 return NULL;
4a7e6dda
TT
1799}
1800
f6ac5f3d
PA
1801const char *
1802debug_target::extra_thread_info (thread_info *arg0)
a7068b60 1803{
7a114964 1804 const char * result;
b6a8c27b
PA
1805 fprintf_unfiltered (gdb_stdlog, "-> %s->extra_thread_info (...)\n", this->beneath ()->shortname ());
1806 result = this->beneath ()->extra_thread_info (arg0);
1807 fprintf_unfiltered (gdb_stdlog, "<- %s->extra_thread_info (", this->beneath ()->shortname ());
f6ac5f3d 1808 target_debug_print_thread_info_p (arg0);
a7068b60 1809 fputs_unfiltered (") = ", gdb_stdlog);
7a114964 1810 target_debug_print_const_char_p (result);
a7068b60
TT
1811 fputs_unfiltered ("\n", gdb_stdlog);
1812 return result;
1813}
1814
f6ac5f3d
PA
1815const char *
1816target_ops::thread_name (thread_info *arg0)
825828fc 1817{
b6a8c27b 1818 return this->beneath ()->thread_name (arg0);
825828fc
TT
1819}
1820
f6ac5f3d
PA
1821const char *
1822dummy_target::thread_name (thread_info *arg0)
825828fc 1823{
9b144037 1824 return NULL;
825828fc
TT
1825}
1826
f6ac5f3d
PA
1827const char *
1828debug_target::thread_name (thread_info *arg0)
a7068b60 1829{
73ede765 1830 const char * result;
b6a8c27b
PA
1831 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_name (...)\n", this->beneath ()->shortname ());
1832 result = this->beneath ()->thread_name (arg0);
1833 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_name (", this->beneath ()->shortname ());
f6ac5f3d 1834 target_debug_print_thread_info_p (arg0);
a7068b60 1835 fputs_unfiltered (") = ", gdb_stdlog);
73ede765 1836 target_debug_print_const_char_p (result);
a7068b60
TT
1837 fputs_unfiltered ("\n", gdb_stdlog);
1838 return result;
1839}
1840
f6ac5f3d
PA
1841thread_info *
1842target_ops::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
e04ee09e 1843{
b6a8c27b 1844 return this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2);
e04ee09e
KB
1845}
1846
f6ac5f3d
PA
1847thread_info *
1848dummy_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
e04ee09e
KB
1849{
1850 return NULL;
1851}
1852
f6ac5f3d
PA
1853thread_info *
1854debug_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2)
e04ee09e 1855{
f6ac5f3d 1856 thread_info * result;
b6a8c27b
PA
1857 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath ()->shortname ());
1858 result = this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2);
1859 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_handle_to_thread_info (", this->beneath ()->shortname ());
f6ac5f3d 1860 target_debug_print_const_gdb_byte_p (arg0);
e04ee09e 1861 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 1862 target_debug_print_int (arg1);
e04ee09e 1863 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 1864 target_debug_print_inferior_p (arg2);
e04ee09e 1865 fputs_unfiltered (") = ", gdb_stdlog);
f6ac5f3d 1866 target_debug_print_thread_info_p (result);
e04ee09e
KB
1867 fputs_unfiltered ("\n", gdb_stdlog);
1868 return result;
1869}
1870
3d6c6204
KB
1871gdb::byte_vector
1872target_ops::thread_info_to_thread_handle (struct thread_info *arg0)
1873{
1874 return this->beneath ()->thread_info_to_thread_handle (arg0);
1875}
1876
1877gdb::byte_vector
1878dummy_target::thread_info_to_thread_handle (struct thread_info *arg0)
1879{
1880 return gdb::byte_vector ();
1881}
1882
1883gdb::byte_vector
1884debug_target::thread_info_to_thread_handle (struct thread_info *arg0)
1885{
1886 gdb::byte_vector result;
1887 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_info_to_thread_handle (...)\n", this->beneath ()->shortname ());
1888 result = this->beneath ()->thread_info_to_thread_handle (arg0);
1889 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_info_to_thread_handle (", this->beneath ()->shortname ());
1890 target_debug_print_struct_thread_info_p (arg0);
1891 fputs_unfiltered (") = ", gdb_stdlog);
1892 target_debug_print_gdb_byte_vector (result);
1893 fputs_unfiltered ("\n", gdb_stdlog);
1894 return result;
1895}
1896
f6ac5f3d
PA
1897void
1898target_ops::stop (ptid_t arg0)
46ee7e8d 1899{
b6a8c27b 1900 this->beneath ()->stop (arg0);
46ee7e8d
TT
1901}
1902
f6ac5f3d
PA
1903void
1904dummy_target::stop (ptid_t arg0)
46ee7e8d
TT
1905{
1906}
1907
f6ac5f3d
PA
1908void
1909debug_target::stop (ptid_t arg0)
a7068b60 1910{
b6a8c27b
PA
1911 fprintf_unfiltered (gdb_stdlog, "-> %s->stop (...)\n", this->beneath ()->shortname ());
1912 this->beneath ()->stop (arg0);
1913 fprintf_unfiltered (gdb_stdlog, "<- %s->stop (", this->beneath ()->shortname ());
f6ac5f3d 1914 target_debug_print_ptid_t (arg0);
a7068b60
TT
1915 fputs_unfiltered (")\n", gdb_stdlog);
1916}
1917
f6ac5f3d
PA
1918void
1919target_ops::interrupt ()
bfedc46a 1920{
b6a8c27b 1921 this->beneath ()->interrupt ();
bfedc46a
PA
1922}
1923
f6ac5f3d
PA
1924void
1925dummy_target::interrupt ()
bfedc46a
PA
1926{
1927}
1928
f6ac5f3d
PA
1929void
1930debug_target::interrupt ()
bfedc46a 1931{
b6a8c27b
PA
1932 fprintf_unfiltered (gdb_stdlog, "-> %s->interrupt (...)\n", this->beneath ()->shortname ());
1933 this->beneath ()->interrupt ();
1934 fprintf_unfiltered (gdb_stdlog, "<- %s->interrupt (", this->beneath ()->shortname ());
bfedc46a
PA
1935 fputs_unfiltered (")\n", gdb_stdlog);
1936}
1937
f6ac5f3d
PA
1938void
1939target_ops::pass_ctrlc ()
93692b58 1940{
b6a8c27b 1941 this->beneath ()->pass_ctrlc ();
93692b58
PA
1942}
1943
f6ac5f3d
PA
1944void
1945dummy_target::pass_ctrlc ()
93692b58 1946{
f6ac5f3d
PA
1947 default_target_pass_ctrlc (this);
1948}
1949
1950void
1951debug_target::pass_ctrlc ()
1952{
b6a8c27b
PA
1953 fprintf_unfiltered (gdb_stdlog, "-> %s->pass_ctrlc (...)\n", this->beneath ()->shortname ());
1954 this->beneath ()->pass_ctrlc ();
1955 fprintf_unfiltered (gdb_stdlog, "<- %s->pass_ctrlc (", this->beneath ()->shortname ());
93692b58
PA
1956 fputs_unfiltered (")\n", gdb_stdlog);
1957}
1958
f6ac5f3d
PA
1959void
1960target_ops::rcmd (const char *arg0, struct ui_file *arg1)
a53f3625 1961{
b6a8c27b 1962 this->beneath ()->rcmd (arg0, arg1);
a53f3625
TT
1963}
1964
f6ac5f3d
PA
1965void
1966dummy_target::rcmd (const char *arg0, struct ui_file *arg1)
a7068b60 1967{
f6ac5f3d
PA
1968 default_rcmd (this, arg0, arg1);
1969}
1970
1971void
1972debug_target::rcmd (const char *arg0, struct ui_file *arg1)
1973{
b6a8c27b
PA
1974 fprintf_unfiltered (gdb_stdlog, "-> %s->rcmd (...)\n", this->beneath ()->shortname ());
1975 this->beneath ()->rcmd (arg0, arg1);
1976 fprintf_unfiltered (gdb_stdlog, "<- %s->rcmd (", this->beneath ()->shortname ());
f6ac5f3d 1977 target_debug_print_const_char_p (arg0);
a7068b60 1978 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 1979 target_debug_print_struct_ui_file_p (arg1);
a7068b60
TT
1980 fputs_unfiltered (")\n", gdb_stdlog);
1981}
1982
f6ac5f3d
PA
1983char *
1984target_ops::pid_to_exec_file (int arg0)
830ca330 1985{
b6a8c27b 1986 return this->beneath ()->pid_to_exec_file (arg0);
830ca330
TT
1987}
1988
f6ac5f3d
PA
1989char *
1990dummy_target::pid_to_exec_file (int arg0)
830ca330 1991{
9b144037 1992 return NULL;
830ca330
TT
1993}
1994
f6ac5f3d
PA
1995char *
1996debug_target::pid_to_exec_file (int arg0)
a7068b60
TT
1997{
1998 char * result;
b6a8c27b
PA
1999 fprintf_unfiltered (gdb_stdlog, "-> %s->pid_to_exec_file (...)\n", this->beneath ()->shortname ());
2000 result = this->beneath ()->pid_to_exec_file (arg0);
2001 fprintf_unfiltered (gdb_stdlog, "<- %s->pid_to_exec_file (", this->beneath ()->shortname ());
f6ac5f3d 2002 target_debug_print_int (arg0);
a7068b60
TT
2003 fputs_unfiltered (") = ", gdb_stdlog);
2004 target_debug_print_char_p (result);
2005 fputs_unfiltered ("\n", gdb_stdlog);
2006 return result;
2007}
2008
f6ac5f3d
PA
2009void
2010target_ops::log_command (const char *arg0)
d9cb0195 2011{
b6a8c27b 2012 this->beneath ()->log_command (arg0);
d9cb0195
TT
2013}
2014
f6ac5f3d
PA
2015void
2016dummy_target::log_command (const char *arg0)
d9cb0195
TT
2017{
2018}
2019
f6ac5f3d
PA
2020void
2021debug_target::log_command (const char *arg0)
a7068b60 2022{
b6a8c27b
PA
2023 fprintf_unfiltered (gdb_stdlog, "-> %s->log_command (...)\n", this->beneath ()->shortname ());
2024 this->beneath ()->log_command (arg0);
2025 fprintf_unfiltered (gdb_stdlog, "<- %s->log_command (", this->beneath ()->shortname ());
f6ac5f3d 2026 target_debug_print_const_char_p (arg0);
a7068b60
TT
2027 fputs_unfiltered (")\n", gdb_stdlog);
2028}
2029
19cf757a 2030const target_section_table *
f6ac5f3d 2031target_ops::get_section_table ()
7e35c012 2032{
b6a8c27b 2033 return this->beneath ()->get_section_table ();
7e35c012
TT
2034}
2035
19cf757a 2036const target_section_table *
f6ac5f3d 2037dummy_target::get_section_table ()
7e35c012 2038{
336aa7b7 2039 return default_get_section_table ();
7e35c012
TT
2040}
2041
19cf757a 2042const target_section_table *
f6ac5f3d 2043debug_target::get_section_table ()
a7068b60 2044{
19cf757a 2045 const target_section_table * result;
b6a8c27b
PA
2046 fprintf_unfiltered (gdb_stdlog, "-> %s->get_section_table (...)\n", this->beneath ()->shortname ());
2047 result = this->beneath ()->get_section_table ();
2048 fprintf_unfiltered (gdb_stdlog, "<- %s->get_section_table (", this->beneath ()->shortname ());
a7068b60 2049 fputs_unfiltered (") = ", gdb_stdlog);
19cf757a 2050 target_debug_print_const_target_section_table_p (result);
a7068b60
TT
2051 fputs_unfiltered ("\n", gdb_stdlog);
2052 return result;
2053}
2054
f6ac5f3d
PA
2055thread_control_capabilities
2056target_ops::get_thread_control_capabilities ()
2057{
b6a8c27b 2058 return this->beneath ()->get_thread_control_capabilities ();
f6ac5f3d
PA
2059}
2060
2061thread_control_capabilities
2062dummy_target::get_thread_control_capabilities ()
2063{
2064 return tc_none;
2065}
2066
2067thread_control_capabilities
2068debug_target::get_thread_control_capabilities ()
2069{
2070 thread_control_capabilities result;
b6a8c27b
PA
2071 fprintf_unfiltered (gdb_stdlog, "-> %s->get_thread_control_capabilities (...)\n", this->beneath ()->shortname ());
2072 result = this->beneath ()->get_thread_control_capabilities ();
2073 fprintf_unfiltered (gdb_stdlog, "<- %s->get_thread_control_capabilities (", this->beneath ()->shortname ());
f6ac5f3d
PA
2074 fputs_unfiltered (") = ", gdb_stdlog);
2075 target_debug_print_thread_control_capabilities (result);
2076 fputs_unfiltered ("\n", gdb_stdlog);
2077 return result;
2078}
2079
2080bool
2081target_ops::attach_no_wait ()
6b84065d 2082{
b6a8c27b 2083 return this->beneath ()->attach_no_wait ();
6b84065d
TT
2084}
2085
f6ac5f3d
PA
2086bool
2087dummy_target::attach_no_wait ()
b3ccfe11
TT
2088{
2089 return 0;
2090}
2091
f6ac5f3d
PA
2092bool
2093debug_target::attach_no_wait ()
2094{
2095 bool result;
b6a8c27b
PA
2096 fprintf_unfiltered (gdb_stdlog, "-> %s->attach_no_wait (...)\n", this->beneath ()->shortname ());
2097 result = this->beneath ()->attach_no_wait ();
2098 fprintf_unfiltered (gdb_stdlog, "<- %s->attach_no_wait (", this->beneath ()->shortname ());
f6ac5f3d
PA
2099 fputs_unfiltered (") = ", gdb_stdlog);
2100 target_debug_print_bool (result);
2101 fputs_unfiltered ("\n", gdb_stdlog);
2102 return result;
2103}
2104
57810aa7 2105bool
f6ac5f3d
PA
2106target_ops::can_async_p ()
2107{
b6a8c27b 2108 return this->beneath ()->can_async_p ();
f6ac5f3d
PA
2109}
2110
57810aa7 2111bool
f6ac5f3d
PA
2112dummy_target::can_async_p ()
2113{
57810aa7 2114 return false;
f6ac5f3d
PA
2115}
2116
57810aa7 2117bool
f6ac5f3d 2118debug_target::can_async_p ()
a7068b60 2119{
57810aa7 2120 bool result;
b6a8c27b
PA
2121 fprintf_unfiltered (gdb_stdlog, "-> %s->can_async_p (...)\n", this->beneath ()->shortname ());
2122 result = this->beneath ()->can_async_p ();
2123 fprintf_unfiltered (gdb_stdlog, "<- %s->can_async_p (", this->beneath ()->shortname ());
a7068b60 2124 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 2125 target_debug_print_bool (result);
a7068b60
TT
2126 fputs_unfiltered ("\n", gdb_stdlog);
2127 return result;
2128}
2129
57810aa7 2130bool
f6ac5f3d 2131target_ops::is_async_p ()
6b84065d 2132{
b6a8c27b 2133 return this->beneath ()->is_async_p ();
6b84065d
TT
2134}
2135
57810aa7 2136bool
f6ac5f3d 2137dummy_target::is_async_p ()
b3ccfe11 2138{
57810aa7 2139 return false;
b3ccfe11
TT
2140}
2141
57810aa7 2142bool
f6ac5f3d 2143debug_target::is_async_p ()
a7068b60 2144{
57810aa7 2145 bool result;
b6a8c27b
PA
2146 fprintf_unfiltered (gdb_stdlog, "-> %s->is_async_p (...)\n", this->beneath ()->shortname ());
2147 result = this->beneath ()->is_async_p ();
2148 fprintf_unfiltered (gdb_stdlog, "<- %s->is_async_p (", this->beneath ()->shortname ());
a7068b60 2149 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 2150 target_debug_print_bool (result);
a7068b60
TT
2151 fputs_unfiltered ("\n", gdb_stdlog);
2152 return result;
2153}
2154
f6ac5f3d
PA
2155void
2156target_ops::async (int arg0)
6b84065d 2157{
b6a8c27b 2158 this->beneath ()->async (arg0);
6b84065d
TT
2159}
2160
f6ac5f3d
PA
2161void
2162dummy_target::async (int arg0)
6b84065d
TT
2163{
2164 tcomplain ();
2165}
2166
f6ac5f3d
PA
2167void
2168debug_target::async (int arg0)
a7068b60 2169{
b6a8c27b
PA
2170 fprintf_unfiltered (gdb_stdlog, "-> %s->async (...)\n", this->beneath ()->shortname ());
2171 this->beneath ()->async (arg0);
2172 fprintf_unfiltered (gdb_stdlog, "<- %s->async (", this->beneath ()->shortname ());
f6ac5f3d 2173 target_debug_print_int (arg0);
a7068b60
TT
2174 fputs_unfiltered (")\n", gdb_stdlog);
2175}
2176
5b6d1e4f
PA
2177int
2178target_ops::async_wait_fd ()
2179{
2180 return this->beneath ()->async_wait_fd ();
2181}
2182
2183int
2184dummy_target::async_wait_fd ()
2185{
2186 noprocess ();
2187}
2188
2189int
2190debug_target::async_wait_fd ()
2191{
2192 int result;
2193 fprintf_unfiltered (gdb_stdlog, "-> %s->async_wait_fd (...)\n", this->beneath ()->shortname ());
2194 result = this->beneath ()->async_wait_fd ();
2195 fprintf_unfiltered (gdb_stdlog, "<- %s->async_wait_fd (", this->beneath ()->shortname ());
2196 fputs_unfiltered (") = ", gdb_stdlog);
2197 target_debug_print_int (result);
2198 fputs_unfiltered ("\n", gdb_stdlog);
2199 return result;
2200}
2201
b4b1a226
SM
2202bool
2203target_ops::has_pending_events ()
2204{
2205 return this->beneath ()->has_pending_events ();
2206}
2207
2208bool
2209dummy_target::has_pending_events ()
2210{
2211 return false;
2212}
2213
2214bool
2215debug_target::has_pending_events ()
2216{
2217 bool result;
2218 fprintf_unfiltered (gdb_stdlog, "-> %s->has_pending_events (...)\n", this->beneath ()->shortname ());
2219 result = this->beneath ()->has_pending_events ();
2220 fprintf_unfiltered (gdb_stdlog, "<- %s->has_pending_events (", this->beneath ()->shortname ());
2221 fputs_unfiltered (") = ", gdb_stdlog);
2222 target_debug_print_bool (result);
2223 fputs_unfiltered ("\n", gdb_stdlog);
2224 return result;
2225}
2226
f6ac5f3d
PA
2227void
2228target_ops::thread_events (int arg0)
65706a29 2229{
b6a8c27b 2230 this->beneath ()->thread_events (arg0);
65706a29
PA
2231}
2232
f6ac5f3d
PA
2233void
2234dummy_target::thread_events (int arg0)
65706a29
PA
2235{
2236}
2237
f6ac5f3d
PA
2238void
2239debug_target::thread_events (int arg0)
65706a29 2240{
b6a8c27b
PA
2241 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_events (...)\n", this->beneath ()->shortname ());
2242 this->beneath ()->thread_events (arg0);
2243 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_events (", this->beneath ()->shortname ());
f6ac5f3d 2244 target_debug_print_int (arg0);
65706a29
PA
2245 fputs_unfiltered (")\n", gdb_stdlog);
2246}
2247
57810aa7 2248bool
f6ac5f3d 2249target_ops::supports_non_stop ()
b3ccfe11 2250{
b6a8c27b 2251 return this->beneath ()->supports_non_stop ();
b3ccfe11
TT
2252}
2253
57810aa7 2254bool
f6ac5f3d 2255dummy_target::supports_non_stop ()
b3ccfe11 2256{
57810aa7 2257 return false;
b3ccfe11
TT
2258}
2259
57810aa7 2260bool
f6ac5f3d 2261debug_target::supports_non_stop ()
a7068b60 2262{
57810aa7 2263 bool result;
b6a8c27b
PA
2264 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_non_stop (...)\n", this->beneath ()->shortname ());
2265 result = this->beneath ()->supports_non_stop ();
2266 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_non_stop (", this->beneath ()->shortname ());
a7068b60 2267 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 2268 target_debug_print_bool (result);
a7068b60
TT
2269 fputs_unfiltered ("\n", gdb_stdlog);
2270 return result;
2271}
2272
57810aa7 2273bool
f6ac5f3d 2274target_ops::always_non_stop_p ()
fbea99ea 2275{
b6a8c27b 2276 return this->beneath ()->always_non_stop_p ();
fbea99ea
PA
2277}
2278
57810aa7 2279bool
f6ac5f3d 2280dummy_target::always_non_stop_p ()
fbea99ea 2281{
57810aa7 2282 return false;
fbea99ea
PA
2283}
2284
57810aa7 2285bool
f6ac5f3d 2286debug_target::always_non_stop_p ()
fbea99ea 2287{
57810aa7 2288 bool result;
b6a8c27b
PA
2289 fprintf_unfiltered (gdb_stdlog, "-> %s->always_non_stop_p (...)\n", this->beneath ()->shortname ());
2290 result = this->beneath ()->always_non_stop_p ();
2291 fprintf_unfiltered (gdb_stdlog, "<- %s->always_non_stop_p (", this->beneath ()->shortname ());
fbea99ea 2292 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 2293 target_debug_print_bool (result);
fbea99ea
PA
2294 fputs_unfiltered ("\n", gdb_stdlog);
2295 return result;
2296}
2297
f6ac5f3d
PA
2298int
2299target_ops::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
2300{
b6a8c27b 2301 return this->beneath ()->find_memory_regions (arg0, arg1);
f6ac5f3d
PA
2302}
2303
2304int
2305dummy_target::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
0b5a2719 2306{
f6ac5f3d 2307 return dummy_find_memory_regions (this, arg0, arg1);
0b5a2719
TT
2308}
2309
f6ac5f3d
PA
2310int
2311debug_target::find_memory_regions (find_memory_region_ftype arg0, void *arg1)
a7068b60
TT
2312{
2313 int result;
b6a8c27b
PA
2314 fprintf_unfiltered (gdb_stdlog, "-> %s->find_memory_regions (...)\n", this->beneath ()->shortname ());
2315 result = this->beneath ()->find_memory_regions (arg0, arg1);
2316 fprintf_unfiltered (gdb_stdlog, "<- %s->find_memory_regions (", this->beneath ()->shortname ());
f6ac5f3d 2317 target_debug_print_find_memory_region_ftype (arg0);
a7068b60 2318 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2319 target_debug_print_void_p (arg1);
a7068b60
TT
2320 fputs_unfiltered (") = ", gdb_stdlog);
2321 target_debug_print_int (result);
2322 fputs_unfiltered ("\n", gdb_stdlog);
2323 return result;
2324}
2325
24f5300a 2326gdb::unique_xmalloc_ptr<char>
f6ac5f3d 2327target_ops::make_corefile_notes (bfd *arg0, int *arg1)
16f796b1 2328{
b6a8c27b 2329 return this->beneath ()->make_corefile_notes (arg0, arg1);
16f796b1
TT
2330}
2331
24f5300a 2332gdb::unique_xmalloc_ptr<char>
f6ac5f3d
PA
2333dummy_target::make_corefile_notes (bfd *arg0, int *arg1)
2334{
2335 return dummy_make_corefile_notes (this, arg0, arg1);
2336}
2337
24f5300a 2338gdb::unique_xmalloc_ptr<char>
f6ac5f3d 2339debug_target::make_corefile_notes (bfd *arg0, int *arg1)
a7068b60 2340{
24f5300a 2341 gdb::unique_xmalloc_ptr<char> result;
b6a8c27b
PA
2342 fprintf_unfiltered (gdb_stdlog, "-> %s->make_corefile_notes (...)\n", this->beneath ()->shortname ());
2343 result = this->beneath ()->make_corefile_notes (arg0, arg1);
2344 fprintf_unfiltered (gdb_stdlog, "<- %s->make_corefile_notes (", this->beneath ()->shortname ());
f6ac5f3d 2345 target_debug_print_bfd_p (arg0);
a7068b60 2346 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2347 target_debug_print_int_p (arg1);
a7068b60 2348 fputs_unfiltered (") = ", gdb_stdlog);
24f5300a 2349 target_debug_print_gdb_unique_xmalloc_ptr_char (result);
a7068b60
TT
2350 fputs_unfiltered ("\n", gdb_stdlog);
2351 return result;
2352}
2353
f6ac5f3d
PA
2354gdb_byte *
2355target_ops::get_bookmark (const char *arg0, int arg1)
3dbafbbb 2356{
b6a8c27b 2357 return this->beneath ()->get_bookmark (arg0, arg1);
3dbafbbb
TT
2358}
2359
f6ac5f3d
PA
2360gdb_byte *
2361dummy_target::get_bookmark (const char *arg0, int arg1)
3dbafbbb
TT
2362{
2363 tcomplain ();
2364}
2365
f6ac5f3d
PA
2366gdb_byte *
2367debug_target::get_bookmark (const char *arg0, int arg1)
a7068b60
TT
2368{
2369 gdb_byte * result;
b6a8c27b
PA
2370 fprintf_unfiltered (gdb_stdlog, "-> %s->get_bookmark (...)\n", this->beneath ()->shortname ());
2371 result = this->beneath ()->get_bookmark (arg0, arg1);
2372 fprintf_unfiltered (gdb_stdlog, "<- %s->get_bookmark (", this->beneath ()->shortname ());
f6ac5f3d 2373 target_debug_print_const_char_p (arg0);
a7068b60 2374 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2375 target_debug_print_int (arg1);
a7068b60
TT
2376 fputs_unfiltered (") = ", gdb_stdlog);
2377 target_debug_print_gdb_byte_p (result);
2378 fputs_unfiltered ("\n", gdb_stdlog);
2379 return result;
2380}
2381
f6ac5f3d
PA
2382void
2383target_ops::goto_bookmark (const gdb_byte *arg0, int arg1)
9bb9d61d 2384{
b6a8c27b 2385 this->beneath ()->goto_bookmark (arg0, arg1);
9bb9d61d
TT
2386}
2387
f6ac5f3d
PA
2388void
2389dummy_target::goto_bookmark (const gdb_byte *arg0, int arg1)
9bb9d61d
TT
2390{
2391 tcomplain ();
2392}
2393
f6ac5f3d
PA
2394void
2395debug_target::goto_bookmark (const gdb_byte *arg0, int arg1)
a7068b60 2396{
b6a8c27b
PA
2397 fprintf_unfiltered (gdb_stdlog, "-> %s->goto_bookmark (...)\n", this->beneath ()->shortname ());
2398 this->beneath ()->goto_bookmark (arg0, arg1);
2399 fprintf_unfiltered (gdb_stdlog, "<- %s->goto_bookmark (", this->beneath ()->shortname ());
f6ac5f3d 2400 target_debug_print_const_gdb_byte_p (arg0);
a7068b60 2401 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2402 target_debug_print_int (arg1);
a7068b60
TT
2403 fputs_unfiltered (")\n", gdb_stdlog);
2404}
2405
f6ac5f3d
PA
2406CORE_ADDR
2407target_ops::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
f0f9ff95 2408{
b6a8c27b 2409 return this->beneath ()->get_thread_local_address (arg0, arg1, arg2);
f0f9ff95
TT
2410}
2411
f6ac5f3d
PA
2412CORE_ADDR
2413dummy_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
f0f9ff95
TT
2414{
2415 generic_tls_error ();
2416}
2417
f6ac5f3d
PA
2418CORE_ADDR
2419debug_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2)
a7068b60
TT
2420{
2421 CORE_ADDR result;
b6a8c27b
PA
2422 fprintf_unfiltered (gdb_stdlog, "-> %s->get_thread_local_address (...)\n", this->beneath ()->shortname ());
2423 result = this->beneath ()->get_thread_local_address (arg0, arg1, arg2);
2424 fprintf_unfiltered (gdb_stdlog, "<- %s->get_thread_local_address (", this->beneath ()->shortname ());
f6ac5f3d 2425 target_debug_print_ptid_t (arg0);
a7068b60 2426 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2427 target_debug_print_CORE_ADDR (arg1);
a7068b60
TT
2428 fputs_unfiltered (", ", gdb_stdlog);
2429 target_debug_print_CORE_ADDR (arg2);
a7068b60
TT
2430 fputs_unfiltered (") = ", gdb_stdlog);
2431 target_debug_print_CORE_ADDR (result);
2432 fputs_unfiltered ("\n", gdb_stdlog);
2433 return result;
2434}
2435
f6ac5f3d
PA
2436enum target_xfer_status
2437target_ops::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6)
6b84065d 2438{
b6a8c27b 2439 return this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6);
6b84065d
TT
2440}
2441
f6ac5f3d
PA
2442enum target_xfer_status
2443dummy_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
2444{
2445 return TARGET_XFER_E_IO;
2446}
2447
f6ac5f3d
PA
2448enum target_xfer_status
2449debug_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
2450{
2451 enum target_xfer_status result;
b6a8c27b
PA
2452 fprintf_unfiltered (gdb_stdlog, "-> %s->xfer_partial (...)\n", this->beneath ()->shortname ());
2453 result = this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2454 fprintf_unfiltered (gdb_stdlog, "<- %s->xfer_partial (", this->beneath ()->shortname ());
f6ac5f3d 2455 target_debug_print_enum_target_object (arg0);
a7068b60 2456 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2457 target_debug_print_const_char_p (arg1);
a7068b60 2458 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2459 target_debug_print_gdb_byte_p (arg2);
a7068b60 2460 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2461 target_debug_print_const_gdb_byte_p (arg3);
a7068b60 2462 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2463 target_debug_print_ULONGEST (arg4);
a7068b60
TT
2464 fputs_unfiltered (", ", gdb_stdlog);
2465 target_debug_print_ULONGEST (arg5);
2466 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2467 target_debug_print_ULONGEST_p (arg6);
a7068b60
TT
2468 fputs_unfiltered (") = ", gdb_stdlog);
2469 target_debug_print_enum_target_xfer_status (result);
2470 fputs_unfiltered ("\n", gdb_stdlog);
2471 return result;
2472}
2473
f6ac5f3d
PA
2474ULONGEST
2475target_ops::get_memory_xfer_limit ()
09c98b44 2476{
b6a8c27b 2477 return this->beneath ()->get_memory_xfer_limit ();
09c98b44
DB
2478}
2479
f6ac5f3d
PA
2480ULONGEST
2481dummy_target::get_memory_xfer_limit ()
09c98b44
DB
2482{
2483 return ULONGEST_MAX;
2484}
2485
f6ac5f3d
PA
2486ULONGEST
2487debug_target::get_memory_xfer_limit ()
09c98b44
DB
2488{
2489 ULONGEST result;
b6a8c27b
PA
2490 fprintf_unfiltered (gdb_stdlog, "-> %s->get_memory_xfer_limit (...)\n", this->beneath ()->shortname ());
2491 result = this->beneath ()->get_memory_xfer_limit ();
2492 fprintf_unfiltered (gdb_stdlog, "<- %s->get_memory_xfer_limit (", this->beneath ()->shortname ());
09c98b44
DB
2493 fputs_unfiltered (") = ", gdb_stdlog);
2494 target_debug_print_ULONGEST (result);
2495 fputs_unfiltered ("\n", gdb_stdlog);
2496 return result;
2497}
2498
f6ac5f3d
PA
2499std::vector<mem_region>
2500target_ops::memory_map ()
6b2c5a57 2501{
b6a8c27b 2502 return this->beneath ()->memory_map ();
6b2c5a57
TT
2503}
2504
f6ac5f3d
PA
2505std::vector<mem_region>
2506dummy_target::memory_map ()
6b2c5a57 2507{
a664f67e 2508 return std::vector<mem_region> ();
6b2c5a57
TT
2509}
2510
f6ac5f3d
PA
2511std::vector<mem_region>
2512debug_target::memory_map ()
a7068b60 2513{
1e97a227 2514 std::vector<mem_region> result;
b6a8c27b
PA
2515 fprintf_unfiltered (gdb_stdlog, "-> %s->memory_map (...)\n", this->beneath ()->shortname ());
2516 result = this->beneath ()->memory_map ();
2517 fprintf_unfiltered (gdb_stdlog, "<- %s->memory_map (", this->beneath ()->shortname ());
a7068b60 2518 fputs_unfiltered (") = ", gdb_stdlog);
1e97a227 2519 target_debug_print_std_vector_mem_region (result);
a7068b60
TT
2520 fputs_unfiltered ("\n", gdb_stdlog);
2521 return result;
2522}
2523
f6ac5f3d
PA
2524void
2525target_ops::flash_erase (ULONGEST arg0, LONGEST arg1)
e8a6c6ac 2526{
b6a8c27b 2527 this->beneath ()->flash_erase (arg0, arg1);
e8a6c6ac
TT
2528}
2529
f6ac5f3d
PA
2530void
2531dummy_target::flash_erase (ULONGEST arg0, LONGEST arg1)
e8a6c6ac
TT
2532{
2533 tcomplain ();
2534}
2535
f6ac5f3d
PA
2536void
2537debug_target::flash_erase (ULONGEST arg0, LONGEST arg1)
a7068b60 2538{
b6a8c27b
PA
2539 fprintf_unfiltered (gdb_stdlog, "-> %s->flash_erase (...)\n", this->beneath ()->shortname ());
2540 this->beneath ()->flash_erase (arg0, arg1);
2541 fprintf_unfiltered (gdb_stdlog, "<- %s->flash_erase (", this->beneath ()->shortname ());
f6ac5f3d 2542 target_debug_print_ULONGEST (arg0);
a7068b60 2543 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2544 target_debug_print_LONGEST (arg1);
a7068b60
TT
2545 fputs_unfiltered (")\n", gdb_stdlog);
2546}
2547
f6ac5f3d
PA
2548void
2549target_ops::flash_done ()
f6fb2925 2550{
b6a8c27b 2551 this->beneath ()->flash_done ();
f6fb2925
TT
2552}
2553
f6ac5f3d
PA
2554void
2555dummy_target::flash_done ()
f6fb2925
TT
2556{
2557 tcomplain ();
2558}
2559
f6ac5f3d
PA
2560void
2561debug_target::flash_done ()
a7068b60 2562{
b6a8c27b
PA
2563 fprintf_unfiltered (gdb_stdlog, "-> %s->flash_done (...)\n", this->beneath ()->shortname ());
2564 this->beneath ()->flash_done ();
2565 fprintf_unfiltered (gdb_stdlog, "<- %s->flash_done (", this->beneath ()->shortname ());
a7068b60
TT
2566 fputs_unfiltered (")\n", gdb_stdlog);
2567}
2568
f6ac5f3d
PA
2569const struct target_desc *
2570target_ops::read_description ()
2117c711 2571{
b6a8c27b 2572 return this->beneath ()->read_description ();
2117c711
TT
2573}
2574
f6ac5f3d
PA
2575const struct target_desc *
2576dummy_target::read_description ()
2117c711 2577{
9b144037 2578 return NULL;
2117c711
TT
2579}
2580
f6ac5f3d
PA
2581const struct target_desc *
2582debug_target::read_description ()
a7068b60
TT
2583{
2584 const struct target_desc * result;
b6a8c27b
PA
2585 fprintf_unfiltered (gdb_stdlog, "-> %s->read_description (...)\n", this->beneath ()->shortname ());
2586 result = this->beneath ()->read_description ();
2587 fprintf_unfiltered (gdb_stdlog, "<- %s->read_description (", this->beneath ()->shortname ());
a7068b60
TT
2588 fputs_unfiltered (") = ", gdb_stdlog);
2589 target_debug_print_const_struct_target_desc_p (result);
2590 fputs_unfiltered ("\n", gdb_stdlog);
2591 return result;
2592}
2593
f6ac5f3d
PA
2594ptid_t
2595target_ops::get_ada_task_ptid (long arg0, long arg1)
2596{
b6a8c27b 2597 return this->beneath ()->get_ada_task_ptid (arg0, arg1);
f6ac5f3d
PA
2598}
2599
2600ptid_t
2601dummy_target::get_ada_task_ptid (long arg0, long arg1)
4229b31d 2602{
f6ac5f3d 2603 return default_get_ada_task_ptid (this, arg0, arg1);
4229b31d
TT
2604}
2605
f6ac5f3d
PA
2606ptid_t
2607debug_target::get_ada_task_ptid (long arg0, long arg1)
a7068b60
TT
2608{
2609 ptid_t result;
b6a8c27b
PA
2610 fprintf_unfiltered (gdb_stdlog, "-> %s->get_ada_task_ptid (...)\n", this->beneath ()->shortname ());
2611 result = this->beneath ()->get_ada_task_ptid (arg0, arg1);
2612 fprintf_unfiltered (gdb_stdlog, "<- %s->get_ada_task_ptid (", this->beneath ()->shortname ());
f6ac5f3d 2613 target_debug_print_long (arg0);
a7068b60
TT
2614 fputs_unfiltered (", ", gdb_stdlog);
2615 target_debug_print_long (arg1);
a7068b60
TT
2616 fputs_unfiltered (") = ", gdb_stdlog);
2617 target_debug_print_ptid_t (result);
2618 fputs_unfiltered ("\n", gdb_stdlog);
2619 return result;
2620}
2621
f6ac5f3d
PA
2622int
2623target_ops::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
8de71aab 2624{
b6a8c27b 2625 return this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3);
8de71aab
TT
2626}
2627
f6ac5f3d
PA
2628int
2629dummy_target::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
2630{
2631 return default_auxv_parse (this, arg0, arg1, arg2, arg3);
2632}
2633
2634int
2635debug_target::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3)
a7068b60
TT
2636{
2637 int result;
b6a8c27b
PA
2638 fprintf_unfiltered (gdb_stdlog, "-> %s->auxv_parse (...)\n", this->beneath ()->shortname ());
2639 result = this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3);
2640 fprintf_unfiltered (gdb_stdlog, "<- %s->auxv_parse (", this->beneath ()->shortname ());
f6ac5f3d 2641 target_debug_print_gdb_byte_pp (arg0);
a7068b60 2642 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2643 target_debug_print_gdb_byte_p (arg1);
a7068b60 2644 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2645 target_debug_print_CORE_ADDR_p (arg2);
a7068b60
TT
2646 fputs_unfiltered (", ", gdb_stdlog);
2647 target_debug_print_CORE_ADDR_p (arg3);
a7068b60
TT
2648 fputs_unfiltered (") = ", gdb_stdlog);
2649 target_debug_print_int (result);
2650 fputs_unfiltered ("\n", gdb_stdlog);
2651 return result;
2652}
2653
f6ac5f3d
PA
2654int
2655target_ops::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
58a5184e 2656{
b6a8c27b 2657 return this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4);
58a5184e
TT
2658}
2659
f6ac5f3d
PA
2660int
2661dummy_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
2662{
2663 return default_search_memory (this, arg0, arg1, arg2, arg3, arg4);
2664}
2665
2666int
2667debug_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4)
a7068b60
TT
2668{
2669 int result;
b6a8c27b
PA
2670 fprintf_unfiltered (gdb_stdlog, "-> %s->search_memory (...)\n", this->beneath ()->shortname ());
2671 result = this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4);
2672 fprintf_unfiltered (gdb_stdlog, "<- %s->search_memory (", this->beneath ()->shortname ());
f6ac5f3d 2673 target_debug_print_CORE_ADDR (arg0);
a7068b60 2674 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2675 target_debug_print_ULONGEST (arg1);
a7068b60 2676 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2677 target_debug_print_const_gdb_byte_p (arg2);
a7068b60 2678 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2679 target_debug_print_ULONGEST (arg3);
a7068b60 2680 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 2681 target_debug_print_CORE_ADDR_p (arg4);
a7068b60
TT
2682 fputs_unfiltered (") = ", gdb_stdlog);
2683 target_debug_print_int (result);
2684 fputs_unfiltered ("\n", gdb_stdlog);
2685 return result;
2686}
2687
57810aa7 2688bool
f6ac5f3d 2689target_ops::can_execute_reverse ()
53e1cfc7 2690{
b6a8c27b 2691 return this->beneath ()->can_execute_reverse ();
53e1cfc7
TT
2692}
2693
57810aa7 2694bool
f6ac5f3d 2695dummy_target::can_execute_reverse ()
53e1cfc7 2696{
57810aa7 2697 return false;
53e1cfc7
TT
2698}
2699
57810aa7 2700bool
f6ac5f3d 2701debug_target::can_execute_reverse ()
a7068b60 2702{
57810aa7 2703 bool result;
b6a8c27b
PA
2704 fprintf_unfiltered (gdb_stdlog, "-> %s->can_execute_reverse (...)\n", this->beneath ()->shortname ());
2705 result = this->beneath ()->can_execute_reverse ();
2706 fprintf_unfiltered (gdb_stdlog, "<- %s->can_execute_reverse (", this->beneath ()->shortname ());
a7068b60 2707 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 2708 target_debug_print_bool (result);
a7068b60
TT
2709 fputs_unfiltered ("\n", gdb_stdlog);
2710 return result;
2711}
2712
f6ac5f3d
PA
2713enum exec_direction_kind
2714target_ops::execution_direction ()
2715{
b6a8c27b 2716 return this->beneath ()->execution_direction ();
f6ac5f3d
PA
2717}
2718
2719enum exec_direction_kind
2720dummy_target::execution_direction ()
fe31bf5b 2721{
f6ac5f3d 2722 return default_execution_direction (this);
fe31bf5b
TT
2723}
2724
f6ac5f3d
PA
2725enum exec_direction_kind
2726debug_target::execution_direction ()
a7068b60
TT
2727{
2728 enum exec_direction_kind result;
b6a8c27b
PA
2729 fprintf_unfiltered (gdb_stdlog, "-> %s->execution_direction (...)\n", this->beneath ()->shortname ());
2730 result = this->beneath ()->execution_direction ();
2731 fprintf_unfiltered (gdb_stdlog, "<- %s->execution_direction (", this->beneath ()->shortname ());
a7068b60
TT
2732 fputs_unfiltered (") = ", gdb_stdlog);
2733 target_debug_print_enum_exec_direction_kind (result);
2734 fputs_unfiltered ("\n", gdb_stdlog);
2735 return result;
2736}
2737
57810aa7 2738bool
f6ac5f3d 2739target_ops::supports_multi_process ()
a7304748 2740{
b6a8c27b 2741 return this->beneath ()->supports_multi_process ();
a7304748
TT
2742}
2743
57810aa7 2744bool
f6ac5f3d 2745dummy_target::supports_multi_process ()
a7304748 2746{
57810aa7 2747 return false;
a7304748
TT
2748}
2749
57810aa7 2750bool
f6ac5f3d 2751debug_target::supports_multi_process ()
a7068b60 2752{
57810aa7 2753 bool result;
b6a8c27b
PA
2754 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_multi_process (...)\n", this->beneath ()->shortname ());
2755 result = this->beneath ()->supports_multi_process ();
2756 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_multi_process (", this->beneath ()->shortname ());
a7068b60 2757 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 2758 target_debug_print_bool (result);
a7068b60
TT
2759 fputs_unfiltered ("\n", gdb_stdlog);
2760 return result;
2761}
2762
57810aa7 2763bool
f6ac5f3d 2764target_ops::supports_enable_disable_tracepoint ()
aab1b22d 2765{
b6a8c27b 2766 return this->beneath ()->supports_enable_disable_tracepoint ();
aab1b22d
TT
2767}
2768
57810aa7 2769bool
f6ac5f3d 2770dummy_target::supports_enable_disable_tracepoint ()
aab1b22d 2771{
57810aa7 2772 return false;
aab1b22d
TT
2773}
2774
57810aa7 2775bool
f6ac5f3d 2776debug_target::supports_enable_disable_tracepoint ()
a7068b60 2777{
57810aa7 2778 bool result;
b6a8c27b
PA
2779 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath ()->shortname ());
2780 result = this->beneath ()->supports_enable_disable_tracepoint ();
2781 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_enable_disable_tracepoint (", this->beneath ()->shortname ());
a7068b60 2782 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 2783 target_debug_print_bool (result);
a7068b60
TT
2784 fputs_unfiltered ("\n", gdb_stdlog);
2785 return result;
2786}
2787
57810aa7 2788bool
f6ac5f3d 2789target_ops::supports_disable_randomization ()
9409d39e 2790{
b6a8c27b 2791 return this->beneath ()->supports_disable_randomization ();
f6ac5f3d
PA
2792}
2793
57810aa7 2794bool
f6ac5f3d
PA
2795dummy_target::supports_disable_randomization ()
2796{
2797 return find_default_supports_disable_randomization (this);
2798}
2799
57810aa7 2800bool
f6ac5f3d
PA
2801debug_target::supports_disable_randomization ()
2802{
57810aa7 2803 bool result;
b6a8c27b
PA
2804 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_disable_randomization (...)\n", this->beneath ()->shortname ());
2805 result = this->beneath ()->supports_disable_randomization ();
2806 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_disable_randomization (", this->beneath ()->shortname ());
f6ac5f3d 2807 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 2808 target_debug_print_bool (result);
f6ac5f3d
PA
2809 fputs_unfiltered ("\n", gdb_stdlog);
2810 return result;
9409d39e
TT
2811}
2812
57810aa7 2813bool
f6ac5f3d
PA
2814target_ops::supports_string_tracing ()
2815{
b6a8c27b 2816 return this->beneath ()->supports_string_tracing ();
f6ac5f3d
PA
2817}
2818
57810aa7 2819bool
f6ac5f3d 2820dummy_target::supports_string_tracing ()
9409d39e 2821{
57810aa7 2822 return false;
9409d39e
TT
2823}
2824
57810aa7 2825bool
f6ac5f3d 2826debug_target::supports_string_tracing ()
a7068b60 2827{
57810aa7 2828 bool result;
b6a8c27b
PA
2829 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_string_tracing (...)\n", this->beneath ()->shortname ());
2830 result = this->beneath ()->supports_string_tracing ();
2831 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_string_tracing (", this->beneath ()->shortname ());
a7068b60 2832 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 2833 target_debug_print_bool (result);
a7068b60
TT
2834 fputs_unfiltered ("\n", gdb_stdlog);
2835 return result;
2836}
2837
57810aa7 2838bool
f6ac5f3d 2839target_ops::supports_evaluation_of_breakpoint_conditions ()
ccfde2a0 2840{
b6a8c27b 2841 return this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
ccfde2a0
TT
2842}
2843
57810aa7 2844bool
f6ac5f3d 2845dummy_target::supports_evaluation_of_breakpoint_conditions ()
ccfde2a0 2846{
57810aa7 2847 return false;
ccfde2a0
TT
2848}
2849
57810aa7 2850bool
f6ac5f3d 2851debug_target::supports_evaluation_of_breakpoint_conditions ()
a7068b60 2852{
57810aa7 2853 bool result;
b6a8c27b
PA
2854 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath ()->shortname ());
2855 result = this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2856 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath ()->shortname ());
a7068b60 2857 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 2858 target_debug_print_bool (result);
a7068b60
TT
2859 fputs_unfiltered ("\n", gdb_stdlog);
2860 return result;
2861}
2862
b31488a3
KR
2863bool
2864target_ops::supports_dumpcore ()
2865{
2866 return this->beneath ()->supports_dumpcore ();
2867}
2868
2869bool
2870dummy_target::supports_dumpcore ()
2871{
2872 return false;
2873}
2874
2875bool
2876debug_target::supports_dumpcore ()
2877{
2878 bool result;
2879 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_dumpcore (...)\n", this->beneath ()->shortname ());
2880 result = this->beneath ()->supports_dumpcore ();
2881 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_dumpcore (", this->beneath ()->shortname ());
2882 fputs_unfiltered (") = ", gdb_stdlog);
2883 target_debug_print_bool (result);
2884 fputs_unfiltered ("\n", gdb_stdlog);
2885 return result;
2886}
2887
2888void
2889target_ops::dumpcore (const char *arg0)
2890{
2891 this->beneath ()->dumpcore (arg0);
2892}
2893
2894void
2895dummy_target::dumpcore (const char *arg0)
2896{
2897}
2898
2899void
2900debug_target::dumpcore (const char *arg0)
2901{
2902 fprintf_unfiltered (gdb_stdlog, "-> %s->dumpcore (...)\n", this->beneath ()->shortname ());
2903 this->beneath ()->dumpcore (arg0);
2904 fprintf_unfiltered (gdb_stdlog, "<- %s->dumpcore (", this->beneath ()->shortname ());
2905 target_debug_print_const_char_p (arg0);
2906 fputs_unfiltered (")\n", gdb_stdlog);
2907}
2908
57810aa7 2909bool
f6ac5f3d 2910target_ops::can_run_breakpoint_commands ()
843f59ed 2911{
b6a8c27b 2912 return this->beneath ()->can_run_breakpoint_commands ();
843f59ed
TT
2913}
2914
57810aa7 2915bool
f6ac5f3d 2916dummy_target::can_run_breakpoint_commands ()
843f59ed 2917{
57810aa7 2918 return false;
843f59ed
TT
2919}
2920
57810aa7 2921bool
f6ac5f3d 2922debug_target::can_run_breakpoint_commands ()
a7068b60 2923{
57810aa7 2924 bool result;
b6a8c27b
PA
2925 fprintf_unfiltered (gdb_stdlog, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath ()->shortname ());
2926 result = this->beneath ()->can_run_breakpoint_commands ();
2927 fprintf_unfiltered (gdb_stdlog, "<- %s->can_run_breakpoint_commands (", this->beneath ()->shortname ());
a7068b60 2928 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 2929 target_debug_print_bool (result);
a7068b60
TT
2930 fputs_unfiltered ("\n", gdb_stdlog);
2931 return result;
2932}
2933
f6ac5f3d
PA
2934struct gdbarch *
2935target_ops::thread_architecture (ptid_t arg0)
2936{
b6a8c27b 2937 return this->beneath ()->thread_architecture (arg0);
f6ac5f3d
PA
2938}
2939
2940struct gdbarch *
2941dummy_target::thread_architecture (ptid_t arg0)
43eba180 2942{
3b3dac9b 2943 return NULL;
43eba180
TT
2944}
2945
f6ac5f3d
PA
2946struct gdbarch *
2947debug_target::thread_architecture (ptid_t arg0)
a7068b60
TT
2948{
2949 struct gdbarch * result;
b6a8c27b
PA
2950 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_architecture (...)\n", this->beneath ()->shortname ());
2951 result = this->beneath ()->thread_architecture (arg0);
2952 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_architecture (", this->beneath ()->shortname ());
f6ac5f3d 2953 target_debug_print_ptid_t (arg0);
a7068b60
TT
2954 fputs_unfiltered (") = ", gdb_stdlog);
2955 target_debug_print_struct_gdbarch_p (result);
2956 fputs_unfiltered ("\n", gdb_stdlog);
2957 return result;
2958}
2959
f6ac5f3d
PA
2960struct address_space *
2961target_ops::thread_address_space (ptid_t arg0)
2962{
b6a8c27b 2963 return this->beneath ()->thread_address_space (arg0);
f6ac5f3d
PA
2964}
2965
2966struct address_space *
2967dummy_target::thread_address_space (ptid_t arg0)
8eaff7cd 2968{
3b3dac9b 2969 return NULL;
8eaff7cd
TT
2970}
2971
f6ac5f3d
PA
2972struct address_space *
2973debug_target::thread_address_space (ptid_t arg0)
a7068b60
TT
2974{
2975 struct address_space * result;
b6a8c27b
PA
2976 fprintf_unfiltered (gdb_stdlog, "-> %s->thread_address_space (...)\n", this->beneath ()->shortname ());
2977 result = this->beneath ()->thread_address_space (arg0);
2978 fprintf_unfiltered (gdb_stdlog, "<- %s->thread_address_space (", this->beneath ()->shortname ());
f6ac5f3d 2979 target_debug_print_ptid_t (arg0);
a7068b60
TT
2980 fputs_unfiltered (") = ", gdb_stdlog);
2981 target_debug_print_struct_address_space_p (result);
2982 fputs_unfiltered ("\n", gdb_stdlog);
2983 return result;
2984}
2985
57810aa7 2986bool
f6ac5f3d 2987target_ops::filesystem_is_local ()
4bd7dc42 2988{
b6a8c27b 2989 return this->beneath ()->filesystem_is_local ();
4bd7dc42
GB
2990}
2991
57810aa7 2992bool
f6ac5f3d 2993dummy_target::filesystem_is_local ()
4bd7dc42 2994{
57810aa7 2995 return true;
4bd7dc42
GB
2996}
2997
57810aa7 2998bool
f6ac5f3d 2999debug_target::filesystem_is_local ()
4bd7dc42 3000{
57810aa7 3001 bool result;
b6a8c27b
PA
3002 fprintf_unfiltered (gdb_stdlog, "-> %s->filesystem_is_local (...)\n", this->beneath ()->shortname ());
3003 result = this->beneath ()->filesystem_is_local ();
3004 fprintf_unfiltered (gdb_stdlog, "<- %s->filesystem_is_local (", this->beneath ()->shortname ());
4bd7dc42 3005 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 3006 target_debug_print_bool (result);
4bd7dc42
GB
3007 fputs_unfiltered ("\n", gdb_stdlog);
3008 return result;
3009}
3010
f6ac5f3d
PA
3011void
3012target_ops::trace_init ()
5536135b 3013{
b6a8c27b 3014 this->beneath ()->trace_init ();
5536135b
TT
3015}
3016
f6ac5f3d
PA
3017void
3018dummy_target::trace_init ()
5536135b
TT
3019{
3020 tcomplain ();
3021}
3022
f6ac5f3d
PA
3023void
3024debug_target::trace_init ()
a7068b60 3025{
b6a8c27b
PA
3026 fprintf_unfiltered (gdb_stdlog, "-> %s->trace_init (...)\n", this->beneath ()->shortname ());
3027 this->beneath ()->trace_init ();
3028 fprintf_unfiltered (gdb_stdlog, "<- %s->trace_init (", this->beneath ()->shortname ());
a7068b60
TT
3029 fputs_unfiltered (")\n", gdb_stdlog);
3030}
3031
f6ac5f3d
PA
3032void
3033target_ops::download_tracepoint (struct bp_location *arg0)
9a980a22 3034{
b6a8c27b 3035 this->beneath ()->download_tracepoint (arg0);
9a980a22
TT
3036}
3037
f6ac5f3d
PA
3038void
3039dummy_target::download_tracepoint (struct bp_location *arg0)
9a980a22
TT
3040{
3041 tcomplain ();
3042}
3043
f6ac5f3d
PA
3044void
3045debug_target::download_tracepoint (struct bp_location *arg0)
a7068b60 3046{
b6a8c27b
PA
3047 fprintf_unfiltered (gdb_stdlog, "-> %s->download_tracepoint (...)\n", this->beneath ()->shortname ());
3048 this->beneath ()->download_tracepoint (arg0);
3049 fprintf_unfiltered (gdb_stdlog, "<- %s->download_tracepoint (", this->beneath ()->shortname ());
f6ac5f3d 3050 target_debug_print_struct_bp_location_p (arg0);
a7068b60
TT
3051 fputs_unfiltered (")\n", gdb_stdlog);
3052}
3053
57810aa7 3054bool
f6ac5f3d 3055target_ops::can_download_tracepoint ()
719acc4a 3056{
b6a8c27b 3057 return this->beneath ()->can_download_tracepoint ();
719acc4a
TT
3058}
3059
57810aa7 3060bool
f6ac5f3d 3061dummy_target::can_download_tracepoint ()
719acc4a 3062{
57810aa7 3063 return false;
719acc4a
TT
3064}
3065
57810aa7 3066bool
f6ac5f3d 3067debug_target::can_download_tracepoint ()
a7068b60 3068{
57810aa7 3069 bool result;
b6a8c27b
PA
3070 fprintf_unfiltered (gdb_stdlog, "-> %s->can_download_tracepoint (...)\n", this->beneath ()->shortname ());
3071 result = this->beneath ()->can_download_tracepoint ();
3072 fprintf_unfiltered (gdb_stdlog, "<- %s->can_download_tracepoint (", this->beneath ()->shortname ());
a7068b60 3073 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 3074 target_debug_print_bool (result);
a7068b60
TT
3075 fputs_unfiltered ("\n", gdb_stdlog);
3076 return result;
3077}
3078
f6ac5f3d
PA
3079void
3080target_ops::download_trace_state_variable (const trace_state_variable &arg0)
94eb98b9 3081{
b6a8c27b 3082 this->beneath ()->download_trace_state_variable (arg0);
94eb98b9
TT
3083}
3084
f6ac5f3d
PA
3085void
3086dummy_target::download_trace_state_variable (const trace_state_variable &arg0)
94eb98b9
TT
3087{
3088 tcomplain ();
3089}
3090
f6ac5f3d
PA
3091void
3092debug_target::download_trace_state_variable (const trace_state_variable &arg0)
a7068b60 3093{
b6a8c27b
PA
3094 fprintf_unfiltered (gdb_stdlog, "-> %s->download_trace_state_variable (...)\n", this->beneath ()->shortname ());
3095 this->beneath ()->download_trace_state_variable (arg0);
3096 fprintf_unfiltered (gdb_stdlog, "<- %s->download_trace_state_variable (", this->beneath ()->shortname ());
f6ac5f3d 3097 target_debug_print_const_trace_state_variable_r (arg0);
a7068b60
TT
3098 fputs_unfiltered (")\n", gdb_stdlog);
3099}
3100
f6ac5f3d
PA
3101void
3102target_ops::enable_tracepoint (struct bp_location *arg0)
151f70f1 3103{
b6a8c27b 3104 this->beneath ()->enable_tracepoint (arg0);
151f70f1
TT
3105}
3106
f6ac5f3d
PA
3107void
3108dummy_target::enable_tracepoint (struct bp_location *arg0)
151f70f1
TT
3109{
3110 tcomplain ();
3111}
3112
f6ac5f3d
PA
3113void
3114debug_target::enable_tracepoint (struct bp_location *arg0)
a7068b60 3115{
b6a8c27b
PA
3116 fprintf_unfiltered (gdb_stdlog, "-> %s->enable_tracepoint (...)\n", this->beneath ()->shortname ());
3117 this->beneath ()->enable_tracepoint (arg0);
3118 fprintf_unfiltered (gdb_stdlog, "<- %s->enable_tracepoint (", this->beneath ()->shortname ());
f6ac5f3d 3119 target_debug_print_struct_bp_location_p (arg0);
a7068b60
TT
3120 fputs_unfiltered (")\n", gdb_stdlog);
3121}
3122
f6ac5f3d
PA
3123void
3124target_ops::disable_tracepoint (struct bp_location *arg0)
05c41993 3125{
b6a8c27b 3126 this->beneath ()->disable_tracepoint (arg0);
05c41993
TT
3127}
3128
f6ac5f3d
PA
3129void
3130dummy_target::disable_tracepoint (struct bp_location *arg0)
05c41993
TT
3131{
3132 tcomplain ();
3133}
3134
f6ac5f3d
PA
3135void
3136debug_target::disable_tracepoint (struct bp_location *arg0)
a7068b60 3137{
b6a8c27b
PA
3138 fprintf_unfiltered (gdb_stdlog, "-> %s->disable_tracepoint (...)\n", this->beneath ()->shortname ());
3139 this->beneath ()->disable_tracepoint (arg0);
3140 fprintf_unfiltered (gdb_stdlog, "<- %s->disable_tracepoint (", this->beneath ()->shortname ());
f6ac5f3d 3141 target_debug_print_struct_bp_location_p (arg0);
a7068b60
TT
3142 fputs_unfiltered (")\n", gdb_stdlog);
3143}
3144
f6ac5f3d
PA
3145void
3146target_ops::trace_set_readonly_regions ()
86dd181d 3147{
b6a8c27b 3148 this->beneath ()->trace_set_readonly_regions ();
86dd181d
TT
3149}
3150
f6ac5f3d
PA
3151void
3152dummy_target::trace_set_readonly_regions ()
86dd181d
TT
3153{
3154 tcomplain ();
3155}
3156
f6ac5f3d
PA
3157void
3158debug_target::trace_set_readonly_regions ()
a7068b60 3159{
b6a8c27b
PA
3160 fprintf_unfiltered (gdb_stdlog, "-> %s->trace_set_readonly_regions (...)\n", this->beneath ()->shortname ());
3161 this->beneath ()->trace_set_readonly_regions ();
3162 fprintf_unfiltered (gdb_stdlog, "<- %s->trace_set_readonly_regions (", this->beneath ()->shortname ());
a7068b60
TT
3163 fputs_unfiltered (")\n", gdb_stdlog);
3164}
3165
f6ac5f3d
PA
3166void
3167target_ops::trace_start ()
25da2e80 3168{
b6a8c27b 3169 this->beneath ()->trace_start ();
25da2e80
TT
3170}
3171
f6ac5f3d
PA
3172void
3173dummy_target::trace_start ()
25da2e80
TT
3174{
3175 tcomplain ();
3176}
3177
f6ac5f3d
PA
3178void
3179debug_target::trace_start ()
a7068b60 3180{
b6a8c27b
PA
3181 fprintf_unfiltered (gdb_stdlog, "-> %s->trace_start (...)\n", this->beneath ()->shortname ());
3182 this->beneath ()->trace_start ();
3183 fprintf_unfiltered (gdb_stdlog, "<- %s->trace_start (", this->beneath ()->shortname ());
a7068b60
TT
3184 fputs_unfiltered (")\n", gdb_stdlog);
3185}
3186
f6ac5f3d
PA
3187int
3188target_ops::get_trace_status (struct trace_status *arg0)
4072d4ff 3189{
b6a8c27b 3190 return this->beneath ()->get_trace_status (arg0);
4072d4ff
TT
3191}
3192
f6ac5f3d
PA
3193int
3194dummy_target::get_trace_status (struct trace_status *arg0)
4072d4ff
TT
3195{
3196 return -1;
3197}
3198
f6ac5f3d
PA
3199int
3200debug_target::get_trace_status (struct trace_status *arg0)
a7068b60
TT
3201{
3202 int result;
b6a8c27b
PA
3203 fprintf_unfiltered (gdb_stdlog, "-> %s->get_trace_status (...)\n", this->beneath ()->shortname ());
3204 result = this->beneath ()->get_trace_status (arg0);
3205 fprintf_unfiltered (gdb_stdlog, "<- %s->get_trace_status (", this->beneath ()->shortname ());
f6ac5f3d 3206 target_debug_print_struct_trace_status_p (arg0);
a7068b60
TT
3207 fputs_unfiltered (") = ", gdb_stdlog);
3208 target_debug_print_int (result);
3209 fputs_unfiltered ("\n", gdb_stdlog);
3210 return result;
3211}
3212
f6ac5f3d
PA
3213void
3214target_ops::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
6fea14cd 3215{
b6a8c27b 3216 this->beneath ()->get_tracepoint_status (arg0, arg1);
6fea14cd
TT
3217}
3218
f6ac5f3d
PA
3219void
3220dummy_target::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
6fea14cd
TT
3221{
3222 tcomplain ();
3223}
3224
f6ac5f3d
PA
3225void
3226debug_target::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1)
a7068b60 3227{
b6a8c27b
PA
3228 fprintf_unfiltered (gdb_stdlog, "-> %s->get_tracepoint_status (...)\n", this->beneath ()->shortname ());
3229 this->beneath ()->get_tracepoint_status (arg0, arg1);
3230 fprintf_unfiltered (gdb_stdlog, "<- %s->get_tracepoint_status (", this->beneath ()->shortname ());
f6ac5f3d 3231 target_debug_print_struct_breakpoint_p (arg0);
a7068b60 3232 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3233 target_debug_print_struct_uploaded_tp_p (arg1);
a7068b60
TT
3234 fputs_unfiltered (")\n", gdb_stdlog);
3235}
3236
f6ac5f3d
PA
3237void
3238target_ops::trace_stop ()
e51c07ea 3239{
b6a8c27b 3240 this->beneath ()->trace_stop ();
e51c07ea
TT
3241}
3242
f6ac5f3d
PA
3243void
3244dummy_target::trace_stop ()
e51c07ea
TT
3245{
3246 tcomplain ();
3247}
3248
f6ac5f3d
PA
3249void
3250debug_target::trace_stop ()
a7068b60 3251{
b6a8c27b
PA
3252 fprintf_unfiltered (gdb_stdlog, "-> %s->trace_stop (...)\n", this->beneath ()->shortname ());
3253 this->beneath ()->trace_stop ();
3254 fprintf_unfiltered (gdb_stdlog, "<- %s->trace_stop (", this->beneath ()->shortname ());
a7068b60
TT
3255 fputs_unfiltered (")\n", gdb_stdlog);
3256}
3257
f6ac5f3d
PA
3258int
3259target_ops::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
afc94e66 3260{
b6a8c27b 3261 return this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4);
afc94e66
TT
3262}
3263
f6ac5f3d
PA
3264int
3265dummy_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
afc94e66
TT
3266{
3267 return -1;
3268}
3269
f6ac5f3d
PA
3270int
3271debug_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4)
a7068b60
TT
3272{
3273 int result;
b6a8c27b
PA
3274 fprintf_unfiltered (gdb_stdlog, "-> %s->trace_find (...)\n", this->beneath ()->shortname ());
3275 result = this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4);
3276 fprintf_unfiltered (gdb_stdlog, "<- %s->trace_find (", this->beneath ()->shortname ());
f6ac5f3d 3277 target_debug_print_enum_trace_find_type (arg0);
a7068b60 3278 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3279 target_debug_print_int (arg1);
a7068b60 3280 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3281 target_debug_print_CORE_ADDR (arg2);
a7068b60
TT
3282 fputs_unfiltered (", ", gdb_stdlog);
3283 target_debug_print_CORE_ADDR (arg3);
3284 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3285 target_debug_print_int_p (arg4);
a7068b60
TT
3286 fputs_unfiltered (") = ", gdb_stdlog);
3287 target_debug_print_int (result);
3288 fputs_unfiltered ("\n", gdb_stdlog);
3289 return result;
3290}
3291
57810aa7 3292bool
f6ac5f3d 3293target_ops::get_trace_state_variable_value (int arg0, LONGEST *arg1)
959bcd0b 3294{
b6a8c27b 3295 return this->beneath ()->get_trace_state_variable_value (arg0, arg1);
959bcd0b
TT
3296}
3297
57810aa7 3298bool
f6ac5f3d 3299dummy_target::get_trace_state_variable_value (int arg0, LONGEST *arg1)
959bcd0b 3300{
57810aa7 3301 return false;
959bcd0b
TT
3302}
3303
57810aa7 3304bool
f6ac5f3d 3305debug_target::get_trace_state_variable_value (int arg0, LONGEST *arg1)
a7068b60 3306{
57810aa7 3307 bool result;
b6a8c27b
PA
3308 fprintf_unfiltered (gdb_stdlog, "-> %s->get_trace_state_variable_value (...)\n", this->beneath ()->shortname ());
3309 result = this->beneath ()->get_trace_state_variable_value (arg0, arg1);
3310 fprintf_unfiltered (gdb_stdlog, "<- %s->get_trace_state_variable_value (", this->beneath ()->shortname ());
f6ac5f3d 3311 target_debug_print_int (arg0);
a7068b60 3312 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3313 target_debug_print_LONGEST_p (arg1);
a7068b60 3314 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 3315 target_debug_print_bool (result);
a7068b60
TT
3316 fputs_unfiltered ("\n", gdb_stdlog);
3317 return result;
3318}
3319
f6ac5f3d
PA
3320int
3321target_ops::save_trace_data (const char *arg0)
a2e6c147 3322{
b6a8c27b 3323 return this->beneath ()->save_trace_data (arg0);
a2e6c147
TT
3324}
3325
f6ac5f3d
PA
3326int
3327dummy_target::save_trace_data (const char *arg0)
a2e6c147
TT
3328{
3329 tcomplain ();
3330}
3331
f6ac5f3d
PA
3332int
3333debug_target::save_trace_data (const char *arg0)
a7068b60
TT
3334{
3335 int result;
b6a8c27b
PA
3336 fprintf_unfiltered (gdb_stdlog, "-> %s->save_trace_data (...)\n", this->beneath ()->shortname ());
3337 result = this->beneath ()->save_trace_data (arg0);
3338 fprintf_unfiltered (gdb_stdlog, "<- %s->save_trace_data (", this->beneath ()->shortname ());
f6ac5f3d 3339 target_debug_print_const_char_p (arg0);
a7068b60
TT
3340 fputs_unfiltered (") = ", gdb_stdlog);
3341 target_debug_print_int (result);
3342 fputs_unfiltered ("\n", gdb_stdlog);
3343 return result;
3344}
3345
f6ac5f3d
PA
3346int
3347target_ops::upload_tracepoints (struct uploaded_tp **arg0)
1e949b00 3348{
b6a8c27b 3349 return this->beneath ()->upload_tracepoints (arg0);
1e949b00
TT
3350}
3351
f6ac5f3d
PA
3352int
3353dummy_target::upload_tracepoints (struct uploaded_tp **arg0)
1e949b00
TT
3354{
3355 return 0;
3356}
3357
f6ac5f3d
PA
3358int
3359debug_target::upload_tracepoints (struct uploaded_tp **arg0)
a7068b60
TT
3360{
3361 int result;
b6a8c27b
PA
3362 fprintf_unfiltered (gdb_stdlog, "-> %s->upload_tracepoints (...)\n", this->beneath ()->shortname ());
3363 result = this->beneath ()->upload_tracepoints (arg0);
3364 fprintf_unfiltered (gdb_stdlog, "<- %s->upload_tracepoints (", this->beneath ()->shortname ());
f6ac5f3d 3365 target_debug_print_struct_uploaded_tp_pp (arg0);
a7068b60
TT
3366 fputs_unfiltered (") = ", gdb_stdlog);
3367 target_debug_print_int (result);
3368 fputs_unfiltered ("\n", gdb_stdlog);
3369 return result;
3370}
3371
f6ac5f3d
PA
3372int
3373target_ops::upload_trace_state_variables (struct uploaded_tsv **arg0)
08120467 3374{
b6a8c27b 3375 return this->beneath ()->upload_trace_state_variables (arg0);
08120467
TT
3376}
3377
f6ac5f3d
PA
3378int
3379dummy_target::upload_trace_state_variables (struct uploaded_tsv **arg0)
08120467
TT
3380{
3381 return 0;
3382}
3383
f6ac5f3d
PA
3384int
3385debug_target::upload_trace_state_variables (struct uploaded_tsv **arg0)
a7068b60
TT
3386{
3387 int result;
b6a8c27b
PA
3388 fprintf_unfiltered (gdb_stdlog, "-> %s->upload_trace_state_variables (...)\n", this->beneath ()->shortname ());
3389 result = this->beneath ()->upload_trace_state_variables (arg0);
3390 fprintf_unfiltered (gdb_stdlog, "<- %s->upload_trace_state_variables (", this->beneath ()->shortname ());
f6ac5f3d 3391 target_debug_print_struct_uploaded_tsv_pp (arg0);
a7068b60
TT
3392 fputs_unfiltered (") = ", gdb_stdlog);
3393 target_debug_print_int (result);
3394 fputs_unfiltered ("\n", gdb_stdlog);
3395 return result;
3396}
3397
f6ac5f3d
PA
3398LONGEST
3399target_ops::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
ace92e7d 3400{
b6a8c27b 3401 return this->beneath ()->get_raw_trace_data (arg0, arg1, arg2);
ace92e7d
TT
3402}
3403
f6ac5f3d
PA
3404LONGEST
3405dummy_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
ace92e7d
TT
3406{
3407 tcomplain ();
3408}
3409
f6ac5f3d
PA
3410LONGEST
3411debug_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2)
a7068b60
TT
3412{
3413 LONGEST result;
b6a8c27b
PA
3414 fprintf_unfiltered (gdb_stdlog, "-> %s->get_raw_trace_data (...)\n", this->beneath ()->shortname ());
3415 result = this->beneath ()->get_raw_trace_data (arg0, arg1, arg2);
3416 fprintf_unfiltered (gdb_stdlog, "<- %s->get_raw_trace_data (", this->beneath ()->shortname ());
f6ac5f3d 3417 target_debug_print_gdb_byte_p (arg0);
a7068b60 3418 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3419 target_debug_print_ULONGEST (arg1);
a7068b60 3420 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3421 target_debug_print_LONGEST (arg2);
a7068b60
TT
3422 fputs_unfiltered (") = ", gdb_stdlog);
3423 target_debug_print_LONGEST (result);
3424 fputs_unfiltered ("\n", gdb_stdlog);
3425 return result;
3426}
3427
f6ac5f3d
PA
3428int
3429target_ops::get_min_fast_tracepoint_insn_len ()
9249843f 3430{
b6a8c27b 3431 return this->beneath ()->get_min_fast_tracepoint_insn_len ();
9249843f
TT
3432}
3433
f6ac5f3d
PA
3434int
3435dummy_target::get_min_fast_tracepoint_insn_len ()
9249843f
TT
3436{
3437 return -1;
3438}
3439
f6ac5f3d
PA
3440int
3441debug_target::get_min_fast_tracepoint_insn_len ()
a7068b60
TT
3442{
3443 int result;
b6a8c27b
PA
3444 fprintf_unfiltered (gdb_stdlog, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath ()->shortname ());
3445 result = this->beneath ()->get_min_fast_tracepoint_insn_len ();
3446 fprintf_unfiltered (gdb_stdlog, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath ()->shortname ());
a7068b60
TT
3447 fputs_unfiltered (") = ", gdb_stdlog);
3448 target_debug_print_int (result);
3449 fputs_unfiltered ("\n", gdb_stdlog);
3450 return result;
3451}
3452
f6ac5f3d
PA
3453void
3454target_ops::set_disconnected_tracing (int arg0)
0bcfeddf 3455{
b6a8c27b 3456 this->beneath ()->set_disconnected_tracing (arg0);
0bcfeddf
TT
3457}
3458
f6ac5f3d
PA
3459void
3460dummy_target::set_disconnected_tracing (int arg0)
0bcfeddf
TT
3461{
3462}
3463
f6ac5f3d
PA
3464void
3465debug_target::set_disconnected_tracing (int arg0)
a7068b60 3466{
b6a8c27b
PA
3467 fprintf_unfiltered (gdb_stdlog, "-> %s->set_disconnected_tracing (...)\n", this->beneath ()->shortname ());
3468 this->beneath ()->set_disconnected_tracing (arg0);
3469 fprintf_unfiltered (gdb_stdlog, "<- %s->set_disconnected_tracing (", this->beneath ()->shortname ());
f6ac5f3d 3470 target_debug_print_int (arg0);
a7068b60
TT
3471 fputs_unfiltered (")\n", gdb_stdlog);
3472}
3473
f6ac5f3d
PA
3474void
3475target_ops::set_circular_trace_buffer (int arg0)
8d526939 3476{
b6a8c27b 3477 this->beneath ()->set_circular_trace_buffer (arg0);
8d526939
TT
3478}
3479
f6ac5f3d
PA
3480void
3481dummy_target::set_circular_trace_buffer (int arg0)
8d526939
TT
3482{
3483}
3484
f6ac5f3d
PA
3485void
3486debug_target::set_circular_trace_buffer (int arg0)
a7068b60 3487{
b6a8c27b
PA
3488 fprintf_unfiltered (gdb_stdlog, "-> %s->set_circular_trace_buffer (...)\n", this->beneath ()->shortname ());
3489 this->beneath ()->set_circular_trace_buffer (arg0);
3490 fprintf_unfiltered (gdb_stdlog, "<- %s->set_circular_trace_buffer (", this->beneath ()->shortname ());
f6ac5f3d 3491 target_debug_print_int (arg0);
a7068b60
TT
3492 fputs_unfiltered (")\n", gdb_stdlog);
3493}
3494
f6ac5f3d
PA
3495void
3496target_ops::set_trace_buffer_size (LONGEST arg0)
91df8d1d 3497{
b6a8c27b 3498 this->beneath ()->set_trace_buffer_size (arg0);
91df8d1d
TT
3499}
3500
f6ac5f3d
PA
3501void
3502dummy_target::set_trace_buffer_size (LONGEST arg0)
91df8d1d
TT
3503{
3504}
3505
f6ac5f3d
PA
3506void
3507debug_target::set_trace_buffer_size (LONGEST arg0)
a7068b60 3508{
b6a8c27b
PA
3509 fprintf_unfiltered (gdb_stdlog, "-> %s->set_trace_buffer_size (...)\n", this->beneath ()->shortname ());
3510 this->beneath ()->set_trace_buffer_size (arg0);
3511 fprintf_unfiltered (gdb_stdlog, "<- %s->set_trace_buffer_size (", this->beneath ()->shortname ());
f6ac5f3d 3512 target_debug_print_LONGEST (arg0);
a7068b60
TT
3513 fputs_unfiltered (")\n", gdb_stdlog);
3514}
3515
57810aa7 3516bool
f6ac5f3d 3517target_ops::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
8586ccaa 3518{
b6a8c27b 3519 return this->beneath ()->set_trace_notes (arg0, arg1, arg2);
8586ccaa
TT
3520}
3521
57810aa7 3522bool
f6ac5f3d 3523dummy_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
8586ccaa 3524{
57810aa7 3525 return false;
8586ccaa
TT
3526}
3527
57810aa7 3528bool
f6ac5f3d 3529debug_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2)
a7068b60 3530{
57810aa7 3531 bool result;
b6a8c27b
PA
3532 fprintf_unfiltered (gdb_stdlog, "-> %s->set_trace_notes (...)\n", this->beneath ()->shortname ());
3533 result = this->beneath ()->set_trace_notes (arg0, arg1, arg2);
3534 fprintf_unfiltered (gdb_stdlog, "<- %s->set_trace_notes (", this->beneath ()->shortname ());
f6ac5f3d 3535 target_debug_print_const_char_p (arg0);
a7068b60
TT
3536 fputs_unfiltered (", ", gdb_stdlog);
3537 target_debug_print_const_char_p (arg1);
3538 fputs_unfiltered (", ", gdb_stdlog);
3539 target_debug_print_const_char_p (arg2);
a7068b60 3540 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 3541 target_debug_print_bool (result);
a7068b60
TT
3542 fputs_unfiltered ("\n", gdb_stdlog);
3543 return result;
3544}
3545
f6ac5f3d
PA
3546int
3547target_ops::core_of_thread (ptid_t arg0)
9e538d0d 3548{
b6a8c27b 3549 return this->beneath ()->core_of_thread (arg0);
9e538d0d
TT
3550}
3551
f6ac5f3d
PA
3552int
3553dummy_target::core_of_thread (ptid_t arg0)
9e538d0d
TT
3554{
3555 return -1;
3556}
3557
f6ac5f3d
PA
3558int
3559debug_target::core_of_thread (ptid_t arg0)
a7068b60
TT
3560{
3561 int result;
b6a8c27b
PA
3562 fprintf_unfiltered (gdb_stdlog, "-> %s->core_of_thread (...)\n", this->beneath ()->shortname ());
3563 result = this->beneath ()->core_of_thread (arg0);
3564 fprintf_unfiltered (gdb_stdlog, "<- %s->core_of_thread (", this->beneath ()->shortname ());
f6ac5f3d 3565 target_debug_print_ptid_t (arg0);
a7068b60
TT
3566 fputs_unfiltered (") = ", gdb_stdlog);
3567 target_debug_print_int (result);
3568 fputs_unfiltered ("\n", gdb_stdlog);
3569 return result;
3570}
3571
f6ac5f3d
PA
3572int
3573target_ops::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
eb276a6b 3574{
b6a8c27b 3575 return this->beneath ()->verify_memory (arg0, arg1, arg2);
eb276a6b
TT
3576}
3577
f6ac5f3d
PA
3578int
3579dummy_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
3580{
3581 return default_verify_memory (this, arg0, arg1, arg2);
3582}
3583
3584int
3585debug_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2)
a7068b60
TT
3586{
3587 int result;
b6a8c27b
PA
3588 fprintf_unfiltered (gdb_stdlog, "-> %s->verify_memory (...)\n", this->beneath ()->shortname ());
3589 result = this->beneath ()->verify_memory (arg0, arg1, arg2);
3590 fprintf_unfiltered (gdb_stdlog, "<- %s->verify_memory (", this->beneath ()->shortname ());
f6ac5f3d 3591 target_debug_print_const_gdb_byte_p (arg0);
a7068b60 3592 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3593 target_debug_print_CORE_ADDR (arg1);
a7068b60 3594 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3595 target_debug_print_ULONGEST (arg2);
a7068b60
TT
3596 fputs_unfiltered (") = ", gdb_stdlog);
3597 target_debug_print_int (result);
3598 fputs_unfiltered ("\n", gdb_stdlog);
3599 return result;
3600}
3601
57810aa7 3602bool
f6ac5f3d 3603target_ops::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
22bcceee 3604{
b6a8c27b 3605 return this->beneath ()->get_tib_address (arg0, arg1);
22bcceee
TT
3606}
3607
57810aa7 3608bool
f6ac5f3d 3609dummy_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
22bcceee
TT
3610{
3611 tcomplain ();
3612}
3613
57810aa7 3614bool
f6ac5f3d 3615debug_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1)
a7068b60 3616{
57810aa7 3617 bool result;
b6a8c27b
PA
3618 fprintf_unfiltered (gdb_stdlog, "-> %s->get_tib_address (...)\n", this->beneath ()->shortname ());
3619 result = this->beneath ()->get_tib_address (arg0, arg1);
3620 fprintf_unfiltered (gdb_stdlog, "<- %s->get_tib_address (", this->beneath ()->shortname ());
f6ac5f3d 3621 target_debug_print_ptid_t (arg0);
a7068b60 3622 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3623 target_debug_print_CORE_ADDR_p (arg1);
a7068b60 3624 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 3625 target_debug_print_bool (result);
a7068b60
TT
3626 fputs_unfiltered ("\n", gdb_stdlog);
3627 return result;
3628}
3629
f6ac5f3d
PA
3630void
3631target_ops::set_permissions ()
dcd6917f 3632{
b6a8c27b 3633 this->beneath ()->set_permissions ();
dcd6917f
TT
3634}
3635
f6ac5f3d
PA
3636void
3637dummy_target::set_permissions ()
dcd6917f
TT
3638{
3639}
3640
f6ac5f3d
PA
3641void
3642debug_target::set_permissions ()
a7068b60 3643{
b6a8c27b
PA
3644 fprintf_unfiltered (gdb_stdlog, "-> %s->set_permissions (...)\n", this->beneath ()->shortname ());
3645 this->beneath ()->set_permissions ();
3646 fprintf_unfiltered (gdb_stdlog, "<- %s->set_permissions (", this->beneath ()->shortname ());
a7068b60
TT
3647 fputs_unfiltered (")\n", gdb_stdlog);
3648}
3649
f6ac5f3d
PA
3650bool
3651target_ops::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
4c3e4425 3652{
b6a8c27b 3653 return this->beneath ()->static_tracepoint_marker_at (arg0, arg1);
4c3e4425
TT
3654}
3655
f6ac5f3d
PA
3656bool
3657dummy_target::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
4c3e4425 3658{
5d9310c4 3659 return false;
4c3e4425
TT
3660}
3661
f6ac5f3d
PA
3662bool
3663debug_target::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1)
a7068b60 3664{
5d9310c4 3665 bool result;
b6a8c27b
PA
3666 fprintf_unfiltered (gdb_stdlog, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath ()->shortname ());
3667 result = this->beneath ()->static_tracepoint_marker_at (arg0, arg1);
3668 fprintf_unfiltered (gdb_stdlog, "<- %s->static_tracepoint_marker_at (", this->beneath ()->shortname ());
f6ac5f3d 3669 target_debug_print_CORE_ADDR (arg0);
a7068b60 3670 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3671 target_debug_print_static_tracepoint_marker_p (arg1);
a7068b60 3672 fputs_unfiltered (") = ", gdb_stdlog);
5d9310c4 3673 target_debug_print_bool (result);
a7068b60
TT
3674 fputs_unfiltered ("\n", gdb_stdlog);
3675 return result;
3676}
3677
f6ac5f3d
PA
3678std::vector<static_tracepoint_marker>
3679target_ops::static_tracepoint_markers_by_strid (const char *arg0)
d6522a22 3680{
b6a8c27b 3681 return this->beneath ()->static_tracepoint_markers_by_strid (arg0);
d6522a22
TT
3682}
3683
f6ac5f3d
PA
3684std::vector<static_tracepoint_marker>
3685dummy_target::static_tracepoint_markers_by_strid (const char *arg0)
d6522a22
TT
3686{
3687 tcomplain ();
3688}
3689
f6ac5f3d
PA
3690std::vector<static_tracepoint_marker>
3691debug_target::static_tracepoint_markers_by_strid (const char *arg0)
a7068b60 3692{
5d9310c4 3693 std::vector<static_tracepoint_marker> result;
b6a8c27b
PA
3694 fprintf_unfiltered (gdb_stdlog, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath ()->shortname ());
3695 result = this->beneath ()->static_tracepoint_markers_by_strid (arg0);
3696 fprintf_unfiltered (gdb_stdlog, "<- %s->static_tracepoint_markers_by_strid (", this->beneath ()->shortname ());
f6ac5f3d 3697 target_debug_print_const_char_p (arg0);
a7068b60 3698 fputs_unfiltered (") = ", gdb_stdlog);
5d9310c4 3699 target_debug_print_std_vector_static_tracepoint_marker (result);
a7068b60
TT
3700 fputs_unfiltered ("\n", gdb_stdlog);
3701 return result;
3702}
3703
f6ac5f3d
PA
3704traceframe_info_up
3705target_ops::traceframe_info ()
92155eeb 3706{
b6a8c27b 3707 return this->beneath ()->traceframe_info ();
92155eeb
TT
3708}
3709
f6ac5f3d
PA
3710traceframe_info_up
3711dummy_target::traceframe_info ()
92155eeb 3712{
6a5f844b 3713 tcomplain ();
92155eeb
TT
3714}
3715
f6ac5f3d
PA
3716traceframe_info_up
3717debug_target::traceframe_info ()
a7068b60 3718{
2098b393 3719 traceframe_info_up result;
b6a8c27b
PA
3720 fprintf_unfiltered (gdb_stdlog, "-> %s->traceframe_info (...)\n", this->beneath ()->shortname ());
3721 result = this->beneath ()->traceframe_info ();
3722 fprintf_unfiltered (gdb_stdlog, "<- %s->traceframe_info (", this->beneath ()->shortname ());
a7068b60 3723 fputs_unfiltered (") = ", gdb_stdlog);
2098b393 3724 target_debug_print_traceframe_info_up (result);
a7068b60
TT
3725 fputs_unfiltered ("\n", gdb_stdlog);
3726 return result;
3727}
3728
57810aa7
PA
3729bool
3730target_ops::use_agent (bool arg0)
d9db5b21 3731{
b6a8c27b 3732 return this->beneath ()->use_agent (arg0);
d9db5b21
TT
3733}
3734
57810aa7
PA
3735bool
3736dummy_target::use_agent (bool arg0)
d9db5b21
TT
3737{
3738 tcomplain ();
3739}
3740
57810aa7
PA
3741bool
3742debug_target::use_agent (bool arg0)
a7068b60 3743{
57810aa7 3744 bool result;
b6a8c27b
PA
3745 fprintf_unfiltered (gdb_stdlog, "-> %s->use_agent (...)\n", this->beneath ()->shortname ());
3746 result = this->beneath ()->use_agent (arg0);
3747 fprintf_unfiltered (gdb_stdlog, "<- %s->use_agent (", this->beneath ()->shortname ());
57810aa7 3748 target_debug_print_bool (arg0);
a7068b60 3749 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 3750 target_debug_print_bool (result);
a7068b60
TT
3751 fputs_unfiltered ("\n", gdb_stdlog);
3752 return result;
3753}
3754
57810aa7 3755bool
f6ac5f3d 3756target_ops::can_use_agent ()
9a7d8b48 3757{
b6a8c27b 3758 return this->beneath ()->can_use_agent ();
9a7d8b48
TT
3759}
3760
57810aa7 3761bool
f6ac5f3d 3762dummy_target::can_use_agent ()
9a7d8b48 3763{
57810aa7 3764 return false;
9a7d8b48
TT
3765}
3766
57810aa7 3767bool
f6ac5f3d 3768debug_target::can_use_agent ()
a7068b60 3769{
57810aa7 3770 bool result;
b6a8c27b
PA
3771 fprintf_unfiltered (gdb_stdlog, "-> %s->can_use_agent (...)\n", this->beneath ()->shortname ());
3772 result = this->beneath ()->can_use_agent ();
3773 fprintf_unfiltered (gdb_stdlog, "<- %s->can_use_agent (", this->beneath ()->shortname ());
a7068b60 3774 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 3775 target_debug_print_bool (result);
a7068b60
TT
3776 fputs_unfiltered ("\n", gdb_stdlog);
3777 return result;
3778}
3779
f6ac5f3d
PA
3780struct btrace_target_info *
3781target_ops::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
6dc7fcf4 3782{
b6a8c27b 3783 return this->beneath ()->enable_btrace (arg0, arg1);
6dc7fcf4
TT
3784}
3785
f6ac5f3d
PA
3786struct btrace_target_info *
3787dummy_target::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
6dc7fcf4
TT
3788{
3789 tcomplain ();
3790}
3791
f6ac5f3d
PA
3792struct btrace_target_info *
3793debug_target::enable_btrace (ptid_t arg0, const struct btrace_config *arg1)
a7068b60
TT
3794{
3795 struct btrace_target_info * result;
b6a8c27b
PA
3796 fprintf_unfiltered (gdb_stdlog, "-> %s->enable_btrace (...)\n", this->beneath ()->shortname ());
3797 result = this->beneath ()->enable_btrace (arg0, arg1);
3798 fprintf_unfiltered (gdb_stdlog, "<- %s->enable_btrace (", this->beneath ()->shortname ());
f6ac5f3d 3799 target_debug_print_ptid_t (arg0);
f4abbc16 3800 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3801 target_debug_print_const_struct_btrace_config_p (arg1);
a7068b60
TT
3802 fputs_unfiltered (") = ", gdb_stdlog);
3803 target_debug_print_struct_btrace_target_info_p (result);
3804 fputs_unfiltered ("\n", gdb_stdlog);
3805 return result;
3806}
3807
f6ac5f3d
PA
3808void
3809target_ops::disable_btrace (struct btrace_target_info *arg0)
8dc292d3 3810{
b6a8c27b 3811 this->beneath ()->disable_btrace (arg0);
8dc292d3
TT
3812}
3813
f6ac5f3d
PA
3814void
3815dummy_target::disable_btrace (struct btrace_target_info *arg0)
8dc292d3
TT
3816{
3817 tcomplain ();
3818}
3819
f6ac5f3d
PA
3820void
3821debug_target::disable_btrace (struct btrace_target_info *arg0)
a7068b60 3822{
b6a8c27b
PA
3823 fprintf_unfiltered (gdb_stdlog, "-> %s->disable_btrace (...)\n", this->beneath ()->shortname ());
3824 this->beneath ()->disable_btrace (arg0);
3825 fprintf_unfiltered (gdb_stdlog, "<- %s->disable_btrace (", this->beneath ()->shortname ());
f6ac5f3d 3826 target_debug_print_struct_btrace_target_info_p (arg0);
a7068b60
TT
3827 fputs_unfiltered (")\n", gdb_stdlog);
3828}
3829
f6ac5f3d
PA
3830void
3831target_ops::teardown_btrace (struct btrace_target_info *arg0)
9ace480d 3832{
b6a8c27b 3833 this->beneath ()->teardown_btrace (arg0);
9ace480d
TT
3834}
3835
f6ac5f3d
PA
3836void
3837dummy_target::teardown_btrace (struct btrace_target_info *arg0)
9ace480d
TT
3838{
3839 tcomplain ();
3840}
3841
f6ac5f3d
PA
3842void
3843debug_target::teardown_btrace (struct btrace_target_info *arg0)
a7068b60 3844{
b6a8c27b
PA
3845 fprintf_unfiltered (gdb_stdlog, "-> %s->teardown_btrace (...)\n", this->beneath ()->shortname ());
3846 this->beneath ()->teardown_btrace (arg0);
3847 fprintf_unfiltered (gdb_stdlog, "<- %s->teardown_btrace (", this->beneath ()->shortname ());
f6ac5f3d 3848 target_debug_print_struct_btrace_target_info_p (arg0);
a7068b60
TT
3849 fputs_unfiltered (")\n", gdb_stdlog);
3850}
3851
f6ac5f3d
PA
3852enum btrace_error
3853target_ops::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
eb5b20d4 3854{
b6a8c27b 3855 return this->beneath ()->read_btrace (arg0, arg1, arg2);
eb5b20d4
TT
3856}
3857
f6ac5f3d
PA
3858enum btrace_error
3859dummy_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
eb5b20d4
TT
3860{
3861 tcomplain ();
3862}
3863
f6ac5f3d
PA
3864enum btrace_error
3865debug_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2)
a7068b60
TT
3866{
3867 enum btrace_error result;
b6a8c27b
PA
3868 fprintf_unfiltered (gdb_stdlog, "-> %s->read_btrace (...)\n", this->beneath ()->shortname ());
3869 result = this->beneath ()->read_btrace (arg0, arg1, arg2);
3870 fprintf_unfiltered (gdb_stdlog, "<- %s->read_btrace (", this->beneath ()->shortname ());
f6ac5f3d 3871 target_debug_print_struct_btrace_data_p (arg0);
a7068b60 3872 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3873 target_debug_print_struct_btrace_target_info_p (arg1);
a7068b60 3874 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 3875 target_debug_print_enum_btrace_read_type (arg2);
a7068b60
TT
3876 fputs_unfiltered (") = ", gdb_stdlog);
3877 target_debug_print_enum_btrace_error (result);
3878 fputs_unfiltered ("\n", gdb_stdlog);
3879 return result;
3880}
3881
f6ac5f3d
PA
3882const struct btrace_config *
3883target_ops::btrace_conf (const struct btrace_target_info *arg0)
f4abbc16 3884{
b6a8c27b 3885 return this->beneath ()->btrace_conf (arg0);
f4abbc16
MM
3886}
3887
f6ac5f3d
PA
3888const struct btrace_config *
3889dummy_target::btrace_conf (const struct btrace_target_info *arg0)
f4abbc16
MM
3890{
3891 return NULL;
3892}
3893
f6ac5f3d
PA
3894const struct btrace_config *
3895debug_target::btrace_conf (const struct btrace_target_info *arg0)
f4abbc16
MM
3896{
3897 const struct btrace_config * result;
b6a8c27b
PA
3898 fprintf_unfiltered (gdb_stdlog, "-> %s->btrace_conf (...)\n", this->beneath ()->shortname ());
3899 result = this->beneath ()->btrace_conf (arg0);
3900 fprintf_unfiltered (gdb_stdlog, "<- %s->btrace_conf (", this->beneath ()->shortname ());
f6ac5f3d 3901 target_debug_print_const_struct_btrace_target_info_p (arg0);
f4abbc16
MM
3902 fputs_unfiltered (") = ", gdb_stdlog);
3903 target_debug_print_const_struct_btrace_config_p (result);
3904 fputs_unfiltered ("\n", gdb_stdlog);
3905 return result;
3906}
3907
f6ac5f3d
PA
3908enum record_method
3909target_ops::record_method (ptid_t arg0)
b158a20f 3910{
b6a8c27b 3911 return this->beneath ()->record_method (arg0);
b158a20f
TW
3912}
3913
f6ac5f3d
PA
3914enum record_method
3915dummy_target::record_method (ptid_t arg0)
b158a20f
TW
3916{
3917 return RECORD_METHOD_NONE;
3918}
3919
f6ac5f3d
PA
3920enum record_method
3921debug_target::record_method (ptid_t arg0)
b158a20f
TW
3922{
3923 enum record_method result;
b6a8c27b
PA
3924 fprintf_unfiltered (gdb_stdlog, "-> %s->record_method (...)\n", this->beneath ()->shortname ());
3925 result = this->beneath ()->record_method (arg0);
3926 fprintf_unfiltered (gdb_stdlog, "<- %s->record_method (", this->beneath ()->shortname ());
f6ac5f3d 3927 target_debug_print_ptid_t (arg0);
b158a20f
TW
3928 fputs_unfiltered (") = ", gdb_stdlog);
3929 target_debug_print_enum_record_method (result);
3930 fputs_unfiltered ("\n", gdb_stdlog);
3931 return result;
3932}
3933
f6ac5f3d
PA
3934void
3935target_ops::stop_recording ()
ee97f592 3936{
b6a8c27b 3937 this->beneath ()->stop_recording ();
ee97f592
TT
3938}
3939
f6ac5f3d
PA
3940void
3941dummy_target::stop_recording ()
ee97f592
TT
3942{
3943}
3944
f6ac5f3d
PA
3945void
3946debug_target::stop_recording ()
a7068b60 3947{
b6a8c27b
PA
3948 fprintf_unfiltered (gdb_stdlog, "-> %s->stop_recording (...)\n", this->beneath ()->shortname ());
3949 this->beneath ()->stop_recording ();
3950 fprintf_unfiltered (gdb_stdlog, "<- %s->stop_recording (", this->beneath ()->shortname ());
a7068b60
TT
3951 fputs_unfiltered (")\n", gdb_stdlog);
3952}
3953
f6ac5f3d
PA
3954void
3955target_ops::info_record ()
a432721e 3956{
b6a8c27b 3957 this->beneath ()->info_record ();
a432721e
TT
3958}
3959
f6ac5f3d
PA
3960void
3961dummy_target::info_record ()
a432721e
TT
3962{
3963}
3964
f6ac5f3d
PA
3965void
3966debug_target::info_record ()
a7068b60 3967{
b6a8c27b
PA
3968 fprintf_unfiltered (gdb_stdlog, "-> %s->info_record (...)\n", this->beneath ()->shortname ());
3969 this->beneath ()->info_record ();
3970 fprintf_unfiltered (gdb_stdlog, "<- %s->info_record (", this->beneath ()->shortname ());
a7068b60
TT
3971 fputs_unfiltered (")\n", gdb_stdlog);
3972}
3973
f6ac5f3d
PA
3974void
3975target_ops::save_record (const char *arg0)
f09e2107 3976{
b6a8c27b 3977 this->beneath ()->save_record (arg0);
f09e2107
TT
3978}
3979
f6ac5f3d
PA
3980void
3981dummy_target::save_record (const char *arg0)
f09e2107
TT
3982{
3983 tcomplain ();
3984}
3985
f6ac5f3d
PA
3986void
3987debug_target::save_record (const char *arg0)
a7068b60 3988{
b6a8c27b
PA
3989 fprintf_unfiltered (gdb_stdlog, "-> %s->save_record (...)\n", this->beneath ()->shortname ());
3990 this->beneath ()->save_record (arg0);
3991 fprintf_unfiltered (gdb_stdlog, "<- %s->save_record (", this->beneath ()->shortname ());
f6ac5f3d 3992 target_debug_print_const_char_p (arg0);
a7068b60
TT
3993 fputs_unfiltered (")\n", gdb_stdlog);
3994}
3995
f6ac5f3d
PA
3996bool
3997target_ops::supports_delete_record ()
07366925 3998{
b6a8c27b 3999 return this->beneath ()->supports_delete_record ();
07366925
TT
4000}
4001
f6ac5f3d
PA
4002bool
4003dummy_target::supports_delete_record ()
4004{
4005 return false;
4006}
4007
4008bool
4009debug_target::supports_delete_record ()
4010{
4011 bool result;
b6a8c27b
PA
4012 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_delete_record (...)\n", this->beneath ()->shortname ());
4013 result = this->beneath ()->supports_delete_record ();
4014 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_delete_record (", this->beneath ()->shortname ());
f6ac5f3d
PA
4015 fputs_unfiltered (") = ", gdb_stdlog);
4016 target_debug_print_bool (result);
4017 fputs_unfiltered ("\n", gdb_stdlog);
4018 return result;
4019}
4020
4021void
4022target_ops::delete_record ()
4023{
b6a8c27b 4024 this->beneath ()->delete_record ();
f6ac5f3d
PA
4025}
4026
4027void
4028dummy_target::delete_record ()
07366925
TT
4029{
4030 tcomplain ();
4031}
4032
f6ac5f3d
PA
4033void
4034debug_target::delete_record ()
a7068b60 4035{
b6a8c27b
PA
4036 fprintf_unfiltered (gdb_stdlog, "-> %s->delete_record (...)\n", this->beneath ()->shortname ());
4037 this->beneath ()->delete_record ();
4038 fprintf_unfiltered (gdb_stdlog, "<- %s->delete_record (", this->beneath ()->shortname ());
a7068b60
TT
4039 fputs_unfiltered (")\n", gdb_stdlog);
4040}
4041
57810aa7 4042bool
f6ac5f3d 4043target_ops::record_is_replaying (ptid_t arg0)
dd2e9d25 4044{
b6a8c27b 4045 return this->beneath ()->record_is_replaying (arg0);
dd2e9d25
TT
4046}
4047
57810aa7 4048bool
f6ac5f3d 4049dummy_target::record_is_replaying (ptid_t arg0)
dd2e9d25 4050{
57810aa7 4051 return false;
dd2e9d25
TT
4052}
4053
57810aa7 4054bool
f6ac5f3d 4055debug_target::record_is_replaying (ptid_t arg0)
a7068b60 4056{
57810aa7 4057 bool result;
b6a8c27b
PA
4058 fprintf_unfiltered (gdb_stdlog, "-> %s->record_is_replaying (...)\n", this->beneath ()->shortname ());
4059 result = this->beneath ()->record_is_replaying (arg0);
4060 fprintf_unfiltered (gdb_stdlog, "<- %s->record_is_replaying (", this->beneath ()->shortname ());
f6ac5f3d 4061 target_debug_print_ptid_t (arg0);
a7068b60 4062 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 4063 target_debug_print_bool (result);
a7068b60
TT
4064 fputs_unfiltered ("\n", gdb_stdlog);
4065 return result;
4066}
4067
57810aa7 4068bool
f6ac5f3d 4069target_ops::record_will_replay (ptid_t arg0, int arg1)
7ff27e9b 4070{
b6a8c27b 4071 return this->beneath ()->record_will_replay (arg0, arg1);
7ff27e9b
MM
4072}
4073
57810aa7 4074bool
f6ac5f3d 4075dummy_target::record_will_replay (ptid_t arg0, int arg1)
7ff27e9b 4076{
57810aa7 4077 return false;
7ff27e9b
MM
4078}
4079
57810aa7 4080bool
f6ac5f3d 4081debug_target::record_will_replay (ptid_t arg0, int arg1)
7ff27e9b 4082{
57810aa7 4083 bool result;
b6a8c27b
PA
4084 fprintf_unfiltered (gdb_stdlog, "-> %s->record_will_replay (...)\n", this->beneath ()->shortname ());
4085 result = this->beneath ()->record_will_replay (arg0, arg1);
4086 fprintf_unfiltered (gdb_stdlog, "<- %s->record_will_replay (", this->beneath ()->shortname ());
f6ac5f3d 4087 target_debug_print_ptid_t (arg0);
7ff27e9b 4088 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 4089 target_debug_print_int (arg1);
7ff27e9b 4090 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 4091 target_debug_print_bool (result);
7ff27e9b
MM
4092 fputs_unfiltered ("\n", gdb_stdlog);
4093 return result;
4094}
4095
f6ac5f3d
PA
4096void
4097target_ops::record_stop_replaying ()
797094dd 4098{
b6a8c27b 4099 this->beneath ()->record_stop_replaying ();
797094dd
MM
4100}
4101
f6ac5f3d
PA
4102void
4103dummy_target::record_stop_replaying ()
797094dd
MM
4104{
4105}
4106
f6ac5f3d
PA
4107void
4108debug_target::record_stop_replaying ()
797094dd 4109{
b6a8c27b
PA
4110 fprintf_unfiltered (gdb_stdlog, "-> %s->record_stop_replaying (...)\n", this->beneath ()->shortname ());
4111 this->beneath ()->record_stop_replaying ();
4112 fprintf_unfiltered (gdb_stdlog, "<- %s->record_stop_replaying (", this->beneath ()->shortname ());
797094dd
MM
4113 fputs_unfiltered (")\n", gdb_stdlog);
4114}
4115
f6ac5f3d
PA
4116void
4117target_ops::goto_record_begin ()
671e76cc 4118{
b6a8c27b 4119 this->beneath ()->goto_record_begin ();
671e76cc
TT
4120}
4121
f6ac5f3d
PA
4122void
4123dummy_target::goto_record_begin ()
671e76cc
TT
4124{
4125 tcomplain ();
4126}
4127
f6ac5f3d
PA
4128void
4129debug_target::goto_record_begin ()
a7068b60 4130{
b6a8c27b
PA
4131 fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record_begin (...)\n", this->beneath ()->shortname ());
4132 this->beneath ()->goto_record_begin ();
4133 fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record_begin (", this->beneath ()->shortname ());
a7068b60
TT
4134 fputs_unfiltered (")\n", gdb_stdlog);
4135}
4136
f6ac5f3d
PA
4137void
4138target_ops::goto_record_end ()
e9179bb3 4139{
b6a8c27b 4140 this->beneath ()->goto_record_end ();
e9179bb3
TT
4141}
4142
f6ac5f3d
PA
4143void
4144dummy_target::goto_record_end ()
e9179bb3
TT
4145{
4146 tcomplain ();
4147}
4148
f6ac5f3d
PA
4149void
4150debug_target::goto_record_end ()
a7068b60 4151{
b6a8c27b
PA
4152 fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record_end (...)\n", this->beneath ()->shortname ());
4153 this->beneath ()->goto_record_end ();
4154 fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record_end (", this->beneath ()->shortname ());
a7068b60
TT
4155 fputs_unfiltered (")\n", gdb_stdlog);
4156}
4157
f6ac5f3d
PA
4158void
4159target_ops::goto_record (ULONGEST arg0)
05969c84 4160{
b6a8c27b 4161 this->beneath ()->goto_record (arg0);
05969c84
TT
4162}
4163
f6ac5f3d
PA
4164void
4165dummy_target::goto_record (ULONGEST arg0)
05969c84
TT
4166{
4167 tcomplain ();
4168}
4169
f6ac5f3d
PA
4170void
4171debug_target::goto_record (ULONGEST arg0)
a7068b60 4172{
b6a8c27b
PA
4173 fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record (...)\n", this->beneath ()->shortname ());
4174 this->beneath ()->goto_record (arg0);
4175 fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record (", this->beneath ()->shortname ());
f6ac5f3d 4176 target_debug_print_ULONGEST (arg0);
a7068b60
TT
4177 fputs_unfiltered (")\n", gdb_stdlog);
4178}
4179
f6ac5f3d
PA
4180void
4181target_ops::insn_history (int arg0, gdb_disassembly_flags arg1)
3679abfa 4182{
b6a8c27b 4183 this->beneath ()->insn_history (arg0, arg1);
3679abfa
TT
4184}
4185
f6ac5f3d
PA
4186void
4187dummy_target::insn_history (int arg0, gdb_disassembly_flags arg1)
3679abfa
TT
4188{
4189 tcomplain ();
4190}
4191
f6ac5f3d
PA
4192void
4193debug_target::insn_history (int arg0, gdb_disassembly_flags arg1)
a7068b60 4194{
b6a8c27b
PA
4195 fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history (...)\n", this->beneath ()->shortname ());
4196 this->beneath ()->insn_history (arg0, arg1);
4197 fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history (", this->beneath ()->shortname ());
f6ac5f3d 4198 target_debug_print_int (arg0);
a7068b60 4199 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 4200 target_debug_print_gdb_disassembly_flags (arg1);
a7068b60
TT
4201 fputs_unfiltered (")\n", gdb_stdlog);
4202}
4203
f6ac5f3d
PA
4204void
4205target_ops::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
8444ab58 4206{
b6a8c27b 4207 this->beneath ()->insn_history_from (arg0, arg1, arg2);
8444ab58
TT
4208}
4209
f6ac5f3d
PA
4210void
4211dummy_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
8444ab58
TT
4212{
4213 tcomplain ();
4214}
4215
f6ac5f3d
PA
4216void
4217debug_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2)
a7068b60 4218{
b6a8c27b
PA
4219 fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history_from (...)\n", this->beneath ()->shortname ());
4220 this->beneath ()->insn_history_from (arg0, arg1, arg2);
4221 fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history_from (", this->beneath ()->shortname ());
f6ac5f3d 4222 target_debug_print_ULONGEST (arg0);
a7068b60 4223 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 4224 target_debug_print_int (arg1);
a7068b60 4225 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 4226 target_debug_print_gdb_disassembly_flags (arg2);
a7068b60
TT
4227 fputs_unfiltered (")\n", gdb_stdlog);
4228}
4229
f6ac5f3d
PA
4230void
4231target_ops::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
c29302cc 4232{
b6a8c27b 4233 this->beneath ()->insn_history_range (arg0, arg1, arg2);
c29302cc
TT
4234}
4235
f6ac5f3d
PA
4236void
4237dummy_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
c29302cc
TT
4238{
4239 tcomplain ();
4240}
4241
f6ac5f3d
PA
4242void
4243debug_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2)
a7068b60 4244{
b6a8c27b
PA
4245 fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history_range (...)\n", this->beneath ()->shortname ());
4246 this->beneath ()->insn_history_range (arg0, arg1, arg2);
4247 fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history_range (", this->beneath ()->shortname ());
f6ac5f3d 4248 target_debug_print_ULONGEST (arg0);
a7068b60
TT
4249 fputs_unfiltered (", ", gdb_stdlog);
4250 target_debug_print_ULONGEST (arg1);
4251 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 4252 target_debug_print_gdb_disassembly_flags (arg2);
a7068b60
TT
4253 fputs_unfiltered (")\n", gdb_stdlog);
4254}
4255
f6ac5f3d
PA
4256void
4257target_ops::call_history (int arg0, record_print_flags arg1)
170049d4 4258{
b6a8c27b 4259 this->beneath ()->call_history (arg0, arg1);
170049d4
TT
4260}
4261
f6ac5f3d
PA
4262void
4263dummy_target::call_history (int arg0, record_print_flags arg1)
170049d4
TT
4264{
4265 tcomplain ();
4266}
4267
f6ac5f3d
PA
4268void
4269debug_target::call_history (int arg0, record_print_flags arg1)
a7068b60 4270{
b6a8c27b
PA
4271 fprintf_unfiltered (gdb_stdlog, "-> %s->call_history (...)\n", this->beneath ()->shortname ());
4272 this->beneath ()->call_history (arg0, arg1);
4273 fprintf_unfiltered (gdb_stdlog, "<- %s->call_history (", this->beneath ()->shortname ());
f6ac5f3d 4274 target_debug_print_int (arg0);
a7068b60 4275 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 4276 target_debug_print_record_print_flags (arg1);
a7068b60
TT
4277 fputs_unfiltered (")\n", gdb_stdlog);
4278}
4279
f6ac5f3d
PA
4280void
4281target_ops::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
16fc27d6 4282{
b6a8c27b 4283 this->beneath ()->call_history_from (arg0, arg1, arg2);
16fc27d6
TT
4284}
4285
f6ac5f3d
PA
4286void
4287dummy_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
16fc27d6
TT
4288{
4289 tcomplain ();
4290}
4291
f6ac5f3d
PA
4292void
4293debug_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2)
a7068b60 4294{
b6a8c27b
PA
4295 fprintf_unfiltered (gdb_stdlog, "-> %s->call_history_from (...)\n", this->beneath ()->shortname ());
4296 this->beneath ()->call_history_from (arg0, arg1, arg2);
4297 fprintf_unfiltered (gdb_stdlog, "<- %s->call_history_from (", this->beneath ()->shortname ());
f6ac5f3d 4298 target_debug_print_ULONGEST (arg0);
a7068b60 4299 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 4300 target_debug_print_int (arg1);
a7068b60 4301 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 4302 target_debug_print_record_print_flags (arg2);
a7068b60
TT
4303 fputs_unfiltered (")\n", gdb_stdlog);
4304}
4305
f6ac5f3d
PA
4306void
4307target_ops::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
115d9817 4308{
b6a8c27b 4309 this->beneath ()->call_history_range (arg0, arg1, arg2);
115d9817
TT
4310}
4311
f6ac5f3d
PA
4312void
4313dummy_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
115d9817
TT
4314{
4315 tcomplain ();
4316}
4317
f6ac5f3d
PA
4318void
4319debug_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2)
a7068b60 4320{
b6a8c27b
PA
4321 fprintf_unfiltered (gdb_stdlog, "-> %s->call_history_range (...)\n", this->beneath ()->shortname ());
4322 this->beneath ()->call_history_range (arg0, arg1, arg2);
4323 fprintf_unfiltered (gdb_stdlog, "<- %s->call_history_range (", this->beneath ()->shortname ());
f6ac5f3d 4324 target_debug_print_ULONGEST (arg0);
a7068b60
TT
4325 fputs_unfiltered (", ", gdb_stdlog);
4326 target_debug_print_ULONGEST (arg1);
4327 fputs_unfiltered (", ", gdb_stdlog);
f6ac5f3d 4328 target_debug_print_record_print_flags (arg2);
a7068b60
TT
4329 fputs_unfiltered (")\n", gdb_stdlog);
4330}
4331
57810aa7 4332bool
f6ac5f3d 4333target_ops::augmented_libraries_svr4_read ()
0de91722 4334{
b6a8c27b 4335 return this->beneath ()->augmented_libraries_svr4_read ();
0de91722
TT
4336}
4337
57810aa7 4338bool
f6ac5f3d 4339dummy_target::augmented_libraries_svr4_read ()
0de91722 4340{
57810aa7 4341 return false;
0de91722
TT
4342}
4343
57810aa7 4344bool
f6ac5f3d 4345debug_target::augmented_libraries_svr4_read ()
a7068b60 4346{
57810aa7 4347 bool result;
b6a8c27b
PA
4348 fprintf_unfiltered (gdb_stdlog, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath ()->shortname ());
4349 result = this->beneath ()->augmented_libraries_svr4_read ();
4350 fprintf_unfiltered (gdb_stdlog, "<- %s->augmented_libraries_svr4_read (", this->beneath ()->shortname ());
a7068b60 4351 fputs_unfiltered (") = ", gdb_stdlog);
57810aa7 4352 target_debug_print_bool (result);
a7068b60
TT
4353 fputs_unfiltered ("\n", gdb_stdlog);
4354 return result;
4355}
4356
f6ac5f3d
PA
4357const struct frame_unwind *
4358target_ops::get_unwinder ()
ac01945b 4359{
b6a8c27b 4360 return this->beneath ()->get_unwinder ();
ac01945b
TT
4361}
4362
f6ac5f3d
PA
4363const struct frame_unwind *
4364dummy_target::get_unwinder ()
ac01945b
TT
4365{
4366 return NULL;
4367}
4368
f6ac5f3d
PA
4369const struct frame_unwind *
4370debug_target::get_unwinder ()
a7068b60
TT
4371{
4372 const struct frame_unwind * result;
b6a8c27b
PA
4373 fprintf_unfiltered (gdb_stdlog, "-> %s->get_unwinder (...)\n", this->beneath ()->shortname ());
4374 result = this->beneath ()->get_unwinder ();
4375 fprintf_unfiltered (gdb_stdlog, "<- %s->get_unwinder (", this->beneath ()->shortname ());
a7068b60
TT
4376 fputs_unfiltered (") = ", gdb_stdlog);
4377 target_debug_print_const_struct_frame_unwind_p (result);
4378 fputs_unfiltered ("\n", gdb_stdlog);
4379 return result;
4380}
4381
f6ac5f3d
PA
4382const struct frame_unwind *
4383target_ops::get_tailcall_unwinder ()
ac01945b 4384{
b6a8c27b 4385 return this->beneath ()->get_tailcall_unwinder ();
ac01945b
TT
4386}
4387
f6ac5f3d
PA
4388const struct frame_unwind *
4389dummy_target::get_tailcall_unwinder ()
ac01945b
TT
4390{
4391 return NULL;
4392}
4393
f6ac5f3d
PA
4394const struct frame_unwind *
4395debug_target::get_tailcall_unwinder ()
a7068b60
TT
4396{
4397 const struct frame_unwind * result;
b6a8c27b
PA
4398 fprintf_unfiltered (gdb_stdlog, "-> %s->get_tailcall_unwinder (...)\n", this->beneath ()->shortname ());
4399 result = this->beneath ()->get_tailcall_unwinder ();
4400 fprintf_unfiltered (gdb_stdlog, "<- %s->get_tailcall_unwinder (", this->beneath ()->shortname ());
a7068b60
TT
4401 fputs_unfiltered (") = ", gdb_stdlog);
4402 target_debug_print_const_struct_frame_unwind_p (result);
4403 fputs_unfiltered ("\n", gdb_stdlog);
4404 return result;
4405}
4406
f6ac5f3d
PA
4407void
4408target_ops::prepare_to_generate_core ()
5fff78c4 4409{
b6a8c27b 4410 this->beneath ()->prepare_to_generate_core ();
5fff78c4
MM
4411}
4412
f6ac5f3d
PA
4413void
4414dummy_target::prepare_to_generate_core ()
5fff78c4
MM
4415{
4416}
4417
f6ac5f3d
PA
4418void
4419debug_target::prepare_to_generate_core ()
a7068b60 4420{
b6a8c27b
PA
4421 fprintf_unfiltered (gdb_stdlog, "-> %s->prepare_to_generate_core (...)\n", this->beneath ()->shortname ());
4422 this->beneath ()->prepare_to_generate_core ();
4423 fprintf_unfiltered (gdb_stdlog, "<- %s->prepare_to_generate_core (", this->beneath ()->shortname ());
a7068b60
TT
4424 fputs_unfiltered (")\n", gdb_stdlog);
4425}
4426
f6ac5f3d
PA
4427void
4428target_ops::done_generating_core ()
5fff78c4 4429{
b6a8c27b 4430 this->beneath ()->done_generating_core ();
5fff78c4
MM
4431}
4432
f6ac5f3d
PA
4433void
4434dummy_target::done_generating_core ()
5fff78c4
MM
4435{
4436}
4437
f6ac5f3d
PA
4438void
4439debug_target::done_generating_core ()
a7068b60 4440{
b6a8c27b
PA
4441 fprintf_unfiltered (gdb_stdlog, "-> %s->done_generating_core (...)\n", this->beneath ()->shortname ());
4442 this->beneath ()->done_generating_core ();
4443 fprintf_unfiltered (gdb_stdlog, "<- %s->done_generating_core (", this->beneath ()->shortname ());
a7068b60
TT
4444 fputs_unfiltered (")\n", gdb_stdlog);
4445}
4446
dbe692af
LM
4447bool
4448target_ops::supports_memory_tagging ()
4449{
4450 return this->beneath ()->supports_memory_tagging ();
4451}
4452
4453bool
4454dummy_target::supports_memory_tagging ()
4455{
4456 return false;
4457}
4458
4459bool
4460debug_target::supports_memory_tagging ()
4461{
4462 bool result;
4463 fprintf_unfiltered (gdb_stdlog, "-> %s->supports_memory_tagging (...)\n", this->beneath ()->shortname ());
4464 result = this->beneath ()->supports_memory_tagging ();
4465 fprintf_unfiltered (gdb_stdlog, "<- %s->supports_memory_tagging (", this->beneath ()->shortname ());
4466 fputs_unfiltered (") = ", gdb_stdlog);
4467 target_debug_print_bool (result);
4468 fputs_unfiltered ("\n", gdb_stdlog);
4469 return result;
4470}
4471
4472bool
4473target_ops::fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3)
4474{
4475 return this->beneath ()->fetch_memtags (arg0, arg1, arg2, arg3);
4476}
4477
4478bool
4479dummy_target::fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3)
4480{
4481 tcomplain ();
4482}
4483
4484bool
4485debug_target::fetch_memtags (CORE_ADDR arg0, size_t arg1, gdb::byte_vector &arg2, int arg3)
4486{
4487 bool result;
4488 fprintf_unfiltered (gdb_stdlog, "-> %s->fetch_memtags (...)\n", this->beneath ()->shortname ());
4489 result = this->beneath ()->fetch_memtags (arg0, arg1, arg2, arg3);
4490 fprintf_unfiltered (gdb_stdlog, "<- %s->fetch_memtags (", this->beneath ()->shortname ());
4491 target_debug_print_CORE_ADDR (arg0);
4492 fputs_unfiltered (", ", gdb_stdlog);
4493 target_debug_print_size_t (arg1);
4494 fputs_unfiltered (", ", gdb_stdlog);
4495 target_debug_print_gdb_byte_vector_r (arg2);
4496 fputs_unfiltered (", ", gdb_stdlog);
4497 target_debug_print_int (arg3);
4498 fputs_unfiltered (") = ", gdb_stdlog);
4499 target_debug_print_bool (result);
4500 fputs_unfiltered ("\n", gdb_stdlog);
4501 return result;
4502}
4503
4504bool
4505target_ops::store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3)
4506{
4507 return this->beneath ()->store_memtags (arg0, arg1, arg2, arg3);
4508}
4509
4510bool
4511dummy_target::store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3)
4512{
4513 tcomplain ();
4514}
4515
4516bool
4517debug_target::store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector &arg2, int arg3)
4518{
4519 bool result;
4520 fprintf_unfiltered (gdb_stdlog, "-> %s->store_memtags (...)\n", this->beneath ()->shortname ());
4521 result = this->beneath ()->store_memtags (arg0, arg1, arg2, arg3);
4522 fprintf_unfiltered (gdb_stdlog, "<- %s->store_memtags (", this->beneath ()->shortname ());
4523 target_debug_print_CORE_ADDR (arg0);
4524 fputs_unfiltered (", ", gdb_stdlog);
4525 target_debug_print_size_t (arg1);
4526 fputs_unfiltered (", ", gdb_stdlog);
4527 target_debug_print_const_gdb_byte_vector_r (arg2);
4528 fputs_unfiltered (", ", gdb_stdlog);
4529 target_debug_print_int (arg3);
4530 fputs_unfiltered (") = ", gdb_stdlog);
4531 target_debug_print_bool (result);
4532 fputs_unfiltered ("\n", gdb_stdlog);
4533 return result;
4534}
4535
This page took 1.211047 seconds and 4 git commands to generate.