1 /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */
4 /* To regenerate this file, run:*/
5 /* make-target-delegates target.h > target-delegates.c */
7 struct dummy_target
: public target_ops
9 const target_info
&info () const override
;
11 strata
stratum () const override
;
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 displaced_step_prepare_status
displaced_step_prepare (thread_info
*arg0
) override
;
175 displaced_step_finish_status
displaced_step_finish (thread_info
*arg0
, gdb_signal arg1
) override
;
178 struct debug_target
: public target_ops
180 const target_info
&info () const override
;
182 strata
stratum () const override
;
184 void post_attach (int arg0
) override
;
185 void detach (inferior
*arg0
, int arg1
) override
;
186 void disconnect (const char *arg0
, int arg1
) override
;
187 void resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
) override
;
188 void commit_resume () override
;
189 ptid_t
wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
) override
;
190 void fetch_registers (struct regcache
*arg0
, int arg1
) override
;
191 void store_registers (struct regcache
*arg0
, int arg1
) override
;
192 void prepare_to_store (struct regcache
*arg0
) override
;
193 void files_info () override
;
194 int insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
195 int remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
) override
;
196 bool stopped_by_sw_breakpoint () override
;
197 bool supports_stopped_by_sw_breakpoint () override
;
198 bool stopped_by_hw_breakpoint () override
;
199 bool supports_stopped_by_hw_breakpoint () override
;
200 int can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
) override
;
201 int ranged_break_num_registers () override
;
202 int insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
203 int remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
204 int remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
205 int insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
206 int insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
207 int remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
208 bool stopped_by_watchpoint () override
;
209 bool have_steppable_watchpoint () override
;
210 bool stopped_data_address (CORE_ADDR
*arg0
) override
;
211 bool watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
) override
;
212 int region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
) override
;
213 bool can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
) override
;
214 int masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
) override
;
215 int can_do_single_step () override
;
216 bool supports_terminal_ours () override
;
217 void terminal_init () override
;
218 void terminal_inferior () override
;
219 void terminal_save_inferior () override
;
220 void terminal_ours_for_output () override
;
221 void terminal_ours () override
;
222 void terminal_info (const char *arg0
, int arg1
) override
;
223 void kill () override
;
224 void load (const char *arg0
, int arg1
) override
;
225 void post_startup_inferior (ptid_t arg0
) override
;
226 int insert_fork_catchpoint (int arg0
) override
;
227 int remove_fork_catchpoint (int arg0
) override
;
228 int insert_vfork_catchpoint (int arg0
) override
;
229 int remove_vfork_catchpoint (int arg0
) override
;
230 bool follow_fork (bool arg0
, bool arg1
) override
;
231 int insert_exec_catchpoint (int arg0
) override
;
232 int remove_exec_catchpoint (int arg0
) override
;
233 void follow_exec (struct inferior
*arg0
, const char *arg1
) override
;
234 int set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
) override
;
235 void mourn_inferior () override
;
236 void pass_signals (gdb::array_view
<const unsigned char> arg0
) override
;
237 void program_signals (gdb::array_view
<const unsigned char> arg0
) override
;
238 bool thread_alive (ptid_t arg0
) override
;
239 void update_thread_list () override
;
240 std::string
pid_to_str (ptid_t arg0
) override
;
241 const char *extra_thread_info (thread_info
*arg0
) override
;
242 const char *thread_name (thread_info
*arg0
) override
;
243 thread_info
*thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
) override
;
244 gdb::byte_vector
thread_info_to_thread_handle (struct thread_info
*arg0
) override
;
245 void stop (ptid_t arg0
) override
;
246 void interrupt () override
;
247 void pass_ctrlc () override
;
248 void rcmd (const char *arg0
, struct ui_file
*arg1
) override
;
249 char *pid_to_exec_file (int arg0
) override
;
250 void log_command (const char *arg0
) override
;
251 struct target_section_table
*get_section_table () override
;
252 thread_control_capabilities
get_thread_control_capabilities () override
;
253 bool attach_no_wait () override
;
254 bool can_async_p () override
;
255 bool is_async_p () override
;
256 void async (int arg0
) override
;
257 int async_wait_fd () override
;
258 void thread_events (int arg0
) override
;
259 bool supports_non_stop () override
;
260 bool always_non_stop_p () override
;
261 int find_memory_regions (find_memory_region_ftype arg0
, void *arg1
) override
;
262 char *make_corefile_notes (bfd
*arg0
, int *arg1
) override
;
263 gdb_byte
*get_bookmark (const char *arg0
, int arg1
) override
;
264 void goto_bookmark (const gdb_byte
*arg0
, int arg1
) override
;
265 CORE_ADDR
get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
) override
;
266 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
;
267 ULONGEST
get_memory_xfer_limit () override
;
268 std::vector
<mem_region
> memory_map () override
;
269 void flash_erase (ULONGEST arg0
, LONGEST arg1
) override
;
270 void flash_done () override
;
271 const struct target_desc
*read_description () override
;
272 ptid_t
get_ada_task_ptid (long arg0
, long arg1
) override
;
273 int auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
) override
;
274 int search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
) override
;
275 bool can_execute_reverse () override
;
276 enum exec_direction_kind
execution_direction () override
;
277 bool supports_multi_process () override
;
278 bool supports_enable_disable_tracepoint () override
;
279 bool supports_disable_randomization () override
;
280 bool supports_string_tracing () override
;
281 bool supports_evaluation_of_breakpoint_conditions () override
;
282 bool can_run_breakpoint_commands () override
;
283 struct gdbarch
*thread_architecture (ptid_t arg0
) override
;
284 struct address_space
*thread_address_space (ptid_t arg0
) override
;
285 bool filesystem_is_local () override
;
286 void trace_init () override
;
287 void download_tracepoint (struct bp_location
*arg0
) override
;
288 bool can_download_tracepoint () override
;
289 void download_trace_state_variable (const trace_state_variable
&arg0
) override
;
290 void enable_tracepoint (struct bp_location
*arg0
) override
;
291 void disable_tracepoint (struct bp_location
*arg0
) override
;
292 void trace_set_readonly_regions () override
;
293 void trace_start () override
;
294 int get_trace_status (struct trace_status
*arg0
) override
;
295 void get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
) override
;
296 void trace_stop () override
;
297 int trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
) override
;
298 bool get_trace_state_variable_value (int arg0
, LONGEST
*arg1
) override
;
299 int save_trace_data (const char *arg0
) override
;
300 int upload_tracepoints (struct uploaded_tp
**arg0
) override
;
301 int upload_trace_state_variables (struct uploaded_tsv
**arg0
) override
;
302 LONGEST
get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
) override
;
303 int get_min_fast_tracepoint_insn_len () override
;
304 void set_disconnected_tracing (int arg0
) override
;
305 void set_circular_trace_buffer (int arg0
) override
;
306 void set_trace_buffer_size (LONGEST arg0
) override
;
307 bool set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
) override
;
308 int core_of_thread (ptid_t arg0
) override
;
309 int verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
) override
;
310 bool get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
) override
;
311 void set_permissions () override
;
312 bool static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
) override
;
313 std::vector
<static_tracepoint_marker
> static_tracepoint_markers_by_strid (const char *arg0
) override
;
314 traceframe_info_up
traceframe_info () override
;
315 bool use_agent (bool arg0
) override
;
316 bool can_use_agent () override
;
317 struct btrace_target_info
*enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
) override
;
318 void disable_btrace (struct btrace_target_info
*arg0
) override
;
319 void teardown_btrace (struct btrace_target_info
*arg0
) override
;
320 enum btrace_error
read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
) override
;
321 const struct btrace_config
*btrace_conf (const struct btrace_target_info
*arg0
) override
;
322 enum record_method
record_method (ptid_t arg0
) override
;
323 void stop_recording () override
;
324 void info_record () override
;
325 void save_record (const char *arg0
) override
;
326 bool supports_delete_record () override
;
327 void delete_record () override
;
328 bool record_is_replaying (ptid_t arg0
) override
;
329 bool record_will_replay (ptid_t arg0
, int arg1
) override
;
330 void record_stop_replaying () override
;
331 void goto_record_begin () override
;
332 void goto_record_end () override
;
333 void goto_record (ULONGEST arg0
) override
;
334 void insn_history (int arg0
, gdb_disassembly_flags arg1
) override
;
335 void insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
) override
;
336 void insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
) override
;
337 void call_history (int arg0
, record_print_flags arg1
) override
;
338 void call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
) override
;
339 void call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
) override
;
340 bool augmented_libraries_svr4_read () override
;
341 const struct frame_unwind
*get_unwinder () override
;
342 const struct frame_unwind
*get_tailcall_unwinder () override
;
343 void prepare_to_generate_core () override
;
344 void done_generating_core () override
;
345 displaced_step_prepare_status
displaced_step_prepare (thread_info
*arg0
) override
;
346 displaced_step_finish_status
displaced_step_finish (thread_info
*arg0
, gdb_signal arg1
) override
;
350 target_ops::post_attach (int arg0
)
352 this->beneath ()->post_attach (arg0
);
356 dummy_target::post_attach (int arg0
)
361 debug_target::post_attach (int arg0
)
363 fprintf_unfiltered (gdb_stdlog
, "-> %s->post_attach (...)\n", this->beneath ()->shortname ());
364 this->beneath ()->post_attach (arg0
);
365 fprintf_unfiltered (gdb_stdlog
, "<- %s->post_attach (", this->beneath ()->shortname ());
366 target_debug_print_int (arg0
);
367 fputs_unfiltered (")\n", gdb_stdlog
);
371 target_ops::detach (inferior
*arg0
, int arg1
)
373 this->beneath ()->detach (arg0
, arg1
);
377 dummy_target::detach (inferior
*arg0
, int arg1
)
382 debug_target::detach (inferior
*arg0
, int arg1
)
384 fprintf_unfiltered (gdb_stdlog
, "-> %s->detach (...)\n", this->beneath ()->shortname ());
385 this->beneath ()->detach (arg0
, arg1
);
386 fprintf_unfiltered (gdb_stdlog
, "<- %s->detach (", this->beneath ()->shortname ());
387 target_debug_print_inferior_p (arg0
);
388 fputs_unfiltered (", ", gdb_stdlog
);
389 target_debug_print_int (arg1
);
390 fputs_unfiltered (")\n", gdb_stdlog
);
394 target_ops::disconnect (const char *arg0
, int arg1
)
396 this->beneath ()->disconnect (arg0
, arg1
);
400 dummy_target::disconnect (const char *arg0
, int arg1
)
406 debug_target::disconnect (const char *arg0
, int arg1
)
408 fprintf_unfiltered (gdb_stdlog
, "-> %s->disconnect (...)\n", this->beneath ()->shortname ());
409 this->beneath ()->disconnect (arg0
, arg1
);
410 fprintf_unfiltered (gdb_stdlog
, "<- %s->disconnect (", this->beneath ()->shortname ());
411 target_debug_print_const_char_p (arg0
);
412 fputs_unfiltered (", ", gdb_stdlog
);
413 target_debug_print_int (arg1
);
414 fputs_unfiltered (")\n", gdb_stdlog
);
418 target_ops::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
420 this->beneath ()->resume (arg0
, arg1
, arg2
);
424 dummy_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
430 debug_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
432 fprintf_unfiltered (gdb_stdlog
, "-> %s->resume (...)\n", this->beneath ()->shortname ());
433 this->beneath ()->resume (arg0
, arg1
, arg2
);
434 fprintf_unfiltered (gdb_stdlog
, "<- %s->resume (", this->beneath ()->shortname ());
435 target_debug_print_ptid_t (arg0
);
436 fputs_unfiltered (", ", gdb_stdlog
);
437 target_debug_print_step (arg1
);
438 fputs_unfiltered (", ", gdb_stdlog
);
439 target_debug_print_enum_gdb_signal (arg2
);
440 fputs_unfiltered (")\n", gdb_stdlog
);
444 target_ops::commit_resume ()
446 this->beneath ()->commit_resume ();
450 dummy_target::commit_resume ()
455 debug_target::commit_resume ()
457 fprintf_unfiltered (gdb_stdlog
, "-> %s->commit_resume (...)\n", this->beneath ()->shortname ());
458 this->beneath ()->commit_resume ();
459 fprintf_unfiltered (gdb_stdlog
, "<- %s->commit_resume (", this->beneath ()->shortname ());
460 fputs_unfiltered (")\n", gdb_stdlog
);
464 target_ops::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
)
466 return this->beneath ()->wait (arg0
, arg1
, arg2
);
470 dummy_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
)
472 return default_target_wait (this, arg0
, arg1
, arg2
);
476 debug_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
)
479 fprintf_unfiltered (gdb_stdlog
, "-> %s->wait (...)\n", this->beneath ()->shortname ());
480 result
= this->beneath ()->wait (arg0
, arg1
, arg2
);
481 fprintf_unfiltered (gdb_stdlog
, "<- %s->wait (", this->beneath ()->shortname ());
482 target_debug_print_ptid_t (arg0
);
483 fputs_unfiltered (", ", gdb_stdlog
);
484 target_debug_print_struct_target_waitstatus_p (arg1
);
485 fputs_unfiltered (", ", gdb_stdlog
);
486 target_debug_print_options (arg2
);
487 fputs_unfiltered (") = ", gdb_stdlog
);
488 target_debug_print_ptid_t (result
);
489 fputs_unfiltered ("\n", gdb_stdlog
);
494 target_ops::fetch_registers (struct regcache
*arg0
, int arg1
)
496 this->beneath ()->fetch_registers (arg0
, arg1
);
500 dummy_target::fetch_registers (struct regcache
*arg0
, int arg1
)
505 debug_target::fetch_registers (struct regcache
*arg0
, int arg1
)
507 fprintf_unfiltered (gdb_stdlog
, "-> %s->fetch_registers (...)\n", this->beneath ()->shortname ());
508 this->beneath ()->fetch_registers (arg0
, arg1
);
509 fprintf_unfiltered (gdb_stdlog
, "<- %s->fetch_registers (", this->beneath ()->shortname ());
510 target_debug_print_struct_regcache_p (arg0
);
511 fputs_unfiltered (", ", gdb_stdlog
);
512 target_debug_print_int (arg1
);
513 fputs_unfiltered (")\n", gdb_stdlog
);
517 target_ops::store_registers (struct regcache
*arg0
, int arg1
)
519 this->beneath ()->store_registers (arg0
, arg1
);
523 dummy_target::store_registers (struct regcache
*arg0
, int arg1
)
529 debug_target::store_registers (struct regcache
*arg0
, int arg1
)
531 fprintf_unfiltered (gdb_stdlog
, "-> %s->store_registers (...)\n", this->beneath ()->shortname ());
532 this->beneath ()->store_registers (arg0
, arg1
);
533 fprintf_unfiltered (gdb_stdlog
, "<- %s->store_registers (", this->beneath ()->shortname ());
534 target_debug_print_struct_regcache_p (arg0
);
535 fputs_unfiltered (", ", gdb_stdlog
);
536 target_debug_print_int (arg1
);
537 fputs_unfiltered (")\n", gdb_stdlog
);
541 target_ops::prepare_to_store (struct regcache
*arg0
)
543 this->beneath ()->prepare_to_store (arg0
);
547 dummy_target::prepare_to_store (struct regcache
*arg0
)
553 debug_target::prepare_to_store (struct regcache
*arg0
)
555 fprintf_unfiltered (gdb_stdlog
, "-> %s->prepare_to_store (...)\n", this->beneath ()->shortname ());
556 this->beneath ()->prepare_to_store (arg0
);
557 fprintf_unfiltered (gdb_stdlog
, "<- %s->prepare_to_store (", this->beneath ()->shortname ());
558 target_debug_print_struct_regcache_p (arg0
);
559 fputs_unfiltered (")\n", gdb_stdlog
);
563 target_ops::files_info ()
565 this->beneath ()->files_info ();
569 dummy_target::files_info ()
574 debug_target::files_info ()
576 fprintf_unfiltered (gdb_stdlog
, "-> %s->files_info (...)\n", this->beneath ()->shortname ());
577 this->beneath ()->files_info ();
578 fprintf_unfiltered (gdb_stdlog
, "<- %s->files_info (", this->beneath ()->shortname ());
579 fputs_unfiltered (")\n", gdb_stdlog
);
583 target_ops::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
585 return this->beneath ()->insert_breakpoint (arg0
, arg1
);
589 dummy_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
595 debug_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
598 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_breakpoint (...)\n", this->beneath ()->shortname ());
599 result
= this->beneath ()->insert_breakpoint (arg0
, arg1
);
600 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_breakpoint (", this->beneath ()->shortname ());
601 target_debug_print_struct_gdbarch_p (arg0
);
602 fputs_unfiltered (", ", gdb_stdlog
);
603 target_debug_print_struct_bp_target_info_p (arg1
);
604 fputs_unfiltered (") = ", gdb_stdlog
);
605 target_debug_print_int (result
);
606 fputs_unfiltered ("\n", gdb_stdlog
);
611 target_ops::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
613 return this->beneath ()->remove_breakpoint (arg0
, arg1
, arg2
);
617 dummy_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
623 debug_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
626 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_breakpoint (...)\n", this->beneath ()->shortname ());
627 result
= this->beneath ()->remove_breakpoint (arg0
, arg1
, arg2
);
628 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_breakpoint (", this->beneath ()->shortname ());
629 target_debug_print_struct_gdbarch_p (arg0
);
630 fputs_unfiltered (", ", gdb_stdlog
);
631 target_debug_print_struct_bp_target_info_p (arg1
);
632 fputs_unfiltered (", ", gdb_stdlog
);
633 target_debug_print_enum_remove_bp_reason (arg2
);
634 fputs_unfiltered (") = ", gdb_stdlog
);
635 target_debug_print_int (result
);
636 fputs_unfiltered ("\n", gdb_stdlog
);
641 target_ops::stopped_by_sw_breakpoint ()
643 return this->beneath ()->stopped_by_sw_breakpoint ();
647 dummy_target::stopped_by_sw_breakpoint ()
653 debug_target::stopped_by_sw_breakpoint ()
656 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
657 result
= this->beneath ()->stopped_by_sw_breakpoint ();
658 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
659 fputs_unfiltered (") = ", gdb_stdlog
);
660 target_debug_print_bool (result
);
661 fputs_unfiltered ("\n", gdb_stdlog
);
666 target_ops::supports_stopped_by_sw_breakpoint ()
668 return this->beneath ()->supports_stopped_by_sw_breakpoint ();
672 dummy_target::supports_stopped_by_sw_breakpoint ()
678 debug_target::supports_stopped_by_sw_breakpoint ()
681 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
682 result
= this->beneath ()->supports_stopped_by_sw_breakpoint ();
683 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
684 fputs_unfiltered (") = ", gdb_stdlog
);
685 target_debug_print_bool (result
);
686 fputs_unfiltered ("\n", gdb_stdlog
);
691 target_ops::stopped_by_hw_breakpoint ()
693 return this->beneath ()->stopped_by_hw_breakpoint ();
697 dummy_target::stopped_by_hw_breakpoint ()
703 debug_target::stopped_by_hw_breakpoint ()
706 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
707 result
= this->beneath ()->stopped_by_hw_breakpoint ();
708 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
709 fputs_unfiltered (") = ", gdb_stdlog
);
710 target_debug_print_bool (result
);
711 fputs_unfiltered ("\n", gdb_stdlog
);
716 target_ops::supports_stopped_by_hw_breakpoint ()
718 return this->beneath ()->supports_stopped_by_hw_breakpoint ();
722 dummy_target::supports_stopped_by_hw_breakpoint ()
728 debug_target::supports_stopped_by_hw_breakpoint ()
731 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
732 result
= this->beneath ()->supports_stopped_by_hw_breakpoint ();
733 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
734 fputs_unfiltered (") = ", gdb_stdlog
);
735 target_debug_print_bool (result
);
736 fputs_unfiltered ("\n", gdb_stdlog
);
741 target_ops::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
743 return this->beneath ()->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
747 dummy_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
753 debug_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
756 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_use_hw_breakpoint (...)\n", this->beneath ()->shortname ());
757 result
= this->beneath ()->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
758 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_use_hw_breakpoint (", this->beneath ()->shortname ());
759 target_debug_print_enum_bptype (arg0
);
760 fputs_unfiltered (", ", gdb_stdlog
);
761 target_debug_print_int (arg1
);
762 fputs_unfiltered (", ", gdb_stdlog
);
763 target_debug_print_int (arg2
);
764 fputs_unfiltered (") = ", gdb_stdlog
);
765 target_debug_print_int (result
);
766 fputs_unfiltered ("\n", gdb_stdlog
);
771 target_ops::ranged_break_num_registers ()
773 return this->beneath ()->ranged_break_num_registers ();
777 dummy_target::ranged_break_num_registers ()
783 debug_target::ranged_break_num_registers ()
786 fprintf_unfiltered (gdb_stdlog
, "-> %s->ranged_break_num_registers (...)\n", this->beneath ()->shortname ());
787 result
= this->beneath ()->ranged_break_num_registers ();
788 fprintf_unfiltered (gdb_stdlog
, "<- %s->ranged_break_num_registers (", this->beneath ()->shortname ());
789 fputs_unfiltered (") = ", gdb_stdlog
);
790 target_debug_print_int (result
);
791 fputs_unfiltered ("\n", gdb_stdlog
);
796 target_ops::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
798 return this->beneath ()->insert_hw_breakpoint (arg0
, arg1
);
802 dummy_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
808 debug_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
811 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_hw_breakpoint (...)\n", this->beneath ()->shortname ());
812 result
= this->beneath ()->insert_hw_breakpoint (arg0
, arg1
);
813 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_hw_breakpoint (", this->beneath ()->shortname ());
814 target_debug_print_struct_gdbarch_p (arg0
);
815 fputs_unfiltered (", ", gdb_stdlog
);
816 target_debug_print_struct_bp_target_info_p (arg1
);
817 fputs_unfiltered (") = ", gdb_stdlog
);
818 target_debug_print_int (result
);
819 fputs_unfiltered ("\n", gdb_stdlog
);
824 target_ops::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
826 return this->beneath ()->remove_hw_breakpoint (arg0
, arg1
);
830 dummy_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
836 debug_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
839 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_hw_breakpoint (...)\n", this->beneath ()->shortname ());
840 result
= this->beneath ()->remove_hw_breakpoint (arg0
, arg1
);
841 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_hw_breakpoint (", this->beneath ()->shortname ());
842 target_debug_print_struct_gdbarch_p (arg0
);
843 fputs_unfiltered (", ", gdb_stdlog
);
844 target_debug_print_struct_bp_target_info_p (arg1
);
845 fputs_unfiltered (") = ", gdb_stdlog
);
846 target_debug_print_int (result
);
847 fputs_unfiltered ("\n", gdb_stdlog
);
852 target_ops::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
854 return this->beneath ()->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
858 dummy_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
864 debug_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
867 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_watchpoint (...)\n", this->beneath ()->shortname ());
868 result
= this->beneath ()->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
869 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_watchpoint (", this->beneath ()->shortname ());
870 target_debug_print_CORE_ADDR (arg0
);
871 fputs_unfiltered (", ", gdb_stdlog
);
872 target_debug_print_int (arg1
);
873 fputs_unfiltered (", ", gdb_stdlog
);
874 target_debug_print_enum_target_hw_bp_type (arg2
);
875 fputs_unfiltered (", ", gdb_stdlog
);
876 target_debug_print_struct_expression_p (arg3
);
877 fputs_unfiltered (") = ", gdb_stdlog
);
878 target_debug_print_int (result
);
879 fputs_unfiltered ("\n", gdb_stdlog
);
884 target_ops::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
886 return this->beneath ()->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
890 dummy_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
896 debug_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
899 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_watchpoint (...)\n", this->beneath ()->shortname ());
900 result
= this->beneath ()->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
901 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_watchpoint (", this->beneath ()->shortname ());
902 target_debug_print_CORE_ADDR (arg0
);
903 fputs_unfiltered (", ", gdb_stdlog
);
904 target_debug_print_int (arg1
);
905 fputs_unfiltered (", ", gdb_stdlog
);
906 target_debug_print_enum_target_hw_bp_type (arg2
);
907 fputs_unfiltered (", ", gdb_stdlog
);
908 target_debug_print_struct_expression_p (arg3
);
909 fputs_unfiltered (") = ", gdb_stdlog
);
910 target_debug_print_int (result
);
911 fputs_unfiltered ("\n", gdb_stdlog
);
916 target_ops::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
918 return this->beneath ()->insert_mask_watchpoint (arg0
, arg1
, arg2
);
922 dummy_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
928 debug_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
931 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_mask_watchpoint (...)\n", this->beneath ()->shortname ());
932 result
= this->beneath ()->insert_mask_watchpoint (arg0
, arg1
, arg2
);
933 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_mask_watchpoint (", this->beneath ()->shortname ());
934 target_debug_print_CORE_ADDR (arg0
);
935 fputs_unfiltered (", ", gdb_stdlog
);
936 target_debug_print_CORE_ADDR (arg1
);
937 fputs_unfiltered (", ", gdb_stdlog
);
938 target_debug_print_enum_target_hw_bp_type (arg2
);
939 fputs_unfiltered (") = ", gdb_stdlog
);
940 target_debug_print_int (result
);
941 fputs_unfiltered ("\n", gdb_stdlog
);
946 target_ops::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
948 return this->beneath ()->remove_mask_watchpoint (arg0
, arg1
, arg2
);
952 dummy_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
958 debug_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
961 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_mask_watchpoint (...)\n", this->beneath ()->shortname ());
962 result
= this->beneath ()->remove_mask_watchpoint (arg0
, arg1
, arg2
);
963 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_mask_watchpoint (", this->beneath ()->shortname ());
964 target_debug_print_CORE_ADDR (arg0
);
965 fputs_unfiltered (", ", gdb_stdlog
);
966 target_debug_print_CORE_ADDR (arg1
);
967 fputs_unfiltered (", ", gdb_stdlog
);
968 target_debug_print_enum_target_hw_bp_type (arg2
);
969 fputs_unfiltered (") = ", gdb_stdlog
);
970 target_debug_print_int (result
);
971 fputs_unfiltered ("\n", gdb_stdlog
);
976 target_ops::stopped_by_watchpoint ()
978 return this->beneath ()->stopped_by_watchpoint ();
982 dummy_target::stopped_by_watchpoint ()
988 debug_target::stopped_by_watchpoint ()
991 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_watchpoint (...)\n", this->beneath ()->shortname ());
992 result
= this->beneath ()->stopped_by_watchpoint ();
993 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_watchpoint (", this->beneath ()->shortname ());
994 fputs_unfiltered (") = ", gdb_stdlog
);
995 target_debug_print_bool (result
);
996 fputs_unfiltered ("\n", gdb_stdlog
);
1001 target_ops::have_steppable_watchpoint ()
1003 return this->beneath ()->have_steppable_watchpoint ();
1007 dummy_target::have_steppable_watchpoint ()
1013 debug_target::have_steppable_watchpoint ()
1016 fprintf_unfiltered (gdb_stdlog
, "-> %s->have_steppable_watchpoint (...)\n", this->beneath ()->shortname ());
1017 result
= this->beneath ()->have_steppable_watchpoint ();
1018 fprintf_unfiltered (gdb_stdlog
, "<- %s->have_steppable_watchpoint (", this->beneath ()->shortname ());
1019 fputs_unfiltered (") = ", gdb_stdlog
);
1020 target_debug_print_bool (result
);
1021 fputs_unfiltered ("\n", gdb_stdlog
);
1026 target_ops::stopped_data_address (CORE_ADDR
*arg0
)
1028 return this->beneath ()->stopped_data_address (arg0
);
1032 dummy_target::stopped_data_address (CORE_ADDR
*arg0
)
1038 debug_target::stopped_data_address (CORE_ADDR
*arg0
)
1041 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_data_address (...)\n", this->beneath ()->shortname ());
1042 result
= this->beneath ()->stopped_data_address (arg0
);
1043 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_data_address (", this->beneath ()->shortname ());
1044 target_debug_print_CORE_ADDR_p (arg0
);
1045 fputs_unfiltered (") = ", gdb_stdlog
);
1046 target_debug_print_bool (result
);
1047 fputs_unfiltered ("\n", gdb_stdlog
);
1052 target_ops::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1054 return this->beneath ()->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1058 dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1060 return default_watchpoint_addr_within_range (this, arg0
, arg1
, arg2
);
1064 debug_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1067 fprintf_unfiltered (gdb_stdlog
, "-> %s->watchpoint_addr_within_range (...)\n", this->beneath ()->shortname ());
1068 result
= this->beneath ()->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1069 fprintf_unfiltered (gdb_stdlog
, "<- %s->watchpoint_addr_within_range (", this->beneath ()->shortname ());
1070 target_debug_print_CORE_ADDR (arg0
);
1071 fputs_unfiltered (", ", gdb_stdlog
);
1072 target_debug_print_CORE_ADDR (arg1
);
1073 fputs_unfiltered (", ", gdb_stdlog
);
1074 target_debug_print_int (arg2
);
1075 fputs_unfiltered (") = ", gdb_stdlog
);
1076 target_debug_print_bool (result
);
1077 fputs_unfiltered ("\n", gdb_stdlog
);
1082 target_ops::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1084 return this->beneath ()->region_ok_for_hw_watchpoint (arg0
, arg1
);
1088 dummy_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1090 return default_region_ok_for_hw_watchpoint (this, arg0
, arg1
);
1094 debug_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1097 fprintf_unfiltered (gdb_stdlog
, "-> %s->region_ok_for_hw_watchpoint (...)\n", this->beneath ()->shortname ());
1098 result
= this->beneath ()->region_ok_for_hw_watchpoint (arg0
, arg1
);
1099 fprintf_unfiltered (gdb_stdlog
, "<- %s->region_ok_for_hw_watchpoint (", this->beneath ()->shortname ());
1100 target_debug_print_CORE_ADDR (arg0
);
1101 fputs_unfiltered (", ", gdb_stdlog
);
1102 target_debug_print_int (arg1
);
1103 fputs_unfiltered (") = ", gdb_stdlog
);
1104 target_debug_print_int (result
);
1105 fputs_unfiltered ("\n", gdb_stdlog
);
1110 target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1112 return this->beneath ()->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1116 dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1122 debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1125 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_accel_watchpoint_condition (...)\n", this->beneath ()->shortname ());
1126 result
= this->beneath ()->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1127 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_accel_watchpoint_condition (", this->beneath ()->shortname ());
1128 target_debug_print_CORE_ADDR (arg0
);
1129 fputs_unfiltered (", ", gdb_stdlog
);
1130 target_debug_print_int (arg1
);
1131 fputs_unfiltered (", ", gdb_stdlog
);
1132 target_debug_print_int (arg2
);
1133 fputs_unfiltered (", ", gdb_stdlog
);
1134 target_debug_print_struct_expression_p (arg3
);
1135 fputs_unfiltered (") = ", gdb_stdlog
);
1136 target_debug_print_bool (result
);
1137 fputs_unfiltered ("\n", gdb_stdlog
);
1142 target_ops::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1144 return this->beneath ()->masked_watch_num_registers (arg0
, arg1
);
1148 dummy_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1154 debug_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1157 fprintf_unfiltered (gdb_stdlog
, "-> %s->masked_watch_num_registers (...)\n", this->beneath ()->shortname ());
1158 result
= this->beneath ()->masked_watch_num_registers (arg0
, arg1
);
1159 fprintf_unfiltered (gdb_stdlog
, "<- %s->masked_watch_num_registers (", this->beneath ()->shortname ());
1160 target_debug_print_CORE_ADDR (arg0
);
1161 fputs_unfiltered (", ", gdb_stdlog
);
1162 target_debug_print_CORE_ADDR (arg1
);
1163 fputs_unfiltered (") = ", gdb_stdlog
);
1164 target_debug_print_int (result
);
1165 fputs_unfiltered ("\n", gdb_stdlog
);
1170 target_ops::can_do_single_step ()
1172 return this->beneath ()->can_do_single_step ();
1176 dummy_target::can_do_single_step ()
1182 debug_target::can_do_single_step ()
1185 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_do_single_step (...)\n", this->beneath ()->shortname ());
1186 result
= this->beneath ()->can_do_single_step ();
1187 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_do_single_step (", this->beneath ()->shortname ());
1188 fputs_unfiltered (") = ", gdb_stdlog
);
1189 target_debug_print_int (result
);
1190 fputs_unfiltered ("\n", gdb_stdlog
);
1195 target_ops::supports_terminal_ours ()
1197 return this->beneath ()->supports_terminal_ours ();
1201 dummy_target::supports_terminal_ours ()
1207 debug_target::supports_terminal_ours ()
1210 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_terminal_ours (...)\n", this->beneath ()->shortname ());
1211 result
= this->beneath ()->supports_terminal_ours ();
1212 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_terminal_ours (", this->beneath ()->shortname ());
1213 fputs_unfiltered (") = ", gdb_stdlog
);
1214 target_debug_print_bool (result
);
1215 fputs_unfiltered ("\n", gdb_stdlog
);
1220 target_ops::terminal_init ()
1222 this->beneath ()->terminal_init ();
1226 dummy_target::terminal_init ()
1231 debug_target::terminal_init ()
1233 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_init (...)\n", this->beneath ()->shortname ());
1234 this->beneath ()->terminal_init ();
1235 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_init (", this->beneath ()->shortname ());
1236 fputs_unfiltered (")\n", gdb_stdlog
);
1240 target_ops::terminal_inferior ()
1242 this->beneath ()->terminal_inferior ();
1246 dummy_target::terminal_inferior ()
1251 debug_target::terminal_inferior ()
1253 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_inferior (...)\n", this->beneath ()->shortname ());
1254 this->beneath ()->terminal_inferior ();
1255 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_inferior (", this->beneath ()->shortname ());
1256 fputs_unfiltered (")\n", gdb_stdlog
);
1260 target_ops::terminal_save_inferior ()
1262 this->beneath ()->terminal_save_inferior ();
1266 dummy_target::terminal_save_inferior ()
1271 debug_target::terminal_save_inferior ()
1273 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_save_inferior (...)\n", this->beneath ()->shortname ());
1274 this->beneath ()->terminal_save_inferior ();
1275 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_save_inferior (", this->beneath ()->shortname ());
1276 fputs_unfiltered (")\n", gdb_stdlog
);
1280 target_ops::terminal_ours_for_output ()
1282 this->beneath ()->terminal_ours_for_output ();
1286 dummy_target::terminal_ours_for_output ()
1291 debug_target::terminal_ours_for_output ()
1293 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_ours_for_output (...)\n", this->beneath ()->shortname ());
1294 this->beneath ()->terminal_ours_for_output ();
1295 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_ours_for_output (", this->beneath ()->shortname ());
1296 fputs_unfiltered (")\n", gdb_stdlog
);
1300 target_ops::terminal_ours ()
1302 this->beneath ()->terminal_ours ();
1306 dummy_target::terminal_ours ()
1311 debug_target::terminal_ours ()
1313 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_ours (...)\n", this->beneath ()->shortname ());
1314 this->beneath ()->terminal_ours ();
1315 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_ours (", this->beneath ()->shortname ());
1316 fputs_unfiltered (")\n", gdb_stdlog
);
1320 target_ops::terminal_info (const char *arg0
, int arg1
)
1322 this->beneath ()->terminal_info (arg0
, arg1
);
1326 dummy_target::terminal_info (const char *arg0
, int arg1
)
1328 default_terminal_info (this, arg0
, arg1
);
1332 debug_target::terminal_info (const char *arg0
, int arg1
)
1334 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_info (...)\n", this->beneath ()->shortname ());
1335 this->beneath ()->terminal_info (arg0
, arg1
);
1336 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_info (", this->beneath ()->shortname ());
1337 target_debug_print_const_char_p (arg0
);
1338 fputs_unfiltered (", ", gdb_stdlog
);
1339 target_debug_print_int (arg1
);
1340 fputs_unfiltered (")\n", gdb_stdlog
);
1346 this->beneath ()->kill ();
1350 dummy_target::kill ()
1356 debug_target::kill ()
1358 fprintf_unfiltered (gdb_stdlog
, "-> %s->kill (...)\n", this->beneath ()->shortname ());
1359 this->beneath ()->kill ();
1360 fprintf_unfiltered (gdb_stdlog
, "<- %s->kill (", this->beneath ()->shortname ());
1361 fputs_unfiltered (")\n", gdb_stdlog
);
1365 target_ops::load (const char *arg0
, int arg1
)
1367 this->beneath ()->load (arg0
, arg1
);
1371 dummy_target::load (const char *arg0
, int arg1
)
1377 debug_target::load (const char *arg0
, int arg1
)
1379 fprintf_unfiltered (gdb_stdlog
, "-> %s->load (...)\n", this->beneath ()->shortname ());
1380 this->beneath ()->load (arg0
, arg1
);
1381 fprintf_unfiltered (gdb_stdlog
, "<- %s->load (", this->beneath ()->shortname ());
1382 target_debug_print_const_char_p (arg0
);
1383 fputs_unfiltered (", ", gdb_stdlog
);
1384 target_debug_print_int (arg1
);
1385 fputs_unfiltered (")\n", gdb_stdlog
);
1389 target_ops::post_startup_inferior (ptid_t arg0
)
1391 this->beneath ()->post_startup_inferior (arg0
);
1395 dummy_target::post_startup_inferior (ptid_t arg0
)
1400 debug_target::post_startup_inferior (ptid_t arg0
)
1402 fprintf_unfiltered (gdb_stdlog
, "-> %s->post_startup_inferior (...)\n", this->beneath ()->shortname ());
1403 this->beneath ()->post_startup_inferior (arg0
);
1404 fprintf_unfiltered (gdb_stdlog
, "<- %s->post_startup_inferior (", this->beneath ()->shortname ());
1405 target_debug_print_ptid_t (arg0
);
1406 fputs_unfiltered (")\n", gdb_stdlog
);
1410 target_ops::insert_fork_catchpoint (int arg0
)
1412 return this->beneath ()->insert_fork_catchpoint (arg0
);
1416 dummy_target::insert_fork_catchpoint (int arg0
)
1422 debug_target::insert_fork_catchpoint (int arg0
)
1425 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1426 result
= this->beneath ()->insert_fork_catchpoint (arg0
);
1427 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_fork_catchpoint (", this->beneath ()->shortname ());
1428 target_debug_print_int (arg0
);
1429 fputs_unfiltered (") = ", gdb_stdlog
);
1430 target_debug_print_int (result
);
1431 fputs_unfiltered ("\n", gdb_stdlog
);
1436 target_ops::remove_fork_catchpoint (int arg0
)
1438 return this->beneath ()->remove_fork_catchpoint (arg0
);
1442 dummy_target::remove_fork_catchpoint (int arg0
)
1448 debug_target::remove_fork_catchpoint (int arg0
)
1451 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1452 result
= this->beneath ()->remove_fork_catchpoint (arg0
);
1453 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_fork_catchpoint (", this->beneath ()->shortname ());
1454 target_debug_print_int (arg0
);
1455 fputs_unfiltered (") = ", gdb_stdlog
);
1456 target_debug_print_int (result
);
1457 fputs_unfiltered ("\n", gdb_stdlog
);
1462 target_ops::insert_vfork_catchpoint (int arg0
)
1464 return this->beneath ()->insert_vfork_catchpoint (arg0
);
1468 dummy_target::insert_vfork_catchpoint (int arg0
)
1474 debug_target::insert_vfork_catchpoint (int arg0
)
1477 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1478 result
= this->beneath ()->insert_vfork_catchpoint (arg0
);
1479 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_vfork_catchpoint (", this->beneath ()->shortname ());
1480 target_debug_print_int (arg0
);
1481 fputs_unfiltered (") = ", gdb_stdlog
);
1482 target_debug_print_int (result
);
1483 fputs_unfiltered ("\n", gdb_stdlog
);
1488 target_ops::remove_vfork_catchpoint (int arg0
)
1490 return this->beneath ()->remove_vfork_catchpoint (arg0
);
1494 dummy_target::remove_vfork_catchpoint (int arg0
)
1500 debug_target::remove_vfork_catchpoint (int arg0
)
1503 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1504 result
= this->beneath ()->remove_vfork_catchpoint (arg0
);
1505 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_vfork_catchpoint (", this->beneath ()->shortname ());
1506 target_debug_print_int (arg0
);
1507 fputs_unfiltered (") = ", gdb_stdlog
);
1508 target_debug_print_int (result
);
1509 fputs_unfiltered ("\n", gdb_stdlog
);
1514 target_ops::follow_fork (bool arg0
, bool arg1
)
1516 return this->beneath ()->follow_fork (arg0
, arg1
);
1520 dummy_target::follow_fork (bool arg0
, bool arg1
)
1522 return default_follow_fork (this, arg0
, arg1
);
1526 debug_target::follow_fork (bool arg0
, bool arg1
)
1529 fprintf_unfiltered (gdb_stdlog
, "-> %s->follow_fork (...)\n", this->beneath ()->shortname ());
1530 result
= this->beneath ()->follow_fork (arg0
, arg1
);
1531 fprintf_unfiltered (gdb_stdlog
, "<- %s->follow_fork (", this->beneath ()->shortname ());
1532 target_debug_print_bool (arg0
);
1533 fputs_unfiltered (", ", gdb_stdlog
);
1534 target_debug_print_bool (arg1
);
1535 fputs_unfiltered (") = ", gdb_stdlog
);
1536 target_debug_print_bool (result
);
1537 fputs_unfiltered ("\n", gdb_stdlog
);
1542 target_ops::insert_exec_catchpoint (int arg0
)
1544 return this->beneath ()->insert_exec_catchpoint (arg0
);
1548 dummy_target::insert_exec_catchpoint (int arg0
)
1554 debug_target::insert_exec_catchpoint (int arg0
)
1557 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1558 result
= this->beneath ()->insert_exec_catchpoint (arg0
);
1559 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_exec_catchpoint (", this->beneath ()->shortname ());
1560 target_debug_print_int (arg0
);
1561 fputs_unfiltered (") = ", gdb_stdlog
);
1562 target_debug_print_int (result
);
1563 fputs_unfiltered ("\n", gdb_stdlog
);
1568 target_ops::remove_exec_catchpoint (int arg0
)
1570 return this->beneath ()->remove_exec_catchpoint (arg0
);
1574 dummy_target::remove_exec_catchpoint (int arg0
)
1580 debug_target::remove_exec_catchpoint (int arg0
)
1583 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1584 result
= this->beneath ()->remove_exec_catchpoint (arg0
);
1585 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_exec_catchpoint (", this->beneath ()->shortname ());
1586 target_debug_print_int (arg0
);
1587 fputs_unfiltered (") = ", gdb_stdlog
);
1588 target_debug_print_int (result
);
1589 fputs_unfiltered ("\n", gdb_stdlog
);
1594 target_ops::follow_exec (struct inferior
*arg0
, const char *arg1
)
1596 this->beneath ()->follow_exec (arg0
, arg1
);
1600 dummy_target::follow_exec (struct inferior
*arg0
, const char *arg1
)
1605 debug_target::follow_exec (struct inferior
*arg0
, const char *arg1
)
1607 fprintf_unfiltered (gdb_stdlog
, "-> %s->follow_exec (...)\n", this->beneath ()->shortname ());
1608 this->beneath ()->follow_exec (arg0
, arg1
);
1609 fprintf_unfiltered (gdb_stdlog
, "<- %s->follow_exec (", this->beneath ()->shortname ());
1610 target_debug_print_struct_inferior_p (arg0
);
1611 fputs_unfiltered (", ", gdb_stdlog
);
1612 target_debug_print_const_char_p (arg1
);
1613 fputs_unfiltered (")\n", gdb_stdlog
);
1617 target_ops::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1619 return this->beneath ()->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1623 dummy_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1629 debug_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1632 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_syscall_catchpoint (...)\n", this->beneath ()->shortname ());
1633 result
= this->beneath ()->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1634 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_syscall_catchpoint (", this->beneath ()->shortname ());
1635 target_debug_print_int (arg0
);
1636 fputs_unfiltered (", ", gdb_stdlog
);
1637 target_debug_print_bool (arg1
);
1638 fputs_unfiltered (", ", gdb_stdlog
);
1639 target_debug_print_int (arg2
);
1640 fputs_unfiltered (", ", gdb_stdlog
);
1641 target_debug_print_gdb_array_view_const_int (arg3
);
1642 fputs_unfiltered (") = ", gdb_stdlog
);
1643 target_debug_print_int (result
);
1644 fputs_unfiltered ("\n", gdb_stdlog
);
1649 target_ops::mourn_inferior ()
1651 this->beneath ()->mourn_inferior ();
1655 dummy_target::mourn_inferior ()
1657 default_mourn_inferior (this);
1661 debug_target::mourn_inferior ()
1663 fprintf_unfiltered (gdb_stdlog
, "-> %s->mourn_inferior (...)\n", this->beneath ()->shortname ());
1664 this->beneath ()->mourn_inferior ();
1665 fprintf_unfiltered (gdb_stdlog
, "<- %s->mourn_inferior (", this->beneath ()->shortname ());
1666 fputs_unfiltered (")\n", gdb_stdlog
);
1670 target_ops::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1672 this->beneath ()->pass_signals (arg0
);
1676 dummy_target::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1681 debug_target::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1683 fprintf_unfiltered (gdb_stdlog
, "-> %s->pass_signals (...)\n", this->beneath ()->shortname ());
1684 this->beneath ()->pass_signals (arg0
);
1685 fprintf_unfiltered (gdb_stdlog
, "<- %s->pass_signals (", this->beneath ()->shortname ());
1686 target_debug_print_signals (arg0
);
1687 fputs_unfiltered (")\n", gdb_stdlog
);
1691 target_ops::program_signals (gdb::array_view
<const unsigned char> arg0
)
1693 this->beneath ()->program_signals (arg0
);
1697 dummy_target::program_signals (gdb::array_view
<const unsigned char> arg0
)
1702 debug_target::program_signals (gdb::array_view
<const unsigned char> arg0
)
1704 fprintf_unfiltered (gdb_stdlog
, "-> %s->program_signals (...)\n", this->beneath ()->shortname ());
1705 this->beneath ()->program_signals (arg0
);
1706 fprintf_unfiltered (gdb_stdlog
, "<- %s->program_signals (", this->beneath ()->shortname ());
1707 target_debug_print_signals (arg0
);
1708 fputs_unfiltered (")\n", gdb_stdlog
);
1712 target_ops::thread_alive (ptid_t arg0
)
1714 return this->beneath ()->thread_alive (arg0
);
1718 dummy_target::thread_alive (ptid_t arg0
)
1724 debug_target::thread_alive (ptid_t arg0
)
1727 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_alive (...)\n", this->beneath ()->shortname ());
1728 result
= this->beneath ()->thread_alive (arg0
);
1729 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_alive (", this->beneath ()->shortname ());
1730 target_debug_print_ptid_t (arg0
);
1731 fputs_unfiltered (") = ", gdb_stdlog
);
1732 target_debug_print_bool (result
);
1733 fputs_unfiltered ("\n", gdb_stdlog
);
1738 target_ops::update_thread_list ()
1740 this->beneath ()->update_thread_list ();
1744 dummy_target::update_thread_list ()
1749 debug_target::update_thread_list ()
1751 fprintf_unfiltered (gdb_stdlog
, "-> %s->update_thread_list (...)\n", this->beneath ()->shortname ());
1752 this->beneath ()->update_thread_list ();
1753 fprintf_unfiltered (gdb_stdlog
, "<- %s->update_thread_list (", this->beneath ()->shortname ());
1754 fputs_unfiltered (")\n", gdb_stdlog
);
1758 target_ops::pid_to_str (ptid_t arg0
)
1760 return this->beneath ()->pid_to_str (arg0
);
1764 dummy_target::pid_to_str (ptid_t arg0
)
1766 return default_pid_to_str (this, arg0
);
1770 debug_target::pid_to_str (ptid_t arg0
)
1773 fprintf_unfiltered (gdb_stdlog
, "-> %s->pid_to_str (...)\n", this->beneath ()->shortname ());
1774 result
= this->beneath ()->pid_to_str (arg0
);
1775 fprintf_unfiltered (gdb_stdlog
, "<- %s->pid_to_str (", this->beneath ()->shortname ());
1776 target_debug_print_ptid_t (arg0
);
1777 fputs_unfiltered (") = ", gdb_stdlog
);
1778 target_debug_print_std_string (result
);
1779 fputs_unfiltered ("\n", gdb_stdlog
);
1784 target_ops::extra_thread_info (thread_info
*arg0
)
1786 return this->beneath ()->extra_thread_info (arg0
);
1790 dummy_target::extra_thread_info (thread_info
*arg0
)
1796 debug_target::extra_thread_info (thread_info
*arg0
)
1798 const char * result
;
1799 fprintf_unfiltered (gdb_stdlog
, "-> %s->extra_thread_info (...)\n", this->beneath ()->shortname ());
1800 result
= this->beneath ()->extra_thread_info (arg0
);
1801 fprintf_unfiltered (gdb_stdlog
, "<- %s->extra_thread_info (", this->beneath ()->shortname ());
1802 target_debug_print_thread_info_p (arg0
);
1803 fputs_unfiltered (") = ", gdb_stdlog
);
1804 target_debug_print_const_char_p (result
);
1805 fputs_unfiltered ("\n", gdb_stdlog
);
1810 target_ops::thread_name (thread_info
*arg0
)
1812 return this->beneath ()->thread_name (arg0
);
1816 dummy_target::thread_name (thread_info
*arg0
)
1822 debug_target::thread_name (thread_info
*arg0
)
1824 const char * result
;
1825 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_name (...)\n", this->beneath ()->shortname ());
1826 result
= this->beneath ()->thread_name (arg0
);
1827 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_name (", this->beneath ()->shortname ());
1828 target_debug_print_thread_info_p (arg0
);
1829 fputs_unfiltered (") = ", gdb_stdlog
);
1830 target_debug_print_const_char_p (result
);
1831 fputs_unfiltered ("\n", gdb_stdlog
);
1836 target_ops::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1838 return this->beneath ()->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1842 dummy_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1848 debug_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1850 thread_info
* result
;
1851 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath ()->shortname ());
1852 result
= this->beneath ()->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1853 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_handle_to_thread_info (", this->beneath ()->shortname ());
1854 target_debug_print_const_gdb_byte_p (arg0
);
1855 fputs_unfiltered (", ", gdb_stdlog
);
1856 target_debug_print_int (arg1
);
1857 fputs_unfiltered (", ", gdb_stdlog
);
1858 target_debug_print_inferior_p (arg2
);
1859 fputs_unfiltered (") = ", gdb_stdlog
);
1860 target_debug_print_thread_info_p (result
);
1861 fputs_unfiltered ("\n", gdb_stdlog
);
1866 target_ops::thread_info_to_thread_handle (struct thread_info
*arg0
)
1868 return this->beneath ()->thread_info_to_thread_handle (arg0
);
1872 dummy_target::thread_info_to_thread_handle (struct thread_info
*arg0
)
1874 return gdb::byte_vector ();
1878 debug_target::thread_info_to_thread_handle (struct thread_info
*arg0
)
1880 gdb::byte_vector result
;
1881 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_info_to_thread_handle (...)\n", this->beneath ()->shortname ());
1882 result
= this->beneath ()->thread_info_to_thread_handle (arg0
);
1883 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_info_to_thread_handle (", this->beneath ()->shortname ());
1884 target_debug_print_struct_thread_info_p (arg0
);
1885 fputs_unfiltered (") = ", gdb_stdlog
);
1886 target_debug_print_gdb_byte_vector (result
);
1887 fputs_unfiltered ("\n", gdb_stdlog
);
1892 target_ops::stop (ptid_t arg0
)
1894 this->beneath ()->stop (arg0
);
1898 dummy_target::stop (ptid_t arg0
)
1903 debug_target::stop (ptid_t arg0
)
1905 fprintf_unfiltered (gdb_stdlog
, "-> %s->stop (...)\n", this->beneath ()->shortname ());
1906 this->beneath ()->stop (arg0
);
1907 fprintf_unfiltered (gdb_stdlog
, "<- %s->stop (", this->beneath ()->shortname ());
1908 target_debug_print_ptid_t (arg0
);
1909 fputs_unfiltered (")\n", gdb_stdlog
);
1913 target_ops::interrupt ()
1915 this->beneath ()->interrupt ();
1919 dummy_target::interrupt ()
1924 debug_target::interrupt ()
1926 fprintf_unfiltered (gdb_stdlog
, "-> %s->interrupt (...)\n", this->beneath ()->shortname ());
1927 this->beneath ()->interrupt ();
1928 fprintf_unfiltered (gdb_stdlog
, "<- %s->interrupt (", this->beneath ()->shortname ());
1929 fputs_unfiltered (")\n", gdb_stdlog
);
1933 target_ops::pass_ctrlc ()
1935 this->beneath ()->pass_ctrlc ();
1939 dummy_target::pass_ctrlc ()
1941 default_target_pass_ctrlc (this);
1945 debug_target::pass_ctrlc ()
1947 fprintf_unfiltered (gdb_stdlog
, "-> %s->pass_ctrlc (...)\n", this->beneath ()->shortname ());
1948 this->beneath ()->pass_ctrlc ();
1949 fprintf_unfiltered (gdb_stdlog
, "<- %s->pass_ctrlc (", this->beneath ()->shortname ());
1950 fputs_unfiltered (")\n", gdb_stdlog
);
1954 target_ops::rcmd (const char *arg0
, struct ui_file
*arg1
)
1956 this->beneath ()->rcmd (arg0
, arg1
);
1960 dummy_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
1962 default_rcmd (this, arg0
, arg1
);
1966 debug_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
1968 fprintf_unfiltered (gdb_stdlog
, "-> %s->rcmd (...)\n", this->beneath ()->shortname ());
1969 this->beneath ()->rcmd (arg0
, arg1
);
1970 fprintf_unfiltered (gdb_stdlog
, "<- %s->rcmd (", this->beneath ()->shortname ());
1971 target_debug_print_const_char_p (arg0
);
1972 fputs_unfiltered (", ", gdb_stdlog
);
1973 target_debug_print_struct_ui_file_p (arg1
);
1974 fputs_unfiltered (")\n", gdb_stdlog
);
1978 target_ops::pid_to_exec_file (int arg0
)
1980 return this->beneath ()->pid_to_exec_file (arg0
);
1984 dummy_target::pid_to_exec_file (int arg0
)
1990 debug_target::pid_to_exec_file (int arg0
)
1993 fprintf_unfiltered (gdb_stdlog
, "-> %s->pid_to_exec_file (...)\n", this->beneath ()->shortname ());
1994 result
= this->beneath ()->pid_to_exec_file (arg0
);
1995 fprintf_unfiltered (gdb_stdlog
, "<- %s->pid_to_exec_file (", this->beneath ()->shortname ());
1996 target_debug_print_int (arg0
);
1997 fputs_unfiltered (") = ", gdb_stdlog
);
1998 target_debug_print_char_p (result
);
1999 fputs_unfiltered ("\n", gdb_stdlog
);
2004 target_ops::log_command (const char *arg0
)
2006 this->beneath ()->log_command (arg0
);
2010 dummy_target::log_command (const char *arg0
)
2015 debug_target::log_command (const char *arg0
)
2017 fprintf_unfiltered (gdb_stdlog
, "-> %s->log_command (...)\n", this->beneath ()->shortname ());
2018 this->beneath ()->log_command (arg0
);
2019 fprintf_unfiltered (gdb_stdlog
, "<- %s->log_command (", this->beneath ()->shortname ());
2020 target_debug_print_const_char_p (arg0
);
2021 fputs_unfiltered (")\n", gdb_stdlog
);
2024 struct target_section_table
*
2025 target_ops::get_section_table ()
2027 return this->beneath ()->get_section_table ();
2030 struct target_section_table
*
2031 dummy_target::get_section_table ()
2036 struct target_section_table
*
2037 debug_target::get_section_table ()
2039 struct target_section_table
* result
;
2040 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_section_table (...)\n", this->beneath ()->shortname ());
2041 result
= this->beneath ()->get_section_table ();
2042 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_section_table (", this->beneath ()->shortname ());
2043 fputs_unfiltered (") = ", gdb_stdlog
);
2044 target_debug_print_struct_target_section_table_p (result
);
2045 fputs_unfiltered ("\n", gdb_stdlog
);
2049 thread_control_capabilities
2050 target_ops::get_thread_control_capabilities ()
2052 return this->beneath ()->get_thread_control_capabilities ();
2055 thread_control_capabilities
2056 dummy_target::get_thread_control_capabilities ()
2061 thread_control_capabilities
2062 debug_target::get_thread_control_capabilities ()
2064 thread_control_capabilities result
;
2065 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_thread_control_capabilities (...)\n", this->beneath ()->shortname ());
2066 result
= this->beneath ()->get_thread_control_capabilities ();
2067 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_thread_control_capabilities (", this->beneath ()->shortname ());
2068 fputs_unfiltered (") = ", gdb_stdlog
);
2069 target_debug_print_thread_control_capabilities (result
);
2070 fputs_unfiltered ("\n", gdb_stdlog
);
2075 target_ops::attach_no_wait ()
2077 return this->beneath ()->attach_no_wait ();
2081 dummy_target::attach_no_wait ()
2087 debug_target::attach_no_wait ()
2090 fprintf_unfiltered (gdb_stdlog
, "-> %s->attach_no_wait (...)\n", this->beneath ()->shortname ());
2091 result
= this->beneath ()->attach_no_wait ();
2092 fprintf_unfiltered (gdb_stdlog
, "<- %s->attach_no_wait (", this->beneath ()->shortname ());
2093 fputs_unfiltered (") = ", gdb_stdlog
);
2094 target_debug_print_bool (result
);
2095 fputs_unfiltered ("\n", gdb_stdlog
);
2100 target_ops::can_async_p ()
2102 return this->beneath ()->can_async_p ();
2106 dummy_target::can_async_p ()
2112 debug_target::can_async_p ()
2115 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_async_p (...)\n", this->beneath ()->shortname ());
2116 result
= this->beneath ()->can_async_p ();
2117 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_async_p (", this->beneath ()->shortname ());
2118 fputs_unfiltered (") = ", gdb_stdlog
);
2119 target_debug_print_bool (result
);
2120 fputs_unfiltered ("\n", gdb_stdlog
);
2125 target_ops::is_async_p ()
2127 return this->beneath ()->is_async_p ();
2131 dummy_target::is_async_p ()
2137 debug_target::is_async_p ()
2140 fprintf_unfiltered (gdb_stdlog
, "-> %s->is_async_p (...)\n", this->beneath ()->shortname ());
2141 result
= this->beneath ()->is_async_p ();
2142 fprintf_unfiltered (gdb_stdlog
, "<- %s->is_async_p (", this->beneath ()->shortname ());
2143 fputs_unfiltered (") = ", gdb_stdlog
);
2144 target_debug_print_bool (result
);
2145 fputs_unfiltered ("\n", gdb_stdlog
);
2150 target_ops::async (int arg0
)
2152 this->beneath ()->async (arg0
);
2156 dummy_target::async (int arg0
)
2162 debug_target::async (int arg0
)
2164 fprintf_unfiltered (gdb_stdlog
, "-> %s->async (...)\n", this->beneath ()->shortname ());
2165 this->beneath ()->async (arg0
);
2166 fprintf_unfiltered (gdb_stdlog
, "<- %s->async (", this->beneath ()->shortname ());
2167 target_debug_print_int (arg0
);
2168 fputs_unfiltered (")\n", gdb_stdlog
);
2172 target_ops::async_wait_fd ()
2174 return this->beneath ()->async_wait_fd ();
2178 dummy_target::async_wait_fd ()
2184 debug_target::async_wait_fd ()
2187 fprintf_unfiltered (gdb_stdlog
, "-> %s->async_wait_fd (...)\n", this->beneath ()->shortname ());
2188 result
= this->beneath ()->async_wait_fd ();
2189 fprintf_unfiltered (gdb_stdlog
, "<- %s->async_wait_fd (", this->beneath ()->shortname ());
2190 fputs_unfiltered (") = ", gdb_stdlog
);
2191 target_debug_print_int (result
);
2192 fputs_unfiltered ("\n", gdb_stdlog
);
2197 target_ops::thread_events (int arg0
)
2199 this->beneath ()->thread_events (arg0
);
2203 dummy_target::thread_events (int arg0
)
2208 debug_target::thread_events (int arg0
)
2210 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_events (...)\n", this->beneath ()->shortname ());
2211 this->beneath ()->thread_events (arg0
);
2212 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_events (", this->beneath ()->shortname ());
2213 target_debug_print_int (arg0
);
2214 fputs_unfiltered (")\n", gdb_stdlog
);
2218 target_ops::supports_non_stop ()
2220 return this->beneath ()->supports_non_stop ();
2224 dummy_target::supports_non_stop ()
2230 debug_target::supports_non_stop ()
2233 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_non_stop (...)\n", this->beneath ()->shortname ());
2234 result
= this->beneath ()->supports_non_stop ();
2235 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_non_stop (", this->beneath ()->shortname ());
2236 fputs_unfiltered (") = ", gdb_stdlog
);
2237 target_debug_print_bool (result
);
2238 fputs_unfiltered ("\n", gdb_stdlog
);
2243 target_ops::always_non_stop_p ()
2245 return this->beneath ()->always_non_stop_p ();
2249 dummy_target::always_non_stop_p ()
2255 debug_target::always_non_stop_p ()
2258 fprintf_unfiltered (gdb_stdlog
, "-> %s->always_non_stop_p (...)\n", this->beneath ()->shortname ());
2259 result
= this->beneath ()->always_non_stop_p ();
2260 fprintf_unfiltered (gdb_stdlog
, "<- %s->always_non_stop_p (", this->beneath ()->shortname ());
2261 fputs_unfiltered (") = ", gdb_stdlog
);
2262 target_debug_print_bool (result
);
2263 fputs_unfiltered ("\n", gdb_stdlog
);
2268 target_ops::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2270 return this->beneath ()->find_memory_regions (arg0
, arg1
);
2274 dummy_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2276 return dummy_find_memory_regions (this, arg0
, arg1
);
2280 debug_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2283 fprintf_unfiltered (gdb_stdlog
, "-> %s->find_memory_regions (...)\n", this->beneath ()->shortname ());
2284 result
= this->beneath ()->find_memory_regions (arg0
, arg1
);
2285 fprintf_unfiltered (gdb_stdlog
, "<- %s->find_memory_regions (", this->beneath ()->shortname ());
2286 target_debug_print_find_memory_region_ftype (arg0
);
2287 fputs_unfiltered (", ", gdb_stdlog
);
2288 target_debug_print_void_p (arg1
);
2289 fputs_unfiltered (") = ", gdb_stdlog
);
2290 target_debug_print_int (result
);
2291 fputs_unfiltered ("\n", gdb_stdlog
);
2296 target_ops::make_corefile_notes (bfd
*arg0
, int *arg1
)
2298 return this->beneath ()->make_corefile_notes (arg0
, arg1
);
2302 dummy_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2304 return dummy_make_corefile_notes (this, arg0
, arg1
);
2308 debug_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2311 fprintf_unfiltered (gdb_stdlog
, "-> %s->make_corefile_notes (...)\n", this->beneath ()->shortname ());
2312 result
= this->beneath ()->make_corefile_notes (arg0
, arg1
);
2313 fprintf_unfiltered (gdb_stdlog
, "<- %s->make_corefile_notes (", this->beneath ()->shortname ());
2314 target_debug_print_bfd_p (arg0
);
2315 fputs_unfiltered (", ", gdb_stdlog
);
2316 target_debug_print_int_p (arg1
);
2317 fputs_unfiltered (") = ", gdb_stdlog
);
2318 target_debug_print_char_p (result
);
2319 fputs_unfiltered ("\n", gdb_stdlog
);
2324 target_ops::get_bookmark (const char *arg0
, int arg1
)
2326 return this->beneath ()->get_bookmark (arg0
, arg1
);
2330 dummy_target::get_bookmark (const char *arg0
, int arg1
)
2336 debug_target::get_bookmark (const char *arg0
, int arg1
)
2339 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_bookmark (...)\n", this->beneath ()->shortname ());
2340 result
= this->beneath ()->get_bookmark (arg0
, arg1
);
2341 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_bookmark (", this->beneath ()->shortname ());
2342 target_debug_print_const_char_p (arg0
);
2343 fputs_unfiltered (", ", gdb_stdlog
);
2344 target_debug_print_int (arg1
);
2345 fputs_unfiltered (") = ", gdb_stdlog
);
2346 target_debug_print_gdb_byte_p (result
);
2347 fputs_unfiltered ("\n", gdb_stdlog
);
2352 target_ops::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2354 this->beneath ()->goto_bookmark (arg0
, arg1
);
2358 dummy_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2364 debug_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2366 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_bookmark (...)\n", this->beneath ()->shortname ());
2367 this->beneath ()->goto_bookmark (arg0
, arg1
);
2368 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_bookmark (", this->beneath ()->shortname ());
2369 target_debug_print_const_gdb_byte_p (arg0
);
2370 fputs_unfiltered (", ", gdb_stdlog
);
2371 target_debug_print_int (arg1
);
2372 fputs_unfiltered (")\n", gdb_stdlog
);
2376 target_ops::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2378 return this->beneath ()->get_thread_local_address (arg0
, arg1
, arg2
);
2382 dummy_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2384 generic_tls_error ();
2388 debug_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2391 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_thread_local_address (...)\n", this->beneath ()->shortname ());
2392 result
= this->beneath ()->get_thread_local_address (arg0
, arg1
, arg2
);
2393 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_thread_local_address (", this->beneath ()->shortname ());
2394 target_debug_print_ptid_t (arg0
);
2395 fputs_unfiltered (", ", gdb_stdlog
);
2396 target_debug_print_CORE_ADDR (arg1
);
2397 fputs_unfiltered (", ", gdb_stdlog
);
2398 target_debug_print_CORE_ADDR (arg2
);
2399 fputs_unfiltered (") = ", gdb_stdlog
);
2400 target_debug_print_CORE_ADDR (result
);
2401 fputs_unfiltered ("\n", gdb_stdlog
);
2405 enum target_xfer_status
2406 target_ops::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2408 return this->beneath ()->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2411 enum target_xfer_status
2412 dummy_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2414 return TARGET_XFER_E_IO
;
2417 enum target_xfer_status
2418 debug_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2420 enum target_xfer_status result
;
2421 fprintf_unfiltered (gdb_stdlog
, "-> %s->xfer_partial (...)\n", this->beneath ()->shortname ());
2422 result
= this->beneath ()->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2423 fprintf_unfiltered (gdb_stdlog
, "<- %s->xfer_partial (", this->beneath ()->shortname ());
2424 target_debug_print_enum_target_object (arg0
);
2425 fputs_unfiltered (", ", gdb_stdlog
);
2426 target_debug_print_const_char_p (arg1
);
2427 fputs_unfiltered (", ", gdb_stdlog
);
2428 target_debug_print_gdb_byte_p (arg2
);
2429 fputs_unfiltered (", ", gdb_stdlog
);
2430 target_debug_print_const_gdb_byte_p (arg3
);
2431 fputs_unfiltered (", ", gdb_stdlog
);
2432 target_debug_print_ULONGEST (arg4
);
2433 fputs_unfiltered (", ", gdb_stdlog
);
2434 target_debug_print_ULONGEST (arg5
);
2435 fputs_unfiltered (", ", gdb_stdlog
);
2436 target_debug_print_ULONGEST_p (arg6
);
2437 fputs_unfiltered (") = ", gdb_stdlog
);
2438 target_debug_print_enum_target_xfer_status (result
);
2439 fputs_unfiltered ("\n", gdb_stdlog
);
2444 target_ops::get_memory_xfer_limit ()
2446 return this->beneath ()->get_memory_xfer_limit ();
2450 dummy_target::get_memory_xfer_limit ()
2452 return ULONGEST_MAX
;
2456 debug_target::get_memory_xfer_limit ()
2459 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_memory_xfer_limit (...)\n", this->beneath ()->shortname ());
2460 result
= this->beneath ()->get_memory_xfer_limit ();
2461 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_memory_xfer_limit (", this->beneath ()->shortname ());
2462 fputs_unfiltered (") = ", gdb_stdlog
);
2463 target_debug_print_ULONGEST (result
);
2464 fputs_unfiltered ("\n", gdb_stdlog
);
2468 std::vector
<mem_region
>
2469 target_ops::memory_map ()
2471 return this->beneath ()->memory_map ();
2474 std::vector
<mem_region
>
2475 dummy_target::memory_map ()
2477 return std::vector
<mem_region
> ();
2480 std::vector
<mem_region
>
2481 debug_target::memory_map ()
2483 std::vector
<mem_region
> result
;
2484 fprintf_unfiltered (gdb_stdlog
, "-> %s->memory_map (...)\n", this->beneath ()->shortname ());
2485 result
= this->beneath ()->memory_map ();
2486 fprintf_unfiltered (gdb_stdlog
, "<- %s->memory_map (", this->beneath ()->shortname ());
2487 fputs_unfiltered (") = ", gdb_stdlog
);
2488 target_debug_print_std_vector_mem_region (result
);
2489 fputs_unfiltered ("\n", gdb_stdlog
);
2494 target_ops::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2496 this->beneath ()->flash_erase (arg0
, arg1
);
2500 dummy_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2506 debug_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2508 fprintf_unfiltered (gdb_stdlog
, "-> %s->flash_erase (...)\n", this->beneath ()->shortname ());
2509 this->beneath ()->flash_erase (arg0
, arg1
);
2510 fprintf_unfiltered (gdb_stdlog
, "<- %s->flash_erase (", this->beneath ()->shortname ());
2511 target_debug_print_ULONGEST (arg0
);
2512 fputs_unfiltered (", ", gdb_stdlog
);
2513 target_debug_print_LONGEST (arg1
);
2514 fputs_unfiltered (")\n", gdb_stdlog
);
2518 target_ops::flash_done ()
2520 this->beneath ()->flash_done ();
2524 dummy_target::flash_done ()
2530 debug_target::flash_done ()
2532 fprintf_unfiltered (gdb_stdlog
, "-> %s->flash_done (...)\n", this->beneath ()->shortname ());
2533 this->beneath ()->flash_done ();
2534 fprintf_unfiltered (gdb_stdlog
, "<- %s->flash_done (", this->beneath ()->shortname ());
2535 fputs_unfiltered (")\n", gdb_stdlog
);
2538 const struct target_desc
*
2539 target_ops::read_description ()
2541 return this->beneath ()->read_description ();
2544 const struct target_desc
*
2545 dummy_target::read_description ()
2550 const struct target_desc
*
2551 debug_target::read_description ()
2553 const struct target_desc
* result
;
2554 fprintf_unfiltered (gdb_stdlog
, "-> %s->read_description (...)\n", this->beneath ()->shortname ());
2555 result
= this->beneath ()->read_description ();
2556 fprintf_unfiltered (gdb_stdlog
, "<- %s->read_description (", this->beneath ()->shortname ());
2557 fputs_unfiltered (") = ", gdb_stdlog
);
2558 target_debug_print_const_struct_target_desc_p (result
);
2559 fputs_unfiltered ("\n", gdb_stdlog
);
2564 target_ops::get_ada_task_ptid (long arg0
, long arg1
)
2566 return this->beneath ()->get_ada_task_ptid (arg0
, arg1
);
2570 dummy_target::get_ada_task_ptid (long arg0
, long arg1
)
2572 return default_get_ada_task_ptid (this, arg0
, arg1
);
2576 debug_target::get_ada_task_ptid (long arg0
, long arg1
)
2579 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_ada_task_ptid (...)\n", this->beneath ()->shortname ());
2580 result
= this->beneath ()->get_ada_task_ptid (arg0
, arg1
);
2581 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_ada_task_ptid (", this->beneath ()->shortname ());
2582 target_debug_print_long (arg0
);
2583 fputs_unfiltered (", ", gdb_stdlog
);
2584 target_debug_print_long (arg1
);
2585 fputs_unfiltered (") = ", gdb_stdlog
);
2586 target_debug_print_ptid_t (result
);
2587 fputs_unfiltered ("\n", gdb_stdlog
);
2592 target_ops::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2594 return this->beneath ()->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2598 dummy_target::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2600 return default_auxv_parse (this, arg0
, arg1
, arg2
, arg3
);
2604 debug_target::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2607 fprintf_unfiltered (gdb_stdlog
, "-> %s->auxv_parse (...)\n", this->beneath ()->shortname ());
2608 result
= this->beneath ()->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2609 fprintf_unfiltered (gdb_stdlog
, "<- %s->auxv_parse (", this->beneath ()->shortname ());
2610 target_debug_print_gdb_byte_pp (arg0
);
2611 fputs_unfiltered (", ", gdb_stdlog
);
2612 target_debug_print_gdb_byte_p (arg1
);
2613 fputs_unfiltered (", ", gdb_stdlog
);
2614 target_debug_print_CORE_ADDR_p (arg2
);
2615 fputs_unfiltered (", ", gdb_stdlog
);
2616 target_debug_print_CORE_ADDR_p (arg3
);
2617 fputs_unfiltered (") = ", gdb_stdlog
);
2618 target_debug_print_int (result
);
2619 fputs_unfiltered ("\n", gdb_stdlog
);
2624 target_ops::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2626 return this->beneath ()->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2630 dummy_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2632 return default_search_memory (this, arg0
, arg1
, arg2
, arg3
, arg4
);
2636 debug_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2639 fprintf_unfiltered (gdb_stdlog
, "-> %s->search_memory (...)\n", this->beneath ()->shortname ());
2640 result
= this->beneath ()->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2641 fprintf_unfiltered (gdb_stdlog
, "<- %s->search_memory (", this->beneath ()->shortname ());
2642 target_debug_print_CORE_ADDR (arg0
);
2643 fputs_unfiltered (", ", gdb_stdlog
);
2644 target_debug_print_ULONGEST (arg1
);
2645 fputs_unfiltered (", ", gdb_stdlog
);
2646 target_debug_print_const_gdb_byte_p (arg2
);
2647 fputs_unfiltered (", ", gdb_stdlog
);
2648 target_debug_print_ULONGEST (arg3
);
2649 fputs_unfiltered (", ", gdb_stdlog
);
2650 target_debug_print_CORE_ADDR_p (arg4
);
2651 fputs_unfiltered (") = ", gdb_stdlog
);
2652 target_debug_print_int (result
);
2653 fputs_unfiltered ("\n", gdb_stdlog
);
2658 target_ops::can_execute_reverse ()
2660 return this->beneath ()->can_execute_reverse ();
2664 dummy_target::can_execute_reverse ()
2670 debug_target::can_execute_reverse ()
2673 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_execute_reverse (...)\n", this->beneath ()->shortname ());
2674 result
= this->beneath ()->can_execute_reverse ();
2675 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_execute_reverse (", this->beneath ()->shortname ());
2676 fputs_unfiltered (") = ", gdb_stdlog
);
2677 target_debug_print_bool (result
);
2678 fputs_unfiltered ("\n", gdb_stdlog
);
2682 enum exec_direction_kind
2683 target_ops::execution_direction ()
2685 return this->beneath ()->execution_direction ();
2688 enum exec_direction_kind
2689 dummy_target::execution_direction ()
2691 return default_execution_direction (this);
2694 enum exec_direction_kind
2695 debug_target::execution_direction ()
2697 enum exec_direction_kind result
;
2698 fprintf_unfiltered (gdb_stdlog
, "-> %s->execution_direction (...)\n", this->beneath ()->shortname ());
2699 result
= this->beneath ()->execution_direction ();
2700 fprintf_unfiltered (gdb_stdlog
, "<- %s->execution_direction (", this->beneath ()->shortname ());
2701 fputs_unfiltered (") = ", gdb_stdlog
);
2702 target_debug_print_enum_exec_direction_kind (result
);
2703 fputs_unfiltered ("\n", gdb_stdlog
);
2708 target_ops::supports_multi_process ()
2710 return this->beneath ()->supports_multi_process ();
2714 dummy_target::supports_multi_process ()
2720 debug_target::supports_multi_process ()
2723 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_multi_process (...)\n", this->beneath ()->shortname ());
2724 result
= this->beneath ()->supports_multi_process ();
2725 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_multi_process (", this->beneath ()->shortname ());
2726 fputs_unfiltered (") = ", gdb_stdlog
);
2727 target_debug_print_bool (result
);
2728 fputs_unfiltered ("\n", gdb_stdlog
);
2733 target_ops::supports_enable_disable_tracepoint ()
2735 return this->beneath ()->supports_enable_disable_tracepoint ();
2739 dummy_target::supports_enable_disable_tracepoint ()
2745 debug_target::supports_enable_disable_tracepoint ()
2748 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath ()->shortname ());
2749 result
= this->beneath ()->supports_enable_disable_tracepoint ();
2750 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_enable_disable_tracepoint (", this->beneath ()->shortname ());
2751 fputs_unfiltered (") = ", gdb_stdlog
);
2752 target_debug_print_bool (result
);
2753 fputs_unfiltered ("\n", gdb_stdlog
);
2758 target_ops::supports_disable_randomization ()
2760 return this->beneath ()->supports_disable_randomization ();
2764 dummy_target::supports_disable_randomization ()
2766 return find_default_supports_disable_randomization (this);
2770 debug_target::supports_disable_randomization ()
2773 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_disable_randomization (...)\n", this->beneath ()->shortname ());
2774 result
= this->beneath ()->supports_disable_randomization ();
2775 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_disable_randomization (", this->beneath ()->shortname ());
2776 fputs_unfiltered (") = ", gdb_stdlog
);
2777 target_debug_print_bool (result
);
2778 fputs_unfiltered ("\n", gdb_stdlog
);
2783 target_ops::supports_string_tracing ()
2785 return this->beneath ()->supports_string_tracing ();
2789 dummy_target::supports_string_tracing ()
2795 debug_target::supports_string_tracing ()
2798 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_string_tracing (...)\n", this->beneath ()->shortname ());
2799 result
= this->beneath ()->supports_string_tracing ();
2800 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_string_tracing (", this->beneath ()->shortname ());
2801 fputs_unfiltered (") = ", gdb_stdlog
);
2802 target_debug_print_bool (result
);
2803 fputs_unfiltered ("\n", gdb_stdlog
);
2808 target_ops::supports_evaluation_of_breakpoint_conditions ()
2810 return this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2814 dummy_target::supports_evaluation_of_breakpoint_conditions ()
2820 debug_target::supports_evaluation_of_breakpoint_conditions ()
2823 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath ()->shortname ());
2824 result
= this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2825 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath ()->shortname ());
2826 fputs_unfiltered (") = ", gdb_stdlog
);
2827 target_debug_print_bool (result
);
2828 fputs_unfiltered ("\n", gdb_stdlog
);
2833 target_ops::can_run_breakpoint_commands ()
2835 return this->beneath ()->can_run_breakpoint_commands ();
2839 dummy_target::can_run_breakpoint_commands ()
2845 debug_target::can_run_breakpoint_commands ()
2848 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath ()->shortname ());
2849 result
= this->beneath ()->can_run_breakpoint_commands ();
2850 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_run_breakpoint_commands (", this->beneath ()->shortname ());
2851 fputs_unfiltered (") = ", gdb_stdlog
);
2852 target_debug_print_bool (result
);
2853 fputs_unfiltered ("\n", gdb_stdlog
);
2858 target_ops::thread_architecture (ptid_t arg0
)
2860 return this->beneath ()->thread_architecture (arg0
);
2864 dummy_target::thread_architecture (ptid_t arg0
)
2870 debug_target::thread_architecture (ptid_t arg0
)
2872 struct gdbarch
* result
;
2873 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_architecture (...)\n", this->beneath ()->shortname ());
2874 result
= this->beneath ()->thread_architecture (arg0
);
2875 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_architecture (", this->beneath ()->shortname ());
2876 target_debug_print_ptid_t (arg0
);
2877 fputs_unfiltered (") = ", gdb_stdlog
);
2878 target_debug_print_struct_gdbarch_p (result
);
2879 fputs_unfiltered ("\n", gdb_stdlog
);
2883 struct address_space
*
2884 target_ops::thread_address_space (ptid_t arg0
)
2886 return this->beneath ()->thread_address_space (arg0
);
2889 struct address_space
*
2890 dummy_target::thread_address_space (ptid_t arg0
)
2895 struct address_space
*
2896 debug_target::thread_address_space (ptid_t arg0
)
2898 struct address_space
* result
;
2899 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_address_space (...)\n", this->beneath ()->shortname ());
2900 result
= this->beneath ()->thread_address_space (arg0
);
2901 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_address_space (", this->beneath ()->shortname ());
2902 target_debug_print_ptid_t (arg0
);
2903 fputs_unfiltered (") = ", gdb_stdlog
);
2904 target_debug_print_struct_address_space_p (result
);
2905 fputs_unfiltered ("\n", gdb_stdlog
);
2910 target_ops::filesystem_is_local ()
2912 return this->beneath ()->filesystem_is_local ();
2916 dummy_target::filesystem_is_local ()
2922 debug_target::filesystem_is_local ()
2925 fprintf_unfiltered (gdb_stdlog
, "-> %s->filesystem_is_local (...)\n", this->beneath ()->shortname ());
2926 result
= this->beneath ()->filesystem_is_local ();
2927 fprintf_unfiltered (gdb_stdlog
, "<- %s->filesystem_is_local (", this->beneath ()->shortname ());
2928 fputs_unfiltered (") = ", gdb_stdlog
);
2929 target_debug_print_bool (result
);
2930 fputs_unfiltered ("\n", gdb_stdlog
);
2935 target_ops::trace_init ()
2937 this->beneath ()->trace_init ();
2941 dummy_target::trace_init ()
2947 debug_target::trace_init ()
2949 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_init (...)\n", this->beneath ()->shortname ());
2950 this->beneath ()->trace_init ();
2951 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_init (", this->beneath ()->shortname ());
2952 fputs_unfiltered (")\n", gdb_stdlog
);
2956 target_ops::download_tracepoint (struct bp_location
*arg0
)
2958 this->beneath ()->download_tracepoint (arg0
);
2962 dummy_target::download_tracepoint (struct bp_location
*arg0
)
2968 debug_target::download_tracepoint (struct bp_location
*arg0
)
2970 fprintf_unfiltered (gdb_stdlog
, "-> %s->download_tracepoint (...)\n", this->beneath ()->shortname ());
2971 this->beneath ()->download_tracepoint (arg0
);
2972 fprintf_unfiltered (gdb_stdlog
, "<- %s->download_tracepoint (", this->beneath ()->shortname ());
2973 target_debug_print_struct_bp_location_p (arg0
);
2974 fputs_unfiltered (")\n", gdb_stdlog
);
2978 target_ops::can_download_tracepoint ()
2980 return this->beneath ()->can_download_tracepoint ();
2984 dummy_target::can_download_tracepoint ()
2990 debug_target::can_download_tracepoint ()
2993 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_download_tracepoint (...)\n", this->beneath ()->shortname ());
2994 result
= this->beneath ()->can_download_tracepoint ();
2995 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_download_tracepoint (", this->beneath ()->shortname ());
2996 fputs_unfiltered (") = ", gdb_stdlog
);
2997 target_debug_print_bool (result
);
2998 fputs_unfiltered ("\n", gdb_stdlog
);
3003 target_ops::download_trace_state_variable (const trace_state_variable
&arg0
)
3005 this->beneath ()->download_trace_state_variable (arg0
);
3009 dummy_target::download_trace_state_variable (const trace_state_variable
&arg0
)
3015 debug_target::download_trace_state_variable (const trace_state_variable
&arg0
)
3017 fprintf_unfiltered (gdb_stdlog
, "-> %s->download_trace_state_variable (...)\n", this->beneath ()->shortname ());
3018 this->beneath ()->download_trace_state_variable (arg0
);
3019 fprintf_unfiltered (gdb_stdlog
, "<- %s->download_trace_state_variable (", this->beneath ()->shortname ());
3020 target_debug_print_const_trace_state_variable_r (arg0
);
3021 fputs_unfiltered (")\n", gdb_stdlog
);
3025 target_ops::enable_tracepoint (struct bp_location
*arg0
)
3027 this->beneath ()->enable_tracepoint (arg0
);
3031 dummy_target::enable_tracepoint (struct bp_location
*arg0
)
3037 debug_target::enable_tracepoint (struct bp_location
*arg0
)
3039 fprintf_unfiltered (gdb_stdlog
, "-> %s->enable_tracepoint (...)\n", this->beneath ()->shortname ());
3040 this->beneath ()->enable_tracepoint (arg0
);
3041 fprintf_unfiltered (gdb_stdlog
, "<- %s->enable_tracepoint (", this->beneath ()->shortname ());
3042 target_debug_print_struct_bp_location_p (arg0
);
3043 fputs_unfiltered (")\n", gdb_stdlog
);
3047 target_ops::disable_tracepoint (struct bp_location
*arg0
)
3049 this->beneath ()->disable_tracepoint (arg0
);
3053 dummy_target::disable_tracepoint (struct bp_location
*arg0
)
3059 debug_target::disable_tracepoint (struct bp_location
*arg0
)
3061 fprintf_unfiltered (gdb_stdlog
, "-> %s->disable_tracepoint (...)\n", this->beneath ()->shortname ());
3062 this->beneath ()->disable_tracepoint (arg0
);
3063 fprintf_unfiltered (gdb_stdlog
, "<- %s->disable_tracepoint (", this->beneath ()->shortname ());
3064 target_debug_print_struct_bp_location_p (arg0
);
3065 fputs_unfiltered (")\n", gdb_stdlog
);
3069 target_ops::trace_set_readonly_regions ()
3071 this->beneath ()->trace_set_readonly_regions ();
3075 dummy_target::trace_set_readonly_regions ()
3081 debug_target::trace_set_readonly_regions ()
3083 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_set_readonly_regions (...)\n", this->beneath ()->shortname ());
3084 this->beneath ()->trace_set_readonly_regions ();
3085 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_set_readonly_regions (", this->beneath ()->shortname ());
3086 fputs_unfiltered (")\n", gdb_stdlog
);
3090 target_ops::trace_start ()
3092 this->beneath ()->trace_start ();
3096 dummy_target::trace_start ()
3102 debug_target::trace_start ()
3104 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_start (...)\n", this->beneath ()->shortname ());
3105 this->beneath ()->trace_start ();
3106 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_start (", this->beneath ()->shortname ());
3107 fputs_unfiltered (")\n", gdb_stdlog
);
3111 target_ops::get_trace_status (struct trace_status
*arg0
)
3113 return this->beneath ()->get_trace_status (arg0
);
3117 dummy_target::get_trace_status (struct trace_status
*arg0
)
3123 debug_target::get_trace_status (struct trace_status
*arg0
)
3126 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_trace_status (...)\n", this->beneath ()->shortname ());
3127 result
= this->beneath ()->get_trace_status (arg0
);
3128 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_trace_status (", this->beneath ()->shortname ());
3129 target_debug_print_struct_trace_status_p (arg0
);
3130 fputs_unfiltered (") = ", gdb_stdlog
);
3131 target_debug_print_int (result
);
3132 fputs_unfiltered ("\n", gdb_stdlog
);
3137 target_ops::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3139 this->beneath ()->get_tracepoint_status (arg0
, arg1
);
3143 dummy_target::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3149 debug_target::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3151 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tracepoint_status (...)\n", this->beneath ()->shortname ());
3152 this->beneath ()->get_tracepoint_status (arg0
, arg1
);
3153 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tracepoint_status (", this->beneath ()->shortname ());
3154 target_debug_print_struct_breakpoint_p (arg0
);
3155 fputs_unfiltered (", ", gdb_stdlog
);
3156 target_debug_print_struct_uploaded_tp_p (arg1
);
3157 fputs_unfiltered (")\n", gdb_stdlog
);
3161 target_ops::trace_stop ()
3163 this->beneath ()->trace_stop ();
3167 dummy_target::trace_stop ()
3173 debug_target::trace_stop ()
3175 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_stop (...)\n", this->beneath ()->shortname ());
3176 this->beneath ()->trace_stop ();
3177 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_stop (", this->beneath ()->shortname ());
3178 fputs_unfiltered (")\n", gdb_stdlog
);
3182 target_ops::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3184 return this->beneath ()->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3188 dummy_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3194 debug_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3197 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_find (...)\n", this->beneath ()->shortname ());
3198 result
= this->beneath ()->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3199 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_find (", this->beneath ()->shortname ());
3200 target_debug_print_enum_trace_find_type (arg0
);
3201 fputs_unfiltered (", ", gdb_stdlog
);
3202 target_debug_print_int (arg1
);
3203 fputs_unfiltered (", ", gdb_stdlog
);
3204 target_debug_print_CORE_ADDR (arg2
);
3205 fputs_unfiltered (", ", gdb_stdlog
);
3206 target_debug_print_CORE_ADDR (arg3
);
3207 fputs_unfiltered (", ", gdb_stdlog
);
3208 target_debug_print_int_p (arg4
);
3209 fputs_unfiltered (") = ", gdb_stdlog
);
3210 target_debug_print_int (result
);
3211 fputs_unfiltered ("\n", gdb_stdlog
);
3216 target_ops::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3218 return this->beneath ()->get_trace_state_variable_value (arg0
, arg1
);
3222 dummy_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3228 debug_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3231 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_trace_state_variable_value (...)\n", this->beneath ()->shortname ());
3232 result
= this->beneath ()->get_trace_state_variable_value (arg0
, arg1
);
3233 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_trace_state_variable_value (", this->beneath ()->shortname ());
3234 target_debug_print_int (arg0
);
3235 fputs_unfiltered (", ", gdb_stdlog
);
3236 target_debug_print_LONGEST_p (arg1
);
3237 fputs_unfiltered (") = ", gdb_stdlog
);
3238 target_debug_print_bool (result
);
3239 fputs_unfiltered ("\n", gdb_stdlog
);
3244 target_ops::save_trace_data (const char *arg0
)
3246 return this->beneath ()->save_trace_data (arg0
);
3250 dummy_target::save_trace_data (const char *arg0
)
3256 debug_target::save_trace_data (const char *arg0
)
3259 fprintf_unfiltered (gdb_stdlog
, "-> %s->save_trace_data (...)\n", this->beneath ()->shortname ());
3260 result
= this->beneath ()->save_trace_data (arg0
);
3261 fprintf_unfiltered (gdb_stdlog
, "<- %s->save_trace_data (", this->beneath ()->shortname ());
3262 target_debug_print_const_char_p (arg0
);
3263 fputs_unfiltered (") = ", gdb_stdlog
);
3264 target_debug_print_int (result
);
3265 fputs_unfiltered ("\n", gdb_stdlog
);
3270 target_ops::upload_tracepoints (struct uploaded_tp
**arg0
)
3272 return this->beneath ()->upload_tracepoints (arg0
);
3276 dummy_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3282 debug_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3285 fprintf_unfiltered (gdb_stdlog
, "-> %s->upload_tracepoints (...)\n", this->beneath ()->shortname ());
3286 result
= this->beneath ()->upload_tracepoints (arg0
);
3287 fprintf_unfiltered (gdb_stdlog
, "<- %s->upload_tracepoints (", this->beneath ()->shortname ());
3288 target_debug_print_struct_uploaded_tp_pp (arg0
);
3289 fputs_unfiltered (") = ", gdb_stdlog
);
3290 target_debug_print_int (result
);
3291 fputs_unfiltered ("\n", gdb_stdlog
);
3296 target_ops::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3298 return this->beneath ()->upload_trace_state_variables (arg0
);
3302 dummy_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3308 debug_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3311 fprintf_unfiltered (gdb_stdlog
, "-> %s->upload_trace_state_variables (...)\n", this->beneath ()->shortname ());
3312 result
= this->beneath ()->upload_trace_state_variables (arg0
);
3313 fprintf_unfiltered (gdb_stdlog
, "<- %s->upload_trace_state_variables (", this->beneath ()->shortname ());
3314 target_debug_print_struct_uploaded_tsv_pp (arg0
);
3315 fputs_unfiltered (") = ", gdb_stdlog
);
3316 target_debug_print_int (result
);
3317 fputs_unfiltered ("\n", gdb_stdlog
);
3322 target_ops::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3324 return this->beneath ()->get_raw_trace_data (arg0
, arg1
, arg2
);
3328 dummy_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3334 debug_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3337 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_raw_trace_data (...)\n", this->beneath ()->shortname ());
3338 result
= this->beneath ()->get_raw_trace_data (arg0
, arg1
, arg2
);
3339 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_raw_trace_data (", this->beneath ()->shortname ());
3340 target_debug_print_gdb_byte_p (arg0
);
3341 fputs_unfiltered (", ", gdb_stdlog
);
3342 target_debug_print_ULONGEST (arg1
);
3343 fputs_unfiltered (", ", gdb_stdlog
);
3344 target_debug_print_LONGEST (arg2
);
3345 fputs_unfiltered (") = ", gdb_stdlog
);
3346 target_debug_print_LONGEST (result
);
3347 fputs_unfiltered ("\n", gdb_stdlog
);
3352 target_ops::get_min_fast_tracepoint_insn_len ()
3354 return this->beneath ()->get_min_fast_tracepoint_insn_len ();
3358 dummy_target::get_min_fast_tracepoint_insn_len ()
3364 debug_target::get_min_fast_tracepoint_insn_len ()
3367 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath ()->shortname ());
3368 result
= this->beneath ()->get_min_fast_tracepoint_insn_len ();
3369 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath ()->shortname ());
3370 fputs_unfiltered (") = ", gdb_stdlog
);
3371 target_debug_print_int (result
);
3372 fputs_unfiltered ("\n", gdb_stdlog
);
3377 target_ops::set_disconnected_tracing (int arg0
)
3379 this->beneath ()->set_disconnected_tracing (arg0
);
3383 dummy_target::set_disconnected_tracing (int arg0
)
3388 debug_target::set_disconnected_tracing (int arg0
)
3390 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_disconnected_tracing (...)\n", this->beneath ()->shortname ());
3391 this->beneath ()->set_disconnected_tracing (arg0
);
3392 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_disconnected_tracing (", this->beneath ()->shortname ());
3393 target_debug_print_int (arg0
);
3394 fputs_unfiltered (")\n", gdb_stdlog
);
3398 target_ops::set_circular_trace_buffer (int arg0
)
3400 this->beneath ()->set_circular_trace_buffer (arg0
);
3404 dummy_target::set_circular_trace_buffer (int arg0
)
3409 debug_target::set_circular_trace_buffer (int arg0
)
3411 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_circular_trace_buffer (...)\n", this->beneath ()->shortname ());
3412 this->beneath ()->set_circular_trace_buffer (arg0
);
3413 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_circular_trace_buffer (", this->beneath ()->shortname ());
3414 target_debug_print_int (arg0
);
3415 fputs_unfiltered (")\n", gdb_stdlog
);
3419 target_ops::set_trace_buffer_size (LONGEST arg0
)
3421 this->beneath ()->set_trace_buffer_size (arg0
);
3425 dummy_target::set_trace_buffer_size (LONGEST arg0
)
3430 debug_target::set_trace_buffer_size (LONGEST arg0
)
3432 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_trace_buffer_size (...)\n", this->beneath ()->shortname ());
3433 this->beneath ()->set_trace_buffer_size (arg0
);
3434 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_trace_buffer_size (", this->beneath ()->shortname ());
3435 target_debug_print_LONGEST (arg0
);
3436 fputs_unfiltered (")\n", gdb_stdlog
);
3440 target_ops::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3442 return this->beneath ()->set_trace_notes (arg0
, arg1
, arg2
);
3446 dummy_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3452 debug_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3455 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_trace_notes (...)\n", this->beneath ()->shortname ());
3456 result
= this->beneath ()->set_trace_notes (arg0
, arg1
, arg2
);
3457 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_trace_notes (", this->beneath ()->shortname ());
3458 target_debug_print_const_char_p (arg0
);
3459 fputs_unfiltered (", ", gdb_stdlog
);
3460 target_debug_print_const_char_p (arg1
);
3461 fputs_unfiltered (", ", gdb_stdlog
);
3462 target_debug_print_const_char_p (arg2
);
3463 fputs_unfiltered (") = ", gdb_stdlog
);
3464 target_debug_print_bool (result
);
3465 fputs_unfiltered ("\n", gdb_stdlog
);
3470 target_ops::core_of_thread (ptid_t arg0
)
3472 return this->beneath ()->core_of_thread (arg0
);
3476 dummy_target::core_of_thread (ptid_t arg0
)
3482 debug_target::core_of_thread (ptid_t arg0
)
3485 fprintf_unfiltered (gdb_stdlog
, "-> %s->core_of_thread (...)\n", this->beneath ()->shortname ());
3486 result
= this->beneath ()->core_of_thread (arg0
);
3487 fprintf_unfiltered (gdb_stdlog
, "<- %s->core_of_thread (", this->beneath ()->shortname ());
3488 target_debug_print_ptid_t (arg0
);
3489 fputs_unfiltered (") = ", gdb_stdlog
);
3490 target_debug_print_int (result
);
3491 fputs_unfiltered ("\n", gdb_stdlog
);
3496 target_ops::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3498 return this->beneath ()->verify_memory (arg0
, arg1
, arg2
);
3502 dummy_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3504 return default_verify_memory (this, arg0
, arg1
, arg2
);
3508 debug_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3511 fprintf_unfiltered (gdb_stdlog
, "-> %s->verify_memory (...)\n", this->beneath ()->shortname ());
3512 result
= this->beneath ()->verify_memory (arg0
, arg1
, arg2
);
3513 fprintf_unfiltered (gdb_stdlog
, "<- %s->verify_memory (", this->beneath ()->shortname ());
3514 target_debug_print_const_gdb_byte_p (arg0
);
3515 fputs_unfiltered (", ", gdb_stdlog
);
3516 target_debug_print_CORE_ADDR (arg1
);
3517 fputs_unfiltered (", ", gdb_stdlog
);
3518 target_debug_print_ULONGEST (arg2
);
3519 fputs_unfiltered (") = ", gdb_stdlog
);
3520 target_debug_print_int (result
);
3521 fputs_unfiltered ("\n", gdb_stdlog
);
3526 target_ops::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3528 return this->beneath ()->get_tib_address (arg0
, arg1
);
3532 dummy_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3538 debug_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3541 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tib_address (...)\n", this->beneath ()->shortname ());
3542 result
= this->beneath ()->get_tib_address (arg0
, arg1
);
3543 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tib_address (", this->beneath ()->shortname ());
3544 target_debug_print_ptid_t (arg0
);
3545 fputs_unfiltered (", ", gdb_stdlog
);
3546 target_debug_print_CORE_ADDR_p (arg1
);
3547 fputs_unfiltered (") = ", gdb_stdlog
);
3548 target_debug_print_bool (result
);
3549 fputs_unfiltered ("\n", gdb_stdlog
);
3554 target_ops::set_permissions ()
3556 this->beneath ()->set_permissions ();
3560 dummy_target::set_permissions ()
3565 debug_target::set_permissions ()
3567 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_permissions (...)\n", this->beneath ()->shortname ());
3568 this->beneath ()->set_permissions ();
3569 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_permissions (", this->beneath ()->shortname ());
3570 fputs_unfiltered (")\n", gdb_stdlog
);
3574 target_ops::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3576 return this->beneath ()->static_tracepoint_marker_at (arg0
, arg1
);
3580 dummy_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3586 debug_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3589 fprintf_unfiltered (gdb_stdlog
, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath ()->shortname ());
3590 result
= this->beneath ()->static_tracepoint_marker_at (arg0
, arg1
);
3591 fprintf_unfiltered (gdb_stdlog
, "<- %s->static_tracepoint_marker_at (", this->beneath ()->shortname ());
3592 target_debug_print_CORE_ADDR (arg0
);
3593 fputs_unfiltered (", ", gdb_stdlog
);
3594 target_debug_print_static_tracepoint_marker_p (arg1
);
3595 fputs_unfiltered (") = ", gdb_stdlog
);
3596 target_debug_print_bool (result
);
3597 fputs_unfiltered ("\n", gdb_stdlog
);
3601 std::vector
<static_tracepoint_marker
>
3602 target_ops::static_tracepoint_markers_by_strid (const char *arg0
)
3604 return this->beneath ()->static_tracepoint_markers_by_strid (arg0
);
3607 std::vector
<static_tracepoint_marker
>
3608 dummy_target::static_tracepoint_markers_by_strid (const char *arg0
)
3613 std::vector
<static_tracepoint_marker
>
3614 debug_target::static_tracepoint_markers_by_strid (const char *arg0
)
3616 std::vector
<static_tracepoint_marker
> result
;
3617 fprintf_unfiltered (gdb_stdlog
, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath ()->shortname ());
3618 result
= this->beneath ()->static_tracepoint_markers_by_strid (arg0
);
3619 fprintf_unfiltered (gdb_stdlog
, "<- %s->static_tracepoint_markers_by_strid (", this->beneath ()->shortname ());
3620 target_debug_print_const_char_p (arg0
);
3621 fputs_unfiltered (") = ", gdb_stdlog
);
3622 target_debug_print_std_vector_static_tracepoint_marker (result
);
3623 fputs_unfiltered ("\n", gdb_stdlog
);
3628 target_ops::traceframe_info ()
3630 return this->beneath ()->traceframe_info ();
3634 dummy_target::traceframe_info ()
3640 debug_target::traceframe_info ()
3642 traceframe_info_up result
;
3643 fprintf_unfiltered (gdb_stdlog
, "-> %s->traceframe_info (...)\n", this->beneath ()->shortname ());
3644 result
= this->beneath ()->traceframe_info ();
3645 fprintf_unfiltered (gdb_stdlog
, "<- %s->traceframe_info (", this->beneath ()->shortname ());
3646 fputs_unfiltered (") = ", gdb_stdlog
);
3647 target_debug_print_traceframe_info_up (result
);
3648 fputs_unfiltered ("\n", gdb_stdlog
);
3653 target_ops::use_agent (bool arg0
)
3655 return this->beneath ()->use_agent (arg0
);
3659 dummy_target::use_agent (bool arg0
)
3665 debug_target::use_agent (bool arg0
)
3668 fprintf_unfiltered (gdb_stdlog
, "-> %s->use_agent (...)\n", this->beneath ()->shortname ());
3669 result
= this->beneath ()->use_agent (arg0
);
3670 fprintf_unfiltered (gdb_stdlog
, "<- %s->use_agent (", this->beneath ()->shortname ());
3671 target_debug_print_bool (arg0
);
3672 fputs_unfiltered (") = ", gdb_stdlog
);
3673 target_debug_print_bool (result
);
3674 fputs_unfiltered ("\n", gdb_stdlog
);
3679 target_ops::can_use_agent ()
3681 return this->beneath ()->can_use_agent ();
3685 dummy_target::can_use_agent ()
3691 debug_target::can_use_agent ()
3694 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_use_agent (...)\n", this->beneath ()->shortname ());
3695 result
= this->beneath ()->can_use_agent ();
3696 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_use_agent (", this->beneath ()->shortname ());
3697 fputs_unfiltered (") = ", gdb_stdlog
);
3698 target_debug_print_bool (result
);
3699 fputs_unfiltered ("\n", gdb_stdlog
);
3703 struct btrace_target_info
*
3704 target_ops::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3706 return this->beneath ()->enable_btrace (arg0
, arg1
);
3709 struct btrace_target_info
*
3710 dummy_target::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3715 struct btrace_target_info
*
3716 debug_target::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3718 struct btrace_target_info
* result
;
3719 fprintf_unfiltered (gdb_stdlog
, "-> %s->enable_btrace (...)\n", this->beneath ()->shortname ());
3720 result
= this->beneath ()->enable_btrace (arg0
, arg1
);
3721 fprintf_unfiltered (gdb_stdlog
, "<- %s->enable_btrace (", this->beneath ()->shortname ());
3722 target_debug_print_ptid_t (arg0
);
3723 fputs_unfiltered (", ", gdb_stdlog
);
3724 target_debug_print_const_struct_btrace_config_p (arg1
);
3725 fputs_unfiltered (") = ", gdb_stdlog
);
3726 target_debug_print_struct_btrace_target_info_p (result
);
3727 fputs_unfiltered ("\n", gdb_stdlog
);
3732 target_ops::disable_btrace (struct btrace_target_info
*arg0
)
3734 this->beneath ()->disable_btrace (arg0
);
3738 dummy_target::disable_btrace (struct btrace_target_info
*arg0
)
3744 debug_target::disable_btrace (struct btrace_target_info
*arg0
)
3746 fprintf_unfiltered (gdb_stdlog
, "-> %s->disable_btrace (...)\n", this->beneath ()->shortname ());
3747 this->beneath ()->disable_btrace (arg0
);
3748 fprintf_unfiltered (gdb_stdlog
, "<- %s->disable_btrace (", this->beneath ()->shortname ());
3749 target_debug_print_struct_btrace_target_info_p (arg0
);
3750 fputs_unfiltered (")\n", gdb_stdlog
);
3754 target_ops::teardown_btrace (struct btrace_target_info
*arg0
)
3756 this->beneath ()->teardown_btrace (arg0
);
3760 dummy_target::teardown_btrace (struct btrace_target_info
*arg0
)
3766 debug_target::teardown_btrace (struct btrace_target_info
*arg0
)
3768 fprintf_unfiltered (gdb_stdlog
, "-> %s->teardown_btrace (...)\n", this->beneath ()->shortname ());
3769 this->beneath ()->teardown_btrace (arg0
);
3770 fprintf_unfiltered (gdb_stdlog
, "<- %s->teardown_btrace (", this->beneath ()->shortname ());
3771 target_debug_print_struct_btrace_target_info_p (arg0
);
3772 fputs_unfiltered (")\n", gdb_stdlog
);
3776 target_ops::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3778 return this->beneath ()->read_btrace (arg0
, arg1
, arg2
);
3782 dummy_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3788 debug_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3790 enum btrace_error result
;
3791 fprintf_unfiltered (gdb_stdlog
, "-> %s->read_btrace (...)\n", this->beneath ()->shortname ());
3792 result
= this->beneath ()->read_btrace (arg0
, arg1
, arg2
);
3793 fprintf_unfiltered (gdb_stdlog
, "<- %s->read_btrace (", this->beneath ()->shortname ());
3794 target_debug_print_struct_btrace_data_p (arg0
);
3795 fputs_unfiltered (", ", gdb_stdlog
);
3796 target_debug_print_struct_btrace_target_info_p (arg1
);
3797 fputs_unfiltered (", ", gdb_stdlog
);
3798 target_debug_print_enum_btrace_read_type (arg2
);
3799 fputs_unfiltered (") = ", gdb_stdlog
);
3800 target_debug_print_enum_btrace_error (result
);
3801 fputs_unfiltered ("\n", gdb_stdlog
);
3805 const struct btrace_config
*
3806 target_ops::btrace_conf (const struct btrace_target_info
*arg0
)
3808 return this->beneath ()->btrace_conf (arg0
);
3811 const struct btrace_config
*
3812 dummy_target::btrace_conf (const struct btrace_target_info
*arg0
)
3817 const struct btrace_config
*
3818 debug_target::btrace_conf (const struct btrace_target_info
*arg0
)
3820 const struct btrace_config
* result
;
3821 fprintf_unfiltered (gdb_stdlog
, "-> %s->btrace_conf (...)\n", this->beneath ()->shortname ());
3822 result
= this->beneath ()->btrace_conf (arg0
);
3823 fprintf_unfiltered (gdb_stdlog
, "<- %s->btrace_conf (", this->beneath ()->shortname ());
3824 target_debug_print_const_struct_btrace_target_info_p (arg0
);
3825 fputs_unfiltered (") = ", gdb_stdlog
);
3826 target_debug_print_const_struct_btrace_config_p (result
);
3827 fputs_unfiltered ("\n", gdb_stdlog
);
3832 target_ops::record_method (ptid_t arg0
)
3834 return this->beneath ()->record_method (arg0
);
3838 dummy_target::record_method (ptid_t arg0
)
3840 return RECORD_METHOD_NONE
;
3844 debug_target::record_method (ptid_t arg0
)
3846 enum record_method result
;
3847 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_method (...)\n", this->beneath ()->shortname ());
3848 result
= this->beneath ()->record_method (arg0
);
3849 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_method (", this->beneath ()->shortname ());
3850 target_debug_print_ptid_t (arg0
);
3851 fputs_unfiltered (") = ", gdb_stdlog
);
3852 target_debug_print_enum_record_method (result
);
3853 fputs_unfiltered ("\n", gdb_stdlog
);
3858 target_ops::stop_recording ()
3860 this->beneath ()->stop_recording ();
3864 dummy_target::stop_recording ()
3869 debug_target::stop_recording ()
3871 fprintf_unfiltered (gdb_stdlog
, "-> %s->stop_recording (...)\n", this->beneath ()->shortname ());
3872 this->beneath ()->stop_recording ();
3873 fprintf_unfiltered (gdb_stdlog
, "<- %s->stop_recording (", this->beneath ()->shortname ());
3874 fputs_unfiltered (")\n", gdb_stdlog
);
3878 target_ops::info_record ()
3880 this->beneath ()->info_record ();
3884 dummy_target::info_record ()
3889 debug_target::info_record ()
3891 fprintf_unfiltered (gdb_stdlog
, "-> %s->info_record (...)\n", this->beneath ()->shortname ());
3892 this->beneath ()->info_record ();
3893 fprintf_unfiltered (gdb_stdlog
, "<- %s->info_record (", this->beneath ()->shortname ());
3894 fputs_unfiltered (")\n", gdb_stdlog
);
3898 target_ops::save_record (const char *arg0
)
3900 this->beneath ()->save_record (arg0
);
3904 dummy_target::save_record (const char *arg0
)
3910 debug_target::save_record (const char *arg0
)
3912 fprintf_unfiltered (gdb_stdlog
, "-> %s->save_record (...)\n", this->beneath ()->shortname ());
3913 this->beneath ()->save_record (arg0
);
3914 fprintf_unfiltered (gdb_stdlog
, "<- %s->save_record (", this->beneath ()->shortname ());
3915 target_debug_print_const_char_p (arg0
);
3916 fputs_unfiltered (")\n", gdb_stdlog
);
3920 target_ops::supports_delete_record ()
3922 return this->beneath ()->supports_delete_record ();
3926 dummy_target::supports_delete_record ()
3932 debug_target::supports_delete_record ()
3935 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_delete_record (...)\n", this->beneath ()->shortname ());
3936 result
= this->beneath ()->supports_delete_record ();
3937 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_delete_record (", this->beneath ()->shortname ());
3938 fputs_unfiltered (") = ", gdb_stdlog
);
3939 target_debug_print_bool (result
);
3940 fputs_unfiltered ("\n", gdb_stdlog
);
3945 target_ops::delete_record ()
3947 this->beneath ()->delete_record ();
3951 dummy_target::delete_record ()
3957 debug_target::delete_record ()
3959 fprintf_unfiltered (gdb_stdlog
, "-> %s->delete_record (...)\n", this->beneath ()->shortname ());
3960 this->beneath ()->delete_record ();
3961 fprintf_unfiltered (gdb_stdlog
, "<- %s->delete_record (", this->beneath ()->shortname ());
3962 fputs_unfiltered (")\n", gdb_stdlog
);
3966 target_ops::record_is_replaying (ptid_t arg0
)
3968 return this->beneath ()->record_is_replaying (arg0
);
3972 dummy_target::record_is_replaying (ptid_t arg0
)
3978 debug_target::record_is_replaying (ptid_t arg0
)
3981 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_is_replaying (...)\n", this->beneath ()->shortname ());
3982 result
= this->beneath ()->record_is_replaying (arg0
);
3983 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_is_replaying (", this->beneath ()->shortname ());
3984 target_debug_print_ptid_t (arg0
);
3985 fputs_unfiltered (") = ", gdb_stdlog
);
3986 target_debug_print_bool (result
);
3987 fputs_unfiltered ("\n", gdb_stdlog
);
3992 target_ops::record_will_replay (ptid_t arg0
, int arg1
)
3994 return this->beneath ()->record_will_replay (arg0
, arg1
);
3998 dummy_target::record_will_replay (ptid_t arg0
, int arg1
)
4004 debug_target::record_will_replay (ptid_t arg0
, int arg1
)
4007 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_will_replay (...)\n", this->beneath ()->shortname ());
4008 result
= this->beneath ()->record_will_replay (arg0
, arg1
);
4009 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_will_replay (", this->beneath ()->shortname ());
4010 target_debug_print_ptid_t (arg0
);
4011 fputs_unfiltered (", ", gdb_stdlog
);
4012 target_debug_print_int (arg1
);
4013 fputs_unfiltered (") = ", gdb_stdlog
);
4014 target_debug_print_bool (result
);
4015 fputs_unfiltered ("\n", gdb_stdlog
);
4020 target_ops::record_stop_replaying ()
4022 this->beneath ()->record_stop_replaying ();
4026 dummy_target::record_stop_replaying ()
4031 debug_target::record_stop_replaying ()
4033 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_stop_replaying (...)\n", this->beneath ()->shortname ());
4034 this->beneath ()->record_stop_replaying ();
4035 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_stop_replaying (", this->beneath ()->shortname ());
4036 fputs_unfiltered (")\n", gdb_stdlog
);
4040 target_ops::goto_record_begin ()
4042 this->beneath ()->goto_record_begin ();
4046 dummy_target::goto_record_begin ()
4052 debug_target::goto_record_begin ()
4054 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record_begin (...)\n", this->beneath ()->shortname ());
4055 this->beneath ()->goto_record_begin ();
4056 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record_begin (", this->beneath ()->shortname ());
4057 fputs_unfiltered (")\n", gdb_stdlog
);
4061 target_ops::goto_record_end ()
4063 this->beneath ()->goto_record_end ();
4067 dummy_target::goto_record_end ()
4073 debug_target::goto_record_end ()
4075 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record_end (...)\n", this->beneath ()->shortname ());
4076 this->beneath ()->goto_record_end ();
4077 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record_end (", this->beneath ()->shortname ());
4078 fputs_unfiltered (")\n", gdb_stdlog
);
4082 target_ops::goto_record (ULONGEST arg0
)
4084 this->beneath ()->goto_record (arg0
);
4088 dummy_target::goto_record (ULONGEST arg0
)
4094 debug_target::goto_record (ULONGEST arg0
)
4096 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record (...)\n", this->beneath ()->shortname ());
4097 this->beneath ()->goto_record (arg0
);
4098 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record (", this->beneath ()->shortname ());
4099 target_debug_print_ULONGEST (arg0
);
4100 fputs_unfiltered (")\n", gdb_stdlog
);
4104 target_ops::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4106 this->beneath ()->insn_history (arg0
, arg1
);
4110 dummy_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4116 debug_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4118 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history (...)\n", this->beneath ()->shortname ());
4119 this->beneath ()->insn_history (arg0
, arg1
);
4120 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history (", this->beneath ()->shortname ());
4121 target_debug_print_int (arg0
);
4122 fputs_unfiltered (", ", gdb_stdlog
);
4123 target_debug_print_gdb_disassembly_flags (arg1
);
4124 fputs_unfiltered (")\n", gdb_stdlog
);
4128 target_ops::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4130 this->beneath ()->insn_history_from (arg0
, arg1
, arg2
);
4134 dummy_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4140 debug_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4142 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history_from (...)\n", this->beneath ()->shortname ());
4143 this->beneath ()->insn_history_from (arg0
, arg1
, arg2
);
4144 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history_from (", this->beneath ()->shortname ());
4145 target_debug_print_ULONGEST (arg0
);
4146 fputs_unfiltered (", ", gdb_stdlog
);
4147 target_debug_print_int (arg1
);
4148 fputs_unfiltered (", ", gdb_stdlog
);
4149 target_debug_print_gdb_disassembly_flags (arg2
);
4150 fputs_unfiltered (")\n", gdb_stdlog
);
4154 target_ops::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4156 this->beneath ()->insn_history_range (arg0
, arg1
, arg2
);
4160 dummy_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4166 debug_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4168 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history_range (...)\n", this->beneath ()->shortname ());
4169 this->beneath ()->insn_history_range (arg0
, arg1
, arg2
);
4170 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history_range (", this->beneath ()->shortname ());
4171 target_debug_print_ULONGEST (arg0
);
4172 fputs_unfiltered (", ", gdb_stdlog
);
4173 target_debug_print_ULONGEST (arg1
);
4174 fputs_unfiltered (", ", gdb_stdlog
);
4175 target_debug_print_gdb_disassembly_flags (arg2
);
4176 fputs_unfiltered (")\n", gdb_stdlog
);
4180 target_ops::call_history (int arg0
, record_print_flags arg1
)
4182 this->beneath ()->call_history (arg0
, arg1
);
4186 dummy_target::call_history (int arg0
, record_print_flags arg1
)
4192 debug_target::call_history (int arg0
, record_print_flags arg1
)
4194 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history (...)\n", this->beneath ()->shortname ());
4195 this->beneath ()->call_history (arg0
, arg1
);
4196 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history (", this->beneath ()->shortname ());
4197 target_debug_print_int (arg0
);
4198 fputs_unfiltered (", ", gdb_stdlog
);
4199 target_debug_print_record_print_flags (arg1
);
4200 fputs_unfiltered (")\n", gdb_stdlog
);
4204 target_ops::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4206 this->beneath ()->call_history_from (arg0
, arg1
, arg2
);
4210 dummy_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4216 debug_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4218 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history_from (...)\n", this->beneath ()->shortname ());
4219 this->beneath ()->call_history_from (arg0
, arg1
, arg2
);
4220 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history_from (", this->beneath ()->shortname ());
4221 target_debug_print_ULONGEST (arg0
);
4222 fputs_unfiltered (", ", gdb_stdlog
);
4223 target_debug_print_int (arg1
);
4224 fputs_unfiltered (", ", gdb_stdlog
);
4225 target_debug_print_record_print_flags (arg2
);
4226 fputs_unfiltered (")\n", gdb_stdlog
);
4230 target_ops::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4232 this->beneath ()->call_history_range (arg0
, arg1
, arg2
);
4236 dummy_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4242 debug_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4244 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history_range (...)\n", this->beneath ()->shortname ());
4245 this->beneath ()->call_history_range (arg0
, arg1
, arg2
);
4246 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history_range (", this->beneath ()->shortname ());
4247 target_debug_print_ULONGEST (arg0
);
4248 fputs_unfiltered (", ", gdb_stdlog
);
4249 target_debug_print_ULONGEST (arg1
);
4250 fputs_unfiltered (", ", gdb_stdlog
);
4251 target_debug_print_record_print_flags (arg2
);
4252 fputs_unfiltered (")\n", gdb_stdlog
);
4256 target_ops::augmented_libraries_svr4_read ()
4258 return this->beneath ()->augmented_libraries_svr4_read ();
4262 dummy_target::augmented_libraries_svr4_read ()
4268 debug_target::augmented_libraries_svr4_read ()
4271 fprintf_unfiltered (gdb_stdlog
, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath ()->shortname ());
4272 result
= this->beneath ()->augmented_libraries_svr4_read ();
4273 fprintf_unfiltered (gdb_stdlog
, "<- %s->augmented_libraries_svr4_read (", this->beneath ()->shortname ());
4274 fputs_unfiltered (") = ", gdb_stdlog
);
4275 target_debug_print_bool (result
);
4276 fputs_unfiltered ("\n", gdb_stdlog
);
4280 const struct frame_unwind
*
4281 target_ops::get_unwinder ()
4283 return this->beneath ()->get_unwinder ();
4286 const struct frame_unwind
*
4287 dummy_target::get_unwinder ()
4292 const struct frame_unwind
*
4293 debug_target::get_unwinder ()
4295 const struct frame_unwind
* result
;
4296 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_unwinder (...)\n", this->beneath ()->shortname ());
4297 result
= this->beneath ()->get_unwinder ();
4298 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_unwinder (", this->beneath ()->shortname ());
4299 fputs_unfiltered (") = ", gdb_stdlog
);
4300 target_debug_print_const_struct_frame_unwind_p (result
);
4301 fputs_unfiltered ("\n", gdb_stdlog
);
4305 const struct frame_unwind
*
4306 target_ops::get_tailcall_unwinder ()
4308 return this->beneath ()->get_tailcall_unwinder ();
4311 const struct frame_unwind
*
4312 dummy_target::get_tailcall_unwinder ()
4317 const struct frame_unwind
*
4318 debug_target::get_tailcall_unwinder ()
4320 const struct frame_unwind
* result
;
4321 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tailcall_unwinder (...)\n", this->beneath ()->shortname ());
4322 result
= this->beneath ()->get_tailcall_unwinder ();
4323 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tailcall_unwinder (", this->beneath ()->shortname ());
4324 fputs_unfiltered (") = ", gdb_stdlog
);
4325 target_debug_print_const_struct_frame_unwind_p (result
);
4326 fputs_unfiltered ("\n", gdb_stdlog
);
4331 target_ops::prepare_to_generate_core ()
4333 this->beneath ()->prepare_to_generate_core ();
4337 dummy_target::prepare_to_generate_core ()
4342 debug_target::prepare_to_generate_core ()
4344 fprintf_unfiltered (gdb_stdlog
, "-> %s->prepare_to_generate_core (...)\n", this->beneath ()->shortname ());
4345 this->beneath ()->prepare_to_generate_core ();
4346 fprintf_unfiltered (gdb_stdlog
, "<- %s->prepare_to_generate_core (", this->beneath ()->shortname ());
4347 fputs_unfiltered (")\n", gdb_stdlog
);
4351 target_ops::done_generating_core ()
4353 this->beneath ()->done_generating_core ();
4357 dummy_target::done_generating_core ()
4362 debug_target::done_generating_core ()
4364 fprintf_unfiltered (gdb_stdlog
, "-> %s->done_generating_core (...)\n", this->beneath ()->shortname ());
4365 this->beneath ()->done_generating_core ();
4366 fprintf_unfiltered (gdb_stdlog
, "<- %s->done_generating_core (", this->beneath ()->shortname ());
4367 fputs_unfiltered (")\n", gdb_stdlog
);
4370 displaced_step_prepare_status
4371 target_ops::displaced_step_prepare (thread_info
*arg0
)
4373 return this->beneath ()->displaced_step_prepare (arg0
);
4376 displaced_step_prepare_status
4377 dummy_target::displaced_step_prepare (thread_info
*arg0
)
4379 return default_displaced_step_prepare (this, arg0
);
4382 displaced_step_prepare_status
4383 debug_target::displaced_step_prepare (thread_info
*arg0
)
4385 displaced_step_prepare_status result
;
4386 fprintf_unfiltered (gdb_stdlog
, "-> %s->displaced_step_prepare (...)\n", this->beneath ()->shortname ());
4387 result
= this->beneath ()->displaced_step_prepare (arg0
);
4388 fprintf_unfiltered (gdb_stdlog
, "<- %s->displaced_step_prepare (", this->beneath ()->shortname ());
4389 target_debug_print_thread_info_p (arg0
);
4390 fputs_unfiltered (") = ", gdb_stdlog
);
4391 target_debug_print_displaced_step_prepare_status (result
);
4392 fputs_unfiltered ("\n", gdb_stdlog
);
4396 displaced_step_finish_status
4397 target_ops::displaced_step_finish (thread_info
*arg0
, gdb_signal arg1
)
4399 return this->beneath ()->displaced_step_finish (arg0
, arg1
);
4402 displaced_step_finish_status
4403 dummy_target::displaced_step_finish (thread_info
*arg0
, gdb_signal arg1
)
4405 return default_displaced_step_finish (this, arg0
, arg1
);
4408 displaced_step_finish_status
4409 debug_target::displaced_step_finish (thread_info
*arg0
, gdb_signal arg1
)
4411 displaced_step_finish_status result
;
4412 fprintf_unfiltered (gdb_stdlog
, "-> %s->displaced_step_finish (...)\n", this->beneath ()->shortname ());
4413 result
= this->beneath ()->displaced_step_finish (arg0
, arg1
);
4414 fprintf_unfiltered (gdb_stdlog
, "<- %s->displaced_step_finish (", this->beneath ()->shortname ());
4415 target_debug_print_thread_info_p (arg0
);
4416 fputs_unfiltered (", ", gdb_stdlog
);
4417 target_debug_print_gdb_signal (arg1
);
4418 fputs_unfiltered (") = ", gdb_stdlog
);
4419 target_debug_print_displaced_step_finish_status (result
);
4420 fputs_unfiltered ("\n", gdb_stdlog
);