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 bool supports_displaced_step (thread_info
*arg0
) override
;
175 displaced_step_prepare_status
displaced_step_prepare (thread_info
*arg0
) override
;
176 displaced_step_finish_status
displaced_step_finish (thread_info
*arg0
, gdb_signal arg1
) override
;
179 struct debug_target
: public target_ops
181 const target_info
&info () const override
;
183 strata
stratum () const override
;
185 void post_attach (int arg0
) override
;
186 void detach (inferior
*arg0
, int arg1
) override
;
187 void disconnect (const char *arg0
, int arg1
) override
;
188 void resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
) override
;
189 void commit_resume () override
;
190 ptid_t
wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
) override
;
191 void fetch_registers (struct regcache
*arg0
, int arg1
) override
;
192 void store_registers (struct regcache
*arg0
, int arg1
) override
;
193 void prepare_to_store (struct regcache
*arg0
) override
;
194 void files_info () override
;
195 int insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
196 int remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
) override
;
197 bool stopped_by_sw_breakpoint () override
;
198 bool supports_stopped_by_sw_breakpoint () override
;
199 bool stopped_by_hw_breakpoint () override
;
200 bool supports_stopped_by_hw_breakpoint () override
;
201 int can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
) override
;
202 int ranged_break_num_registers () override
;
203 int insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
204 int remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
205 int remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
206 int insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
207 int insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
208 int remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
209 bool stopped_by_watchpoint () override
;
210 bool have_steppable_watchpoint () override
;
211 bool stopped_data_address (CORE_ADDR
*arg0
) override
;
212 bool watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
) override
;
213 int region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
) override
;
214 bool can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
) override
;
215 int masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
) override
;
216 int can_do_single_step () override
;
217 bool supports_terminal_ours () override
;
218 void terminal_init () override
;
219 void terminal_inferior () override
;
220 void terminal_save_inferior () override
;
221 void terminal_ours_for_output () override
;
222 void terminal_ours () override
;
223 void terminal_info (const char *arg0
, int arg1
) override
;
224 void kill () override
;
225 void load (const char *arg0
, int arg1
) override
;
226 void post_startup_inferior (ptid_t arg0
) override
;
227 int insert_fork_catchpoint (int arg0
) override
;
228 int remove_fork_catchpoint (int arg0
) override
;
229 int insert_vfork_catchpoint (int arg0
) override
;
230 int remove_vfork_catchpoint (int arg0
) override
;
231 bool follow_fork (bool arg0
, bool arg1
) override
;
232 int insert_exec_catchpoint (int arg0
) override
;
233 int remove_exec_catchpoint (int arg0
) override
;
234 void follow_exec (struct inferior
*arg0
, const char *arg1
) override
;
235 int set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
) override
;
236 void mourn_inferior () override
;
237 void pass_signals (gdb::array_view
<const unsigned char> arg0
) override
;
238 void program_signals (gdb::array_view
<const unsigned char> arg0
) override
;
239 bool thread_alive (ptid_t arg0
) override
;
240 void update_thread_list () override
;
241 std::string
pid_to_str (ptid_t arg0
) override
;
242 const char *extra_thread_info (thread_info
*arg0
) override
;
243 const char *thread_name (thread_info
*arg0
) override
;
244 thread_info
*thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
) override
;
245 gdb::byte_vector
thread_info_to_thread_handle (struct thread_info
*arg0
) override
;
246 void stop (ptid_t arg0
) override
;
247 void interrupt () override
;
248 void pass_ctrlc () override
;
249 void rcmd (const char *arg0
, struct ui_file
*arg1
) override
;
250 char *pid_to_exec_file (int arg0
) override
;
251 void log_command (const char *arg0
) override
;
252 struct target_section_table
*get_section_table () override
;
253 thread_control_capabilities
get_thread_control_capabilities () override
;
254 bool attach_no_wait () override
;
255 bool can_async_p () override
;
256 bool is_async_p () override
;
257 void async (int arg0
) override
;
258 int async_wait_fd () override
;
259 void thread_events (int arg0
) override
;
260 bool supports_non_stop () override
;
261 bool always_non_stop_p () override
;
262 int find_memory_regions (find_memory_region_ftype arg0
, void *arg1
) override
;
263 char *make_corefile_notes (bfd
*arg0
, int *arg1
) override
;
264 gdb_byte
*get_bookmark (const char *arg0
, int arg1
) override
;
265 void goto_bookmark (const gdb_byte
*arg0
, int arg1
) override
;
266 CORE_ADDR
get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
) override
;
267 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
;
268 ULONGEST
get_memory_xfer_limit () override
;
269 std::vector
<mem_region
> memory_map () override
;
270 void flash_erase (ULONGEST arg0
, LONGEST arg1
) override
;
271 void flash_done () override
;
272 const struct target_desc
*read_description () override
;
273 ptid_t
get_ada_task_ptid (long arg0
, long arg1
) override
;
274 int auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
) override
;
275 int search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
) override
;
276 bool can_execute_reverse () override
;
277 enum exec_direction_kind
execution_direction () override
;
278 bool supports_multi_process () override
;
279 bool supports_enable_disable_tracepoint () override
;
280 bool supports_disable_randomization () override
;
281 bool supports_string_tracing () override
;
282 bool supports_evaluation_of_breakpoint_conditions () override
;
283 bool can_run_breakpoint_commands () override
;
284 struct gdbarch
*thread_architecture (ptid_t arg0
) override
;
285 struct address_space
*thread_address_space (ptid_t arg0
) override
;
286 bool filesystem_is_local () override
;
287 void trace_init () override
;
288 void download_tracepoint (struct bp_location
*arg0
) override
;
289 bool can_download_tracepoint () override
;
290 void download_trace_state_variable (const trace_state_variable
&arg0
) override
;
291 void enable_tracepoint (struct bp_location
*arg0
) override
;
292 void disable_tracepoint (struct bp_location
*arg0
) override
;
293 void trace_set_readonly_regions () override
;
294 void trace_start () override
;
295 int get_trace_status (struct trace_status
*arg0
) override
;
296 void get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
) override
;
297 void trace_stop () override
;
298 int trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
) override
;
299 bool get_trace_state_variable_value (int arg0
, LONGEST
*arg1
) override
;
300 int save_trace_data (const char *arg0
) override
;
301 int upload_tracepoints (struct uploaded_tp
**arg0
) override
;
302 int upload_trace_state_variables (struct uploaded_tsv
**arg0
) override
;
303 LONGEST
get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
) override
;
304 int get_min_fast_tracepoint_insn_len () override
;
305 void set_disconnected_tracing (int arg0
) override
;
306 void set_circular_trace_buffer (int arg0
) override
;
307 void set_trace_buffer_size (LONGEST arg0
) override
;
308 bool set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
) override
;
309 int core_of_thread (ptid_t arg0
) override
;
310 int verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
) override
;
311 bool get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
) override
;
312 void set_permissions () override
;
313 bool static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
) override
;
314 std::vector
<static_tracepoint_marker
> static_tracepoint_markers_by_strid (const char *arg0
) override
;
315 traceframe_info_up
traceframe_info () override
;
316 bool use_agent (bool arg0
) override
;
317 bool can_use_agent () override
;
318 struct btrace_target_info
*enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
) override
;
319 void disable_btrace (struct btrace_target_info
*arg0
) override
;
320 void teardown_btrace (struct btrace_target_info
*arg0
) override
;
321 enum btrace_error
read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
) override
;
322 const struct btrace_config
*btrace_conf (const struct btrace_target_info
*arg0
) override
;
323 enum record_method
record_method (ptid_t arg0
) override
;
324 void stop_recording () override
;
325 void info_record () override
;
326 void save_record (const char *arg0
) override
;
327 bool supports_delete_record () override
;
328 void delete_record () override
;
329 bool record_is_replaying (ptid_t arg0
) override
;
330 bool record_will_replay (ptid_t arg0
, int arg1
) override
;
331 void record_stop_replaying () override
;
332 void goto_record_begin () override
;
333 void goto_record_end () override
;
334 void goto_record (ULONGEST arg0
) override
;
335 void insn_history (int arg0
, gdb_disassembly_flags arg1
) override
;
336 void insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
) override
;
337 void insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
) override
;
338 void call_history (int arg0
, record_print_flags arg1
) override
;
339 void call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
) override
;
340 void call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
) override
;
341 bool augmented_libraries_svr4_read () override
;
342 const struct frame_unwind
*get_unwinder () override
;
343 const struct frame_unwind
*get_tailcall_unwinder () override
;
344 void prepare_to_generate_core () override
;
345 void done_generating_core () override
;
346 bool supports_displaced_step (thread_info
*arg0
) override
;
347 displaced_step_prepare_status
displaced_step_prepare (thread_info
*arg0
) override
;
348 displaced_step_finish_status
displaced_step_finish (thread_info
*arg0
, gdb_signal arg1
) override
;
352 target_ops::post_attach (int arg0
)
354 this->beneath ()->post_attach (arg0
);
358 dummy_target::post_attach (int arg0
)
363 debug_target::post_attach (int arg0
)
365 fprintf_unfiltered (gdb_stdlog
, "-> %s->post_attach (...)\n", this->beneath ()->shortname ());
366 this->beneath ()->post_attach (arg0
);
367 fprintf_unfiltered (gdb_stdlog
, "<- %s->post_attach (", this->beneath ()->shortname ());
368 target_debug_print_int (arg0
);
369 fputs_unfiltered (")\n", gdb_stdlog
);
373 target_ops::detach (inferior
*arg0
, int arg1
)
375 this->beneath ()->detach (arg0
, arg1
);
379 dummy_target::detach (inferior
*arg0
, int arg1
)
384 debug_target::detach (inferior
*arg0
, int arg1
)
386 fprintf_unfiltered (gdb_stdlog
, "-> %s->detach (...)\n", this->beneath ()->shortname ());
387 this->beneath ()->detach (arg0
, arg1
);
388 fprintf_unfiltered (gdb_stdlog
, "<- %s->detach (", this->beneath ()->shortname ());
389 target_debug_print_inferior_p (arg0
);
390 fputs_unfiltered (", ", gdb_stdlog
);
391 target_debug_print_int (arg1
);
392 fputs_unfiltered (")\n", gdb_stdlog
);
396 target_ops::disconnect (const char *arg0
, int arg1
)
398 this->beneath ()->disconnect (arg0
, arg1
);
402 dummy_target::disconnect (const char *arg0
, int arg1
)
408 debug_target::disconnect (const char *arg0
, int arg1
)
410 fprintf_unfiltered (gdb_stdlog
, "-> %s->disconnect (...)\n", this->beneath ()->shortname ());
411 this->beneath ()->disconnect (arg0
, arg1
);
412 fprintf_unfiltered (gdb_stdlog
, "<- %s->disconnect (", this->beneath ()->shortname ());
413 target_debug_print_const_char_p (arg0
);
414 fputs_unfiltered (", ", gdb_stdlog
);
415 target_debug_print_int (arg1
);
416 fputs_unfiltered (")\n", gdb_stdlog
);
420 target_ops::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
422 this->beneath ()->resume (arg0
, arg1
, arg2
);
426 dummy_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
432 debug_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
434 fprintf_unfiltered (gdb_stdlog
, "-> %s->resume (...)\n", this->beneath ()->shortname ());
435 this->beneath ()->resume (arg0
, arg1
, arg2
);
436 fprintf_unfiltered (gdb_stdlog
, "<- %s->resume (", this->beneath ()->shortname ());
437 target_debug_print_ptid_t (arg0
);
438 fputs_unfiltered (", ", gdb_stdlog
);
439 target_debug_print_step (arg1
);
440 fputs_unfiltered (", ", gdb_stdlog
);
441 target_debug_print_enum_gdb_signal (arg2
);
442 fputs_unfiltered (")\n", gdb_stdlog
);
446 target_ops::commit_resume ()
448 this->beneath ()->commit_resume ();
452 dummy_target::commit_resume ()
457 debug_target::commit_resume ()
459 fprintf_unfiltered (gdb_stdlog
, "-> %s->commit_resume (...)\n", this->beneath ()->shortname ());
460 this->beneath ()->commit_resume ();
461 fprintf_unfiltered (gdb_stdlog
, "<- %s->commit_resume (", this->beneath ()->shortname ());
462 fputs_unfiltered (")\n", gdb_stdlog
);
466 target_ops::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
)
468 return this->beneath ()->wait (arg0
, arg1
, arg2
);
472 dummy_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
)
474 return default_target_wait (this, arg0
, arg1
, arg2
);
478 debug_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
)
481 fprintf_unfiltered (gdb_stdlog
, "-> %s->wait (...)\n", this->beneath ()->shortname ());
482 result
= this->beneath ()->wait (arg0
, arg1
, arg2
);
483 fprintf_unfiltered (gdb_stdlog
, "<- %s->wait (", this->beneath ()->shortname ());
484 target_debug_print_ptid_t (arg0
);
485 fputs_unfiltered (", ", gdb_stdlog
);
486 target_debug_print_struct_target_waitstatus_p (arg1
);
487 fputs_unfiltered (", ", gdb_stdlog
);
488 target_debug_print_options (arg2
);
489 fputs_unfiltered (") = ", gdb_stdlog
);
490 target_debug_print_ptid_t (result
);
491 fputs_unfiltered ("\n", gdb_stdlog
);
496 target_ops::fetch_registers (struct regcache
*arg0
, int arg1
)
498 this->beneath ()->fetch_registers (arg0
, arg1
);
502 dummy_target::fetch_registers (struct regcache
*arg0
, int arg1
)
507 debug_target::fetch_registers (struct regcache
*arg0
, int arg1
)
509 fprintf_unfiltered (gdb_stdlog
, "-> %s->fetch_registers (...)\n", this->beneath ()->shortname ());
510 this->beneath ()->fetch_registers (arg0
, arg1
);
511 fprintf_unfiltered (gdb_stdlog
, "<- %s->fetch_registers (", this->beneath ()->shortname ());
512 target_debug_print_struct_regcache_p (arg0
);
513 fputs_unfiltered (", ", gdb_stdlog
);
514 target_debug_print_int (arg1
);
515 fputs_unfiltered (")\n", gdb_stdlog
);
519 target_ops::store_registers (struct regcache
*arg0
, int arg1
)
521 this->beneath ()->store_registers (arg0
, arg1
);
525 dummy_target::store_registers (struct regcache
*arg0
, int arg1
)
531 debug_target::store_registers (struct regcache
*arg0
, int arg1
)
533 fprintf_unfiltered (gdb_stdlog
, "-> %s->store_registers (...)\n", this->beneath ()->shortname ());
534 this->beneath ()->store_registers (arg0
, arg1
);
535 fprintf_unfiltered (gdb_stdlog
, "<- %s->store_registers (", this->beneath ()->shortname ());
536 target_debug_print_struct_regcache_p (arg0
);
537 fputs_unfiltered (", ", gdb_stdlog
);
538 target_debug_print_int (arg1
);
539 fputs_unfiltered (")\n", gdb_stdlog
);
543 target_ops::prepare_to_store (struct regcache
*arg0
)
545 this->beneath ()->prepare_to_store (arg0
);
549 dummy_target::prepare_to_store (struct regcache
*arg0
)
555 debug_target::prepare_to_store (struct regcache
*arg0
)
557 fprintf_unfiltered (gdb_stdlog
, "-> %s->prepare_to_store (...)\n", this->beneath ()->shortname ());
558 this->beneath ()->prepare_to_store (arg0
);
559 fprintf_unfiltered (gdb_stdlog
, "<- %s->prepare_to_store (", this->beneath ()->shortname ());
560 target_debug_print_struct_regcache_p (arg0
);
561 fputs_unfiltered (")\n", gdb_stdlog
);
565 target_ops::files_info ()
567 this->beneath ()->files_info ();
571 dummy_target::files_info ()
576 debug_target::files_info ()
578 fprintf_unfiltered (gdb_stdlog
, "-> %s->files_info (...)\n", this->beneath ()->shortname ());
579 this->beneath ()->files_info ();
580 fprintf_unfiltered (gdb_stdlog
, "<- %s->files_info (", this->beneath ()->shortname ());
581 fputs_unfiltered (")\n", gdb_stdlog
);
585 target_ops::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
587 return this->beneath ()->insert_breakpoint (arg0
, arg1
);
591 dummy_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
597 debug_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
600 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_breakpoint (...)\n", this->beneath ()->shortname ());
601 result
= this->beneath ()->insert_breakpoint (arg0
, arg1
);
602 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_breakpoint (", this->beneath ()->shortname ());
603 target_debug_print_struct_gdbarch_p (arg0
);
604 fputs_unfiltered (", ", gdb_stdlog
);
605 target_debug_print_struct_bp_target_info_p (arg1
);
606 fputs_unfiltered (") = ", gdb_stdlog
);
607 target_debug_print_int (result
);
608 fputs_unfiltered ("\n", gdb_stdlog
);
613 target_ops::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
615 return this->beneath ()->remove_breakpoint (arg0
, arg1
, arg2
);
619 dummy_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
625 debug_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
628 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_breakpoint (...)\n", this->beneath ()->shortname ());
629 result
= this->beneath ()->remove_breakpoint (arg0
, arg1
, arg2
);
630 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_breakpoint (", this->beneath ()->shortname ());
631 target_debug_print_struct_gdbarch_p (arg0
);
632 fputs_unfiltered (", ", gdb_stdlog
);
633 target_debug_print_struct_bp_target_info_p (arg1
);
634 fputs_unfiltered (", ", gdb_stdlog
);
635 target_debug_print_enum_remove_bp_reason (arg2
);
636 fputs_unfiltered (") = ", gdb_stdlog
);
637 target_debug_print_int (result
);
638 fputs_unfiltered ("\n", gdb_stdlog
);
643 target_ops::stopped_by_sw_breakpoint ()
645 return this->beneath ()->stopped_by_sw_breakpoint ();
649 dummy_target::stopped_by_sw_breakpoint ()
655 debug_target::stopped_by_sw_breakpoint ()
658 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
659 result
= this->beneath ()->stopped_by_sw_breakpoint ();
660 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
661 fputs_unfiltered (") = ", gdb_stdlog
);
662 target_debug_print_bool (result
);
663 fputs_unfiltered ("\n", gdb_stdlog
);
668 target_ops::supports_stopped_by_sw_breakpoint ()
670 return this->beneath ()->supports_stopped_by_sw_breakpoint ();
674 dummy_target::supports_stopped_by_sw_breakpoint ()
680 debug_target::supports_stopped_by_sw_breakpoint ()
683 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
684 result
= this->beneath ()->supports_stopped_by_sw_breakpoint ();
685 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
686 fputs_unfiltered (") = ", gdb_stdlog
);
687 target_debug_print_bool (result
);
688 fputs_unfiltered ("\n", gdb_stdlog
);
693 target_ops::stopped_by_hw_breakpoint ()
695 return this->beneath ()->stopped_by_hw_breakpoint ();
699 dummy_target::stopped_by_hw_breakpoint ()
705 debug_target::stopped_by_hw_breakpoint ()
708 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
709 result
= this->beneath ()->stopped_by_hw_breakpoint ();
710 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
711 fputs_unfiltered (") = ", gdb_stdlog
);
712 target_debug_print_bool (result
);
713 fputs_unfiltered ("\n", gdb_stdlog
);
718 target_ops::supports_stopped_by_hw_breakpoint ()
720 return this->beneath ()->supports_stopped_by_hw_breakpoint ();
724 dummy_target::supports_stopped_by_hw_breakpoint ()
730 debug_target::supports_stopped_by_hw_breakpoint ()
733 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
734 result
= this->beneath ()->supports_stopped_by_hw_breakpoint ();
735 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
736 fputs_unfiltered (") = ", gdb_stdlog
);
737 target_debug_print_bool (result
);
738 fputs_unfiltered ("\n", gdb_stdlog
);
743 target_ops::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
745 return this->beneath ()->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
749 dummy_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
755 debug_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
758 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_use_hw_breakpoint (...)\n", this->beneath ()->shortname ());
759 result
= this->beneath ()->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
760 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_use_hw_breakpoint (", this->beneath ()->shortname ());
761 target_debug_print_enum_bptype (arg0
);
762 fputs_unfiltered (", ", gdb_stdlog
);
763 target_debug_print_int (arg1
);
764 fputs_unfiltered (", ", gdb_stdlog
);
765 target_debug_print_int (arg2
);
766 fputs_unfiltered (") = ", gdb_stdlog
);
767 target_debug_print_int (result
);
768 fputs_unfiltered ("\n", gdb_stdlog
);
773 target_ops::ranged_break_num_registers ()
775 return this->beneath ()->ranged_break_num_registers ();
779 dummy_target::ranged_break_num_registers ()
785 debug_target::ranged_break_num_registers ()
788 fprintf_unfiltered (gdb_stdlog
, "-> %s->ranged_break_num_registers (...)\n", this->beneath ()->shortname ());
789 result
= this->beneath ()->ranged_break_num_registers ();
790 fprintf_unfiltered (gdb_stdlog
, "<- %s->ranged_break_num_registers (", this->beneath ()->shortname ());
791 fputs_unfiltered (") = ", gdb_stdlog
);
792 target_debug_print_int (result
);
793 fputs_unfiltered ("\n", gdb_stdlog
);
798 target_ops::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
800 return this->beneath ()->insert_hw_breakpoint (arg0
, arg1
);
804 dummy_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
810 debug_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
813 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_hw_breakpoint (...)\n", this->beneath ()->shortname ());
814 result
= this->beneath ()->insert_hw_breakpoint (arg0
, arg1
);
815 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_hw_breakpoint (", this->beneath ()->shortname ());
816 target_debug_print_struct_gdbarch_p (arg0
);
817 fputs_unfiltered (", ", gdb_stdlog
);
818 target_debug_print_struct_bp_target_info_p (arg1
);
819 fputs_unfiltered (") = ", gdb_stdlog
);
820 target_debug_print_int (result
);
821 fputs_unfiltered ("\n", gdb_stdlog
);
826 target_ops::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
828 return this->beneath ()->remove_hw_breakpoint (arg0
, arg1
);
832 dummy_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
838 debug_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
841 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_hw_breakpoint (...)\n", this->beneath ()->shortname ());
842 result
= this->beneath ()->remove_hw_breakpoint (arg0
, arg1
);
843 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_hw_breakpoint (", this->beneath ()->shortname ());
844 target_debug_print_struct_gdbarch_p (arg0
);
845 fputs_unfiltered (", ", gdb_stdlog
);
846 target_debug_print_struct_bp_target_info_p (arg1
);
847 fputs_unfiltered (") = ", gdb_stdlog
);
848 target_debug_print_int (result
);
849 fputs_unfiltered ("\n", gdb_stdlog
);
854 target_ops::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
856 return this->beneath ()->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
860 dummy_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
866 debug_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
869 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_watchpoint (...)\n", this->beneath ()->shortname ());
870 result
= this->beneath ()->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
871 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_watchpoint (", this->beneath ()->shortname ());
872 target_debug_print_CORE_ADDR (arg0
);
873 fputs_unfiltered (", ", gdb_stdlog
);
874 target_debug_print_int (arg1
);
875 fputs_unfiltered (", ", gdb_stdlog
);
876 target_debug_print_enum_target_hw_bp_type (arg2
);
877 fputs_unfiltered (", ", gdb_stdlog
);
878 target_debug_print_struct_expression_p (arg3
);
879 fputs_unfiltered (") = ", gdb_stdlog
);
880 target_debug_print_int (result
);
881 fputs_unfiltered ("\n", gdb_stdlog
);
886 target_ops::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
888 return this->beneath ()->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
892 dummy_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
898 debug_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
901 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_watchpoint (...)\n", this->beneath ()->shortname ());
902 result
= this->beneath ()->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
903 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_watchpoint (", this->beneath ()->shortname ());
904 target_debug_print_CORE_ADDR (arg0
);
905 fputs_unfiltered (", ", gdb_stdlog
);
906 target_debug_print_int (arg1
);
907 fputs_unfiltered (", ", gdb_stdlog
);
908 target_debug_print_enum_target_hw_bp_type (arg2
);
909 fputs_unfiltered (", ", gdb_stdlog
);
910 target_debug_print_struct_expression_p (arg3
);
911 fputs_unfiltered (") = ", gdb_stdlog
);
912 target_debug_print_int (result
);
913 fputs_unfiltered ("\n", gdb_stdlog
);
918 target_ops::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
920 return this->beneath ()->insert_mask_watchpoint (arg0
, arg1
, arg2
);
924 dummy_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
930 debug_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
933 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_mask_watchpoint (...)\n", this->beneath ()->shortname ());
934 result
= this->beneath ()->insert_mask_watchpoint (arg0
, arg1
, arg2
);
935 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_mask_watchpoint (", this->beneath ()->shortname ());
936 target_debug_print_CORE_ADDR (arg0
);
937 fputs_unfiltered (", ", gdb_stdlog
);
938 target_debug_print_CORE_ADDR (arg1
);
939 fputs_unfiltered (", ", gdb_stdlog
);
940 target_debug_print_enum_target_hw_bp_type (arg2
);
941 fputs_unfiltered (") = ", gdb_stdlog
);
942 target_debug_print_int (result
);
943 fputs_unfiltered ("\n", gdb_stdlog
);
948 target_ops::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
950 return this->beneath ()->remove_mask_watchpoint (arg0
, arg1
, arg2
);
954 dummy_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
960 debug_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
963 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_mask_watchpoint (...)\n", this->beneath ()->shortname ());
964 result
= this->beneath ()->remove_mask_watchpoint (arg0
, arg1
, arg2
);
965 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_mask_watchpoint (", this->beneath ()->shortname ());
966 target_debug_print_CORE_ADDR (arg0
);
967 fputs_unfiltered (", ", gdb_stdlog
);
968 target_debug_print_CORE_ADDR (arg1
);
969 fputs_unfiltered (", ", gdb_stdlog
);
970 target_debug_print_enum_target_hw_bp_type (arg2
);
971 fputs_unfiltered (") = ", gdb_stdlog
);
972 target_debug_print_int (result
);
973 fputs_unfiltered ("\n", gdb_stdlog
);
978 target_ops::stopped_by_watchpoint ()
980 return this->beneath ()->stopped_by_watchpoint ();
984 dummy_target::stopped_by_watchpoint ()
990 debug_target::stopped_by_watchpoint ()
993 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_watchpoint (...)\n", this->beneath ()->shortname ());
994 result
= this->beneath ()->stopped_by_watchpoint ();
995 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_watchpoint (", this->beneath ()->shortname ());
996 fputs_unfiltered (") = ", gdb_stdlog
);
997 target_debug_print_bool (result
);
998 fputs_unfiltered ("\n", gdb_stdlog
);
1003 target_ops::have_steppable_watchpoint ()
1005 return this->beneath ()->have_steppable_watchpoint ();
1009 dummy_target::have_steppable_watchpoint ()
1015 debug_target::have_steppable_watchpoint ()
1018 fprintf_unfiltered (gdb_stdlog
, "-> %s->have_steppable_watchpoint (...)\n", this->beneath ()->shortname ());
1019 result
= this->beneath ()->have_steppable_watchpoint ();
1020 fprintf_unfiltered (gdb_stdlog
, "<- %s->have_steppable_watchpoint (", this->beneath ()->shortname ());
1021 fputs_unfiltered (") = ", gdb_stdlog
);
1022 target_debug_print_bool (result
);
1023 fputs_unfiltered ("\n", gdb_stdlog
);
1028 target_ops::stopped_data_address (CORE_ADDR
*arg0
)
1030 return this->beneath ()->stopped_data_address (arg0
);
1034 dummy_target::stopped_data_address (CORE_ADDR
*arg0
)
1040 debug_target::stopped_data_address (CORE_ADDR
*arg0
)
1043 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_data_address (...)\n", this->beneath ()->shortname ());
1044 result
= this->beneath ()->stopped_data_address (arg0
);
1045 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_data_address (", this->beneath ()->shortname ());
1046 target_debug_print_CORE_ADDR_p (arg0
);
1047 fputs_unfiltered (") = ", gdb_stdlog
);
1048 target_debug_print_bool (result
);
1049 fputs_unfiltered ("\n", gdb_stdlog
);
1054 target_ops::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1056 return this->beneath ()->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1060 dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1062 return default_watchpoint_addr_within_range (this, arg0
, arg1
, arg2
);
1066 debug_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1069 fprintf_unfiltered (gdb_stdlog
, "-> %s->watchpoint_addr_within_range (...)\n", this->beneath ()->shortname ());
1070 result
= this->beneath ()->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1071 fprintf_unfiltered (gdb_stdlog
, "<- %s->watchpoint_addr_within_range (", this->beneath ()->shortname ());
1072 target_debug_print_CORE_ADDR (arg0
);
1073 fputs_unfiltered (", ", gdb_stdlog
);
1074 target_debug_print_CORE_ADDR (arg1
);
1075 fputs_unfiltered (", ", gdb_stdlog
);
1076 target_debug_print_int (arg2
);
1077 fputs_unfiltered (") = ", gdb_stdlog
);
1078 target_debug_print_bool (result
);
1079 fputs_unfiltered ("\n", gdb_stdlog
);
1084 target_ops::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1086 return this->beneath ()->region_ok_for_hw_watchpoint (arg0
, arg1
);
1090 dummy_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1092 return default_region_ok_for_hw_watchpoint (this, arg0
, arg1
);
1096 debug_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1099 fprintf_unfiltered (gdb_stdlog
, "-> %s->region_ok_for_hw_watchpoint (...)\n", this->beneath ()->shortname ());
1100 result
= this->beneath ()->region_ok_for_hw_watchpoint (arg0
, arg1
);
1101 fprintf_unfiltered (gdb_stdlog
, "<- %s->region_ok_for_hw_watchpoint (", this->beneath ()->shortname ());
1102 target_debug_print_CORE_ADDR (arg0
);
1103 fputs_unfiltered (", ", gdb_stdlog
);
1104 target_debug_print_int (arg1
);
1105 fputs_unfiltered (") = ", gdb_stdlog
);
1106 target_debug_print_int (result
);
1107 fputs_unfiltered ("\n", gdb_stdlog
);
1112 target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1114 return this->beneath ()->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1118 dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1124 debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1127 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_accel_watchpoint_condition (...)\n", this->beneath ()->shortname ());
1128 result
= this->beneath ()->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1129 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_accel_watchpoint_condition (", this->beneath ()->shortname ());
1130 target_debug_print_CORE_ADDR (arg0
);
1131 fputs_unfiltered (", ", gdb_stdlog
);
1132 target_debug_print_int (arg1
);
1133 fputs_unfiltered (", ", gdb_stdlog
);
1134 target_debug_print_int (arg2
);
1135 fputs_unfiltered (", ", gdb_stdlog
);
1136 target_debug_print_struct_expression_p (arg3
);
1137 fputs_unfiltered (") = ", gdb_stdlog
);
1138 target_debug_print_bool (result
);
1139 fputs_unfiltered ("\n", gdb_stdlog
);
1144 target_ops::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1146 return this->beneath ()->masked_watch_num_registers (arg0
, arg1
);
1150 dummy_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1156 debug_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1159 fprintf_unfiltered (gdb_stdlog
, "-> %s->masked_watch_num_registers (...)\n", this->beneath ()->shortname ());
1160 result
= this->beneath ()->masked_watch_num_registers (arg0
, arg1
);
1161 fprintf_unfiltered (gdb_stdlog
, "<- %s->masked_watch_num_registers (", this->beneath ()->shortname ());
1162 target_debug_print_CORE_ADDR (arg0
);
1163 fputs_unfiltered (", ", gdb_stdlog
);
1164 target_debug_print_CORE_ADDR (arg1
);
1165 fputs_unfiltered (") = ", gdb_stdlog
);
1166 target_debug_print_int (result
);
1167 fputs_unfiltered ("\n", gdb_stdlog
);
1172 target_ops::can_do_single_step ()
1174 return this->beneath ()->can_do_single_step ();
1178 dummy_target::can_do_single_step ()
1184 debug_target::can_do_single_step ()
1187 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_do_single_step (...)\n", this->beneath ()->shortname ());
1188 result
= this->beneath ()->can_do_single_step ();
1189 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_do_single_step (", this->beneath ()->shortname ());
1190 fputs_unfiltered (") = ", gdb_stdlog
);
1191 target_debug_print_int (result
);
1192 fputs_unfiltered ("\n", gdb_stdlog
);
1197 target_ops::supports_terminal_ours ()
1199 return this->beneath ()->supports_terminal_ours ();
1203 dummy_target::supports_terminal_ours ()
1209 debug_target::supports_terminal_ours ()
1212 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_terminal_ours (...)\n", this->beneath ()->shortname ());
1213 result
= this->beneath ()->supports_terminal_ours ();
1214 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_terminal_ours (", this->beneath ()->shortname ());
1215 fputs_unfiltered (") = ", gdb_stdlog
);
1216 target_debug_print_bool (result
);
1217 fputs_unfiltered ("\n", gdb_stdlog
);
1222 target_ops::terminal_init ()
1224 this->beneath ()->terminal_init ();
1228 dummy_target::terminal_init ()
1233 debug_target::terminal_init ()
1235 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_init (...)\n", this->beneath ()->shortname ());
1236 this->beneath ()->terminal_init ();
1237 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_init (", this->beneath ()->shortname ());
1238 fputs_unfiltered (")\n", gdb_stdlog
);
1242 target_ops::terminal_inferior ()
1244 this->beneath ()->terminal_inferior ();
1248 dummy_target::terminal_inferior ()
1253 debug_target::terminal_inferior ()
1255 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_inferior (...)\n", this->beneath ()->shortname ());
1256 this->beneath ()->terminal_inferior ();
1257 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_inferior (", this->beneath ()->shortname ());
1258 fputs_unfiltered (")\n", gdb_stdlog
);
1262 target_ops::terminal_save_inferior ()
1264 this->beneath ()->terminal_save_inferior ();
1268 dummy_target::terminal_save_inferior ()
1273 debug_target::terminal_save_inferior ()
1275 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_save_inferior (...)\n", this->beneath ()->shortname ());
1276 this->beneath ()->terminal_save_inferior ();
1277 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_save_inferior (", this->beneath ()->shortname ());
1278 fputs_unfiltered (")\n", gdb_stdlog
);
1282 target_ops::terminal_ours_for_output ()
1284 this->beneath ()->terminal_ours_for_output ();
1288 dummy_target::terminal_ours_for_output ()
1293 debug_target::terminal_ours_for_output ()
1295 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_ours_for_output (...)\n", this->beneath ()->shortname ());
1296 this->beneath ()->terminal_ours_for_output ();
1297 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_ours_for_output (", this->beneath ()->shortname ());
1298 fputs_unfiltered (")\n", gdb_stdlog
);
1302 target_ops::terminal_ours ()
1304 this->beneath ()->terminal_ours ();
1308 dummy_target::terminal_ours ()
1313 debug_target::terminal_ours ()
1315 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_ours (...)\n", this->beneath ()->shortname ());
1316 this->beneath ()->terminal_ours ();
1317 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_ours (", this->beneath ()->shortname ());
1318 fputs_unfiltered (")\n", gdb_stdlog
);
1322 target_ops::terminal_info (const char *arg0
, int arg1
)
1324 this->beneath ()->terminal_info (arg0
, arg1
);
1328 dummy_target::terminal_info (const char *arg0
, int arg1
)
1330 default_terminal_info (this, arg0
, arg1
);
1334 debug_target::terminal_info (const char *arg0
, int arg1
)
1336 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_info (...)\n", this->beneath ()->shortname ());
1337 this->beneath ()->terminal_info (arg0
, arg1
);
1338 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_info (", this->beneath ()->shortname ());
1339 target_debug_print_const_char_p (arg0
);
1340 fputs_unfiltered (", ", gdb_stdlog
);
1341 target_debug_print_int (arg1
);
1342 fputs_unfiltered (")\n", gdb_stdlog
);
1348 this->beneath ()->kill ();
1352 dummy_target::kill ()
1358 debug_target::kill ()
1360 fprintf_unfiltered (gdb_stdlog
, "-> %s->kill (...)\n", this->beneath ()->shortname ());
1361 this->beneath ()->kill ();
1362 fprintf_unfiltered (gdb_stdlog
, "<- %s->kill (", this->beneath ()->shortname ());
1363 fputs_unfiltered (")\n", gdb_stdlog
);
1367 target_ops::load (const char *arg0
, int arg1
)
1369 this->beneath ()->load (arg0
, arg1
);
1373 dummy_target::load (const char *arg0
, int arg1
)
1379 debug_target::load (const char *arg0
, int arg1
)
1381 fprintf_unfiltered (gdb_stdlog
, "-> %s->load (...)\n", this->beneath ()->shortname ());
1382 this->beneath ()->load (arg0
, arg1
);
1383 fprintf_unfiltered (gdb_stdlog
, "<- %s->load (", this->beneath ()->shortname ());
1384 target_debug_print_const_char_p (arg0
);
1385 fputs_unfiltered (", ", gdb_stdlog
);
1386 target_debug_print_int (arg1
);
1387 fputs_unfiltered (")\n", gdb_stdlog
);
1391 target_ops::post_startup_inferior (ptid_t arg0
)
1393 this->beneath ()->post_startup_inferior (arg0
);
1397 dummy_target::post_startup_inferior (ptid_t arg0
)
1402 debug_target::post_startup_inferior (ptid_t arg0
)
1404 fprintf_unfiltered (gdb_stdlog
, "-> %s->post_startup_inferior (...)\n", this->beneath ()->shortname ());
1405 this->beneath ()->post_startup_inferior (arg0
);
1406 fprintf_unfiltered (gdb_stdlog
, "<- %s->post_startup_inferior (", this->beneath ()->shortname ());
1407 target_debug_print_ptid_t (arg0
);
1408 fputs_unfiltered (")\n", gdb_stdlog
);
1412 target_ops::insert_fork_catchpoint (int arg0
)
1414 return this->beneath ()->insert_fork_catchpoint (arg0
);
1418 dummy_target::insert_fork_catchpoint (int arg0
)
1424 debug_target::insert_fork_catchpoint (int arg0
)
1427 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1428 result
= this->beneath ()->insert_fork_catchpoint (arg0
);
1429 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_fork_catchpoint (", this->beneath ()->shortname ());
1430 target_debug_print_int (arg0
);
1431 fputs_unfiltered (") = ", gdb_stdlog
);
1432 target_debug_print_int (result
);
1433 fputs_unfiltered ("\n", gdb_stdlog
);
1438 target_ops::remove_fork_catchpoint (int arg0
)
1440 return this->beneath ()->remove_fork_catchpoint (arg0
);
1444 dummy_target::remove_fork_catchpoint (int arg0
)
1450 debug_target::remove_fork_catchpoint (int arg0
)
1453 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1454 result
= this->beneath ()->remove_fork_catchpoint (arg0
);
1455 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_fork_catchpoint (", this->beneath ()->shortname ());
1456 target_debug_print_int (arg0
);
1457 fputs_unfiltered (") = ", gdb_stdlog
);
1458 target_debug_print_int (result
);
1459 fputs_unfiltered ("\n", gdb_stdlog
);
1464 target_ops::insert_vfork_catchpoint (int arg0
)
1466 return this->beneath ()->insert_vfork_catchpoint (arg0
);
1470 dummy_target::insert_vfork_catchpoint (int arg0
)
1476 debug_target::insert_vfork_catchpoint (int arg0
)
1479 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1480 result
= this->beneath ()->insert_vfork_catchpoint (arg0
);
1481 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_vfork_catchpoint (", this->beneath ()->shortname ());
1482 target_debug_print_int (arg0
);
1483 fputs_unfiltered (") = ", gdb_stdlog
);
1484 target_debug_print_int (result
);
1485 fputs_unfiltered ("\n", gdb_stdlog
);
1490 target_ops::remove_vfork_catchpoint (int arg0
)
1492 return this->beneath ()->remove_vfork_catchpoint (arg0
);
1496 dummy_target::remove_vfork_catchpoint (int arg0
)
1502 debug_target::remove_vfork_catchpoint (int arg0
)
1505 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1506 result
= this->beneath ()->remove_vfork_catchpoint (arg0
);
1507 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_vfork_catchpoint (", this->beneath ()->shortname ());
1508 target_debug_print_int (arg0
);
1509 fputs_unfiltered (") = ", gdb_stdlog
);
1510 target_debug_print_int (result
);
1511 fputs_unfiltered ("\n", gdb_stdlog
);
1516 target_ops::follow_fork (bool arg0
, bool arg1
)
1518 return this->beneath ()->follow_fork (arg0
, arg1
);
1522 dummy_target::follow_fork (bool arg0
, bool arg1
)
1524 return default_follow_fork (this, arg0
, arg1
);
1528 debug_target::follow_fork (bool arg0
, bool arg1
)
1531 fprintf_unfiltered (gdb_stdlog
, "-> %s->follow_fork (...)\n", this->beneath ()->shortname ());
1532 result
= this->beneath ()->follow_fork (arg0
, arg1
);
1533 fprintf_unfiltered (gdb_stdlog
, "<- %s->follow_fork (", this->beneath ()->shortname ());
1534 target_debug_print_bool (arg0
);
1535 fputs_unfiltered (", ", gdb_stdlog
);
1536 target_debug_print_bool (arg1
);
1537 fputs_unfiltered (") = ", gdb_stdlog
);
1538 target_debug_print_bool (result
);
1539 fputs_unfiltered ("\n", gdb_stdlog
);
1544 target_ops::insert_exec_catchpoint (int arg0
)
1546 return this->beneath ()->insert_exec_catchpoint (arg0
);
1550 dummy_target::insert_exec_catchpoint (int arg0
)
1556 debug_target::insert_exec_catchpoint (int arg0
)
1559 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1560 result
= this->beneath ()->insert_exec_catchpoint (arg0
);
1561 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_exec_catchpoint (", this->beneath ()->shortname ());
1562 target_debug_print_int (arg0
);
1563 fputs_unfiltered (") = ", gdb_stdlog
);
1564 target_debug_print_int (result
);
1565 fputs_unfiltered ("\n", gdb_stdlog
);
1570 target_ops::remove_exec_catchpoint (int arg0
)
1572 return this->beneath ()->remove_exec_catchpoint (arg0
);
1576 dummy_target::remove_exec_catchpoint (int arg0
)
1582 debug_target::remove_exec_catchpoint (int arg0
)
1585 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1586 result
= this->beneath ()->remove_exec_catchpoint (arg0
);
1587 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_exec_catchpoint (", this->beneath ()->shortname ());
1588 target_debug_print_int (arg0
);
1589 fputs_unfiltered (") = ", gdb_stdlog
);
1590 target_debug_print_int (result
);
1591 fputs_unfiltered ("\n", gdb_stdlog
);
1596 target_ops::follow_exec (struct inferior
*arg0
, const char *arg1
)
1598 this->beneath ()->follow_exec (arg0
, arg1
);
1602 dummy_target::follow_exec (struct inferior
*arg0
, const char *arg1
)
1607 debug_target::follow_exec (struct inferior
*arg0
, const char *arg1
)
1609 fprintf_unfiltered (gdb_stdlog
, "-> %s->follow_exec (...)\n", this->beneath ()->shortname ());
1610 this->beneath ()->follow_exec (arg0
, arg1
);
1611 fprintf_unfiltered (gdb_stdlog
, "<- %s->follow_exec (", this->beneath ()->shortname ());
1612 target_debug_print_struct_inferior_p (arg0
);
1613 fputs_unfiltered (", ", gdb_stdlog
);
1614 target_debug_print_const_char_p (arg1
);
1615 fputs_unfiltered (")\n", gdb_stdlog
);
1619 target_ops::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1621 return this->beneath ()->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1625 dummy_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1631 debug_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1634 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_syscall_catchpoint (...)\n", this->beneath ()->shortname ());
1635 result
= this->beneath ()->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1636 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_syscall_catchpoint (", this->beneath ()->shortname ());
1637 target_debug_print_int (arg0
);
1638 fputs_unfiltered (", ", gdb_stdlog
);
1639 target_debug_print_bool (arg1
);
1640 fputs_unfiltered (", ", gdb_stdlog
);
1641 target_debug_print_int (arg2
);
1642 fputs_unfiltered (", ", gdb_stdlog
);
1643 target_debug_print_gdb_array_view_const_int (arg3
);
1644 fputs_unfiltered (") = ", gdb_stdlog
);
1645 target_debug_print_int (result
);
1646 fputs_unfiltered ("\n", gdb_stdlog
);
1651 target_ops::mourn_inferior ()
1653 this->beneath ()->mourn_inferior ();
1657 dummy_target::mourn_inferior ()
1659 default_mourn_inferior (this);
1663 debug_target::mourn_inferior ()
1665 fprintf_unfiltered (gdb_stdlog
, "-> %s->mourn_inferior (...)\n", this->beneath ()->shortname ());
1666 this->beneath ()->mourn_inferior ();
1667 fprintf_unfiltered (gdb_stdlog
, "<- %s->mourn_inferior (", this->beneath ()->shortname ());
1668 fputs_unfiltered (")\n", gdb_stdlog
);
1672 target_ops::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1674 this->beneath ()->pass_signals (arg0
);
1678 dummy_target::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1683 debug_target::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1685 fprintf_unfiltered (gdb_stdlog
, "-> %s->pass_signals (...)\n", this->beneath ()->shortname ());
1686 this->beneath ()->pass_signals (arg0
);
1687 fprintf_unfiltered (gdb_stdlog
, "<- %s->pass_signals (", this->beneath ()->shortname ());
1688 target_debug_print_signals (arg0
);
1689 fputs_unfiltered (")\n", gdb_stdlog
);
1693 target_ops::program_signals (gdb::array_view
<const unsigned char> arg0
)
1695 this->beneath ()->program_signals (arg0
);
1699 dummy_target::program_signals (gdb::array_view
<const unsigned char> arg0
)
1704 debug_target::program_signals (gdb::array_view
<const unsigned char> arg0
)
1706 fprintf_unfiltered (gdb_stdlog
, "-> %s->program_signals (...)\n", this->beneath ()->shortname ());
1707 this->beneath ()->program_signals (arg0
);
1708 fprintf_unfiltered (gdb_stdlog
, "<- %s->program_signals (", this->beneath ()->shortname ());
1709 target_debug_print_signals (arg0
);
1710 fputs_unfiltered (")\n", gdb_stdlog
);
1714 target_ops::thread_alive (ptid_t arg0
)
1716 return this->beneath ()->thread_alive (arg0
);
1720 dummy_target::thread_alive (ptid_t arg0
)
1726 debug_target::thread_alive (ptid_t arg0
)
1729 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_alive (...)\n", this->beneath ()->shortname ());
1730 result
= this->beneath ()->thread_alive (arg0
);
1731 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_alive (", this->beneath ()->shortname ());
1732 target_debug_print_ptid_t (arg0
);
1733 fputs_unfiltered (") = ", gdb_stdlog
);
1734 target_debug_print_bool (result
);
1735 fputs_unfiltered ("\n", gdb_stdlog
);
1740 target_ops::update_thread_list ()
1742 this->beneath ()->update_thread_list ();
1746 dummy_target::update_thread_list ()
1751 debug_target::update_thread_list ()
1753 fprintf_unfiltered (gdb_stdlog
, "-> %s->update_thread_list (...)\n", this->beneath ()->shortname ());
1754 this->beneath ()->update_thread_list ();
1755 fprintf_unfiltered (gdb_stdlog
, "<- %s->update_thread_list (", this->beneath ()->shortname ());
1756 fputs_unfiltered (")\n", gdb_stdlog
);
1760 target_ops::pid_to_str (ptid_t arg0
)
1762 return this->beneath ()->pid_to_str (arg0
);
1766 dummy_target::pid_to_str (ptid_t arg0
)
1768 return default_pid_to_str (this, arg0
);
1772 debug_target::pid_to_str (ptid_t arg0
)
1775 fprintf_unfiltered (gdb_stdlog
, "-> %s->pid_to_str (...)\n", this->beneath ()->shortname ());
1776 result
= this->beneath ()->pid_to_str (arg0
);
1777 fprintf_unfiltered (gdb_stdlog
, "<- %s->pid_to_str (", this->beneath ()->shortname ());
1778 target_debug_print_ptid_t (arg0
);
1779 fputs_unfiltered (") = ", gdb_stdlog
);
1780 target_debug_print_std_string (result
);
1781 fputs_unfiltered ("\n", gdb_stdlog
);
1786 target_ops::extra_thread_info (thread_info
*arg0
)
1788 return this->beneath ()->extra_thread_info (arg0
);
1792 dummy_target::extra_thread_info (thread_info
*arg0
)
1798 debug_target::extra_thread_info (thread_info
*arg0
)
1800 const char * result
;
1801 fprintf_unfiltered (gdb_stdlog
, "-> %s->extra_thread_info (...)\n", this->beneath ()->shortname ());
1802 result
= this->beneath ()->extra_thread_info (arg0
);
1803 fprintf_unfiltered (gdb_stdlog
, "<- %s->extra_thread_info (", this->beneath ()->shortname ());
1804 target_debug_print_thread_info_p (arg0
);
1805 fputs_unfiltered (") = ", gdb_stdlog
);
1806 target_debug_print_const_char_p (result
);
1807 fputs_unfiltered ("\n", gdb_stdlog
);
1812 target_ops::thread_name (thread_info
*arg0
)
1814 return this->beneath ()->thread_name (arg0
);
1818 dummy_target::thread_name (thread_info
*arg0
)
1824 debug_target::thread_name (thread_info
*arg0
)
1826 const char * result
;
1827 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_name (...)\n", this->beneath ()->shortname ());
1828 result
= this->beneath ()->thread_name (arg0
);
1829 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_name (", this->beneath ()->shortname ());
1830 target_debug_print_thread_info_p (arg0
);
1831 fputs_unfiltered (") = ", gdb_stdlog
);
1832 target_debug_print_const_char_p (result
);
1833 fputs_unfiltered ("\n", gdb_stdlog
);
1838 target_ops::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1840 return this->beneath ()->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1844 dummy_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1850 debug_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1852 thread_info
* result
;
1853 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath ()->shortname ());
1854 result
= this->beneath ()->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1855 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_handle_to_thread_info (", this->beneath ()->shortname ());
1856 target_debug_print_const_gdb_byte_p (arg0
);
1857 fputs_unfiltered (", ", gdb_stdlog
);
1858 target_debug_print_int (arg1
);
1859 fputs_unfiltered (", ", gdb_stdlog
);
1860 target_debug_print_inferior_p (arg2
);
1861 fputs_unfiltered (") = ", gdb_stdlog
);
1862 target_debug_print_thread_info_p (result
);
1863 fputs_unfiltered ("\n", gdb_stdlog
);
1868 target_ops::thread_info_to_thread_handle (struct thread_info
*arg0
)
1870 return this->beneath ()->thread_info_to_thread_handle (arg0
);
1874 dummy_target::thread_info_to_thread_handle (struct thread_info
*arg0
)
1876 return gdb::byte_vector ();
1880 debug_target::thread_info_to_thread_handle (struct thread_info
*arg0
)
1882 gdb::byte_vector result
;
1883 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_info_to_thread_handle (...)\n", this->beneath ()->shortname ());
1884 result
= this->beneath ()->thread_info_to_thread_handle (arg0
);
1885 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_info_to_thread_handle (", this->beneath ()->shortname ());
1886 target_debug_print_struct_thread_info_p (arg0
);
1887 fputs_unfiltered (") = ", gdb_stdlog
);
1888 target_debug_print_gdb_byte_vector (result
);
1889 fputs_unfiltered ("\n", gdb_stdlog
);
1894 target_ops::stop (ptid_t arg0
)
1896 this->beneath ()->stop (arg0
);
1900 dummy_target::stop (ptid_t arg0
)
1905 debug_target::stop (ptid_t arg0
)
1907 fprintf_unfiltered (gdb_stdlog
, "-> %s->stop (...)\n", this->beneath ()->shortname ());
1908 this->beneath ()->stop (arg0
);
1909 fprintf_unfiltered (gdb_stdlog
, "<- %s->stop (", this->beneath ()->shortname ());
1910 target_debug_print_ptid_t (arg0
);
1911 fputs_unfiltered (")\n", gdb_stdlog
);
1915 target_ops::interrupt ()
1917 this->beneath ()->interrupt ();
1921 dummy_target::interrupt ()
1926 debug_target::interrupt ()
1928 fprintf_unfiltered (gdb_stdlog
, "-> %s->interrupt (...)\n", this->beneath ()->shortname ());
1929 this->beneath ()->interrupt ();
1930 fprintf_unfiltered (gdb_stdlog
, "<- %s->interrupt (", this->beneath ()->shortname ());
1931 fputs_unfiltered (")\n", gdb_stdlog
);
1935 target_ops::pass_ctrlc ()
1937 this->beneath ()->pass_ctrlc ();
1941 dummy_target::pass_ctrlc ()
1943 default_target_pass_ctrlc (this);
1947 debug_target::pass_ctrlc ()
1949 fprintf_unfiltered (gdb_stdlog
, "-> %s->pass_ctrlc (...)\n", this->beneath ()->shortname ());
1950 this->beneath ()->pass_ctrlc ();
1951 fprintf_unfiltered (gdb_stdlog
, "<- %s->pass_ctrlc (", this->beneath ()->shortname ());
1952 fputs_unfiltered (")\n", gdb_stdlog
);
1956 target_ops::rcmd (const char *arg0
, struct ui_file
*arg1
)
1958 this->beneath ()->rcmd (arg0
, arg1
);
1962 dummy_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
1964 default_rcmd (this, arg0
, arg1
);
1968 debug_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
1970 fprintf_unfiltered (gdb_stdlog
, "-> %s->rcmd (...)\n", this->beneath ()->shortname ());
1971 this->beneath ()->rcmd (arg0
, arg1
);
1972 fprintf_unfiltered (gdb_stdlog
, "<- %s->rcmd (", this->beneath ()->shortname ());
1973 target_debug_print_const_char_p (arg0
);
1974 fputs_unfiltered (", ", gdb_stdlog
);
1975 target_debug_print_struct_ui_file_p (arg1
);
1976 fputs_unfiltered (")\n", gdb_stdlog
);
1980 target_ops::pid_to_exec_file (int arg0
)
1982 return this->beneath ()->pid_to_exec_file (arg0
);
1986 dummy_target::pid_to_exec_file (int arg0
)
1992 debug_target::pid_to_exec_file (int arg0
)
1995 fprintf_unfiltered (gdb_stdlog
, "-> %s->pid_to_exec_file (...)\n", this->beneath ()->shortname ());
1996 result
= this->beneath ()->pid_to_exec_file (arg0
);
1997 fprintf_unfiltered (gdb_stdlog
, "<- %s->pid_to_exec_file (", this->beneath ()->shortname ());
1998 target_debug_print_int (arg0
);
1999 fputs_unfiltered (") = ", gdb_stdlog
);
2000 target_debug_print_char_p (result
);
2001 fputs_unfiltered ("\n", gdb_stdlog
);
2006 target_ops::log_command (const char *arg0
)
2008 this->beneath ()->log_command (arg0
);
2012 dummy_target::log_command (const char *arg0
)
2017 debug_target::log_command (const char *arg0
)
2019 fprintf_unfiltered (gdb_stdlog
, "-> %s->log_command (...)\n", this->beneath ()->shortname ());
2020 this->beneath ()->log_command (arg0
);
2021 fprintf_unfiltered (gdb_stdlog
, "<- %s->log_command (", this->beneath ()->shortname ());
2022 target_debug_print_const_char_p (arg0
);
2023 fputs_unfiltered (")\n", gdb_stdlog
);
2026 struct target_section_table
*
2027 target_ops::get_section_table ()
2029 return this->beneath ()->get_section_table ();
2032 struct target_section_table
*
2033 dummy_target::get_section_table ()
2038 struct target_section_table
*
2039 debug_target::get_section_table ()
2041 struct target_section_table
* result
;
2042 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_section_table (...)\n", this->beneath ()->shortname ());
2043 result
= this->beneath ()->get_section_table ();
2044 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_section_table (", this->beneath ()->shortname ());
2045 fputs_unfiltered (") = ", gdb_stdlog
);
2046 target_debug_print_struct_target_section_table_p (result
);
2047 fputs_unfiltered ("\n", gdb_stdlog
);
2051 thread_control_capabilities
2052 target_ops::get_thread_control_capabilities ()
2054 return this->beneath ()->get_thread_control_capabilities ();
2057 thread_control_capabilities
2058 dummy_target::get_thread_control_capabilities ()
2063 thread_control_capabilities
2064 debug_target::get_thread_control_capabilities ()
2066 thread_control_capabilities result
;
2067 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_thread_control_capabilities (...)\n", this->beneath ()->shortname ());
2068 result
= this->beneath ()->get_thread_control_capabilities ();
2069 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_thread_control_capabilities (", this->beneath ()->shortname ());
2070 fputs_unfiltered (") = ", gdb_stdlog
);
2071 target_debug_print_thread_control_capabilities (result
);
2072 fputs_unfiltered ("\n", gdb_stdlog
);
2077 target_ops::attach_no_wait ()
2079 return this->beneath ()->attach_no_wait ();
2083 dummy_target::attach_no_wait ()
2089 debug_target::attach_no_wait ()
2092 fprintf_unfiltered (gdb_stdlog
, "-> %s->attach_no_wait (...)\n", this->beneath ()->shortname ());
2093 result
= this->beneath ()->attach_no_wait ();
2094 fprintf_unfiltered (gdb_stdlog
, "<- %s->attach_no_wait (", this->beneath ()->shortname ());
2095 fputs_unfiltered (") = ", gdb_stdlog
);
2096 target_debug_print_bool (result
);
2097 fputs_unfiltered ("\n", gdb_stdlog
);
2102 target_ops::can_async_p ()
2104 return this->beneath ()->can_async_p ();
2108 dummy_target::can_async_p ()
2114 debug_target::can_async_p ()
2117 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_async_p (...)\n", this->beneath ()->shortname ());
2118 result
= this->beneath ()->can_async_p ();
2119 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_async_p (", this->beneath ()->shortname ());
2120 fputs_unfiltered (") = ", gdb_stdlog
);
2121 target_debug_print_bool (result
);
2122 fputs_unfiltered ("\n", gdb_stdlog
);
2127 target_ops::is_async_p ()
2129 return this->beneath ()->is_async_p ();
2133 dummy_target::is_async_p ()
2139 debug_target::is_async_p ()
2142 fprintf_unfiltered (gdb_stdlog
, "-> %s->is_async_p (...)\n", this->beneath ()->shortname ());
2143 result
= this->beneath ()->is_async_p ();
2144 fprintf_unfiltered (gdb_stdlog
, "<- %s->is_async_p (", this->beneath ()->shortname ());
2145 fputs_unfiltered (") = ", gdb_stdlog
);
2146 target_debug_print_bool (result
);
2147 fputs_unfiltered ("\n", gdb_stdlog
);
2152 target_ops::async (int arg0
)
2154 this->beneath ()->async (arg0
);
2158 dummy_target::async (int arg0
)
2164 debug_target::async (int arg0
)
2166 fprintf_unfiltered (gdb_stdlog
, "-> %s->async (...)\n", this->beneath ()->shortname ());
2167 this->beneath ()->async (arg0
);
2168 fprintf_unfiltered (gdb_stdlog
, "<- %s->async (", this->beneath ()->shortname ());
2169 target_debug_print_int (arg0
);
2170 fputs_unfiltered (")\n", gdb_stdlog
);
2174 target_ops::async_wait_fd ()
2176 return this->beneath ()->async_wait_fd ();
2180 dummy_target::async_wait_fd ()
2186 debug_target::async_wait_fd ()
2189 fprintf_unfiltered (gdb_stdlog
, "-> %s->async_wait_fd (...)\n", this->beneath ()->shortname ());
2190 result
= this->beneath ()->async_wait_fd ();
2191 fprintf_unfiltered (gdb_stdlog
, "<- %s->async_wait_fd (", this->beneath ()->shortname ());
2192 fputs_unfiltered (") = ", gdb_stdlog
);
2193 target_debug_print_int (result
);
2194 fputs_unfiltered ("\n", gdb_stdlog
);
2199 target_ops::thread_events (int arg0
)
2201 this->beneath ()->thread_events (arg0
);
2205 dummy_target::thread_events (int arg0
)
2210 debug_target::thread_events (int arg0
)
2212 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_events (...)\n", this->beneath ()->shortname ());
2213 this->beneath ()->thread_events (arg0
);
2214 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_events (", this->beneath ()->shortname ());
2215 target_debug_print_int (arg0
);
2216 fputs_unfiltered (")\n", gdb_stdlog
);
2220 target_ops::supports_non_stop ()
2222 return this->beneath ()->supports_non_stop ();
2226 dummy_target::supports_non_stop ()
2232 debug_target::supports_non_stop ()
2235 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_non_stop (...)\n", this->beneath ()->shortname ());
2236 result
= this->beneath ()->supports_non_stop ();
2237 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_non_stop (", this->beneath ()->shortname ());
2238 fputs_unfiltered (") = ", gdb_stdlog
);
2239 target_debug_print_bool (result
);
2240 fputs_unfiltered ("\n", gdb_stdlog
);
2245 target_ops::always_non_stop_p ()
2247 return this->beneath ()->always_non_stop_p ();
2251 dummy_target::always_non_stop_p ()
2257 debug_target::always_non_stop_p ()
2260 fprintf_unfiltered (gdb_stdlog
, "-> %s->always_non_stop_p (...)\n", this->beneath ()->shortname ());
2261 result
= this->beneath ()->always_non_stop_p ();
2262 fprintf_unfiltered (gdb_stdlog
, "<- %s->always_non_stop_p (", this->beneath ()->shortname ());
2263 fputs_unfiltered (") = ", gdb_stdlog
);
2264 target_debug_print_bool (result
);
2265 fputs_unfiltered ("\n", gdb_stdlog
);
2270 target_ops::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2272 return this->beneath ()->find_memory_regions (arg0
, arg1
);
2276 dummy_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2278 return dummy_find_memory_regions (this, arg0
, arg1
);
2282 debug_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2285 fprintf_unfiltered (gdb_stdlog
, "-> %s->find_memory_regions (...)\n", this->beneath ()->shortname ());
2286 result
= this->beneath ()->find_memory_regions (arg0
, arg1
);
2287 fprintf_unfiltered (gdb_stdlog
, "<- %s->find_memory_regions (", this->beneath ()->shortname ());
2288 target_debug_print_find_memory_region_ftype (arg0
);
2289 fputs_unfiltered (", ", gdb_stdlog
);
2290 target_debug_print_void_p (arg1
);
2291 fputs_unfiltered (") = ", gdb_stdlog
);
2292 target_debug_print_int (result
);
2293 fputs_unfiltered ("\n", gdb_stdlog
);
2298 target_ops::make_corefile_notes (bfd
*arg0
, int *arg1
)
2300 return this->beneath ()->make_corefile_notes (arg0
, arg1
);
2304 dummy_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2306 return dummy_make_corefile_notes (this, arg0
, arg1
);
2310 debug_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2313 fprintf_unfiltered (gdb_stdlog
, "-> %s->make_corefile_notes (...)\n", this->beneath ()->shortname ());
2314 result
= this->beneath ()->make_corefile_notes (arg0
, arg1
);
2315 fprintf_unfiltered (gdb_stdlog
, "<- %s->make_corefile_notes (", this->beneath ()->shortname ());
2316 target_debug_print_bfd_p (arg0
);
2317 fputs_unfiltered (", ", gdb_stdlog
);
2318 target_debug_print_int_p (arg1
);
2319 fputs_unfiltered (") = ", gdb_stdlog
);
2320 target_debug_print_char_p (result
);
2321 fputs_unfiltered ("\n", gdb_stdlog
);
2326 target_ops::get_bookmark (const char *arg0
, int arg1
)
2328 return this->beneath ()->get_bookmark (arg0
, arg1
);
2332 dummy_target::get_bookmark (const char *arg0
, int arg1
)
2338 debug_target::get_bookmark (const char *arg0
, int arg1
)
2341 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_bookmark (...)\n", this->beneath ()->shortname ());
2342 result
= this->beneath ()->get_bookmark (arg0
, arg1
);
2343 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_bookmark (", this->beneath ()->shortname ());
2344 target_debug_print_const_char_p (arg0
);
2345 fputs_unfiltered (", ", gdb_stdlog
);
2346 target_debug_print_int (arg1
);
2347 fputs_unfiltered (") = ", gdb_stdlog
);
2348 target_debug_print_gdb_byte_p (result
);
2349 fputs_unfiltered ("\n", gdb_stdlog
);
2354 target_ops::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2356 this->beneath ()->goto_bookmark (arg0
, arg1
);
2360 dummy_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2366 debug_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2368 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_bookmark (...)\n", this->beneath ()->shortname ());
2369 this->beneath ()->goto_bookmark (arg0
, arg1
);
2370 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_bookmark (", this->beneath ()->shortname ());
2371 target_debug_print_const_gdb_byte_p (arg0
);
2372 fputs_unfiltered (", ", gdb_stdlog
);
2373 target_debug_print_int (arg1
);
2374 fputs_unfiltered (")\n", gdb_stdlog
);
2378 target_ops::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2380 return this->beneath ()->get_thread_local_address (arg0
, arg1
, arg2
);
2384 dummy_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2386 generic_tls_error ();
2390 debug_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2393 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_thread_local_address (...)\n", this->beneath ()->shortname ());
2394 result
= this->beneath ()->get_thread_local_address (arg0
, arg1
, arg2
);
2395 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_thread_local_address (", this->beneath ()->shortname ());
2396 target_debug_print_ptid_t (arg0
);
2397 fputs_unfiltered (", ", gdb_stdlog
);
2398 target_debug_print_CORE_ADDR (arg1
);
2399 fputs_unfiltered (", ", gdb_stdlog
);
2400 target_debug_print_CORE_ADDR (arg2
);
2401 fputs_unfiltered (") = ", gdb_stdlog
);
2402 target_debug_print_CORE_ADDR (result
);
2403 fputs_unfiltered ("\n", gdb_stdlog
);
2407 enum target_xfer_status
2408 target_ops::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2410 return this->beneath ()->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2413 enum target_xfer_status
2414 dummy_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2416 return TARGET_XFER_E_IO
;
2419 enum target_xfer_status
2420 debug_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2422 enum target_xfer_status result
;
2423 fprintf_unfiltered (gdb_stdlog
, "-> %s->xfer_partial (...)\n", this->beneath ()->shortname ());
2424 result
= this->beneath ()->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2425 fprintf_unfiltered (gdb_stdlog
, "<- %s->xfer_partial (", this->beneath ()->shortname ());
2426 target_debug_print_enum_target_object (arg0
);
2427 fputs_unfiltered (", ", gdb_stdlog
);
2428 target_debug_print_const_char_p (arg1
);
2429 fputs_unfiltered (", ", gdb_stdlog
);
2430 target_debug_print_gdb_byte_p (arg2
);
2431 fputs_unfiltered (", ", gdb_stdlog
);
2432 target_debug_print_const_gdb_byte_p (arg3
);
2433 fputs_unfiltered (", ", gdb_stdlog
);
2434 target_debug_print_ULONGEST (arg4
);
2435 fputs_unfiltered (", ", gdb_stdlog
);
2436 target_debug_print_ULONGEST (arg5
);
2437 fputs_unfiltered (", ", gdb_stdlog
);
2438 target_debug_print_ULONGEST_p (arg6
);
2439 fputs_unfiltered (") = ", gdb_stdlog
);
2440 target_debug_print_enum_target_xfer_status (result
);
2441 fputs_unfiltered ("\n", gdb_stdlog
);
2446 target_ops::get_memory_xfer_limit ()
2448 return this->beneath ()->get_memory_xfer_limit ();
2452 dummy_target::get_memory_xfer_limit ()
2454 return ULONGEST_MAX
;
2458 debug_target::get_memory_xfer_limit ()
2461 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_memory_xfer_limit (...)\n", this->beneath ()->shortname ());
2462 result
= this->beneath ()->get_memory_xfer_limit ();
2463 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_memory_xfer_limit (", this->beneath ()->shortname ());
2464 fputs_unfiltered (") = ", gdb_stdlog
);
2465 target_debug_print_ULONGEST (result
);
2466 fputs_unfiltered ("\n", gdb_stdlog
);
2470 std::vector
<mem_region
>
2471 target_ops::memory_map ()
2473 return this->beneath ()->memory_map ();
2476 std::vector
<mem_region
>
2477 dummy_target::memory_map ()
2479 return std::vector
<mem_region
> ();
2482 std::vector
<mem_region
>
2483 debug_target::memory_map ()
2485 std::vector
<mem_region
> result
;
2486 fprintf_unfiltered (gdb_stdlog
, "-> %s->memory_map (...)\n", this->beneath ()->shortname ());
2487 result
= this->beneath ()->memory_map ();
2488 fprintf_unfiltered (gdb_stdlog
, "<- %s->memory_map (", this->beneath ()->shortname ());
2489 fputs_unfiltered (") = ", gdb_stdlog
);
2490 target_debug_print_std_vector_mem_region (result
);
2491 fputs_unfiltered ("\n", gdb_stdlog
);
2496 target_ops::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2498 this->beneath ()->flash_erase (arg0
, arg1
);
2502 dummy_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2508 debug_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2510 fprintf_unfiltered (gdb_stdlog
, "-> %s->flash_erase (...)\n", this->beneath ()->shortname ());
2511 this->beneath ()->flash_erase (arg0
, arg1
);
2512 fprintf_unfiltered (gdb_stdlog
, "<- %s->flash_erase (", this->beneath ()->shortname ());
2513 target_debug_print_ULONGEST (arg0
);
2514 fputs_unfiltered (", ", gdb_stdlog
);
2515 target_debug_print_LONGEST (arg1
);
2516 fputs_unfiltered (")\n", gdb_stdlog
);
2520 target_ops::flash_done ()
2522 this->beneath ()->flash_done ();
2526 dummy_target::flash_done ()
2532 debug_target::flash_done ()
2534 fprintf_unfiltered (gdb_stdlog
, "-> %s->flash_done (...)\n", this->beneath ()->shortname ());
2535 this->beneath ()->flash_done ();
2536 fprintf_unfiltered (gdb_stdlog
, "<- %s->flash_done (", this->beneath ()->shortname ());
2537 fputs_unfiltered (")\n", gdb_stdlog
);
2540 const struct target_desc
*
2541 target_ops::read_description ()
2543 return this->beneath ()->read_description ();
2546 const struct target_desc
*
2547 dummy_target::read_description ()
2552 const struct target_desc
*
2553 debug_target::read_description ()
2555 const struct target_desc
* result
;
2556 fprintf_unfiltered (gdb_stdlog
, "-> %s->read_description (...)\n", this->beneath ()->shortname ());
2557 result
= this->beneath ()->read_description ();
2558 fprintf_unfiltered (gdb_stdlog
, "<- %s->read_description (", this->beneath ()->shortname ());
2559 fputs_unfiltered (") = ", gdb_stdlog
);
2560 target_debug_print_const_struct_target_desc_p (result
);
2561 fputs_unfiltered ("\n", gdb_stdlog
);
2566 target_ops::get_ada_task_ptid (long arg0
, long arg1
)
2568 return this->beneath ()->get_ada_task_ptid (arg0
, arg1
);
2572 dummy_target::get_ada_task_ptid (long arg0
, long arg1
)
2574 return default_get_ada_task_ptid (this, arg0
, arg1
);
2578 debug_target::get_ada_task_ptid (long arg0
, long arg1
)
2581 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_ada_task_ptid (...)\n", this->beneath ()->shortname ());
2582 result
= this->beneath ()->get_ada_task_ptid (arg0
, arg1
);
2583 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_ada_task_ptid (", this->beneath ()->shortname ());
2584 target_debug_print_long (arg0
);
2585 fputs_unfiltered (", ", gdb_stdlog
);
2586 target_debug_print_long (arg1
);
2587 fputs_unfiltered (") = ", gdb_stdlog
);
2588 target_debug_print_ptid_t (result
);
2589 fputs_unfiltered ("\n", gdb_stdlog
);
2594 target_ops::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2596 return this->beneath ()->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2600 dummy_target::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2602 return default_auxv_parse (this, arg0
, arg1
, arg2
, arg3
);
2606 debug_target::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2609 fprintf_unfiltered (gdb_stdlog
, "-> %s->auxv_parse (...)\n", this->beneath ()->shortname ());
2610 result
= this->beneath ()->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2611 fprintf_unfiltered (gdb_stdlog
, "<- %s->auxv_parse (", this->beneath ()->shortname ());
2612 target_debug_print_gdb_byte_pp (arg0
);
2613 fputs_unfiltered (", ", gdb_stdlog
);
2614 target_debug_print_gdb_byte_p (arg1
);
2615 fputs_unfiltered (", ", gdb_stdlog
);
2616 target_debug_print_CORE_ADDR_p (arg2
);
2617 fputs_unfiltered (", ", gdb_stdlog
);
2618 target_debug_print_CORE_ADDR_p (arg3
);
2619 fputs_unfiltered (") = ", gdb_stdlog
);
2620 target_debug_print_int (result
);
2621 fputs_unfiltered ("\n", gdb_stdlog
);
2626 target_ops::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2628 return this->beneath ()->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2632 dummy_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2634 return default_search_memory (this, arg0
, arg1
, arg2
, arg3
, arg4
);
2638 debug_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2641 fprintf_unfiltered (gdb_stdlog
, "-> %s->search_memory (...)\n", this->beneath ()->shortname ());
2642 result
= this->beneath ()->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2643 fprintf_unfiltered (gdb_stdlog
, "<- %s->search_memory (", this->beneath ()->shortname ());
2644 target_debug_print_CORE_ADDR (arg0
);
2645 fputs_unfiltered (", ", gdb_stdlog
);
2646 target_debug_print_ULONGEST (arg1
);
2647 fputs_unfiltered (", ", gdb_stdlog
);
2648 target_debug_print_const_gdb_byte_p (arg2
);
2649 fputs_unfiltered (", ", gdb_stdlog
);
2650 target_debug_print_ULONGEST (arg3
);
2651 fputs_unfiltered (", ", gdb_stdlog
);
2652 target_debug_print_CORE_ADDR_p (arg4
);
2653 fputs_unfiltered (") = ", gdb_stdlog
);
2654 target_debug_print_int (result
);
2655 fputs_unfiltered ("\n", gdb_stdlog
);
2660 target_ops::can_execute_reverse ()
2662 return this->beneath ()->can_execute_reverse ();
2666 dummy_target::can_execute_reverse ()
2672 debug_target::can_execute_reverse ()
2675 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_execute_reverse (...)\n", this->beneath ()->shortname ());
2676 result
= this->beneath ()->can_execute_reverse ();
2677 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_execute_reverse (", this->beneath ()->shortname ());
2678 fputs_unfiltered (") = ", gdb_stdlog
);
2679 target_debug_print_bool (result
);
2680 fputs_unfiltered ("\n", gdb_stdlog
);
2684 enum exec_direction_kind
2685 target_ops::execution_direction ()
2687 return this->beneath ()->execution_direction ();
2690 enum exec_direction_kind
2691 dummy_target::execution_direction ()
2693 return default_execution_direction (this);
2696 enum exec_direction_kind
2697 debug_target::execution_direction ()
2699 enum exec_direction_kind result
;
2700 fprintf_unfiltered (gdb_stdlog
, "-> %s->execution_direction (...)\n", this->beneath ()->shortname ());
2701 result
= this->beneath ()->execution_direction ();
2702 fprintf_unfiltered (gdb_stdlog
, "<- %s->execution_direction (", this->beneath ()->shortname ());
2703 fputs_unfiltered (") = ", gdb_stdlog
);
2704 target_debug_print_enum_exec_direction_kind (result
);
2705 fputs_unfiltered ("\n", gdb_stdlog
);
2710 target_ops::supports_multi_process ()
2712 return this->beneath ()->supports_multi_process ();
2716 dummy_target::supports_multi_process ()
2722 debug_target::supports_multi_process ()
2725 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_multi_process (...)\n", this->beneath ()->shortname ());
2726 result
= this->beneath ()->supports_multi_process ();
2727 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_multi_process (", this->beneath ()->shortname ());
2728 fputs_unfiltered (") = ", gdb_stdlog
);
2729 target_debug_print_bool (result
);
2730 fputs_unfiltered ("\n", gdb_stdlog
);
2735 target_ops::supports_enable_disable_tracepoint ()
2737 return this->beneath ()->supports_enable_disable_tracepoint ();
2741 dummy_target::supports_enable_disable_tracepoint ()
2747 debug_target::supports_enable_disable_tracepoint ()
2750 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath ()->shortname ());
2751 result
= this->beneath ()->supports_enable_disable_tracepoint ();
2752 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_enable_disable_tracepoint (", this->beneath ()->shortname ());
2753 fputs_unfiltered (") = ", gdb_stdlog
);
2754 target_debug_print_bool (result
);
2755 fputs_unfiltered ("\n", gdb_stdlog
);
2760 target_ops::supports_disable_randomization ()
2762 return this->beneath ()->supports_disable_randomization ();
2766 dummy_target::supports_disable_randomization ()
2768 return find_default_supports_disable_randomization (this);
2772 debug_target::supports_disable_randomization ()
2775 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_disable_randomization (...)\n", this->beneath ()->shortname ());
2776 result
= this->beneath ()->supports_disable_randomization ();
2777 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_disable_randomization (", this->beneath ()->shortname ());
2778 fputs_unfiltered (") = ", gdb_stdlog
);
2779 target_debug_print_bool (result
);
2780 fputs_unfiltered ("\n", gdb_stdlog
);
2785 target_ops::supports_string_tracing ()
2787 return this->beneath ()->supports_string_tracing ();
2791 dummy_target::supports_string_tracing ()
2797 debug_target::supports_string_tracing ()
2800 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_string_tracing (...)\n", this->beneath ()->shortname ());
2801 result
= this->beneath ()->supports_string_tracing ();
2802 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_string_tracing (", this->beneath ()->shortname ());
2803 fputs_unfiltered (") = ", gdb_stdlog
);
2804 target_debug_print_bool (result
);
2805 fputs_unfiltered ("\n", gdb_stdlog
);
2810 target_ops::supports_evaluation_of_breakpoint_conditions ()
2812 return this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2816 dummy_target::supports_evaluation_of_breakpoint_conditions ()
2822 debug_target::supports_evaluation_of_breakpoint_conditions ()
2825 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath ()->shortname ());
2826 result
= this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2827 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath ()->shortname ());
2828 fputs_unfiltered (") = ", gdb_stdlog
);
2829 target_debug_print_bool (result
);
2830 fputs_unfiltered ("\n", gdb_stdlog
);
2835 target_ops::can_run_breakpoint_commands ()
2837 return this->beneath ()->can_run_breakpoint_commands ();
2841 dummy_target::can_run_breakpoint_commands ()
2847 debug_target::can_run_breakpoint_commands ()
2850 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath ()->shortname ());
2851 result
= this->beneath ()->can_run_breakpoint_commands ();
2852 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_run_breakpoint_commands (", this->beneath ()->shortname ());
2853 fputs_unfiltered (") = ", gdb_stdlog
);
2854 target_debug_print_bool (result
);
2855 fputs_unfiltered ("\n", gdb_stdlog
);
2860 target_ops::thread_architecture (ptid_t arg0
)
2862 return this->beneath ()->thread_architecture (arg0
);
2866 dummy_target::thread_architecture (ptid_t arg0
)
2872 debug_target::thread_architecture (ptid_t arg0
)
2874 struct gdbarch
* result
;
2875 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_architecture (...)\n", this->beneath ()->shortname ());
2876 result
= this->beneath ()->thread_architecture (arg0
);
2877 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_architecture (", this->beneath ()->shortname ());
2878 target_debug_print_ptid_t (arg0
);
2879 fputs_unfiltered (") = ", gdb_stdlog
);
2880 target_debug_print_struct_gdbarch_p (result
);
2881 fputs_unfiltered ("\n", gdb_stdlog
);
2885 struct address_space
*
2886 target_ops::thread_address_space (ptid_t arg0
)
2888 return this->beneath ()->thread_address_space (arg0
);
2891 struct address_space
*
2892 dummy_target::thread_address_space (ptid_t arg0
)
2897 struct address_space
*
2898 debug_target::thread_address_space (ptid_t arg0
)
2900 struct address_space
* result
;
2901 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_address_space (...)\n", this->beneath ()->shortname ());
2902 result
= this->beneath ()->thread_address_space (arg0
);
2903 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_address_space (", this->beneath ()->shortname ());
2904 target_debug_print_ptid_t (arg0
);
2905 fputs_unfiltered (") = ", gdb_stdlog
);
2906 target_debug_print_struct_address_space_p (result
);
2907 fputs_unfiltered ("\n", gdb_stdlog
);
2912 target_ops::filesystem_is_local ()
2914 return this->beneath ()->filesystem_is_local ();
2918 dummy_target::filesystem_is_local ()
2924 debug_target::filesystem_is_local ()
2927 fprintf_unfiltered (gdb_stdlog
, "-> %s->filesystem_is_local (...)\n", this->beneath ()->shortname ());
2928 result
= this->beneath ()->filesystem_is_local ();
2929 fprintf_unfiltered (gdb_stdlog
, "<- %s->filesystem_is_local (", this->beneath ()->shortname ());
2930 fputs_unfiltered (") = ", gdb_stdlog
);
2931 target_debug_print_bool (result
);
2932 fputs_unfiltered ("\n", gdb_stdlog
);
2937 target_ops::trace_init ()
2939 this->beneath ()->trace_init ();
2943 dummy_target::trace_init ()
2949 debug_target::trace_init ()
2951 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_init (...)\n", this->beneath ()->shortname ());
2952 this->beneath ()->trace_init ();
2953 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_init (", this->beneath ()->shortname ());
2954 fputs_unfiltered (")\n", gdb_stdlog
);
2958 target_ops::download_tracepoint (struct bp_location
*arg0
)
2960 this->beneath ()->download_tracepoint (arg0
);
2964 dummy_target::download_tracepoint (struct bp_location
*arg0
)
2970 debug_target::download_tracepoint (struct bp_location
*arg0
)
2972 fprintf_unfiltered (gdb_stdlog
, "-> %s->download_tracepoint (...)\n", this->beneath ()->shortname ());
2973 this->beneath ()->download_tracepoint (arg0
);
2974 fprintf_unfiltered (gdb_stdlog
, "<- %s->download_tracepoint (", this->beneath ()->shortname ());
2975 target_debug_print_struct_bp_location_p (arg0
);
2976 fputs_unfiltered (")\n", gdb_stdlog
);
2980 target_ops::can_download_tracepoint ()
2982 return this->beneath ()->can_download_tracepoint ();
2986 dummy_target::can_download_tracepoint ()
2992 debug_target::can_download_tracepoint ()
2995 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_download_tracepoint (...)\n", this->beneath ()->shortname ());
2996 result
= this->beneath ()->can_download_tracepoint ();
2997 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_download_tracepoint (", this->beneath ()->shortname ());
2998 fputs_unfiltered (") = ", gdb_stdlog
);
2999 target_debug_print_bool (result
);
3000 fputs_unfiltered ("\n", gdb_stdlog
);
3005 target_ops::download_trace_state_variable (const trace_state_variable
&arg0
)
3007 this->beneath ()->download_trace_state_variable (arg0
);
3011 dummy_target::download_trace_state_variable (const trace_state_variable
&arg0
)
3017 debug_target::download_trace_state_variable (const trace_state_variable
&arg0
)
3019 fprintf_unfiltered (gdb_stdlog
, "-> %s->download_trace_state_variable (...)\n", this->beneath ()->shortname ());
3020 this->beneath ()->download_trace_state_variable (arg0
);
3021 fprintf_unfiltered (gdb_stdlog
, "<- %s->download_trace_state_variable (", this->beneath ()->shortname ());
3022 target_debug_print_const_trace_state_variable_r (arg0
);
3023 fputs_unfiltered (")\n", gdb_stdlog
);
3027 target_ops::enable_tracepoint (struct bp_location
*arg0
)
3029 this->beneath ()->enable_tracepoint (arg0
);
3033 dummy_target::enable_tracepoint (struct bp_location
*arg0
)
3039 debug_target::enable_tracepoint (struct bp_location
*arg0
)
3041 fprintf_unfiltered (gdb_stdlog
, "-> %s->enable_tracepoint (...)\n", this->beneath ()->shortname ());
3042 this->beneath ()->enable_tracepoint (arg0
);
3043 fprintf_unfiltered (gdb_stdlog
, "<- %s->enable_tracepoint (", this->beneath ()->shortname ());
3044 target_debug_print_struct_bp_location_p (arg0
);
3045 fputs_unfiltered (")\n", gdb_stdlog
);
3049 target_ops::disable_tracepoint (struct bp_location
*arg0
)
3051 this->beneath ()->disable_tracepoint (arg0
);
3055 dummy_target::disable_tracepoint (struct bp_location
*arg0
)
3061 debug_target::disable_tracepoint (struct bp_location
*arg0
)
3063 fprintf_unfiltered (gdb_stdlog
, "-> %s->disable_tracepoint (...)\n", this->beneath ()->shortname ());
3064 this->beneath ()->disable_tracepoint (arg0
);
3065 fprintf_unfiltered (gdb_stdlog
, "<- %s->disable_tracepoint (", this->beneath ()->shortname ());
3066 target_debug_print_struct_bp_location_p (arg0
);
3067 fputs_unfiltered (")\n", gdb_stdlog
);
3071 target_ops::trace_set_readonly_regions ()
3073 this->beneath ()->trace_set_readonly_regions ();
3077 dummy_target::trace_set_readonly_regions ()
3083 debug_target::trace_set_readonly_regions ()
3085 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_set_readonly_regions (...)\n", this->beneath ()->shortname ());
3086 this->beneath ()->trace_set_readonly_regions ();
3087 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_set_readonly_regions (", this->beneath ()->shortname ());
3088 fputs_unfiltered (")\n", gdb_stdlog
);
3092 target_ops::trace_start ()
3094 this->beneath ()->trace_start ();
3098 dummy_target::trace_start ()
3104 debug_target::trace_start ()
3106 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_start (...)\n", this->beneath ()->shortname ());
3107 this->beneath ()->trace_start ();
3108 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_start (", this->beneath ()->shortname ());
3109 fputs_unfiltered (")\n", gdb_stdlog
);
3113 target_ops::get_trace_status (struct trace_status
*arg0
)
3115 return this->beneath ()->get_trace_status (arg0
);
3119 dummy_target::get_trace_status (struct trace_status
*arg0
)
3125 debug_target::get_trace_status (struct trace_status
*arg0
)
3128 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_trace_status (...)\n", this->beneath ()->shortname ());
3129 result
= this->beneath ()->get_trace_status (arg0
);
3130 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_trace_status (", this->beneath ()->shortname ());
3131 target_debug_print_struct_trace_status_p (arg0
);
3132 fputs_unfiltered (") = ", gdb_stdlog
);
3133 target_debug_print_int (result
);
3134 fputs_unfiltered ("\n", gdb_stdlog
);
3139 target_ops::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3141 this->beneath ()->get_tracepoint_status (arg0
, arg1
);
3145 dummy_target::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3151 debug_target::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3153 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tracepoint_status (...)\n", this->beneath ()->shortname ());
3154 this->beneath ()->get_tracepoint_status (arg0
, arg1
);
3155 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tracepoint_status (", this->beneath ()->shortname ());
3156 target_debug_print_struct_breakpoint_p (arg0
);
3157 fputs_unfiltered (", ", gdb_stdlog
);
3158 target_debug_print_struct_uploaded_tp_p (arg1
);
3159 fputs_unfiltered (")\n", gdb_stdlog
);
3163 target_ops::trace_stop ()
3165 this->beneath ()->trace_stop ();
3169 dummy_target::trace_stop ()
3175 debug_target::trace_stop ()
3177 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_stop (...)\n", this->beneath ()->shortname ());
3178 this->beneath ()->trace_stop ();
3179 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_stop (", this->beneath ()->shortname ());
3180 fputs_unfiltered (")\n", gdb_stdlog
);
3184 target_ops::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3186 return this->beneath ()->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3190 dummy_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3196 debug_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3199 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_find (...)\n", this->beneath ()->shortname ());
3200 result
= this->beneath ()->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3201 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_find (", this->beneath ()->shortname ());
3202 target_debug_print_enum_trace_find_type (arg0
);
3203 fputs_unfiltered (", ", gdb_stdlog
);
3204 target_debug_print_int (arg1
);
3205 fputs_unfiltered (", ", gdb_stdlog
);
3206 target_debug_print_CORE_ADDR (arg2
);
3207 fputs_unfiltered (", ", gdb_stdlog
);
3208 target_debug_print_CORE_ADDR (arg3
);
3209 fputs_unfiltered (", ", gdb_stdlog
);
3210 target_debug_print_int_p (arg4
);
3211 fputs_unfiltered (") = ", gdb_stdlog
);
3212 target_debug_print_int (result
);
3213 fputs_unfiltered ("\n", gdb_stdlog
);
3218 target_ops::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3220 return this->beneath ()->get_trace_state_variable_value (arg0
, arg1
);
3224 dummy_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3230 debug_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3233 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_trace_state_variable_value (...)\n", this->beneath ()->shortname ());
3234 result
= this->beneath ()->get_trace_state_variable_value (arg0
, arg1
);
3235 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_trace_state_variable_value (", this->beneath ()->shortname ());
3236 target_debug_print_int (arg0
);
3237 fputs_unfiltered (", ", gdb_stdlog
);
3238 target_debug_print_LONGEST_p (arg1
);
3239 fputs_unfiltered (") = ", gdb_stdlog
);
3240 target_debug_print_bool (result
);
3241 fputs_unfiltered ("\n", gdb_stdlog
);
3246 target_ops::save_trace_data (const char *arg0
)
3248 return this->beneath ()->save_trace_data (arg0
);
3252 dummy_target::save_trace_data (const char *arg0
)
3258 debug_target::save_trace_data (const char *arg0
)
3261 fprintf_unfiltered (gdb_stdlog
, "-> %s->save_trace_data (...)\n", this->beneath ()->shortname ());
3262 result
= this->beneath ()->save_trace_data (arg0
);
3263 fprintf_unfiltered (gdb_stdlog
, "<- %s->save_trace_data (", this->beneath ()->shortname ());
3264 target_debug_print_const_char_p (arg0
);
3265 fputs_unfiltered (") = ", gdb_stdlog
);
3266 target_debug_print_int (result
);
3267 fputs_unfiltered ("\n", gdb_stdlog
);
3272 target_ops::upload_tracepoints (struct uploaded_tp
**arg0
)
3274 return this->beneath ()->upload_tracepoints (arg0
);
3278 dummy_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3284 debug_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3287 fprintf_unfiltered (gdb_stdlog
, "-> %s->upload_tracepoints (...)\n", this->beneath ()->shortname ());
3288 result
= this->beneath ()->upload_tracepoints (arg0
);
3289 fprintf_unfiltered (gdb_stdlog
, "<- %s->upload_tracepoints (", this->beneath ()->shortname ());
3290 target_debug_print_struct_uploaded_tp_pp (arg0
);
3291 fputs_unfiltered (") = ", gdb_stdlog
);
3292 target_debug_print_int (result
);
3293 fputs_unfiltered ("\n", gdb_stdlog
);
3298 target_ops::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3300 return this->beneath ()->upload_trace_state_variables (arg0
);
3304 dummy_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3310 debug_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3313 fprintf_unfiltered (gdb_stdlog
, "-> %s->upload_trace_state_variables (...)\n", this->beneath ()->shortname ());
3314 result
= this->beneath ()->upload_trace_state_variables (arg0
);
3315 fprintf_unfiltered (gdb_stdlog
, "<- %s->upload_trace_state_variables (", this->beneath ()->shortname ());
3316 target_debug_print_struct_uploaded_tsv_pp (arg0
);
3317 fputs_unfiltered (") = ", gdb_stdlog
);
3318 target_debug_print_int (result
);
3319 fputs_unfiltered ("\n", gdb_stdlog
);
3324 target_ops::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3326 return this->beneath ()->get_raw_trace_data (arg0
, arg1
, arg2
);
3330 dummy_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3336 debug_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3339 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_raw_trace_data (...)\n", this->beneath ()->shortname ());
3340 result
= this->beneath ()->get_raw_trace_data (arg0
, arg1
, arg2
);
3341 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_raw_trace_data (", this->beneath ()->shortname ());
3342 target_debug_print_gdb_byte_p (arg0
);
3343 fputs_unfiltered (", ", gdb_stdlog
);
3344 target_debug_print_ULONGEST (arg1
);
3345 fputs_unfiltered (", ", gdb_stdlog
);
3346 target_debug_print_LONGEST (arg2
);
3347 fputs_unfiltered (") = ", gdb_stdlog
);
3348 target_debug_print_LONGEST (result
);
3349 fputs_unfiltered ("\n", gdb_stdlog
);
3354 target_ops::get_min_fast_tracepoint_insn_len ()
3356 return this->beneath ()->get_min_fast_tracepoint_insn_len ();
3360 dummy_target::get_min_fast_tracepoint_insn_len ()
3366 debug_target::get_min_fast_tracepoint_insn_len ()
3369 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath ()->shortname ());
3370 result
= this->beneath ()->get_min_fast_tracepoint_insn_len ();
3371 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath ()->shortname ());
3372 fputs_unfiltered (") = ", gdb_stdlog
);
3373 target_debug_print_int (result
);
3374 fputs_unfiltered ("\n", gdb_stdlog
);
3379 target_ops::set_disconnected_tracing (int arg0
)
3381 this->beneath ()->set_disconnected_tracing (arg0
);
3385 dummy_target::set_disconnected_tracing (int arg0
)
3390 debug_target::set_disconnected_tracing (int arg0
)
3392 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_disconnected_tracing (...)\n", this->beneath ()->shortname ());
3393 this->beneath ()->set_disconnected_tracing (arg0
);
3394 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_disconnected_tracing (", this->beneath ()->shortname ());
3395 target_debug_print_int (arg0
);
3396 fputs_unfiltered (")\n", gdb_stdlog
);
3400 target_ops::set_circular_trace_buffer (int arg0
)
3402 this->beneath ()->set_circular_trace_buffer (arg0
);
3406 dummy_target::set_circular_trace_buffer (int arg0
)
3411 debug_target::set_circular_trace_buffer (int arg0
)
3413 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_circular_trace_buffer (...)\n", this->beneath ()->shortname ());
3414 this->beneath ()->set_circular_trace_buffer (arg0
);
3415 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_circular_trace_buffer (", this->beneath ()->shortname ());
3416 target_debug_print_int (arg0
);
3417 fputs_unfiltered (")\n", gdb_stdlog
);
3421 target_ops::set_trace_buffer_size (LONGEST arg0
)
3423 this->beneath ()->set_trace_buffer_size (arg0
);
3427 dummy_target::set_trace_buffer_size (LONGEST arg0
)
3432 debug_target::set_trace_buffer_size (LONGEST arg0
)
3434 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_trace_buffer_size (...)\n", this->beneath ()->shortname ());
3435 this->beneath ()->set_trace_buffer_size (arg0
);
3436 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_trace_buffer_size (", this->beneath ()->shortname ());
3437 target_debug_print_LONGEST (arg0
);
3438 fputs_unfiltered (")\n", gdb_stdlog
);
3442 target_ops::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3444 return this->beneath ()->set_trace_notes (arg0
, arg1
, arg2
);
3448 dummy_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3454 debug_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3457 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_trace_notes (...)\n", this->beneath ()->shortname ());
3458 result
= this->beneath ()->set_trace_notes (arg0
, arg1
, arg2
);
3459 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_trace_notes (", this->beneath ()->shortname ());
3460 target_debug_print_const_char_p (arg0
);
3461 fputs_unfiltered (", ", gdb_stdlog
);
3462 target_debug_print_const_char_p (arg1
);
3463 fputs_unfiltered (", ", gdb_stdlog
);
3464 target_debug_print_const_char_p (arg2
);
3465 fputs_unfiltered (") = ", gdb_stdlog
);
3466 target_debug_print_bool (result
);
3467 fputs_unfiltered ("\n", gdb_stdlog
);
3472 target_ops::core_of_thread (ptid_t arg0
)
3474 return this->beneath ()->core_of_thread (arg0
);
3478 dummy_target::core_of_thread (ptid_t arg0
)
3484 debug_target::core_of_thread (ptid_t arg0
)
3487 fprintf_unfiltered (gdb_stdlog
, "-> %s->core_of_thread (...)\n", this->beneath ()->shortname ());
3488 result
= this->beneath ()->core_of_thread (arg0
);
3489 fprintf_unfiltered (gdb_stdlog
, "<- %s->core_of_thread (", this->beneath ()->shortname ());
3490 target_debug_print_ptid_t (arg0
);
3491 fputs_unfiltered (") = ", gdb_stdlog
);
3492 target_debug_print_int (result
);
3493 fputs_unfiltered ("\n", gdb_stdlog
);
3498 target_ops::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3500 return this->beneath ()->verify_memory (arg0
, arg1
, arg2
);
3504 dummy_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3506 return default_verify_memory (this, arg0
, arg1
, arg2
);
3510 debug_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3513 fprintf_unfiltered (gdb_stdlog
, "-> %s->verify_memory (...)\n", this->beneath ()->shortname ());
3514 result
= this->beneath ()->verify_memory (arg0
, arg1
, arg2
);
3515 fprintf_unfiltered (gdb_stdlog
, "<- %s->verify_memory (", this->beneath ()->shortname ());
3516 target_debug_print_const_gdb_byte_p (arg0
);
3517 fputs_unfiltered (", ", gdb_stdlog
);
3518 target_debug_print_CORE_ADDR (arg1
);
3519 fputs_unfiltered (", ", gdb_stdlog
);
3520 target_debug_print_ULONGEST (arg2
);
3521 fputs_unfiltered (") = ", gdb_stdlog
);
3522 target_debug_print_int (result
);
3523 fputs_unfiltered ("\n", gdb_stdlog
);
3528 target_ops::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3530 return this->beneath ()->get_tib_address (arg0
, arg1
);
3534 dummy_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3540 debug_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3543 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tib_address (...)\n", this->beneath ()->shortname ());
3544 result
= this->beneath ()->get_tib_address (arg0
, arg1
);
3545 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tib_address (", this->beneath ()->shortname ());
3546 target_debug_print_ptid_t (arg0
);
3547 fputs_unfiltered (", ", gdb_stdlog
);
3548 target_debug_print_CORE_ADDR_p (arg1
);
3549 fputs_unfiltered (") = ", gdb_stdlog
);
3550 target_debug_print_bool (result
);
3551 fputs_unfiltered ("\n", gdb_stdlog
);
3556 target_ops::set_permissions ()
3558 this->beneath ()->set_permissions ();
3562 dummy_target::set_permissions ()
3567 debug_target::set_permissions ()
3569 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_permissions (...)\n", this->beneath ()->shortname ());
3570 this->beneath ()->set_permissions ();
3571 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_permissions (", this->beneath ()->shortname ());
3572 fputs_unfiltered (")\n", gdb_stdlog
);
3576 target_ops::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3578 return this->beneath ()->static_tracepoint_marker_at (arg0
, arg1
);
3582 dummy_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3588 debug_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3591 fprintf_unfiltered (gdb_stdlog
, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath ()->shortname ());
3592 result
= this->beneath ()->static_tracepoint_marker_at (arg0
, arg1
);
3593 fprintf_unfiltered (gdb_stdlog
, "<- %s->static_tracepoint_marker_at (", this->beneath ()->shortname ());
3594 target_debug_print_CORE_ADDR (arg0
);
3595 fputs_unfiltered (", ", gdb_stdlog
);
3596 target_debug_print_static_tracepoint_marker_p (arg1
);
3597 fputs_unfiltered (") = ", gdb_stdlog
);
3598 target_debug_print_bool (result
);
3599 fputs_unfiltered ("\n", gdb_stdlog
);
3603 std::vector
<static_tracepoint_marker
>
3604 target_ops::static_tracepoint_markers_by_strid (const char *arg0
)
3606 return this->beneath ()->static_tracepoint_markers_by_strid (arg0
);
3609 std::vector
<static_tracepoint_marker
>
3610 dummy_target::static_tracepoint_markers_by_strid (const char *arg0
)
3615 std::vector
<static_tracepoint_marker
>
3616 debug_target::static_tracepoint_markers_by_strid (const char *arg0
)
3618 std::vector
<static_tracepoint_marker
> result
;
3619 fprintf_unfiltered (gdb_stdlog
, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath ()->shortname ());
3620 result
= this->beneath ()->static_tracepoint_markers_by_strid (arg0
);
3621 fprintf_unfiltered (gdb_stdlog
, "<- %s->static_tracepoint_markers_by_strid (", this->beneath ()->shortname ());
3622 target_debug_print_const_char_p (arg0
);
3623 fputs_unfiltered (") = ", gdb_stdlog
);
3624 target_debug_print_std_vector_static_tracepoint_marker (result
);
3625 fputs_unfiltered ("\n", gdb_stdlog
);
3630 target_ops::traceframe_info ()
3632 return this->beneath ()->traceframe_info ();
3636 dummy_target::traceframe_info ()
3642 debug_target::traceframe_info ()
3644 traceframe_info_up result
;
3645 fprintf_unfiltered (gdb_stdlog
, "-> %s->traceframe_info (...)\n", this->beneath ()->shortname ());
3646 result
= this->beneath ()->traceframe_info ();
3647 fprintf_unfiltered (gdb_stdlog
, "<- %s->traceframe_info (", this->beneath ()->shortname ());
3648 fputs_unfiltered (") = ", gdb_stdlog
);
3649 target_debug_print_traceframe_info_up (result
);
3650 fputs_unfiltered ("\n", gdb_stdlog
);
3655 target_ops::use_agent (bool arg0
)
3657 return this->beneath ()->use_agent (arg0
);
3661 dummy_target::use_agent (bool arg0
)
3667 debug_target::use_agent (bool arg0
)
3670 fprintf_unfiltered (gdb_stdlog
, "-> %s->use_agent (...)\n", this->beneath ()->shortname ());
3671 result
= this->beneath ()->use_agent (arg0
);
3672 fprintf_unfiltered (gdb_stdlog
, "<- %s->use_agent (", this->beneath ()->shortname ());
3673 target_debug_print_bool (arg0
);
3674 fputs_unfiltered (") = ", gdb_stdlog
);
3675 target_debug_print_bool (result
);
3676 fputs_unfiltered ("\n", gdb_stdlog
);
3681 target_ops::can_use_agent ()
3683 return this->beneath ()->can_use_agent ();
3687 dummy_target::can_use_agent ()
3693 debug_target::can_use_agent ()
3696 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_use_agent (...)\n", this->beneath ()->shortname ());
3697 result
= this->beneath ()->can_use_agent ();
3698 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_use_agent (", this->beneath ()->shortname ());
3699 fputs_unfiltered (") = ", gdb_stdlog
);
3700 target_debug_print_bool (result
);
3701 fputs_unfiltered ("\n", gdb_stdlog
);
3705 struct btrace_target_info
*
3706 target_ops::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3708 return this->beneath ()->enable_btrace (arg0
, arg1
);
3711 struct btrace_target_info
*
3712 dummy_target::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3717 struct btrace_target_info
*
3718 debug_target::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3720 struct btrace_target_info
* result
;
3721 fprintf_unfiltered (gdb_stdlog
, "-> %s->enable_btrace (...)\n", this->beneath ()->shortname ());
3722 result
= this->beneath ()->enable_btrace (arg0
, arg1
);
3723 fprintf_unfiltered (gdb_stdlog
, "<- %s->enable_btrace (", this->beneath ()->shortname ());
3724 target_debug_print_ptid_t (arg0
);
3725 fputs_unfiltered (", ", gdb_stdlog
);
3726 target_debug_print_const_struct_btrace_config_p (arg1
);
3727 fputs_unfiltered (") = ", gdb_stdlog
);
3728 target_debug_print_struct_btrace_target_info_p (result
);
3729 fputs_unfiltered ("\n", gdb_stdlog
);
3734 target_ops::disable_btrace (struct btrace_target_info
*arg0
)
3736 this->beneath ()->disable_btrace (arg0
);
3740 dummy_target::disable_btrace (struct btrace_target_info
*arg0
)
3746 debug_target::disable_btrace (struct btrace_target_info
*arg0
)
3748 fprintf_unfiltered (gdb_stdlog
, "-> %s->disable_btrace (...)\n", this->beneath ()->shortname ());
3749 this->beneath ()->disable_btrace (arg0
);
3750 fprintf_unfiltered (gdb_stdlog
, "<- %s->disable_btrace (", this->beneath ()->shortname ());
3751 target_debug_print_struct_btrace_target_info_p (arg0
);
3752 fputs_unfiltered (")\n", gdb_stdlog
);
3756 target_ops::teardown_btrace (struct btrace_target_info
*arg0
)
3758 this->beneath ()->teardown_btrace (arg0
);
3762 dummy_target::teardown_btrace (struct btrace_target_info
*arg0
)
3768 debug_target::teardown_btrace (struct btrace_target_info
*arg0
)
3770 fprintf_unfiltered (gdb_stdlog
, "-> %s->teardown_btrace (...)\n", this->beneath ()->shortname ());
3771 this->beneath ()->teardown_btrace (arg0
);
3772 fprintf_unfiltered (gdb_stdlog
, "<- %s->teardown_btrace (", this->beneath ()->shortname ());
3773 target_debug_print_struct_btrace_target_info_p (arg0
);
3774 fputs_unfiltered (")\n", gdb_stdlog
);
3778 target_ops::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3780 return this->beneath ()->read_btrace (arg0
, arg1
, arg2
);
3784 dummy_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3790 debug_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3792 enum btrace_error result
;
3793 fprintf_unfiltered (gdb_stdlog
, "-> %s->read_btrace (...)\n", this->beneath ()->shortname ());
3794 result
= this->beneath ()->read_btrace (arg0
, arg1
, arg2
);
3795 fprintf_unfiltered (gdb_stdlog
, "<- %s->read_btrace (", this->beneath ()->shortname ());
3796 target_debug_print_struct_btrace_data_p (arg0
);
3797 fputs_unfiltered (", ", gdb_stdlog
);
3798 target_debug_print_struct_btrace_target_info_p (arg1
);
3799 fputs_unfiltered (", ", gdb_stdlog
);
3800 target_debug_print_enum_btrace_read_type (arg2
);
3801 fputs_unfiltered (") = ", gdb_stdlog
);
3802 target_debug_print_enum_btrace_error (result
);
3803 fputs_unfiltered ("\n", gdb_stdlog
);
3807 const struct btrace_config
*
3808 target_ops::btrace_conf (const struct btrace_target_info
*arg0
)
3810 return this->beneath ()->btrace_conf (arg0
);
3813 const struct btrace_config
*
3814 dummy_target::btrace_conf (const struct btrace_target_info
*arg0
)
3819 const struct btrace_config
*
3820 debug_target::btrace_conf (const struct btrace_target_info
*arg0
)
3822 const struct btrace_config
* result
;
3823 fprintf_unfiltered (gdb_stdlog
, "-> %s->btrace_conf (...)\n", this->beneath ()->shortname ());
3824 result
= this->beneath ()->btrace_conf (arg0
);
3825 fprintf_unfiltered (gdb_stdlog
, "<- %s->btrace_conf (", this->beneath ()->shortname ());
3826 target_debug_print_const_struct_btrace_target_info_p (arg0
);
3827 fputs_unfiltered (") = ", gdb_stdlog
);
3828 target_debug_print_const_struct_btrace_config_p (result
);
3829 fputs_unfiltered ("\n", gdb_stdlog
);
3834 target_ops::record_method (ptid_t arg0
)
3836 return this->beneath ()->record_method (arg0
);
3840 dummy_target::record_method (ptid_t arg0
)
3842 return RECORD_METHOD_NONE
;
3846 debug_target::record_method (ptid_t arg0
)
3848 enum record_method result
;
3849 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_method (...)\n", this->beneath ()->shortname ());
3850 result
= this->beneath ()->record_method (arg0
);
3851 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_method (", this->beneath ()->shortname ());
3852 target_debug_print_ptid_t (arg0
);
3853 fputs_unfiltered (") = ", gdb_stdlog
);
3854 target_debug_print_enum_record_method (result
);
3855 fputs_unfiltered ("\n", gdb_stdlog
);
3860 target_ops::stop_recording ()
3862 this->beneath ()->stop_recording ();
3866 dummy_target::stop_recording ()
3871 debug_target::stop_recording ()
3873 fprintf_unfiltered (gdb_stdlog
, "-> %s->stop_recording (...)\n", this->beneath ()->shortname ());
3874 this->beneath ()->stop_recording ();
3875 fprintf_unfiltered (gdb_stdlog
, "<- %s->stop_recording (", this->beneath ()->shortname ());
3876 fputs_unfiltered (")\n", gdb_stdlog
);
3880 target_ops::info_record ()
3882 this->beneath ()->info_record ();
3886 dummy_target::info_record ()
3891 debug_target::info_record ()
3893 fprintf_unfiltered (gdb_stdlog
, "-> %s->info_record (...)\n", this->beneath ()->shortname ());
3894 this->beneath ()->info_record ();
3895 fprintf_unfiltered (gdb_stdlog
, "<- %s->info_record (", this->beneath ()->shortname ());
3896 fputs_unfiltered (")\n", gdb_stdlog
);
3900 target_ops::save_record (const char *arg0
)
3902 this->beneath ()->save_record (arg0
);
3906 dummy_target::save_record (const char *arg0
)
3912 debug_target::save_record (const char *arg0
)
3914 fprintf_unfiltered (gdb_stdlog
, "-> %s->save_record (...)\n", this->beneath ()->shortname ());
3915 this->beneath ()->save_record (arg0
);
3916 fprintf_unfiltered (gdb_stdlog
, "<- %s->save_record (", this->beneath ()->shortname ());
3917 target_debug_print_const_char_p (arg0
);
3918 fputs_unfiltered (")\n", gdb_stdlog
);
3922 target_ops::supports_delete_record ()
3924 return this->beneath ()->supports_delete_record ();
3928 dummy_target::supports_delete_record ()
3934 debug_target::supports_delete_record ()
3937 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_delete_record (...)\n", this->beneath ()->shortname ());
3938 result
= this->beneath ()->supports_delete_record ();
3939 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_delete_record (", this->beneath ()->shortname ());
3940 fputs_unfiltered (") = ", gdb_stdlog
);
3941 target_debug_print_bool (result
);
3942 fputs_unfiltered ("\n", gdb_stdlog
);
3947 target_ops::delete_record ()
3949 this->beneath ()->delete_record ();
3953 dummy_target::delete_record ()
3959 debug_target::delete_record ()
3961 fprintf_unfiltered (gdb_stdlog
, "-> %s->delete_record (...)\n", this->beneath ()->shortname ());
3962 this->beneath ()->delete_record ();
3963 fprintf_unfiltered (gdb_stdlog
, "<- %s->delete_record (", this->beneath ()->shortname ());
3964 fputs_unfiltered (")\n", gdb_stdlog
);
3968 target_ops::record_is_replaying (ptid_t arg0
)
3970 return this->beneath ()->record_is_replaying (arg0
);
3974 dummy_target::record_is_replaying (ptid_t arg0
)
3980 debug_target::record_is_replaying (ptid_t arg0
)
3983 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_is_replaying (...)\n", this->beneath ()->shortname ());
3984 result
= this->beneath ()->record_is_replaying (arg0
);
3985 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_is_replaying (", this->beneath ()->shortname ());
3986 target_debug_print_ptid_t (arg0
);
3987 fputs_unfiltered (") = ", gdb_stdlog
);
3988 target_debug_print_bool (result
);
3989 fputs_unfiltered ("\n", gdb_stdlog
);
3994 target_ops::record_will_replay (ptid_t arg0
, int arg1
)
3996 return this->beneath ()->record_will_replay (arg0
, arg1
);
4000 dummy_target::record_will_replay (ptid_t arg0
, int arg1
)
4006 debug_target::record_will_replay (ptid_t arg0
, int arg1
)
4009 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_will_replay (...)\n", this->beneath ()->shortname ());
4010 result
= this->beneath ()->record_will_replay (arg0
, arg1
);
4011 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_will_replay (", this->beneath ()->shortname ());
4012 target_debug_print_ptid_t (arg0
);
4013 fputs_unfiltered (", ", gdb_stdlog
);
4014 target_debug_print_int (arg1
);
4015 fputs_unfiltered (") = ", gdb_stdlog
);
4016 target_debug_print_bool (result
);
4017 fputs_unfiltered ("\n", gdb_stdlog
);
4022 target_ops::record_stop_replaying ()
4024 this->beneath ()->record_stop_replaying ();
4028 dummy_target::record_stop_replaying ()
4033 debug_target::record_stop_replaying ()
4035 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_stop_replaying (...)\n", this->beneath ()->shortname ());
4036 this->beneath ()->record_stop_replaying ();
4037 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_stop_replaying (", this->beneath ()->shortname ());
4038 fputs_unfiltered (")\n", gdb_stdlog
);
4042 target_ops::goto_record_begin ()
4044 this->beneath ()->goto_record_begin ();
4048 dummy_target::goto_record_begin ()
4054 debug_target::goto_record_begin ()
4056 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record_begin (...)\n", this->beneath ()->shortname ());
4057 this->beneath ()->goto_record_begin ();
4058 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record_begin (", this->beneath ()->shortname ());
4059 fputs_unfiltered (")\n", gdb_stdlog
);
4063 target_ops::goto_record_end ()
4065 this->beneath ()->goto_record_end ();
4069 dummy_target::goto_record_end ()
4075 debug_target::goto_record_end ()
4077 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record_end (...)\n", this->beneath ()->shortname ());
4078 this->beneath ()->goto_record_end ();
4079 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record_end (", this->beneath ()->shortname ());
4080 fputs_unfiltered (")\n", gdb_stdlog
);
4084 target_ops::goto_record (ULONGEST arg0
)
4086 this->beneath ()->goto_record (arg0
);
4090 dummy_target::goto_record (ULONGEST arg0
)
4096 debug_target::goto_record (ULONGEST arg0
)
4098 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record (...)\n", this->beneath ()->shortname ());
4099 this->beneath ()->goto_record (arg0
);
4100 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record (", this->beneath ()->shortname ());
4101 target_debug_print_ULONGEST (arg0
);
4102 fputs_unfiltered (")\n", gdb_stdlog
);
4106 target_ops::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4108 this->beneath ()->insn_history (arg0
, arg1
);
4112 dummy_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4118 debug_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4120 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history (...)\n", this->beneath ()->shortname ());
4121 this->beneath ()->insn_history (arg0
, arg1
);
4122 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history (", this->beneath ()->shortname ());
4123 target_debug_print_int (arg0
);
4124 fputs_unfiltered (", ", gdb_stdlog
);
4125 target_debug_print_gdb_disassembly_flags (arg1
);
4126 fputs_unfiltered (")\n", gdb_stdlog
);
4130 target_ops::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4132 this->beneath ()->insn_history_from (arg0
, arg1
, arg2
);
4136 dummy_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4142 debug_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4144 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history_from (...)\n", this->beneath ()->shortname ());
4145 this->beneath ()->insn_history_from (arg0
, arg1
, arg2
);
4146 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history_from (", this->beneath ()->shortname ());
4147 target_debug_print_ULONGEST (arg0
);
4148 fputs_unfiltered (", ", gdb_stdlog
);
4149 target_debug_print_int (arg1
);
4150 fputs_unfiltered (", ", gdb_stdlog
);
4151 target_debug_print_gdb_disassembly_flags (arg2
);
4152 fputs_unfiltered (")\n", gdb_stdlog
);
4156 target_ops::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4158 this->beneath ()->insn_history_range (arg0
, arg1
, arg2
);
4162 dummy_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4168 debug_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4170 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history_range (...)\n", this->beneath ()->shortname ());
4171 this->beneath ()->insn_history_range (arg0
, arg1
, arg2
);
4172 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history_range (", this->beneath ()->shortname ());
4173 target_debug_print_ULONGEST (arg0
);
4174 fputs_unfiltered (", ", gdb_stdlog
);
4175 target_debug_print_ULONGEST (arg1
);
4176 fputs_unfiltered (", ", gdb_stdlog
);
4177 target_debug_print_gdb_disassembly_flags (arg2
);
4178 fputs_unfiltered (")\n", gdb_stdlog
);
4182 target_ops::call_history (int arg0
, record_print_flags arg1
)
4184 this->beneath ()->call_history (arg0
, arg1
);
4188 dummy_target::call_history (int arg0
, record_print_flags arg1
)
4194 debug_target::call_history (int arg0
, record_print_flags arg1
)
4196 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history (...)\n", this->beneath ()->shortname ());
4197 this->beneath ()->call_history (arg0
, arg1
);
4198 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history (", this->beneath ()->shortname ());
4199 target_debug_print_int (arg0
);
4200 fputs_unfiltered (", ", gdb_stdlog
);
4201 target_debug_print_record_print_flags (arg1
);
4202 fputs_unfiltered (")\n", gdb_stdlog
);
4206 target_ops::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4208 this->beneath ()->call_history_from (arg0
, arg1
, arg2
);
4212 dummy_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4218 debug_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4220 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history_from (...)\n", this->beneath ()->shortname ());
4221 this->beneath ()->call_history_from (arg0
, arg1
, arg2
);
4222 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history_from (", this->beneath ()->shortname ());
4223 target_debug_print_ULONGEST (arg0
);
4224 fputs_unfiltered (", ", gdb_stdlog
);
4225 target_debug_print_int (arg1
);
4226 fputs_unfiltered (", ", gdb_stdlog
);
4227 target_debug_print_record_print_flags (arg2
);
4228 fputs_unfiltered (")\n", gdb_stdlog
);
4232 target_ops::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4234 this->beneath ()->call_history_range (arg0
, arg1
, arg2
);
4238 dummy_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4244 debug_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4246 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history_range (...)\n", this->beneath ()->shortname ());
4247 this->beneath ()->call_history_range (arg0
, arg1
, arg2
);
4248 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history_range (", this->beneath ()->shortname ());
4249 target_debug_print_ULONGEST (arg0
);
4250 fputs_unfiltered (", ", gdb_stdlog
);
4251 target_debug_print_ULONGEST (arg1
);
4252 fputs_unfiltered (", ", gdb_stdlog
);
4253 target_debug_print_record_print_flags (arg2
);
4254 fputs_unfiltered (")\n", gdb_stdlog
);
4258 target_ops::augmented_libraries_svr4_read ()
4260 return this->beneath ()->augmented_libraries_svr4_read ();
4264 dummy_target::augmented_libraries_svr4_read ()
4270 debug_target::augmented_libraries_svr4_read ()
4273 fprintf_unfiltered (gdb_stdlog
, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath ()->shortname ());
4274 result
= this->beneath ()->augmented_libraries_svr4_read ();
4275 fprintf_unfiltered (gdb_stdlog
, "<- %s->augmented_libraries_svr4_read (", this->beneath ()->shortname ());
4276 fputs_unfiltered (") = ", gdb_stdlog
);
4277 target_debug_print_bool (result
);
4278 fputs_unfiltered ("\n", gdb_stdlog
);
4282 const struct frame_unwind
*
4283 target_ops::get_unwinder ()
4285 return this->beneath ()->get_unwinder ();
4288 const struct frame_unwind
*
4289 dummy_target::get_unwinder ()
4294 const struct frame_unwind
*
4295 debug_target::get_unwinder ()
4297 const struct frame_unwind
* result
;
4298 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_unwinder (...)\n", this->beneath ()->shortname ());
4299 result
= this->beneath ()->get_unwinder ();
4300 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_unwinder (", this->beneath ()->shortname ());
4301 fputs_unfiltered (") = ", gdb_stdlog
);
4302 target_debug_print_const_struct_frame_unwind_p (result
);
4303 fputs_unfiltered ("\n", gdb_stdlog
);
4307 const struct frame_unwind
*
4308 target_ops::get_tailcall_unwinder ()
4310 return this->beneath ()->get_tailcall_unwinder ();
4313 const struct frame_unwind
*
4314 dummy_target::get_tailcall_unwinder ()
4319 const struct frame_unwind
*
4320 debug_target::get_tailcall_unwinder ()
4322 const struct frame_unwind
* result
;
4323 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tailcall_unwinder (...)\n", this->beneath ()->shortname ());
4324 result
= this->beneath ()->get_tailcall_unwinder ();
4325 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tailcall_unwinder (", this->beneath ()->shortname ());
4326 fputs_unfiltered (") = ", gdb_stdlog
);
4327 target_debug_print_const_struct_frame_unwind_p (result
);
4328 fputs_unfiltered ("\n", gdb_stdlog
);
4333 target_ops::prepare_to_generate_core ()
4335 this->beneath ()->prepare_to_generate_core ();
4339 dummy_target::prepare_to_generate_core ()
4344 debug_target::prepare_to_generate_core ()
4346 fprintf_unfiltered (gdb_stdlog
, "-> %s->prepare_to_generate_core (...)\n", this->beneath ()->shortname ());
4347 this->beneath ()->prepare_to_generate_core ();
4348 fprintf_unfiltered (gdb_stdlog
, "<- %s->prepare_to_generate_core (", this->beneath ()->shortname ());
4349 fputs_unfiltered (")\n", gdb_stdlog
);
4353 target_ops::done_generating_core ()
4355 this->beneath ()->done_generating_core ();
4359 dummy_target::done_generating_core ()
4364 debug_target::done_generating_core ()
4366 fprintf_unfiltered (gdb_stdlog
, "-> %s->done_generating_core (...)\n", this->beneath ()->shortname ());
4367 this->beneath ()->done_generating_core ();
4368 fprintf_unfiltered (gdb_stdlog
, "<- %s->done_generating_core (", this->beneath ()->shortname ());
4369 fputs_unfiltered (")\n", gdb_stdlog
);
4373 target_ops::supports_displaced_step (thread_info
*arg0
)
4375 return this->beneath ()->supports_displaced_step (arg0
);
4379 dummy_target::supports_displaced_step (thread_info
*arg0
)
4381 return default_supports_displaced_step (this, arg0
);
4385 debug_target::supports_displaced_step (thread_info
*arg0
)
4388 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_displaced_step (...)\n", this->beneath ()->shortname ());
4389 result
= this->beneath ()->supports_displaced_step (arg0
);
4390 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_displaced_step (", this->beneath ()->shortname ());
4391 target_debug_print_thread_info_p (arg0
);
4392 fputs_unfiltered (") = ", gdb_stdlog
);
4393 target_debug_print_bool (result
);
4394 fputs_unfiltered ("\n", gdb_stdlog
);
4398 displaced_step_prepare_status
4399 target_ops::displaced_step_prepare (thread_info
*arg0
)
4401 return this->beneath ()->displaced_step_prepare (arg0
);
4404 displaced_step_prepare_status
4405 dummy_target::displaced_step_prepare (thread_info
*arg0
)
4407 return default_displaced_step_prepare (this, arg0
);
4410 displaced_step_prepare_status
4411 debug_target::displaced_step_prepare (thread_info
*arg0
)
4413 displaced_step_prepare_status result
;
4414 fprintf_unfiltered (gdb_stdlog
, "-> %s->displaced_step_prepare (...)\n", this->beneath ()->shortname ());
4415 result
= this->beneath ()->displaced_step_prepare (arg0
);
4416 fprintf_unfiltered (gdb_stdlog
, "<- %s->displaced_step_prepare (", this->beneath ()->shortname ());
4417 target_debug_print_thread_info_p (arg0
);
4418 fputs_unfiltered (") = ", gdb_stdlog
);
4419 target_debug_print_displaced_step_prepare_status (result
);
4420 fputs_unfiltered ("\n", gdb_stdlog
);
4424 displaced_step_finish_status
4425 target_ops::displaced_step_finish (thread_info
*arg0
, gdb_signal arg1
)
4427 return this->beneath ()->displaced_step_finish (arg0
, arg1
);
4430 displaced_step_finish_status
4431 dummy_target::displaced_step_finish (thread_info
*arg0
, gdb_signal arg1
)
4433 return default_displaced_step_finish (this, arg0
, arg1
);
4436 displaced_step_finish_status
4437 debug_target::displaced_step_finish (thread_info
*arg0
, gdb_signal arg1
)
4439 displaced_step_finish_status result
;
4440 fprintf_unfiltered (gdb_stdlog
, "-> %s->displaced_step_finish (...)\n", this->beneath ()->shortname ());
4441 result
= this->beneath ()->displaced_step_finish (arg0
, arg1
);
4442 fprintf_unfiltered (gdb_stdlog
, "<- %s->displaced_step_finish (", this->beneath ()->shortname ());
4443 target_debug_print_thread_info_p (arg0
);
4444 fputs_unfiltered (", ", gdb_stdlog
);
4445 target_debug_print_gdb_signal (arg1
);
4446 fputs_unfiltered (") = ", gdb_stdlog
);
4447 target_debug_print_displaced_step_finish_status (result
);
4448 fputs_unfiltered ("\n", gdb_stdlog
);