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