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