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