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_resumed () override
;
18 ptid_t
wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags 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 int insert_fork_catchpoint (int arg0
) override
;
55 int remove_fork_catchpoint (int arg0
) override
;
56 int insert_vfork_catchpoint (int arg0
) override
;
57 int remove_vfork_catchpoint (int arg0
) override
;
58 void follow_fork (inferior
*arg0
, ptid_t arg1
, target_waitkind arg2
, bool arg3
, bool arg4
) override
;
59 int insert_exec_catchpoint (int arg0
) override
;
60 int remove_exec_catchpoint (int arg0
) override
;
61 void follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
) override
;
62 int set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
) override
;
63 void mourn_inferior () override
;
64 void pass_signals (gdb::array_view
<const unsigned char> arg0
) override
;
65 void program_signals (gdb::array_view
<const unsigned char> arg0
) override
;
66 bool thread_alive (ptid_t arg0
) override
;
67 void update_thread_list () override
;
68 std::string
pid_to_str (ptid_t arg0
) override
;
69 const char *extra_thread_info (thread_info
*arg0
) override
;
70 const char *thread_name (thread_info
*arg0
) override
;
71 thread_info
*thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
) override
;
72 gdb::byte_vector
thread_info_to_thread_handle (struct thread_info
*arg0
) override
;
73 void stop (ptid_t arg0
) override
;
74 void interrupt () override
;
75 void pass_ctrlc () override
;
76 void rcmd (const char *arg0
, struct ui_file
*arg1
) override
;
77 char *pid_to_exec_file (int arg0
) override
;
78 void log_command (const char *arg0
) override
;
79 const target_section_table
*get_section_table () override
;
80 thread_control_capabilities
get_thread_control_capabilities () override
;
81 bool attach_no_wait () override
;
82 bool can_async_p () override
;
83 bool is_async_p () override
;
84 void async (int arg0
) override
;
85 int async_wait_fd () override
;
86 bool has_pending_events () 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 gdb::unique_xmalloc_ptr
<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
, ULONGEST 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 supports_dumpcore () override
;
112 void dumpcore (const char *arg0
) override
;
113 bool can_run_breakpoint_commands () override
;
114 struct gdbarch
*thread_architecture (ptid_t arg0
) override
;
115 struct address_space
*thread_address_space (ptid_t arg0
) override
;
116 bool filesystem_is_local () override
;
117 void trace_init () override
;
118 void download_tracepoint (struct bp_location
*arg0
) override
;
119 bool can_download_tracepoint () override
;
120 void download_trace_state_variable (const trace_state_variable
&arg0
) override
;
121 void enable_tracepoint (struct bp_location
*arg0
) override
;
122 void disable_tracepoint (struct bp_location
*arg0
) override
;
123 void trace_set_readonly_regions () override
;
124 void trace_start () override
;
125 int get_trace_status (struct trace_status
*arg0
) override
;
126 void get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
) override
;
127 void trace_stop () override
;
128 int trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
) override
;
129 bool get_trace_state_variable_value (int arg0
, LONGEST
*arg1
) override
;
130 int save_trace_data (const char *arg0
) override
;
131 int upload_tracepoints (struct uploaded_tp
**arg0
) override
;
132 int upload_trace_state_variables (struct uploaded_tsv
**arg0
) override
;
133 LONGEST
get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
) override
;
134 int get_min_fast_tracepoint_insn_len () override
;
135 void set_disconnected_tracing (int arg0
) override
;
136 void set_circular_trace_buffer (int arg0
) override
;
137 void set_trace_buffer_size (LONGEST arg0
) override
;
138 bool set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
) override
;
139 int core_of_thread (ptid_t arg0
) override
;
140 int verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
) override
;
141 bool get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
) override
;
142 void set_permissions () override
;
143 bool static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
) override
;
144 std::vector
<static_tracepoint_marker
> static_tracepoint_markers_by_strid (const char *arg0
) override
;
145 traceframe_info_up
traceframe_info () override
;
146 bool use_agent (bool arg0
) override
;
147 bool can_use_agent () override
;
148 struct btrace_target_info
*enable_btrace (thread_info
*arg0
, const struct btrace_config
*arg1
) override
;
149 void disable_btrace (struct btrace_target_info
*arg0
) override
;
150 void teardown_btrace (struct btrace_target_info
*arg0
) override
;
151 enum btrace_error
read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
) override
;
152 const struct btrace_config
*btrace_conf (const struct btrace_target_info
*arg0
) override
;
153 enum record_method
record_method (ptid_t arg0
) override
;
154 void stop_recording () override
;
155 void info_record () override
;
156 void save_record (const char *arg0
) override
;
157 bool supports_delete_record () override
;
158 void delete_record () override
;
159 bool record_is_replaying (ptid_t arg0
) override
;
160 bool record_will_replay (ptid_t arg0
, int arg1
) override
;
161 void record_stop_replaying () override
;
162 void goto_record_begin () override
;
163 void goto_record_end () override
;
164 void goto_record (ULONGEST arg0
) override
;
165 void insn_history (int arg0
, gdb_disassembly_flags arg1
) override
;
166 void insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
) override
;
167 void insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
) override
;
168 void call_history (int arg0
, record_print_flags arg1
) override
;
169 void call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
) override
;
170 void call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
) override
;
171 bool augmented_libraries_svr4_read () override
;
172 const struct frame_unwind
*get_unwinder () override
;
173 const struct frame_unwind
*get_tailcall_unwinder () override
;
174 void prepare_to_generate_core () override
;
175 void done_generating_core () override
;
176 bool supports_memory_tagging () override
;
177 bool fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
) override
;
178 bool store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
) override
;
181 struct debug_target
: public target_ops
183 const target_info
&info () const override
;
185 strata
stratum () const override
;
187 void post_attach (int arg0
) override
;
188 void detach (inferior
*arg0
, int arg1
) override
;
189 void disconnect (const char *arg0
, int arg1
) override
;
190 void resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
) override
;
191 void commit_resumed () override
;
192 ptid_t
wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
) override
;
193 void fetch_registers (struct regcache
*arg0
, int arg1
) override
;
194 void store_registers (struct regcache
*arg0
, int arg1
) override
;
195 void prepare_to_store (struct regcache
*arg0
) override
;
196 void files_info () override
;
197 int insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
198 int remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
) override
;
199 bool stopped_by_sw_breakpoint () override
;
200 bool supports_stopped_by_sw_breakpoint () override
;
201 bool stopped_by_hw_breakpoint () override
;
202 bool supports_stopped_by_hw_breakpoint () override
;
203 int can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
) override
;
204 int ranged_break_num_registers () override
;
205 int insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
206 int remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
207 int remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
208 int insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
209 int insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
210 int remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
211 bool stopped_by_watchpoint () override
;
212 bool have_steppable_watchpoint () override
;
213 bool stopped_data_address (CORE_ADDR
*arg0
) override
;
214 bool watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
) override
;
215 int region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
) override
;
216 bool can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
) override
;
217 int masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
) override
;
218 int can_do_single_step () override
;
219 bool supports_terminal_ours () override
;
220 void terminal_init () override
;
221 void terminal_inferior () override
;
222 void terminal_save_inferior () override
;
223 void terminal_ours_for_output () override
;
224 void terminal_ours () override
;
225 void terminal_info (const char *arg0
, int arg1
) override
;
226 void kill () override
;
227 void load (const char *arg0
, int arg1
) override
;
228 int insert_fork_catchpoint (int arg0
) override
;
229 int remove_fork_catchpoint (int arg0
) override
;
230 int insert_vfork_catchpoint (int arg0
) override
;
231 int remove_vfork_catchpoint (int arg0
) override
;
232 void follow_fork (inferior
*arg0
, ptid_t arg1
, target_waitkind arg2
, bool arg3
, bool arg4
) override
;
233 int insert_exec_catchpoint (int arg0
) override
;
234 int remove_exec_catchpoint (int arg0
) override
;
235 void follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
) override
;
236 int set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
) override
;
237 void mourn_inferior () override
;
238 void pass_signals (gdb::array_view
<const unsigned char> arg0
) override
;
239 void program_signals (gdb::array_view
<const unsigned char> arg0
) override
;
240 bool thread_alive (ptid_t arg0
) override
;
241 void update_thread_list () override
;
242 std::string
pid_to_str (ptid_t arg0
) override
;
243 const char *extra_thread_info (thread_info
*arg0
) override
;
244 const char *thread_name (thread_info
*arg0
) override
;
245 thread_info
*thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
) override
;
246 gdb::byte_vector
thread_info_to_thread_handle (struct thread_info
*arg0
) override
;
247 void stop (ptid_t arg0
) override
;
248 void interrupt () override
;
249 void pass_ctrlc () override
;
250 void rcmd (const char *arg0
, struct ui_file
*arg1
) override
;
251 char *pid_to_exec_file (int arg0
) override
;
252 void log_command (const char *arg0
) override
;
253 const target_section_table
*get_section_table () override
;
254 thread_control_capabilities
get_thread_control_capabilities () override
;
255 bool attach_no_wait () override
;
256 bool can_async_p () override
;
257 bool is_async_p () override
;
258 void async (int arg0
) override
;
259 int async_wait_fd () override
;
260 bool has_pending_events () override
;
261 void thread_events (int arg0
) override
;
262 bool supports_non_stop () override
;
263 bool always_non_stop_p () override
;
264 int find_memory_regions (find_memory_region_ftype arg0
, void *arg1
) override
;
265 gdb::unique_xmalloc_ptr
<char> make_corefile_notes (bfd
*arg0
, int *arg1
) override
;
266 gdb_byte
*get_bookmark (const char *arg0
, int arg1
) override
;
267 void goto_bookmark (const gdb_byte
*arg0
, int arg1
) override
;
268 CORE_ADDR
get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
) override
;
269 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
;
270 ULONGEST
get_memory_xfer_limit () override
;
271 std::vector
<mem_region
> memory_map () override
;
272 void flash_erase (ULONGEST arg0
, LONGEST arg1
) override
;
273 void flash_done () override
;
274 const struct target_desc
*read_description () override
;
275 ptid_t
get_ada_task_ptid (long arg0
, ULONGEST arg1
) override
;
276 int auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
) override
;
277 int search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
) override
;
278 bool can_execute_reverse () override
;
279 enum exec_direction_kind
execution_direction () override
;
280 bool supports_multi_process () override
;
281 bool supports_enable_disable_tracepoint () override
;
282 bool supports_disable_randomization () override
;
283 bool supports_string_tracing () override
;
284 bool supports_evaluation_of_breakpoint_conditions () override
;
285 bool supports_dumpcore () override
;
286 void dumpcore (const char *arg0
) override
;
287 bool can_run_breakpoint_commands () override
;
288 struct gdbarch
*thread_architecture (ptid_t arg0
) override
;
289 struct address_space
*thread_address_space (ptid_t arg0
) override
;
290 bool filesystem_is_local () override
;
291 void trace_init () override
;
292 void download_tracepoint (struct bp_location
*arg0
) override
;
293 bool can_download_tracepoint () override
;
294 void download_trace_state_variable (const trace_state_variable
&arg0
) override
;
295 void enable_tracepoint (struct bp_location
*arg0
) override
;
296 void disable_tracepoint (struct bp_location
*arg0
) override
;
297 void trace_set_readonly_regions () override
;
298 void trace_start () override
;
299 int get_trace_status (struct trace_status
*arg0
) override
;
300 void get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
) override
;
301 void trace_stop () override
;
302 int trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
) override
;
303 bool get_trace_state_variable_value (int arg0
, LONGEST
*arg1
) override
;
304 int save_trace_data (const char *arg0
) override
;
305 int upload_tracepoints (struct uploaded_tp
**arg0
) override
;
306 int upload_trace_state_variables (struct uploaded_tsv
**arg0
) override
;
307 LONGEST
get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
) override
;
308 int get_min_fast_tracepoint_insn_len () override
;
309 void set_disconnected_tracing (int arg0
) override
;
310 void set_circular_trace_buffer (int arg0
) override
;
311 void set_trace_buffer_size (LONGEST arg0
) override
;
312 bool set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
) override
;
313 int core_of_thread (ptid_t arg0
) override
;
314 int verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
) override
;
315 bool get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
) override
;
316 void set_permissions () override
;
317 bool static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
) override
;
318 std::vector
<static_tracepoint_marker
> static_tracepoint_markers_by_strid (const char *arg0
) override
;
319 traceframe_info_up
traceframe_info () override
;
320 bool use_agent (bool arg0
) override
;
321 bool can_use_agent () override
;
322 struct btrace_target_info
*enable_btrace (thread_info
*arg0
, const struct btrace_config
*arg1
) override
;
323 void disable_btrace (struct btrace_target_info
*arg0
) override
;
324 void teardown_btrace (struct btrace_target_info
*arg0
) override
;
325 enum btrace_error
read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
) override
;
326 const struct btrace_config
*btrace_conf (const struct btrace_target_info
*arg0
) override
;
327 enum record_method
record_method (ptid_t arg0
) override
;
328 void stop_recording () override
;
329 void info_record () override
;
330 void save_record (const char *arg0
) override
;
331 bool supports_delete_record () override
;
332 void delete_record () override
;
333 bool record_is_replaying (ptid_t arg0
) override
;
334 bool record_will_replay (ptid_t arg0
, int arg1
) override
;
335 void record_stop_replaying () override
;
336 void goto_record_begin () override
;
337 void goto_record_end () override
;
338 void goto_record (ULONGEST arg0
) override
;
339 void insn_history (int arg0
, gdb_disassembly_flags arg1
) override
;
340 void insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
) override
;
341 void insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
) override
;
342 void call_history (int arg0
, record_print_flags arg1
) override
;
343 void call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
) override
;
344 void call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
) override
;
345 bool augmented_libraries_svr4_read () override
;
346 const struct frame_unwind
*get_unwinder () override
;
347 const struct frame_unwind
*get_tailcall_unwinder () override
;
348 void prepare_to_generate_core () override
;
349 void done_generating_core () override
;
350 bool supports_memory_tagging () override
;
351 bool fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
) override
;
352 bool store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
) override
;
356 target_ops::post_attach (int arg0
)
358 this->beneath ()->post_attach (arg0
);
362 dummy_target::post_attach (int arg0
)
367 debug_target::post_attach (int arg0
)
369 fprintf_unfiltered (gdb_stdlog
, "-> %s->post_attach (...)\n", this->beneath ()->shortname ());
370 this->beneath ()->post_attach (arg0
);
371 fprintf_unfiltered (gdb_stdlog
, "<- %s->post_attach (", this->beneath ()->shortname ());
372 target_debug_print_int (arg0
);
373 fputs_unfiltered (")\n", gdb_stdlog
);
377 target_ops::detach (inferior
*arg0
, int arg1
)
379 this->beneath ()->detach (arg0
, arg1
);
383 dummy_target::detach (inferior
*arg0
, int arg1
)
388 debug_target::detach (inferior
*arg0
, int arg1
)
390 fprintf_unfiltered (gdb_stdlog
, "-> %s->detach (...)\n", this->beneath ()->shortname ());
391 this->beneath ()->detach (arg0
, arg1
);
392 fprintf_unfiltered (gdb_stdlog
, "<- %s->detach (", this->beneath ()->shortname ());
393 target_debug_print_inferior_p (arg0
);
394 fputs_unfiltered (", ", gdb_stdlog
);
395 target_debug_print_int (arg1
);
396 fputs_unfiltered (")\n", gdb_stdlog
);
400 target_ops::disconnect (const char *arg0
, int arg1
)
402 this->beneath ()->disconnect (arg0
, arg1
);
406 dummy_target::disconnect (const char *arg0
, int arg1
)
412 debug_target::disconnect (const char *arg0
, int arg1
)
414 fprintf_unfiltered (gdb_stdlog
, "-> %s->disconnect (...)\n", this->beneath ()->shortname ());
415 this->beneath ()->disconnect (arg0
, arg1
);
416 fprintf_unfiltered (gdb_stdlog
, "<- %s->disconnect (", this->beneath ()->shortname ());
417 target_debug_print_const_char_p (arg0
);
418 fputs_unfiltered (", ", gdb_stdlog
);
419 target_debug_print_int (arg1
);
420 fputs_unfiltered (")\n", gdb_stdlog
);
424 target_ops::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
426 this->beneath ()->resume (arg0
, arg1
, arg2
);
430 dummy_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
436 debug_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
438 fprintf_unfiltered (gdb_stdlog
, "-> %s->resume (...)\n", this->beneath ()->shortname ());
439 this->beneath ()->resume (arg0
, arg1
, arg2
);
440 fprintf_unfiltered (gdb_stdlog
, "<- %s->resume (", this->beneath ()->shortname ());
441 target_debug_print_ptid_t (arg0
);
442 fputs_unfiltered (", ", gdb_stdlog
);
443 target_debug_print_step (arg1
);
444 fputs_unfiltered (", ", gdb_stdlog
);
445 target_debug_print_enum_gdb_signal (arg2
);
446 fputs_unfiltered (")\n", gdb_stdlog
);
450 target_ops::commit_resumed ()
452 this->beneath ()->commit_resumed ();
456 dummy_target::commit_resumed ()
461 debug_target::commit_resumed ()
463 fprintf_unfiltered (gdb_stdlog
, "-> %s->commit_resumed (...)\n", this->beneath ()->shortname ());
464 this->beneath ()->commit_resumed ();
465 fprintf_unfiltered (gdb_stdlog
, "<- %s->commit_resumed (", this->beneath ()->shortname ());
466 fputs_unfiltered (")\n", gdb_stdlog
);
470 target_ops::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
)
472 return this->beneath ()->wait (arg0
, arg1
, arg2
);
476 dummy_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
)
478 return default_target_wait (this, arg0
, arg1
, arg2
);
482 debug_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
)
485 fprintf_unfiltered (gdb_stdlog
, "-> %s->wait (...)\n", this->beneath ()->shortname ());
486 result
= this->beneath ()->wait (arg0
, arg1
, arg2
);
487 fprintf_unfiltered (gdb_stdlog
, "<- %s->wait (", this->beneath ()->shortname ());
488 target_debug_print_ptid_t (arg0
);
489 fputs_unfiltered (", ", gdb_stdlog
);
490 target_debug_print_struct_target_waitstatus_p (arg1
);
491 fputs_unfiltered (", ", gdb_stdlog
);
492 target_debug_print_target_wait_flags (arg2
);
493 fputs_unfiltered (") = ", gdb_stdlog
);
494 target_debug_print_ptid_t (result
);
495 fputs_unfiltered ("\n", gdb_stdlog
);
500 target_ops::fetch_registers (struct regcache
*arg0
, int arg1
)
502 this->beneath ()->fetch_registers (arg0
, arg1
);
506 dummy_target::fetch_registers (struct regcache
*arg0
, int arg1
)
511 debug_target::fetch_registers (struct regcache
*arg0
, int arg1
)
513 fprintf_unfiltered (gdb_stdlog
, "-> %s->fetch_registers (...)\n", this->beneath ()->shortname ());
514 this->beneath ()->fetch_registers (arg0
, arg1
);
515 fprintf_unfiltered (gdb_stdlog
, "<- %s->fetch_registers (", this->beneath ()->shortname ());
516 target_debug_print_struct_regcache_p (arg0
);
517 fputs_unfiltered (", ", gdb_stdlog
);
518 target_debug_print_int (arg1
);
519 fputs_unfiltered (")\n", gdb_stdlog
);
523 target_ops::store_registers (struct regcache
*arg0
, int arg1
)
525 this->beneath ()->store_registers (arg0
, arg1
);
529 dummy_target::store_registers (struct regcache
*arg0
, int arg1
)
535 debug_target::store_registers (struct regcache
*arg0
, int arg1
)
537 fprintf_unfiltered (gdb_stdlog
, "-> %s->store_registers (...)\n", this->beneath ()->shortname ());
538 this->beneath ()->store_registers (arg0
, arg1
);
539 fprintf_unfiltered (gdb_stdlog
, "<- %s->store_registers (", this->beneath ()->shortname ());
540 target_debug_print_struct_regcache_p (arg0
);
541 fputs_unfiltered (", ", gdb_stdlog
);
542 target_debug_print_int (arg1
);
543 fputs_unfiltered (")\n", gdb_stdlog
);
547 target_ops::prepare_to_store (struct regcache
*arg0
)
549 this->beneath ()->prepare_to_store (arg0
);
553 dummy_target::prepare_to_store (struct regcache
*arg0
)
559 debug_target::prepare_to_store (struct regcache
*arg0
)
561 fprintf_unfiltered (gdb_stdlog
, "-> %s->prepare_to_store (...)\n", this->beneath ()->shortname ());
562 this->beneath ()->prepare_to_store (arg0
);
563 fprintf_unfiltered (gdb_stdlog
, "<- %s->prepare_to_store (", this->beneath ()->shortname ());
564 target_debug_print_struct_regcache_p (arg0
);
565 fputs_unfiltered (")\n", gdb_stdlog
);
569 target_ops::files_info ()
571 this->beneath ()->files_info ();
575 dummy_target::files_info ()
580 debug_target::files_info ()
582 fprintf_unfiltered (gdb_stdlog
, "-> %s->files_info (...)\n", this->beneath ()->shortname ());
583 this->beneath ()->files_info ();
584 fprintf_unfiltered (gdb_stdlog
, "<- %s->files_info (", this->beneath ()->shortname ());
585 fputs_unfiltered (")\n", gdb_stdlog
);
589 target_ops::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
591 return this->beneath ()->insert_breakpoint (arg0
, arg1
);
595 dummy_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
601 debug_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
604 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_breakpoint (...)\n", this->beneath ()->shortname ());
605 result
= this->beneath ()->insert_breakpoint (arg0
, arg1
);
606 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_breakpoint (", this->beneath ()->shortname ());
607 target_debug_print_struct_gdbarch_p (arg0
);
608 fputs_unfiltered (", ", gdb_stdlog
);
609 target_debug_print_struct_bp_target_info_p (arg1
);
610 fputs_unfiltered (") = ", gdb_stdlog
);
611 target_debug_print_int (result
);
612 fputs_unfiltered ("\n", gdb_stdlog
);
617 target_ops::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
619 return this->beneath ()->remove_breakpoint (arg0
, arg1
, arg2
);
623 dummy_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
629 debug_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
632 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_breakpoint (...)\n", this->beneath ()->shortname ());
633 result
= this->beneath ()->remove_breakpoint (arg0
, arg1
, arg2
);
634 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_breakpoint (", this->beneath ()->shortname ());
635 target_debug_print_struct_gdbarch_p (arg0
);
636 fputs_unfiltered (", ", gdb_stdlog
);
637 target_debug_print_struct_bp_target_info_p (arg1
);
638 fputs_unfiltered (", ", gdb_stdlog
);
639 target_debug_print_enum_remove_bp_reason (arg2
);
640 fputs_unfiltered (") = ", gdb_stdlog
);
641 target_debug_print_int (result
);
642 fputs_unfiltered ("\n", gdb_stdlog
);
647 target_ops::stopped_by_sw_breakpoint ()
649 return this->beneath ()->stopped_by_sw_breakpoint ();
653 dummy_target::stopped_by_sw_breakpoint ()
659 debug_target::stopped_by_sw_breakpoint ()
662 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
663 result
= this->beneath ()->stopped_by_sw_breakpoint ();
664 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
665 fputs_unfiltered (") = ", gdb_stdlog
);
666 target_debug_print_bool (result
);
667 fputs_unfiltered ("\n", gdb_stdlog
);
672 target_ops::supports_stopped_by_sw_breakpoint ()
674 return this->beneath ()->supports_stopped_by_sw_breakpoint ();
678 dummy_target::supports_stopped_by_sw_breakpoint ()
684 debug_target::supports_stopped_by_sw_breakpoint ()
687 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
688 result
= this->beneath ()->supports_stopped_by_sw_breakpoint ();
689 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
690 fputs_unfiltered (") = ", gdb_stdlog
);
691 target_debug_print_bool (result
);
692 fputs_unfiltered ("\n", gdb_stdlog
);
697 target_ops::stopped_by_hw_breakpoint ()
699 return this->beneath ()->stopped_by_hw_breakpoint ();
703 dummy_target::stopped_by_hw_breakpoint ()
709 debug_target::stopped_by_hw_breakpoint ()
712 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
713 result
= this->beneath ()->stopped_by_hw_breakpoint ();
714 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
715 fputs_unfiltered (") = ", gdb_stdlog
);
716 target_debug_print_bool (result
);
717 fputs_unfiltered ("\n", gdb_stdlog
);
722 target_ops::supports_stopped_by_hw_breakpoint ()
724 return this->beneath ()->supports_stopped_by_hw_breakpoint ();
728 dummy_target::supports_stopped_by_hw_breakpoint ()
734 debug_target::supports_stopped_by_hw_breakpoint ()
737 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
738 result
= this->beneath ()->supports_stopped_by_hw_breakpoint ();
739 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
740 fputs_unfiltered (") = ", gdb_stdlog
);
741 target_debug_print_bool (result
);
742 fputs_unfiltered ("\n", gdb_stdlog
);
747 target_ops::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
749 return this->beneath ()->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
753 dummy_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
759 debug_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
762 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_use_hw_breakpoint (...)\n", this->beneath ()->shortname ());
763 result
= this->beneath ()->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
764 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_use_hw_breakpoint (", this->beneath ()->shortname ());
765 target_debug_print_enum_bptype (arg0
);
766 fputs_unfiltered (", ", gdb_stdlog
);
767 target_debug_print_int (arg1
);
768 fputs_unfiltered (", ", gdb_stdlog
);
769 target_debug_print_int (arg2
);
770 fputs_unfiltered (") = ", gdb_stdlog
);
771 target_debug_print_int (result
);
772 fputs_unfiltered ("\n", gdb_stdlog
);
777 target_ops::ranged_break_num_registers ()
779 return this->beneath ()->ranged_break_num_registers ();
783 dummy_target::ranged_break_num_registers ()
789 debug_target::ranged_break_num_registers ()
792 fprintf_unfiltered (gdb_stdlog
, "-> %s->ranged_break_num_registers (...)\n", this->beneath ()->shortname ());
793 result
= this->beneath ()->ranged_break_num_registers ();
794 fprintf_unfiltered (gdb_stdlog
, "<- %s->ranged_break_num_registers (", this->beneath ()->shortname ());
795 fputs_unfiltered (") = ", gdb_stdlog
);
796 target_debug_print_int (result
);
797 fputs_unfiltered ("\n", gdb_stdlog
);
802 target_ops::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
804 return this->beneath ()->insert_hw_breakpoint (arg0
, arg1
);
808 dummy_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
814 debug_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
817 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_hw_breakpoint (...)\n", this->beneath ()->shortname ());
818 result
= this->beneath ()->insert_hw_breakpoint (arg0
, arg1
);
819 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_hw_breakpoint (", this->beneath ()->shortname ());
820 target_debug_print_struct_gdbarch_p (arg0
);
821 fputs_unfiltered (", ", gdb_stdlog
);
822 target_debug_print_struct_bp_target_info_p (arg1
);
823 fputs_unfiltered (") = ", gdb_stdlog
);
824 target_debug_print_int (result
);
825 fputs_unfiltered ("\n", gdb_stdlog
);
830 target_ops::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
832 return this->beneath ()->remove_hw_breakpoint (arg0
, arg1
);
836 dummy_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
842 debug_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
845 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_hw_breakpoint (...)\n", this->beneath ()->shortname ());
846 result
= this->beneath ()->remove_hw_breakpoint (arg0
, arg1
);
847 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_hw_breakpoint (", this->beneath ()->shortname ());
848 target_debug_print_struct_gdbarch_p (arg0
);
849 fputs_unfiltered (", ", gdb_stdlog
);
850 target_debug_print_struct_bp_target_info_p (arg1
);
851 fputs_unfiltered (") = ", gdb_stdlog
);
852 target_debug_print_int (result
);
853 fputs_unfiltered ("\n", gdb_stdlog
);
858 target_ops::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
860 return this->beneath ()->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
864 dummy_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
870 debug_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
873 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_watchpoint (...)\n", this->beneath ()->shortname ());
874 result
= this->beneath ()->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
875 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_watchpoint (", this->beneath ()->shortname ());
876 target_debug_print_CORE_ADDR (arg0
);
877 fputs_unfiltered (", ", gdb_stdlog
);
878 target_debug_print_int (arg1
);
879 fputs_unfiltered (", ", gdb_stdlog
);
880 target_debug_print_enum_target_hw_bp_type (arg2
);
881 fputs_unfiltered (", ", gdb_stdlog
);
882 target_debug_print_struct_expression_p (arg3
);
883 fputs_unfiltered (") = ", gdb_stdlog
);
884 target_debug_print_int (result
);
885 fputs_unfiltered ("\n", gdb_stdlog
);
890 target_ops::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
892 return this->beneath ()->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
896 dummy_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
902 debug_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
905 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_watchpoint (...)\n", this->beneath ()->shortname ());
906 result
= this->beneath ()->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
907 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_watchpoint (", this->beneath ()->shortname ());
908 target_debug_print_CORE_ADDR (arg0
);
909 fputs_unfiltered (", ", gdb_stdlog
);
910 target_debug_print_int (arg1
);
911 fputs_unfiltered (", ", gdb_stdlog
);
912 target_debug_print_enum_target_hw_bp_type (arg2
);
913 fputs_unfiltered (", ", gdb_stdlog
);
914 target_debug_print_struct_expression_p (arg3
);
915 fputs_unfiltered (") = ", gdb_stdlog
);
916 target_debug_print_int (result
);
917 fputs_unfiltered ("\n", gdb_stdlog
);
922 target_ops::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
924 return this->beneath ()->insert_mask_watchpoint (arg0
, arg1
, arg2
);
928 dummy_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
934 debug_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
937 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_mask_watchpoint (...)\n", this->beneath ()->shortname ());
938 result
= this->beneath ()->insert_mask_watchpoint (arg0
, arg1
, arg2
);
939 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_mask_watchpoint (", this->beneath ()->shortname ());
940 target_debug_print_CORE_ADDR (arg0
);
941 fputs_unfiltered (", ", gdb_stdlog
);
942 target_debug_print_CORE_ADDR (arg1
);
943 fputs_unfiltered (", ", gdb_stdlog
);
944 target_debug_print_enum_target_hw_bp_type (arg2
);
945 fputs_unfiltered (") = ", gdb_stdlog
);
946 target_debug_print_int (result
);
947 fputs_unfiltered ("\n", gdb_stdlog
);
952 target_ops::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
954 return this->beneath ()->remove_mask_watchpoint (arg0
, arg1
, arg2
);
958 dummy_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
964 debug_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
967 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_mask_watchpoint (...)\n", this->beneath ()->shortname ());
968 result
= this->beneath ()->remove_mask_watchpoint (arg0
, arg1
, arg2
);
969 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_mask_watchpoint (", this->beneath ()->shortname ());
970 target_debug_print_CORE_ADDR (arg0
);
971 fputs_unfiltered (", ", gdb_stdlog
);
972 target_debug_print_CORE_ADDR (arg1
);
973 fputs_unfiltered (", ", gdb_stdlog
);
974 target_debug_print_enum_target_hw_bp_type (arg2
);
975 fputs_unfiltered (") = ", gdb_stdlog
);
976 target_debug_print_int (result
);
977 fputs_unfiltered ("\n", gdb_stdlog
);
982 target_ops::stopped_by_watchpoint ()
984 return this->beneath ()->stopped_by_watchpoint ();
988 dummy_target::stopped_by_watchpoint ()
994 debug_target::stopped_by_watchpoint ()
997 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_watchpoint (...)\n", this->beneath ()->shortname ());
998 result
= this->beneath ()->stopped_by_watchpoint ();
999 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_watchpoint (", this->beneath ()->shortname ());
1000 fputs_unfiltered (") = ", gdb_stdlog
);
1001 target_debug_print_bool (result
);
1002 fputs_unfiltered ("\n", gdb_stdlog
);
1007 target_ops::have_steppable_watchpoint ()
1009 return this->beneath ()->have_steppable_watchpoint ();
1013 dummy_target::have_steppable_watchpoint ()
1019 debug_target::have_steppable_watchpoint ()
1022 fprintf_unfiltered (gdb_stdlog
, "-> %s->have_steppable_watchpoint (...)\n", this->beneath ()->shortname ());
1023 result
= this->beneath ()->have_steppable_watchpoint ();
1024 fprintf_unfiltered (gdb_stdlog
, "<- %s->have_steppable_watchpoint (", this->beneath ()->shortname ());
1025 fputs_unfiltered (") = ", gdb_stdlog
);
1026 target_debug_print_bool (result
);
1027 fputs_unfiltered ("\n", gdb_stdlog
);
1032 target_ops::stopped_data_address (CORE_ADDR
*arg0
)
1034 return this->beneath ()->stopped_data_address (arg0
);
1038 dummy_target::stopped_data_address (CORE_ADDR
*arg0
)
1044 debug_target::stopped_data_address (CORE_ADDR
*arg0
)
1047 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_data_address (...)\n", this->beneath ()->shortname ());
1048 result
= this->beneath ()->stopped_data_address (arg0
);
1049 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_data_address (", this->beneath ()->shortname ());
1050 target_debug_print_CORE_ADDR_p (arg0
);
1051 fputs_unfiltered (") = ", gdb_stdlog
);
1052 target_debug_print_bool (result
);
1053 fputs_unfiltered ("\n", gdb_stdlog
);
1058 target_ops::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1060 return this->beneath ()->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1064 dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1066 return default_watchpoint_addr_within_range (this, arg0
, arg1
, arg2
);
1070 debug_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1073 fprintf_unfiltered (gdb_stdlog
, "-> %s->watchpoint_addr_within_range (...)\n", this->beneath ()->shortname ());
1074 result
= this->beneath ()->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1075 fprintf_unfiltered (gdb_stdlog
, "<- %s->watchpoint_addr_within_range (", this->beneath ()->shortname ());
1076 target_debug_print_CORE_ADDR (arg0
);
1077 fputs_unfiltered (", ", gdb_stdlog
);
1078 target_debug_print_CORE_ADDR (arg1
);
1079 fputs_unfiltered (", ", gdb_stdlog
);
1080 target_debug_print_int (arg2
);
1081 fputs_unfiltered (") = ", gdb_stdlog
);
1082 target_debug_print_bool (result
);
1083 fputs_unfiltered ("\n", gdb_stdlog
);
1088 target_ops::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1090 return this->beneath ()->region_ok_for_hw_watchpoint (arg0
, arg1
);
1094 dummy_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1096 return default_region_ok_for_hw_watchpoint (this, arg0
, arg1
);
1100 debug_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1103 fprintf_unfiltered (gdb_stdlog
, "-> %s->region_ok_for_hw_watchpoint (...)\n", this->beneath ()->shortname ());
1104 result
= this->beneath ()->region_ok_for_hw_watchpoint (arg0
, arg1
);
1105 fprintf_unfiltered (gdb_stdlog
, "<- %s->region_ok_for_hw_watchpoint (", this->beneath ()->shortname ());
1106 target_debug_print_CORE_ADDR (arg0
);
1107 fputs_unfiltered (", ", gdb_stdlog
);
1108 target_debug_print_int (arg1
);
1109 fputs_unfiltered (") = ", gdb_stdlog
);
1110 target_debug_print_int (result
);
1111 fputs_unfiltered ("\n", gdb_stdlog
);
1116 target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1118 return this->beneath ()->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1122 dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1128 debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1131 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_accel_watchpoint_condition (...)\n", this->beneath ()->shortname ());
1132 result
= this->beneath ()->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1133 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_accel_watchpoint_condition (", this->beneath ()->shortname ());
1134 target_debug_print_CORE_ADDR (arg0
);
1135 fputs_unfiltered (", ", gdb_stdlog
);
1136 target_debug_print_int (arg1
);
1137 fputs_unfiltered (", ", gdb_stdlog
);
1138 target_debug_print_int (arg2
);
1139 fputs_unfiltered (", ", gdb_stdlog
);
1140 target_debug_print_struct_expression_p (arg3
);
1141 fputs_unfiltered (") = ", gdb_stdlog
);
1142 target_debug_print_bool (result
);
1143 fputs_unfiltered ("\n", gdb_stdlog
);
1148 target_ops::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1150 return this->beneath ()->masked_watch_num_registers (arg0
, arg1
);
1154 dummy_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1160 debug_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1163 fprintf_unfiltered (gdb_stdlog
, "-> %s->masked_watch_num_registers (...)\n", this->beneath ()->shortname ());
1164 result
= this->beneath ()->masked_watch_num_registers (arg0
, arg1
);
1165 fprintf_unfiltered (gdb_stdlog
, "<- %s->masked_watch_num_registers (", this->beneath ()->shortname ());
1166 target_debug_print_CORE_ADDR (arg0
);
1167 fputs_unfiltered (", ", gdb_stdlog
);
1168 target_debug_print_CORE_ADDR (arg1
);
1169 fputs_unfiltered (") = ", gdb_stdlog
);
1170 target_debug_print_int (result
);
1171 fputs_unfiltered ("\n", gdb_stdlog
);
1176 target_ops::can_do_single_step ()
1178 return this->beneath ()->can_do_single_step ();
1182 dummy_target::can_do_single_step ()
1188 debug_target::can_do_single_step ()
1191 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_do_single_step (...)\n", this->beneath ()->shortname ());
1192 result
= this->beneath ()->can_do_single_step ();
1193 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_do_single_step (", this->beneath ()->shortname ());
1194 fputs_unfiltered (") = ", gdb_stdlog
);
1195 target_debug_print_int (result
);
1196 fputs_unfiltered ("\n", gdb_stdlog
);
1201 target_ops::supports_terminal_ours ()
1203 return this->beneath ()->supports_terminal_ours ();
1207 dummy_target::supports_terminal_ours ()
1213 debug_target::supports_terminal_ours ()
1216 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_terminal_ours (...)\n", this->beneath ()->shortname ());
1217 result
= this->beneath ()->supports_terminal_ours ();
1218 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_terminal_ours (", this->beneath ()->shortname ());
1219 fputs_unfiltered (") = ", gdb_stdlog
);
1220 target_debug_print_bool (result
);
1221 fputs_unfiltered ("\n", gdb_stdlog
);
1226 target_ops::terminal_init ()
1228 this->beneath ()->terminal_init ();
1232 dummy_target::terminal_init ()
1237 debug_target::terminal_init ()
1239 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_init (...)\n", this->beneath ()->shortname ());
1240 this->beneath ()->terminal_init ();
1241 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_init (", this->beneath ()->shortname ());
1242 fputs_unfiltered (")\n", gdb_stdlog
);
1246 target_ops::terminal_inferior ()
1248 this->beneath ()->terminal_inferior ();
1252 dummy_target::terminal_inferior ()
1257 debug_target::terminal_inferior ()
1259 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_inferior (...)\n", this->beneath ()->shortname ());
1260 this->beneath ()->terminal_inferior ();
1261 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_inferior (", this->beneath ()->shortname ());
1262 fputs_unfiltered (")\n", gdb_stdlog
);
1266 target_ops::terminal_save_inferior ()
1268 this->beneath ()->terminal_save_inferior ();
1272 dummy_target::terminal_save_inferior ()
1277 debug_target::terminal_save_inferior ()
1279 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_save_inferior (...)\n", this->beneath ()->shortname ());
1280 this->beneath ()->terminal_save_inferior ();
1281 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_save_inferior (", this->beneath ()->shortname ());
1282 fputs_unfiltered (")\n", gdb_stdlog
);
1286 target_ops::terminal_ours_for_output ()
1288 this->beneath ()->terminal_ours_for_output ();
1292 dummy_target::terminal_ours_for_output ()
1297 debug_target::terminal_ours_for_output ()
1299 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_ours_for_output (...)\n", this->beneath ()->shortname ());
1300 this->beneath ()->terminal_ours_for_output ();
1301 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_ours_for_output (", this->beneath ()->shortname ());
1302 fputs_unfiltered (")\n", gdb_stdlog
);
1306 target_ops::terminal_ours ()
1308 this->beneath ()->terminal_ours ();
1312 dummy_target::terminal_ours ()
1317 debug_target::terminal_ours ()
1319 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_ours (...)\n", this->beneath ()->shortname ());
1320 this->beneath ()->terminal_ours ();
1321 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_ours (", this->beneath ()->shortname ());
1322 fputs_unfiltered (")\n", gdb_stdlog
);
1326 target_ops::terminal_info (const char *arg0
, int arg1
)
1328 this->beneath ()->terminal_info (arg0
, arg1
);
1332 dummy_target::terminal_info (const char *arg0
, int arg1
)
1334 default_terminal_info (this, arg0
, arg1
);
1338 debug_target::terminal_info (const char *arg0
, int arg1
)
1340 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_info (...)\n", this->beneath ()->shortname ());
1341 this->beneath ()->terminal_info (arg0
, arg1
);
1342 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_info (", this->beneath ()->shortname ());
1343 target_debug_print_const_char_p (arg0
);
1344 fputs_unfiltered (", ", gdb_stdlog
);
1345 target_debug_print_int (arg1
);
1346 fputs_unfiltered (")\n", gdb_stdlog
);
1352 this->beneath ()->kill ();
1356 dummy_target::kill ()
1362 debug_target::kill ()
1364 fprintf_unfiltered (gdb_stdlog
, "-> %s->kill (...)\n", this->beneath ()->shortname ());
1365 this->beneath ()->kill ();
1366 fprintf_unfiltered (gdb_stdlog
, "<- %s->kill (", this->beneath ()->shortname ());
1367 fputs_unfiltered (")\n", gdb_stdlog
);
1371 target_ops::load (const char *arg0
, int arg1
)
1373 this->beneath ()->load (arg0
, arg1
);
1377 dummy_target::load (const char *arg0
, int arg1
)
1383 debug_target::load (const char *arg0
, int arg1
)
1385 fprintf_unfiltered (gdb_stdlog
, "-> %s->load (...)\n", this->beneath ()->shortname ());
1386 this->beneath ()->load (arg0
, arg1
);
1387 fprintf_unfiltered (gdb_stdlog
, "<- %s->load (", this->beneath ()->shortname ());
1388 target_debug_print_const_char_p (arg0
);
1389 fputs_unfiltered (", ", gdb_stdlog
);
1390 target_debug_print_int (arg1
);
1391 fputs_unfiltered (")\n", gdb_stdlog
);
1395 target_ops::insert_fork_catchpoint (int arg0
)
1397 return this->beneath ()->insert_fork_catchpoint (arg0
);
1401 dummy_target::insert_fork_catchpoint (int arg0
)
1407 debug_target::insert_fork_catchpoint (int arg0
)
1410 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1411 result
= this->beneath ()->insert_fork_catchpoint (arg0
);
1412 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_fork_catchpoint (", this->beneath ()->shortname ());
1413 target_debug_print_int (arg0
);
1414 fputs_unfiltered (") = ", gdb_stdlog
);
1415 target_debug_print_int (result
);
1416 fputs_unfiltered ("\n", gdb_stdlog
);
1421 target_ops::remove_fork_catchpoint (int arg0
)
1423 return this->beneath ()->remove_fork_catchpoint (arg0
);
1427 dummy_target::remove_fork_catchpoint (int arg0
)
1433 debug_target::remove_fork_catchpoint (int arg0
)
1436 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1437 result
= this->beneath ()->remove_fork_catchpoint (arg0
);
1438 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_fork_catchpoint (", this->beneath ()->shortname ());
1439 target_debug_print_int (arg0
);
1440 fputs_unfiltered (") = ", gdb_stdlog
);
1441 target_debug_print_int (result
);
1442 fputs_unfiltered ("\n", gdb_stdlog
);
1447 target_ops::insert_vfork_catchpoint (int arg0
)
1449 return this->beneath ()->insert_vfork_catchpoint (arg0
);
1453 dummy_target::insert_vfork_catchpoint (int arg0
)
1459 debug_target::insert_vfork_catchpoint (int arg0
)
1462 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1463 result
= this->beneath ()->insert_vfork_catchpoint (arg0
);
1464 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_vfork_catchpoint (", this->beneath ()->shortname ());
1465 target_debug_print_int (arg0
);
1466 fputs_unfiltered (") = ", gdb_stdlog
);
1467 target_debug_print_int (result
);
1468 fputs_unfiltered ("\n", gdb_stdlog
);
1473 target_ops::remove_vfork_catchpoint (int arg0
)
1475 return this->beneath ()->remove_vfork_catchpoint (arg0
);
1479 dummy_target::remove_vfork_catchpoint (int arg0
)
1485 debug_target::remove_vfork_catchpoint (int arg0
)
1488 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1489 result
= this->beneath ()->remove_vfork_catchpoint (arg0
);
1490 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_vfork_catchpoint (", this->beneath ()->shortname ());
1491 target_debug_print_int (arg0
);
1492 fputs_unfiltered (") = ", gdb_stdlog
);
1493 target_debug_print_int (result
);
1494 fputs_unfiltered ("\n", gdb_stdlog
);
1499 target_ops::follow_fork (inferior
*arg0
, ptid_t arg1
, target_waitkind arg2
, bool arg3
, bool arg4
)
1501 this->beneath ()->follow_fork (arg0
, arg1
, arg2
, arg3
, arg4
);
1505 dummy_target::follow_fork (inferior
*arg0
, ptid_t arg1
, target_waitkind arg2
, bool arg3
, bool arg4
)
1507 default_follow_fork (this, arg0
, arg1
, arg2
, arg3
, arg4
);
1511 debug_target::follow_fork (inferior
*arg0
, ptid_t arg1
, target_waitkind arg2
, bool arg3
, bool arg4
)
1513 fprintf_unfiltered (gdb_stdlog
, "-> %s->follow_fork (...)\n", this->beneath ()->shortname ());
1514 this->beneath ()->follow_fork (arg0
, arg1
, arg2
, arg3
, arg4
);
1515 fprintf_unfiltered (gdb_stdlog
, "<- %s->follow_fork (", this->beneath ()->shortname ());
1516 target_debug_print_inferior_p (arg0
);
1517 fputs_unfiltered (", ", gdb_stdlog
);
1518 target_debug_print_ptid_t (arg1
);
1519 fputs_unfiltered (", ", gdb_stdlog
);
1520 target_debug_print_target_waitkind (arg2
);
1521 fputs_unfiltered (", ", gdb_stdlog
);
1522 target_debug_print_bool (arg3
);
1523 fputs_unfiltered (", ", gdb_stdlog
);
1524 target_debug_print_bool (arg4
);
1525 fputs_unfiltered (")\n", gdb_stdlog
);
1529 target_ops::insert_exec_catchpoint (int arg0
)
1531 return this->beneath ()->insert_exec_catchpoint (arg0
);
1535 dummy_target::insert_exec_catchpoint (int arg0
)
1541 debug_target::insert_exec_catchpoint (int arg0
)
1544 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1545 result
= this->beneath ()->insert_exec_catchpoint (arg0
);
1546 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_exec_catchpoint (", this->beneath ()->shortname ());
1547 target_debug_print_int (arg0
);
1548 fputs_unfiltered (") = ", gdb_stdlog
);
1549 target_debug_print_int (result
);
1550 fputs_unfiltered ("\n", gdb_stdlog
);
1555 target_ops::remove_exec_catchpoint (int arg0
)
1557 return this->beneath ()->remove_exec_catchpoint (arg0
);
1561 dummy_target::remove_exec_catchpoint (int arg0
)
1567 debug_target::remove_exec_catchpoint (int arg0
)
1570 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1571 result
= this->beneath ()->remove_exec_catchpoint (arg0
);
1572 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_exec_catchpoint (", this->beneath ()->shortname ());
1573 target_debug_print_int (arg0
);
1574 fputs_unfiltered (") = ", gdb_stdlog
);
1575 target_debug_print_int (result
);
1576 fputs_unfiltered ("\n", gdb_stdlog
);
1581 target_ops::follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
)
1583 this->beneath ()->follow_exec (arg0
, arg1
, arg2
);
1587 dummy_target::follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
)
1592 debug_target::follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
)
1594 fprintf_unfiltered (gdb_stdlog
, "-> %s->follow_exec (...)\n", this->beneath ()->shortname ());
1595 this->beneath ()->follow_exec (arg0
, arg1
, arg2
);
1596 fprintf_unfiltered (gdb_stdlog
, "<- %s->follow_exec (", this->beneath ()->shortname ());
1597 target_debug_print_inferior_p (arg0
);
1598 fputs_unfiltered (", ", gdb_stdlog
);
1599 target_debug_print_ptid_t (arg1
);
1600 fputs_unfiltered (", ", gdb_stdlog
);
1601 target_debug_print_const_char_p (arg2
);
1602 fputs_unfiltered (")\n", gdb_stdlog
);
1606 target_ops::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1608 return this->beneath ()->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1612 dummy_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1618 debug_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1621 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_syscall_catchpoint (...)\n", this->beneath ()->shortname ());
1622 result
= this->beneath ()->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1623 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_syscall_catchpoint (", this->beneath ()->shortname ());
1624 target_debug_print_int (arg0
);
1625 fputs_unfiltered (", ", gdb_stdlog
);
1626 target_debug_print_bool (arg1
);
1627 fputs_unfiltered (", ", gdb_stdlog
);
1628 target_debug_print_int (arg2
);
1629 fputs_unfiltered (", ", gdb_stdlog
);
1630 target_debug_print_gdb_array_view_const_int (arg3
);
1631 fputs_unfiltered (") = ", gdb_stdlog
);
1632 target_debug_print_int (result
);
1633 fputs_unfiltered ("\n", gdb_stdlog
);
1638 target_ops::mourn_inferior ()
1640 this->beneath ()->mourn_inferior ();
1644 dummy_target::mourn_inferior ()
1646 default_mourn_inferior (this);
1650 debug_target::mourn_inferior ()
1652 fprintf_unfiltered (gdb_stdlog
, "-> %s->mourn_inferior (...)\n", this->beneath ()->shortname ());
1653 this->beneath ()->mourn_inferior ();
1654 fprintf_unfiltered (gdb_stdlog
, "<- %s->mourn_inferior (", this->beneath ()->shortname ());
1655 fputs_unfiltered (")\n", gdb_stdlog
);
1659 target_ops::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1661 this->beneath ()->pass_signals (arg0
);
1665 dummy_target::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1670 debug_target::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1672 fprintf_unfiltered (gdb_stdlog
, "-> %s->pass_signals (...)\n", this->beneath ()->shortname ());
1673 this->beneath ()->pass_signals (arg0
);
1674 fprintf_unfiltered (gdb_stdlog
, "<- %s->pass_signals (", this->beneath ()->shortname ());
1675 target_debug_print_signals (arg0
);
1676 fputs_unfiltered (")\n", gdb_stdlog
);
1680 target_ops::program_signals (gdb::array_view
<const unsigned char> arg0
)
1682 this->beneath ()->program_signals (arg0
);
1686 dummy_target::program_signals (gdb::array_view
<const unsigned char> arg0
)
1691 debug_target::program_signals (gdb::array_view
<const unsigned char> arg0
)
1693 fprintf_unfiltered (gdb_stdlog
, "-> %s->program_signals (...)\n", this->beneath ()->shortname ());
1694 this->beneath ()->program_signals (arg0
);
1695 fprintf_unfiltered (gdb_stdlog
, "<- %s->program_signals (", this->beneath ()->shortname ());
1696 target_debug_print_signals (arg0
);
1697 fputs_unfiltered (")\n", gdb_stdlog
);
1701 target_ops::thread_alive (ptid_t arg0
)
1703 return this->beneath ()->thread_alive (arg0
);
1707 dummy_target::thread_alive (ptid_t arg0
)
1713 debug_target::thread_alive (ptid_t arg0
)
1716 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_alive (...)\n", this->beneath ()->shortname ());
1717 result
= this->beneath ()->thread_alive (arg0
);
1718 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_alive (", this->beneath ()->shortname ());
1719 target_debug_print_ptid_t (arg0
);
1720 fputs_unfiltered (") = ", gdb_stdlog
);
1721 target_debug_print_bool (result
);
1722 fputs_unfiltered ("\n", gdb_stdlog
);
1727 target_ops::update_thread_list ()
1729 this->beneath ()->update_thread_list ();
1733 dummy_target::update_thread_list ()
1738 debug_target::update_thread_list ()
1740 fprintf_unfiltered (gdb_stdlog
, "-> %s->update_thread_list (...)\n", this->beneath ()->shortname ());
1741 this->beneath ()->update_thread_list ();
1742 fprintf_unfiltered (gdb_stdlog
, "<- %s->update_thread_list (", this->beneath ()->shortname ());
1743 fputs_unfiltered (")\n", gdb_stdlog
);
1747 target_ops::pid_to_str (ptid_t arg0
)
1749 return this->beneath ()->pid_to_str (arg0
);
1753 dummy_target::pid_to_str (ptid_t arg0
)
1755 return default_pid_to_str (this, arg0
);
1759 debug_target::pid_to_str (ptid_t arg0
)
1762 fprintf_unfiltered (gdb_stdlog
, "-> %s->pid_to_str (...)\n", this->beneath ()->shortname ());
1763 result
= this->beneath ()->pid_to_str (arg0
);
1764 fprintf_unfiltered (gdb_stdlog
, "<- %s->pid_to_str (", this->beneath ()->shortname ());
1765 target_debug_print_ptid_t (arg0
);
1766 fputs_unfiltered (") = ", gdb_stdlog
);
1767 target_debug_print_std_string (result
);
1768 fputs_unfiltered ("\n", gdb_stdlog
);
1773 target_ops::extra_thread_info (thread_info
*arg0
)
1775 return this->beneath ()->extra_thread_info (arg0
);
1779 dummy_target::extra_thread_info (thread_info
*arg0
)
1785 debug_target::extra_thread_info (thread_info
*arg0
)
1787 const char * result
;
1788 fprintf_unfiltered (gdb_stdlog
, "-> %s->extra_thread_info (...)\n", this->beneath ()->shortname ());
1789 result
= this->beneath ()->extra_thread_info (arg0
);
1790 fprintf_unfiltered (gdb_stdlog
, "<- %s->extra_thread_info (", this->beneath ()->shortname ());
1791 target_debug_print_thread_info_p (arg0
);
1792 fputs_unfiltered (") = ", gdb_stdlog
);
1793 target_debug_print_const_char_p (result
);
1794 fputs_unfiltered ("\n", gdb_stdlog
);
1799 target_ops::thread_name (thread_info
*arg0
)
1801 return this->beneath ()->thread_name (arg0
);
1805 dummy_target::thread_name (thread_info
*arg0
)
1811 debug_target::thread_name (thread_info
*arg0
)
1813 const char * result
;
1814 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_name (...)\n", this->beneath ()->shortname ());
1815 result
= this->beneath ()->thread_name (arg0
);
1816 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_name (", this->beneath ()->shortname ());
1817 target_debug_print_thread_info_p (arg0
);
1818 fputs_unfiltered (") = ", gdb_stdlog
);
1819 target_debug_print_const_char_p (result
);
1820 fputs_unfiltered ("\n", gdb_stdlog
);
1825 target_ops::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1827 return this->beneath ()->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1831 dummy_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1837 debug_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1839 thread_info
* result
;
1840 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath ()->shortname ());
1841 result
= this->beneath ()->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1842 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_handle_to_thread_info (", this->beneath ()->shortname ());
1843 target_debug_print_const_gdb_byte_p (arg0
);
1844 fputs_unfiltered (", ", gdb_stdlog
);
1845 target_debug_print_int (arg1
);
1846 fputs_unfiltered (", ", gdb_stdlog
);
1847 target_debug_print_inferior_p (arg2
);
1848 fputs_unfiltered (") = ", gdb_stdlog
);
1849 target_debug_print_thread_info_p (result
);
1850 fputs_unfiltered ("\n", gdb_stdlog
);
1855 target_ops::thread_info_to_thread_handle (struct thread_info
*arg0
)
1857 return this->beneath ()->thread_info_to_thread_handle (arg0
);
1861 dummy_target::thread_info_to_thread_handle (struct thread_info
*arg0
)
1863 return gdb::byte_vector ();
1867 debug_target::thread_info_to_thread_handle (struct thread_info
*arg0
)
1869 gdb::byte_vector result
;
1870 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_info_to_thread_handle (...)\n", this->beneath ()->shortname ());
1871 result
= this->beneath ()->thread_info_to_thread_handle (arg0
);
1872 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_info_to_thread_handle (", this->beneath ()->shortname ());
1873 target_debug_print_struct_thread_info_p (arg0
);
1874 fputs_unfiltered (") = ", gdb_stdlog
);
1875 target_debug_print_gdb_byte_vector (result
);
1876 fputs_unfiltered ("\n", gdb_stdlog
);
1881 target_ops::stop (ptid_t arg0
)
1883 this->beneath ()->stop (arg0
);
1887 dummy_target::stop (ptid_t arg0
)
1892 debug_target::stop (ptid_t arg0
)
1894 fprintf_unfiltered (gdb_stdlog
, "-> %s->stop (...)\n", this->beneath ()->shortname ());
1895 this->beneath ()->stop (arg0
);
1896 fprintf_unfiltered (gdb_stdlog
, "<- %s->stop (", this->beneath ()->shortname ());
1897 target_debug_print_ptid_t (arg0
);
1898 fputs_unfiltered (")\n", gdb_stdlog
);
1902 target_ops::interrupt ()
1904 this->beneath ()->interrupt ();
1908 dummy_target::interrupt ()
1913 debug_target::interrupt ()
1915 fprintf_unfiltered (gdb_stdlog
, "-> %s->interrupt (...)\n", this->beneath ()->shortname ());
1916 this->beneath ()->interrupt ();
1917 fprintf_unfiltered (gdb_stdlog
, "<- %s->interrupt (", this->beneath ()->shortname ());
1918 fputs_unfiltered (")\n", gdb_stdlog
);
1922 target_ops::pass_ctrlc ()
1924 this->beneath ()->pass_ctrlc ();
1928 dummy_target::pass_ctrlc ()
1930 default_target_pass_ctrlc (this);
1934 debug_target::pass_ctrlc ()
1936 fprintf_unfiltered (gdb_stdlog
, "-> %s->pass_ctrlc (...)\n", this->beneath ()->shortname ());
1937 this->beneath ()->pass_ctrlc ();
1938 fprintf_unfiltered (gdb_stdlog
, "<- %s->pass_ctrlc (", this->beneath ()->shortname ());
1939 fputs_unfiltered (")\n", gdb_stdlog
);
1943 target_ops::rcmd (const char *arg0
, struct ui_file
*arg1
)
1945 this->beneath ()->rcmd (arg0
, arg1
);
1949 dummy_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
1951 default_rcmd (this, arg0
, arg1
);
1955 debug_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
1957 fprintf_unfiltered (gdb_stdlog
, "-> %s->rcmd (...)\n", this->beneath ()->shortname ());
1958 this->beneath ()->rcmd (arg0
, arg1
);
1959 fprintf_unfiltered (gdb_stdlog
, "<- %s->rcmd (", this->beneath ()->shortname ());
1960 target_debug_print_const_char_p (arg0
);
1961 fputs_unfiltered (", ", gdb_stdlog
);
1962 target_debug_print_struct_ui_file_p (arg1
);
1963 fputs_unfiltered (")\n", gdb_stdlog
);
1967 target_ops::pid_to_exec_file (int arg0
)
1969 return this->beneath ()->pid_to_exec_file (arg0
);
1973 dummy_target::pid_to_exec_file (int arg0
)
1979 debug_target::pid_to_exec_file (int arg0
)
1982 fprintf_unfiltered (gdb_stdlog
, "-> %s->pid_to_exec_file (...)\n", this->beneath ()->shortname ());
1983 result
= this->beneath ()->pid_to_exec_file (arg0
);
1984 fprintf_unfiltered (gdb_stdlog
, "<- %s->pid_to_exec_file (", this->beneath ()->shortname ());
1985 target_debug_print_int (arg0
);
1986 fputs_unfiltered (") = ", gdb_stdlog
);
1987 target_debug_print_char_p (result
);
1988 fputs_unfiltered ("\n", gdb_stdlog
);
1993 target_ops::log_command (const char *arg0
)
1995 this->beneath ()->log_command (arg0
);
1999 dummy_target::log_command (const char *arg0
)
2004 debug_target::log_command (const char *arg0
)
2006 fprintf_unfiltered (gdb_stdlog
, "-> %s->log_command (...)\n", this->beneath ()->shortname ());
2007 this->beneath ()->log_command (arg0
);
2008 fprintf_unfiltered (gdb_stdlog
, "<- %s->log_command (", this->beneath ()->shortname ());
2009 target_debug_print_const_char_p (arg0
);
2010 fputs_unfiltered (")\n", gdb_stdlog
);
2013 const target_section_table
*
2014 target_ops::get_section_table ()
2016 return this->beneath ()->get_section_table ();
2019 const target_section_table
*
2020 dummy_target::get_section_table ()
2022 return default_get_section_table ();
2025 const target_section_table
*
2026 debug_target::get_section_table ()
2028 const target_section_table
* result
;
2029 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_section_table (...)\n", this->beneath ()->shortname ());
2030 result
= this->beneath ()->get_section_table ();
2031 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_section_table (", this->beneath ()->shortname ());
2032 fputs_unfiltered (") = ", gdb_stdlog
);
2033 target_debug_print_const_target_section_table_p (result
);
2034 fputs_unfiltered ("\n", gdb_stdlog
);
2038 thread_control_capabilities
2039 target_ops::get_thread_control_capabilities ()
2041 return this->beneath ()->get_thread_control_capabilities ();
2044 thread_control_capabilities
2045 dummy_target::get_thread_control_capabilities ()
2050 thread_control_capabilities
2051 debug_target::get_thread_control_capabilities ()
2053 thread_control_capabilities result
;
2054 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_thread_control_capabilities (...)\n", this->beneath ()->shortname ());
2055 result
= this->beneath ()->get_thread_control_capabilities ();
2056 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_thread_control_capabilities (", this->beneath ()->shortname ());
2057 fputs_unfiltered (") = ", gdb_stdlog
);
2058 target_debug_print_thread_control_capabilities (result
);
2059 fputs_unfiltered ("\n", gdb_stdlog
);
2064 target_ops::attach_no_wait ()
2066 return this->beneath ()->attach_no_wait ();
2070 dummy_target::attach_no_wait ()
2076 debug_target::attach_no_wait ()
2079 fprintf_unfiltered (gdb_stdlog
, "-> %s->attach_no_wait (...)\n", this->beneath ()->shortname ());
2080 result
= this->beneath ()->attach_no_wait ();
2081 fprintf_unfiltered (gdb_stdlog
, "<- %s->attach_no_wait (", this->beneath ()->shortname ());
2082 fputs_unfiltered (") = ", gdb_stdlog
);
2083 target_debug_print_bool (result
);
2084 fputs_unfiltered ("\n", gdb_stdlog
);
2089 target_ops::can_async_p ()
2091 return this->beneath ()->can_async_p ();
2095 dummy_target::can_async_p ()
2101 debug_target::can_async_p ()
2104 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_async_p (...)\n", this->beneath ()->shortname ());
2105 result
= this->beneath ()->can_async_p ();
2106 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_async_p (", this->beneath ()->shortname ());
2107 fputs_unfiltered (") = ", gdb_stdlog
);
2108 target_debug_print_bool (result
);
2109 fputs_unfiltered ("\n", gdb_stdlog
);
2114 target_ops::is_async_p ()
2116 return this->beneath ()->is_async_p ();
2120 dummy_target::is_async_p ()
2126 debug_target::is_async_p ()
2129 fprintf_unfiltered (gdb_stdlog
, "-> %s->is_async_p (...)\n", this->beneath ()->shortname ());
2130 result
= this->beneath ()->is_async_p ();
2131 fprintf_unfiltered (gdb_stdlog
, "<- %s->is_async_p (", this->beneath ()->shortname ());
2132 fputs_unfiltered (") = ", gdb_stdlog
);
2133 target_debug_print_bool (result
);
2134 fputs_unfiltered ("\n", gdb_stdlog
);
2139 target_ops::async (int arg0
)
2141 this->beneath ()->async (arg0
);
2145 dummy_target::async (int arg0
)
2151 debug_target::async (int arg0
)
2153 fprintf_unfiltered (gdb_stdlog
, "-> %s->async (...)\n", this->beneath ()->shortname ());
2154 this->beneath ()->async (arg0
);
2155 fprintf_unfiltered (gdb_stdlog
, "<- %s->async (", this->beneath ()->shortname ());
2156 target_debug_print_int (arg0
);
2157 fputs_unfiltered (")\n", gdb_stdlog
);
2161 target_ops::async_wait_fd ()
2163 return this->beneath ()->async_wait_fd ();
2167 dummy_target::async_wait_fd ()
2173 debug_target::async_wait_fd ()
2176 fprintf_unfiltered (gdb_stdlog
, "-> %s->async_wait_fd (...)\n", this->beneath ()->shortname ());
2177 result
= this->beneath ()->async_wait_fd ();
2178 fprintf_unfiltered (gdb_stdlog
, "<- %s->async_wait_fd (", this->beneath ()->shortname ());
2179 fputs_unfiltered (") = ", gdb_stdlog
);
2180 target_debug_print_int (result
);
2181 fputs_unfiltered ("\n", gdb_stdlog
);
2186 target_ops::has_pending_events ()
2188 return this->beneath ()->has_pending_events ();
2192 dummy_target::has_pending_events ()
2198 debug_target::has_pending_events ()
2201 fprintf_unfiltered (gdb_stdlog
, "-> %s->has_pending_events (...)\n", this->beneath ()->shortname ());
2202 result
= this->beneath ()->has_pending_events ();
2203 fprintf_unfiltered (gdb_stdlog
, "<- %s->has_pending_events (", this->beneath ()->shortname ());
2204 fputs_unfiltered (") = ", gdb_stdlog
);
2205 target_debug_print_bool (result
);
2206 fputs_unfiltered ("\n", gdb_stdlog
);
2211 target_ops::thread_events (int arg0
)
2213 this->beneath ()->thread_events (arg0
);
2217 dummy_target::thread_events (int arg0
)
2222 debug_target::thread_events (int arg0
)
2224 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_events (...)\n", this->beneath ()->shortname ());
2225 this->beneath ()->thread_events (arg0
);
2226 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_events (", this->beneath ()->shortname ());
2227 target_debug_print_int (arg0
);
2228 fputs_unfiltered (")\n", gdb_stdlog
);
2232 target_ops::supports_non_stop ()
2234 return this->beneath ()->supports_non_stop ();
2238 dummy_target::supports_non_stop ()
2244 debug_target::supports_non_stop ()
2247 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_non_stop (...)\n", this->beneath ()->shortname ());
2248 result
= this->beneath ()->supports_non_stop ();
2249 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_non_stop (", this->beneath ()->shortname ());
2250 fputs_unfiltered (") = ", gdb_stdlog
);
2251 target_debug_print_bool (result
);
2252 fputs_unfiltered ("\n", gdb_stdlog
);
2257 target_ops::always_non_stop_p ()
2259 return this->beneath ()->always_non_stop_p ();
2263 dummy_target::always_non_stop_p ()
2269 debug_target::always_non_stop_p ()
2272 fprintf_unfiltered (gdb_stdlog
, "-> %s->always_non_stop_p (...)\n", this->beneath ()->shortname ());
2273 result
= this->beneath ()->always_non_stop_p ();
2274 fprintf_unfiltered (gdb_stdlog
, "<- %s->always_non_stop_p (", this->beneath ()->shortname ());
2275 fputs_unfiltered (") = ", gdb_stdlog
);
2276 target_debug_print_bool (result
);
2277 fputs_unfiltered ("\n", gdb_stdlog
);
2282 target_ops::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2284 return this->beneath ()->find_memory_regions (arg0
, arg1
);
2288 dummy_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2290 return dummy_find_memory_regions (this, arg0
, arg1
);
2294 debug_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2297 fprintf_unfiltered (gdb_stdlog
, "-> %s->find_memory_regions (...)\n", this->beneath ()->shortname ());
2298 result
= this->beneath ()->find_memory_regions (arg0
, arg1
);
2299 fprintf_unfiltered (gdb_stdlog
, "<- %s->find_memory_regions (", this->beneath ()->shortname ());
2300 target_debug_print_find_memory_region_ftype (arg0
);
2301 fputs_unfiltered (", ", gdb_stdlog
);
2302 target_debug_print_void_p (arg1
);
2303 fputs_unfiltered (") = ", gdb_stdlog
);
2304 target_debug_print_int (result
);
2305 fputs_unfiltered ("\n", gdb_stdlog
);
2309 gdb::unique_xmalloc_ptr
<char>
2310 target_ops::make_corefile_notes (bfd
*arg0
, int *arg1
)
2312 return this->beneath ()->make_corefile_notes (arg0
, arg1
);
2315 gdb::unique_xmalloc_ptr
<char>
2316 dummy_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2318 return dummy_make_corefile_notes (this, arg0
, arg1
);
2321 gdb::unique_xmalloc_ptr
<char>
2322 debug_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2324 gdb::unique_xmalloc_ptr
<char> result
;
2325 fprintf_unfiltered (gdb_stdlog
, "-> %s->make_corefile_notes (...)\n", this->beneath ()->shortname ());
2326 result
= this->beneath ()->make_corefile_notes (arg0
, arg1
);
2327 fprintf_unfiltered (gdb_stdlog
, "<- %s->make_corefile_notes (", this->beneath ()->shortname ());
2328 target_debug_print_bfd_p (arg0
);
2329 fputs_unfiltered (", ", gdb_stdlog
);
2330 target_debug_print_int_p (arg1
);
2331 fputs_unfiltered (") = ", gdb_stdlog
);
2332 target_debug_print_gdb_unique_xmalloc_ptr_char (result
);
2333 fputs_unfiltered ("\n", gdb_stdlog
);
2338 target_ops::get_bookmark (const char *arg0
, int arg1
)
2340 return this->beneath ()->get_bookmark (arg0
, arg1
);
2344 dummy_target::get_bookmark (const char *arg0
, int arg1
)
2350 debug_target::get_bookmark (const char *arg0
, int arg1
)
2353 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_bookmark (...)\n", this->beneath ()->shortname ());
2354 result
= this->beneath ()->get_bookmark (arg0
, arg1
);
2355 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_bookmark (", this->beneath ()->shortname ());
2356 target_debug_print_const_char_p (arg0
);
2357 fputs_unfiltered (", ", gdb_stdlog
);
2358 target_debug_print_int (arg1
);
2359 fputs_unfiltered (") = ", gdb_stdlog
);
2360 target_debug_print_gdb_byte_p (result
);
2361 fputs_unfiltered ("\n", gdb_stdlog
);
2366 target_ops::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2368 this->beneath ()->goto_bookmark (arg0
, arg1
);
2372 dummy_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2378 debug_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2380 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_bookmark (...)\n", this->beneath ()->shortname ());
2381 this->beneath ()->goto_bookmark (arg0
, arg1
);
2382 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_bookmark (", this->beneath ()->shortname ());
2383 target_debug_print_const_gdb_byte_p (arg0
);
2384 fputs_unfiltered (", ", gdb_stdlog
);
2385 target_debug_print_int (arg1
);
2386 fputs_unfiltered (")\n", gdb_stdlog
);
2390 target_ops::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2392 return this->beneath ()->get_thread_local_address (arg0
, arg1
, arg2
);
2396 dummy_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2398 generic_tls_error ();
2402 debug_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2405 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_thread_local_address (...)\n", this->beneath ()->shortname ());
2406 result
= this->beneath ()->get_thread_local_address (arg0
, arg1
, arg2
);
2407 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_thread_local_address (", this->beneath ()->shortname ());
2408 target_debug_print_ptid_t (arg0
);
2409 fputs_unfiltered (", ", gdb_stdlog
);
2410 target_debug_print_CORE_ADDR (arg1
);
2411 fputs_unfiltered (", ", gdb_stdlog
);
2412 target_debug_print_CORE_ADDR (arg2
);
2413 fputs_unfiltered (") = ", gdb_stdlog
);
2414 target_debug_print_CORE_ADDR (result
);
2415 fputs_unfiltered ("\n", gdb_stdlog
);
2419 enum target_xfer_status
2420 target_ops::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2422 return this->beneath ()->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2425 enum target_xfer_status
2426 dummy_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2428 return TARGET_XFER_E_IO
;
2431 enum target_xfer_status
2432 debug_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2434 enum target_xfer_status result
;
2435 fprintf_unfiltered (gdb_stdlog
, "-> %s->xfer_partial (...)\n", this->beneath ()->shortname ());
2436 result
= this->beneath ()->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2437 fprintf_unfiltered (gdb_stdlog
, "<- %s->xfer_partial (", this->beneath ()->shortname ());
2438 target_debug_print_enum_target_object (arg0
);
2439 fputs_unfiltered (", ", gdb_stdlog
);
2440 target_debug_print_const_char_p (arg1
);
2441 fputs_unfiltered (", ", gdb_stdlog
);
2442 target_debug_print_gdb_byte_p (arg2
);
2443 fputs_unfiltered (", ", gdb_stdlog
);
2444 target_debug_print_const_gdb_byte_p (arg3
);
2445 fputs_unfiltered (", ", gdb_stdlog
);
2446 target_debug_print_ULONGEST (arg4
);
2447 fputs_unfiltered (", ", gdb_stdlog
);
2448 target_debug_print_ULONGEST (arg5
);
2449 fputs_unfiltered (", ", gdb_stdlog
);
2450 target_debug_print_ULONGEST_p (arg6
);
2451 fputs_unfiltered (") = ", gdb_stdlog
);
2452 target_debug_print_enum_target_xfer_status (result
);
2453 fputs_unfiltered ("\n", gdb_stdlog
);
2458 target_ops::get_memory_xfer_limit ()
2460 return this->beneath ()->get_memory_xfer_limit ();
2464 dummy_target::get_memory_xfer_limit ()
2466 return ULONGEST_MAX
;
2470 debug_target::get_memory_xfer_limit ()
2473 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_memory_xfer_limit (...)\n", this->beneath ()->shortname ());
2474 result
= this->beneath ()->get_memory_xfer_limit ();
2475 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_memory_xfer_limit (", this->beneath ()->shortname ());
2476 fputs_unfiltered (") = ", gdb_stdlog
);
2477 target_debug_print_ULONGEST (result
);
2478 fputs_unfiltered ("\n", gdb_stdlog
);
2482 std::vector
<mem_region
>
2483 target_ops::memory_map ()
2485 return this->beneath ()->memory_map ();
2488 std::vector
<mem_region
>
2489 dummy_target::memory_map ()
2491 return std::vector
<mem_region
> ();
2494 std::vector
<mem_region
>
2495 debug_target::memory_map ()
2497 std::vector
<mem_region
> result
;
2498 fprintf_unfiltered (gdb_stdlog
, "-> %s->memory_map (...)\n", this->beneath ()->shortname ());
2499 result
= this->beneath ()->memory_map ();
2500 fprintf_unfiltered (gdb_stdlog
, "<- %s->memory_map (", this->beneath ()->shortname ());
2501 fputs_unfiltered (") = ", gdb_stdlog
);
2502 target_debug_print_std_vector_mem_region (result
);
2503 fputs_unfiltered ("\n", gdb_stdlog
);
2508 target_ops::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2510 this->beneath ()->flash_erase (arg0
, arg1
);
2514 dummy_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2520 debug_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2522 fprintf_unfiltered (gdb_stdlog
, "-> %s->flash_erase (...)\n", this->beneath ()->shortname ());
2523 this->beneath ()->flash_erase (arg0
, arg1
);
2524 fprintf_unfiltered (gdb_stdlog
, "<- %s->flash_erase (", this->beneath ()->shortname ());
2525 target_debug_print_ULONGEST (arg0
);
2526 fputs_unfiltered (", ", gdb_stdlog
);
2527 target_debug_print_LONGEST (arg1
);
2528 fputs_unfiltered (")\n", gdb_stdlog
);
2532 target_ops::flash_done ()
2534 this->beneath ()->flash_done ();
2538 dummy_target::flash_done ()
2544 debug_target::flash_done ()
2546 fprintf_unfiltered (gdb_stdlog
, "-> %s->flash_done (...)\n", this->beneath ()->shortname ());
2547 this->beneath ()->flash_done ();
2548 fprintf_unfiltered (gdb_stdlog
, "<- %s->flash_done (", this->beneath ()->shortname ());
2549 fputs_unfiltered (")\n", gdb_stdlog
);
2552 const struct target_desc
*
2553 target_ops::read_description ()
2555 return this->beneath ()->read_description ();
2558 const struct target_desc
*
2559 dummy_target::read_description ()
2564 const struct target_desc
*
2565 debug_target::read_description ()
2567 const struct target_desc
* result
;
2568 fprintf_unfiltered (gdb_stdlog
, "-> %s->read_description (...)\n", this->beneath ()->shortname ());
2569 result
= this->beneath ()->read_description ();
2570 fprintf_unfiltered (gdb_stdlog
, "<- %s->read_description (", this->beneath ()->shortname ());
2571 fputs_unfiltered (") = ", gdb_stdlog
);
2572 target_debug_print_const_struct_target_desc_p (result
);
2573 fputs_unfiltered ("\n", gdb_stdlog
);
2578 target_ops::get_ada_task_ptid (long arg0
, ULONGEST arg1
)
2580 return this->beneath ()->get_ada_task_ptid (arg0
, arg1
);
2584 dummy_target::get_ada_task_ptid (long arg0
, ULONGEST arg1
)
2586 return default_get_ada_task_ptid (this, arg0
, arg1
);
2590 debug_target::get_ada_task_ptid (long arg0
, ULONGEST arg1
)
2593 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_ada_task_ptid (...)\n", this->beneath ()->shortname ());
2594 result
= this->beneath ()->get_ada_task_ptid (arg0
, arg1
);
2595 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_ada_task_ptid (", this->beneath ()->shortname ());
2596 target_debug_print_long (arg0
);
2597 fputs_unfiltered (", ", gdb_stdlog
);
2598 target_debug_print_ULONGEST (arg1
);
2599 fputs_unfiltered (") = ", gdb_stdlog
);
2600 target_debug_print_ptid_t (result
);
2601 fputs_unfiltered ("\n", gdb_stdlog
);
2606 target_ops::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2608 return this->beneath ()->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2612 dummy_target::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2614 return default_auxv_parse (this, arg0
, arg1
, arg2
, arg3
);
2618 debug_target::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2621 fprintf_unfiltered (gdb_stdlog
, "-> %s->auxv_parse (...)\n", this->beneath ()->shortname ());
2622 result
= this->beneath ()->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2623 fprintf_unfiltered (gdb_stdlog
, "<- %s->auxv_parse (", this->beneath ()->shortname ());
2624 target_debug_print_gdb_byte_pp (arg0
);
2625 fputs_unfiltered (", ", gdb_stdlog
);
2626 target_debug_print_gdb_byte_p (arg1
);
2627 fputs_unfiltered (", ", gdb_stdlog
);
2628 target_debug_print_CORE_ADDR_p (arg2
);
2629 fputs_unfiltered (", ", gdb_stdlog
);
2630 target_debug_print_CORE_ADDR_p (arg3
);
2631 fputs_unfiltered (") = ", gdb_stdlog
);
2632 target_debug_print_int (result
);
2633 fputs_unfiltered ("\n", gdb_stdlog
);
2638 target_ops::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2640 return this->beneath ()->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2644 dummy_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2646 return default_search_memory (this, arg0
, arg1
, arg2
, arg3
, arg4
);
2650 debug_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2653 fprintf_unfiltered (gdb_stdlog
, "-> %s->search_memory (...)\n", this->beneath ()->shortname ());
2654 result
= this->beneath ()->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2655 fprintf_unfiltered (gdb_stdlog
, "<- %s->search_memory (", this->beneath ()->shortname ());
2656 target_debug_print_CORE_ADDR (arg0
);
2657 fputs_unfiltered (", ", gdb_stdlog
);
2658 target_debug_print_ULONGEST (arg1
);
2659 fputs_unfiltered (", ", gdb_stdlog
);
2660 target_debug_print_const_gdb_byte_p (arg2
);
2661 fputs_unfiltered (", ", gdb_stdlog
);
2662 target_debug_print_ULONGEST (arg3
);
2663 fputs_unfiltered (", ", gdb_stdlog
);
2664 target_debug_print_CORE_ADDR_p (arg4
);
2665 fputs_unfiltered (") = ", gdb_stdlog
);
2666 target_debug_print_int (result
);
2667 fputs_unfiltered ("\n", gdb_stdlog
);
2672 target_ops::can_execute_reverse ()
2674 return this->beneath ()->can_execute_reverse ();
2678 dummy_target::can_execute_reverse ()
2684 debug_target::can_execute_reverse ()
2687 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_execute_reverse (...)\n", this->beneath ()->shortname ());
2688 result
= this->beneath ()->can_execute_reverse ();
2689 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_execute_reverse (", this->beneath ()->shortname ());
2690 fputs_unfiltered (") = ", gdb_stdlog
);
2691 target_debug_print_bool (result
);
2692 fputs_unfiltered ("\n", gdb_stdlog
);
2696 enum exec_direction_kind
2697 target_ops::execution_direction ()
2699 return this->beneath ()->execution_direction ();
2702 enum exec_direction_kind
2703 dummy_target::execution_direction ()
2705 return default_execution_direction (this);
2708 enum exec_direction_kind
2709 debug_target::execution_direction ()
2711 enum exec_direction_kind result
;
2712 fprintf_unfiltered (gdb_stdlog
, "-> %s->execution_direction (...)\n", this->beneath ()->shortname ());
2713 result
= this->beneath ()->execution_direction ();
2714 fprintf_unfiltered (gdb_stdlog
, "<- %s->execution_direction (", this->beneath ()->shortname ());
2715 fputs_unfiltered (") = ", gdb_stdlog
);
2716 target_debug_print_enum_exec_direction_kind (result
);
2717 fputs_unfiltered ("\n", gdb_stdlog
);
2722 target_ops::supports_multi_process ()
2724 return this->beneath ()->supports_multi_process ();
2728 dummy_target::supports_multi_process ()
2734 debug_target::supports_multi_process ()
2737 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_multi_process (...)\n", this->beneath ()->shortname ());
2738 result
= this->beneath ()->supports_multi_process ();
2739 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_multi_process (", this->beneath ()->shortname ());
2740 fputs_unfiltered (") = ", gdb_stdlog
);
2741 target_debug_print_bool (result
);
2742 fputs_unfiltered ("\n", gdb_stdlog
);
2747 target_ops::supports_enable_disable_tracepoint ()
2749 return this->beneath ()->supports_enable_disable_tracepoint ();
2753 dummy_target::supports_enable_disable_tracepoint ()
2759 debug_target::supports_enable_disable_tracepoint ()
2762 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath ()->shortname ());
2763 result
= this->beneath ()->supports_enable_disable_tracepoint ();
2764 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_enable_disable_tracepoint (", this->beneath ()->shortname ());
2765 fputs_unfiltered (") = ", gdb_stdlog
);
2766 target_debug_print_bool (result
);
2767 fputs_unfiltered ("\n", gdb_stdlog
);
2772 target_ops::supports_disable_randomization ()
2774 return this->beneath ()->supports_disable_randomization ();
2778 dummy_target::supports_disable_randomization ()
2780 return find_default_supports_disable_randomization (this);
2784 debug_target::supports_disable_randomization ()
2787 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_disable_randomization (...)\n", this->beneath ()->shortname ());
2788 result
= this->beneath ()->supports_disable_randomization ();
2789 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_disable_randomization (", this->beneath ()->shortname ());
2790 fputs_unfiltered (") = ", gdb_stdlog
);
2791 target_debug_print_bool (result
);
2792 fputs_unfiltered ("\n", gdb_stdlog
);
2797 target_ops::supports_string_tracing ()
2799 return this->beneath ()->supports_string_tracing ();
2803 dummy_target::supports_string_tracing ()
2809 debug_target::supports_string_tracing ()
2812 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_string_tracing (...)\n", this->beneath ()->shortname ());
2813 result
= this->beneath ()->supports_string_tracing ();
2814 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_string_tracing (", this->beneath ()->shortname ());
2815 fputs_unfiltered (") = ", gdb_stdlog
);
2816 target_debug_print_bool (result
);
2817 fputs_unfiltered ("\n", gdb_stdlog
);
2822 target_ops::supports_evaluation_of_breakpoint_conditions ()
2824 return this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2828 dummy_target::supports_evaluation_of_breakpoint_conditions ()
2834 debug_target::supports_evaluation_of_breakpoint_conditions ()
2837 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath ()->shortname ());
2838 result
= this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2839 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath ()->shortname ());
2840 fputs_unfiltered (") = ", gdb_stdlog
);
2841 target_debug_print_bool (result
);
2842 fputs_unfiltered ("\n", gdb_stdlog
);
2847 target_ops::supports_dumpcore ()
2849 return this->beneath ()->supports_dumpcore ();
2853 dummy_target::supports_dumpcore ()
2859 debug_target::supports_dumpcore ()
2862 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_dumpcore (...)\n", this->beneath ()->shortname ());
2863 result
= this->beneath ()->supports_dumpcore ();
2864 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_dumpcore (", this->beneath ()->shortname ());
2865 fputs_unfiltered (") = ", gdb_stdlog
);
2866 target_debug_print_bool (result
);
2867 fputs_unfiltered ("\n", gdb_stdlog
);
2872 target_ops::dumpcore (const char *arg0
)
2874 this->beneath ()->dumpcore (arg0
);
2878 dummy_target::dumpcore (const char *arg0
)
2883 debug_target::dumpcore (const char *arg0
)
2885 fprintf_unfiltered (gdb_stdlog
, "-> %s->dumpcore (...)\n", this->beneath ()->shortname ());
2886 this->beneath ()->dumpcore (arg0
);
2887 fprintf_unfiltered (gdb_stdlog
, "<- %s->dumpcore (", this->beneath ()->shortname ());
2888 target_debug_print_const_char_p (arg0
);
2889 fputs_unfiltered (")\n", gdb_stdlog
);
2893 target_ops::can_run_breakpoint_commands ()
2895 return this->beneath ()->can_run_breakpoint_commands ();
2899 dummy_target::can_run_breakpoint_commands ()
2905 debug_target::can_run_breakpoint_commands ()
2908 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath ()->shortname ());
2909 result
= this->beneath ()->can_run_breakpoint_commands ();
2910 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_run_breakpoint_commands (", this->beneath ()->shortname ());
2911 fputs_unfiltered (") = ", gdb_stdlog
);
2912 target_debug_print_bool (result
);
2913 fputs_unfiltered ("\n", gdb_stdlog
);
2918 target_ops::thread_architecture (ptid_t arg0
)
2920 return this->beneath ()->thread_architecture (arg0
);
2924 dummy_target::thread_architecture (ptid_t arg0
)
2930 debug_target::thread_architecture (ptid_t arg0
)
2932 struct gdbarch
* result
;
2933 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_architecture (...)\n", this->beneath ()->shortname ());
2934 result
= this->beneath ()->thread_architecture (arg0
);
2935 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_architecture (", this->beneath ()->shortname ());
2936 target_debug_print_ptid_t (arg0
);
2937 fputs_unfiltered (") = ", gdb_stdlog
);
2938 target_debug_print_struct_gdbarch_p (result
);
2939 fputs_unfiltered ("\n", gdb_stdlog
);
2943 struct address_space
*
2944 target_ops::thread_address_space (ptid_t arg0
)
2946 return this->beneath ()->thread_address_space (arg0
);
2949 struct address_space
*
2950 dummy_target::thread_address_space (ptid_t arg0
)
2955 struct address_space
*
2956 debug_target::thread_address_space (ptid_t arg0
)
2958 struct address_space
* result
;
2959 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_address_space (...)\n", this->beneath ()->shortname ());
2960 result
= this->beneath ()->thread_address_space (arg0
);
2961 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_address_space (", this->beneath ()->shortname ());
2962 target_debug_print_ptid_t (arg0
);
2963 fputs_unfiltered (") = ", gdb_stdlog
);
2964 target_debug_print_struct_address_space_p (result
);
2965 fputs_unfiltered ("\n", gdb_stdlog
);
2970 target_ops::filesystem_is_local ()
2972 return this->beneath ()->filesystem_is_local ();
2976 dummy_target::filesystem_is_local ()
2982 debug_target::filesystem_is_local ()
2985 fprintf_unfiltered (gdb_stdlog
, "-> %s->filesystem_is_local (...)\n", this->beneath ()->shortname ());
2986 result
= this->beneath ()->filesystem_is_local ();
2987 fprintf_unfiltered (gdb_stdlog
, "<- %s->filesystem_is_local (", this->beneath ()->shortname ());
2988 fputs_unfiltered (") = ", gdb_stdlog
);
2989 target_debug_print_bool (result
);
2990 fputs_unfiltered ("\n", gdb_stdlog
);
2995 target_ops::trace_init ()
2997 this->beneath ()->trace_init ();
3001 dummy_target::trace_init ()
3007 debug_target::trace_init ()
3009 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_init (...)\n", this->beneath ()->shortname ());
3010 this->beneath ()->trace_init ();
3011 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_init (", this->beneath ()->shortname ());
3012 fputs_unfiltered (")\n", gdb_stdlog
);
3016 target_ops::download_tracepoint (struct bp_location
*arg0
)
3018 this->beneath ()->download_tracepoint (arg0
);
3022 dummy_target::download_tracepoint (struct bp_location
*arg0
)
3028 debug_target::download_tracepoint (struct bp_location
*arg0
)
3030 fprintf_unfiltered (gdb_stdlog
, "-> %s->download_tracepoint (...)\n", this->beneath ()->shortname ());
3031 this->beneath ()->download_tracepoint (arg0
);
3032 fprintf_unfiltered (gdb_stdlog
, "<- %s->download_tracepoint (", this->beneath ()->shortname ());
3033 target_debug_print_struct_bp_location_p (arg0
);
3034 fputs_unfiltered (")\n", gdb_stdlog
);
3038 target_ops::can_download_tracepoint ()
3040 return this->beneath ()->can_download_tracepoint ();
3044 dummy_target::can_download_tracepoint ()
3050 debug_target::can_download_tracepoint ()
3053 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_download_tracepoint (...)\n", this->beneath ()->shortname ());
3054 result
= this->beneath ()->can_download_tracepoint ();
3055 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_download_tracepoint (", this->beneath ()->shortname ());
3056 fputs_unfiltered (") = ", gdb_stdlog
);
3057 target_debug_print_bool (result
);
3058 fputs_unfiltered ("\n", gdb_stdlog
);
3063 target_ops::download_trace_state_variable (const trace_state_variable
&arg0
)
3065 this->beneath ()->download_trace_state_variable (arg0
);
3069 dummy_target::download_trace_state_variable (const trace_state_variable
&arg0
)
3075 debug_target::download_trace_state_variable (const trace_state_variable
&arg0
)
3077 fprintf_unfiltered (gdb_stdlog
, "-> %s->download_trace_state_variable (...)\n", this->beneath ()->shortname ());
3078 this->beneath ()->download_trace_state_variable (arg0
);
3079 fprintf_unfiltered (gdb_stdlog
, "<- %s->download_trace_state_variable (", this->beneath ()->shortname ());
3080 target_debug_print_const_trace_state_variable_r (arg0
);
3081 fputs_unfiltered (")\n", gdb_stdlog
);
3085 target_ops::enable_tracepoint (struct bp_location
*arg0
)
3087 this->beneath ()->enable_tracepoint (arg0
);
3091 dummy_target::enable_tracepoint (struct bp_location
*arg0
)
3097 debug_target::enable_tracepoint (struct bp_location
*arg0
)
3099 fprintf_unfiltered (gdb_stdlog
, "-> %s->enable_tracepoint (...)\n", this->beneath ()->shortname ());
3100 this->beneath ()->enable_tracepoint (arg0
);
3101 fprintf_unfiltered (gdb_stdlog
, "<- %s->enable_tracepoint (", this->beneath ()->shortname ());
3102 target_debug_print_struct_bp_location_p (arg0
);
3103 fputs_unfiltered (")\n", gdb_stdlog
);
3107 target_ops::disable_tracepoint (struct bp_location
*arg0
)
3109 this->beneath ()->disable_tracepoint (arg0
);
3113 dummy_target::disable_tracepoint (struct bp_location
*arg0
)
3119 debug_target::disable_tracepoint (struct bp_location
*arg0
)
3121 fprintf_unfiltered (gdb_stdlog
, "-> %s->disable_tracepoint (...)\n", this->beneath ()->shortname ());
3122 this->beneath ()->disable_tracepoint (arg0
);
3123 fprintf_unfiltered (gdb_stdlog
, "<- %s->disable_tracepoint (", this->beneath ()->shortname ());
3124 target_debug_print_struct_bp_location_p (arg0
);
3125 fputs_unfiltered (")\n", gdb_stdlog
);
3129 target_ops::trace_set_readonly_regions ()
3131 this->beneath ()->trace_set_readonly_regions ();
3135 dummy_target::trace_set_readonly_regions ()
3141 debug_target::trace_set_readonly_regions ()
3143 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_set_readonly_regions (...)\n", this->beneath ()->shortname ());
3144 this->beneath ()->trace_set_readonly_regions ();
3145 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_set_readonly_regions (", this->beneath ()->shortname ());
3146 fputs_unfiltered (")\n", gdb_stdlog
);
3150 target_ops::trace_start ()
3152 this->beneath ()->trace_start ();
3156 dummy_target::trace_start ()
3162 debug_target::trace_start ()
3164 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_start (...)\n", this->beneath ()->shortname ());
3165 this->beneath ()->trace_start ();
3166 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_start (", this->beneath ()->shortname ());
3167 fputs_unfiltered (")\n", gdb_stdlog
);
3171 target_ops::get_trace_status (struct trace_status
*arg0
)
3173 return this->beneath ()->get_trace_status (arg0
);
3177 dummy_target::get_trace_status (struct trace_status
*arg0
)
3183 debug_target::get_trace_status (struct trace_status
*arg0
)
3186 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_trace_status (...)\n", this->beneath ()->shortname ());
3187 result
= this->beneath ()->get_trace_status (arg0
);
3188 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_trace_status (", this->beneath ()->shortname ());
3189 target_debug_print_struct_trace_status_p (arg0
);
3190 fputs_unfiltered (") = ", gdb_stdlog
);
3191 target_debug_print_int (result
);
3192 fputs_unfiltered ("\n", gdb_stdlog
);
3197 target_ops::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3199 this->beneath ()->get_tracepoint_status (arg0
, arg1
);
3203 dummy_target::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3209 debug_target::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3211 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tracepoint_status (...)\n", this->beneath ()->shortname ());
3212 this->beneath ()->get_tracepoint_status (arg0
, arg1
);
3213 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tracepoint_status (", this->beneath ()->shortname ());
3214 target_debug_print_struct_breakpoint_p (arg0
);
3215 fputs_unfiltered (", ", gdb_stdlog
);
3216 target_debug_print_struct_uploaded_tp_p (arg1
);
3217 fputs_unfiltered (")\n", gdb_stdlog
);
3221 target_ops::trace_stop ()
3223 this->beneath ()->trace_stop ();
3227 dummy_target::trace_stop ()
3233 debug_target::trace_stop ()
3235 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_stop (...)\n", this->beneath ()->shortname ());
3236 this->beneath ()->trace_stop ();
3237 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_stop (", this->beneath ()->shortname ());
3238 fputs_unfiltered (")\n", gdb_stdlog
);
3242 target_ops::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3244 return this->beneath ()->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3248 dummy_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3254 debug_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3257 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_find (...)\n", this->beneath ()->shortname ());
3258 result
= this->beneath ()->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3259 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_find (", this->beneath ()->shortname ());
3260 target_debug_print_enum_trace_find_type (arg0
);
3261 fputs_unfiltered (", ", gdb_stdlog
);
3262 target_debug_print_int (arg1
);
3263 fputs_unfiltered (", ", gdb_stdlog
);
3264 target_debug_print_CORE_ADDR (arg2
);
3265 fputs_unfiltered (", ", gdb_stdlog
);
3266 target_debug_print_CORE_ADDR (arg3
);
3267 fputs_unfiltered (", ", gdb_stdlog
);
3268 target_debug_print_int_p (arg4
);
3269 fputs_unfiltered (") = ", gdb_stdlog
);
3270 target_debug_print_int (result
);
3271 fputs_unfiltered ("\n", gdb_stdlog
);
3276 target_ops::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3278 return this->beneath ()->get_trace_state_variable_value (arg0
, arg1
);
3282 dummy_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3288 debug_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3291 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_trace_state_variable_value (...)\n", this->beneath ()->shortname ());
3292 result
= this->beneath ()->get_trace_state_variable_value (arg0
, arg1
);
3293 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_trace_state_variable_value (", this->beneath ()->shortname ());
3294 target_debug_print_int (arg0
);
3295 fputs_unfiltered (", ", gdb_stdlog
);
3296 target_debug_print_LONGEST_p (arg1
);
3297 fputs_unfiltered (") = ", gdb_stdlog
);
3298 target_debug_print_bool (result
);
3299 fputs_unfiltered ("\n", gdb_stdlog
);
3304 target_ops::save_trace_data (const char *arg0
)
3306 return this->beneath ()->save_trace_data (arg0
);
3310 dummy_target::save_trace_data (const char *arg0
)
3316 debug_target::save_trace_data (const char *arg0
)
3319 fprintf_unfiltered (gdb_stdlog
, "-> %s->save_trace_data (...)\n", this->beneath ()->shortname ());
3320 result
= this->beneath ()->save_trace_data (arg0
);
3321 fprintf_unfiltered (gdb_stdlog
, "<- %s->save_trace_data (", this->beneath ()->shortname ());
3322 target_debug_print_const_char_p (arg0
);
3323 fputs_unfiltered (") = ", gdb_stdlog
);
3324 target_debug_print_int (result
);
3325 fputs_unfiltered ("\n", gdb_stdlog
);
3330 target_ops::upload_tracepoints (struct uploaded_tp
**arg0
)
3332 return this->beneath ()->upload_tracepoints (arg0
);
3336 dummy_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3342 debug_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3345 fprintf_unfiltered (gdb_stdlog
, "-> %s->upload_tracepoints (...)\n", this->beneath ()->shortname ());
3346 result
= this->beneath ()->upload_tracepoints (arg0
);
3347 fprintf_unfiltered (gdb_stdlog
, "<- %s->upload_tracepoints (", this->beneath ()->shortname ());
3348 target_debug_print_struct_uploaded_tp_pp (arg0
);
3349 fputs_unfiltered (") = ", gdb_stdlog
);
3350 target_debug_print_int (result
);
3351 fputs_unfiltered ("\n", gdb_stdlog
);
3356 target_ops::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3358 return this->beneath ()->upload_trace_state_variables (arg0
);
3362 dummy_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3368 debug_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3371 fprintf_unfiltered (gdb_stdlog
, "-> %s->upload_trace_state_variables (...)\n", this->beneath ()->shortname ());
3372 result
= this->beneath ()->upload_trace_state_variables (arg0
);
3373 fprintf_unfiltered (gdb_stdlog
, "<- %s->upload_trace_state_variables (", this->beneath ()->shortname ());
3374 target_debug_print_struct_uploaded_tsv_pp (arg0
);
3375 fputs_unfiltered (") = ", gdb_stdlog
);
3376 target_debug_print_int (result
);
3377 fputs_unfiltered ("\n", gdb_stdlog
);
3382 target_ops::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3384 return this->beneath ()->get_raw_trace_data (arg0
, arg1
, arg2
);
3388 dummy_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3394 debug_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3397 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_raw_trace_data (...)\n", this->beneath ()->shortname ());
3398 result
= this->beneath ()->get_raw_trace_data (arg0
, arg1
, arg2
);
3399 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_raw_trace_data (", this->beneath ()->shortname ());
3400 target_debug_print_gdb_byte_p (arg0
);
3401 fputs_unfiltered (", ", gdb_stdlog
);
3402 target_debug_print_ULONGEST (arg1
);
3403 fputs_unfiltered (", ", gdb_stdlog
);
3404 target_debug_print_LONGEST (arg2
);
3405 fputs_unfiltered (") = ", gdb_stdlog
);
3406 target_debug_print_LONGEST (result
);
3407 fputs_unfiltered ("\n", gdb_stdlog
);
3412 target_ops::get_min_fast_tracepoint_insn_len ()
3414 return this->beneath ()->get_min_fast_tracepoint_insn_len ();
3418 dummy_target::get_min_fast_tracepoint_insn_len ()
3424 debug_target::get_min_fast_tracepoint_insn_len ()
3427 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath ()->shortname ());
3428 result
= this->beneath ()->get_min_fast_tracepoint_insn_len ();
3429 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath ()->shortname ());
3430 fputs_unfiltered (") = ", gdb_stdlog
);
3431 target_debug_print_int (result
);
3432 fputs_unfiltered ("\n", gdb_stdlog
);
3437 target_ops::set_disconnected_tracing (int arg0
)
3439 this->beneath ()->set_disconnected_tracing (arg0
);
3443 dummy_target::set_disconnected_tracing (int arg0
)
3448 debug_target::set_disconnected_tracing (int arg0
)
3450 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_disconnected_tracing (...)\n", this->beneath ()->shortname ());
3451 this->beneath ()->set_disconnected_tracing (arg0
);
3452 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_disconnected_tracing (", this->beneath ()->shortname ());
3453 target_debug_print_int (arg0
);
3454 fputs_unfiltered (")\n", gdb_stdlog
);
3458 target_ops::set_circular_trace_buffer (int arg0
)
3460 this->beneath ()->set_circular_trace_buffer (arg0
);
3464 dummy_target::set_circular_trace_buffer (int arg0
)
3469 debug_target::set_circular_trace_buffer (int arg0
)
3471 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_circular_trace_buffer (...)\n", this->beneath ()->shortname ());
3472 this->beneath ()->set_circular_trace_buffer (arg0
);
3473 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_circular_trace_buffer (", this->beneath ()->shortname ());
3474 target_debug_print_int (arg0
);
3475 fputs_unfiltered (")\n", gdb_stdlog
);
3479 target_ops::set_trace_buffer_size (LONGEST arg0
)
3481 this->beneath ()->set_trace_buffer_size (arg0
);
3485 dummy_target::set_trace_buffer_size (LONGEST arg0
)
3490 debug_target::set_trace_buffer_size (LONGEST arg0
)
3492 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_trace_buffer_size (...)\n", this->beneath ()->shortname ());
3493 this->beneath ()->set_trace_buffer_size (arg0
);
3494 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_trace_buffer_size (", this->beneath ()->shortname ());
3495 target_debug_print_LONGEST (arg0
);
3496 fputs_unfiltered (")\n", gdb_stdlog
);
3500 target_ops::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3502 return this->beneath ()->set_trace_notes (arg0
, arg1
, arg2
);
3506 dummy_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3512 debug_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3515 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_trace_notes (...)\n", this->beneath ()->shortname ());
3516 result
= this->beneath ()->set_trace_notes (arg0
, arg1
, arg2
);
3517 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_trace_notes (", this->beneath ()->shortname ());
3518 target_debug_print_const_char_p (arg0
);
3519 fputs_unfiltered (", ", gdb_stdlog
);
3520 target_debug_print_const_char_p (arg1
);
3521 fputs_unfiltered (", ", gdb_stdlog
);
3522 target_debug_print_const_char_p (arg2
);
3523 fputs_unfiltered (") = ", gdb_stdlog
);
3524 target_debug_print_bool (result
);
3525 fputs_unfiltered ("\n", gdb_stdlog
);
3530 target_ops::core_of_thread (ptid_t arg0
)
3532 return this->beneath ()->core_of_thread (arg0
);
3536 dummy_target::core_of_thread (ptid_t arg0
)
3542 debug_target::core_of_thread (ptid_t arg0
)
3545 fprintf_unfiltered (gdb_stdlog
, "-> %s->core_of_thread (...)\n", this->beneath ()->shortname ());
3546 result
= this->beneath ()->core_of_thread (arg0
);
3547 fprintf_unfiltered (gdb_stdlog
, "<- %s->core_of_thread (", this->beneath ()->shortname ());
3548 target_debug_print_ptid_t (arg0
);
3549 fputs_unfiltered (") = ", gdb_stdlog
);
3550 target_debug_print_int (result
);
3551 fputs_unfiltered ("\n", gdb_stdlog
);
3556 target_ops::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3558 return this->beneath ()->verify_memory (arg0
, arg1
, arg2
);
3562 dummy_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3564 return default_verify_memory (this, arg0
, arg1
, arg2
);
3568 debug_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3571 fprintf_unfiltered (gdb_stdlog
, "-> %s->verify_memory (...)\n", this->beneath ()->shortname ());
3572 result
= this->beneath ()->verify_memory (arg0
, arg1
, arg2
);
3573 fprintf_unfiltered (gdb_stdlog
, "<- %s->verify_memory (", this->beneath ()->shortname ());
3574 target_debug_print_const_gdb_byte_p (arg0
);
3575 fputs_unfiltered (", ", gdb_stdlog
);
3576 target_debug_print_CORE_ADDR (arg1
);
3577 fputs_unfiltered (", ", gdb_stdlog
);
3578 target_debug_print_ULONGEST (arg2
);
3579 fputs_unfiltered (") = ", gdb_stdlog
);
3580 target_debug_print_int (result
);
3581 fputs_unfiltered ("\n", gdb_stdlog
);
3586 target_ops::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3588 return this->beneath ()->get_tib_address (arg0
, arg1
);
3592 dummy_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3598 debug_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3601 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tib_address (...)\n", this->beneath ()->shortname ());
3602 result
= this->beneath ()->get_tib_address (arg0
, arg1
);
3603 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tib_address (", this->beneath ()->shortname ());
3604 target_debug_print_ptid_t (arg0
);
3605 fputs_unfiltered (", ", gdb_stdlog
);
3606 target_debug_print_CORE_ADDR_p (arg1
);
3607 fputs_unfiltered (") = ", gdb_stdlog
);
3608 target_debug_print_bool (result
);
3609 fputs_unfiltered ("\n", gdb_stdlog
);
3614 target_ops::set_permissions ()
3616 this->beneath ()->set_permissions ();
3620 dummy_target::set_permissions ()
3625 debug_target::set_permissions ()
3627 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_permissions (...)\n", this->beneath ()->shortname ());
3628 this->beneath ()->set_permissions ();
3629 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_permissions (", this->beneath ()->shortname ());
3630 fputs_unfiltered (")\n", gdb_stdlog
);
3634 target_ops::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3636 return this->beneath ()->static_tracepoint_marker_at (arg0
, arg1
);
3640 dummy_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3646 debug_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3649 fprintf_unfiltered (gdb_stdlog
, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath ()->shortname ());
3650 result
= this->beneath ()->static_tracepoint_marker_at (arg0
, arg1
);
3651 fprintf_unfiltered (gdb_stdlog
, "<- %s->static_tracepoint_marker_at (", this->beneath ()->shortname ());
3652 target_debug_print_CORE_ADDR (arg0
);
3653 fputs_unfiltered (", ", gdb_stdlog
);
3654 target_debug_print_static_tracepoint_marker_p (arg1
);
3655 fputs_unfiltered (") = ", gdb_stdlog
);
3656 target_debug_print_bool (result
);
3657 fputs_unfiltered ("\n", gdb_stdlog
);
3661 std::vector
<static_tracepoint_marker
>
3662 target_ops::static_tracepoint_markers_by_strid (const char *arg0
)
3664 return this->beneath ()->static_tracepoint_markers_by_strid (arg0
);
3667 std::vector
<static_tracepoint_marker
>
3668 dummy_target::static_tracepoint_markers_by_strid (const char *arg0
)
3673 std::vector
<static_tracepoint_marker
>
3674 debug_target::static_tracepoint_markers_by_strid (const char *arg0
)
3676 std::vector
<static_tracepoint_marker
> result
;
3677 fprintf_unfiltered (gdb_stdlog
, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath ()->shortname ());
3678 result
= this->beneath ()->static_tracepoint_markers_by_strid (arg0
);
3679 fprintf_unfiltered (gdb_stdlog
, "<- %s->static_tracepoint_markers_by_strid (", this->beneath ()->shortname ());
3680 target_debug_print_const_char_p (arg0
);
3681 fputs_unfiltered (") = ", gdb_stdlog
);
3682 target_debug_print_std_vector_static_tracepoint_marker (result
);
3683 fputs_unfiltered ("\n", gdb_stdlog
);
3688 target_ops::traceframe_info ()
3690 return this->beneath ()->traceframe_info ();
3694 dummy_target::traceframe_info ()
3700 debug_target::traceframe_info ()
3702 traceframe_info_up result
;
3703 fprintf_unfiltered (gdb_stdlog
, "-> %s->traceframe_info (...)\n", this->beneath ()->shortname ());
3704 result
= this->beneath ()->traceframe_info ();
3705 fprintf_unfiltered (gdb_stdlog
, "<- %s->traceframe_info (", this->beneath ()->shortname ());
3706 fputs_unfiltered (") = ", gdb_stdlog
);
3707 target_debug_print_traceframe_info_up (result
);
3708 fputs_unfiltered ("\n", gdb_stdlog
);
3713 target_ops::use_agent (bool arg0
)
3715 return this->beneath ()->use_agent (arg0
);
3719 dummy_target::use_agent (bool arg0
)
3725 debug_target::use_agent (bool arg0
)
3728 fprintf_unfiltered (gdb_stdlog
, "-> %s->use_agent (...)\n", this->beneath ()->shortname ());
3729 result
= this->beneath ()->use_agent (arg0
);
3730 fprintf_unfiltered (gdb_stdlog
, "<- %s->use_agent (", this->beneath ()->shortname ());
3731 target_debug_print_bool (arg0
);
3732 fputs_unfiltered (") = ", gdb_stdlog
);
3733 target_debug_print_bool (result
);
3734 fputs_unfiltered ("\n", gdb_stdlog
);
3739 target_ops::can_use_agent ()
3741 return this->beneath ()->can_use_agent ();
3745 dummy_target::can_use_agent ()
3751 debug_target::can_use_agent ()
3754 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_use_agent (...)\n", this->beneath ()->shortname ());
3755 result
= this->beneath ()->can_use_agent ();
3756 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_use_agent (", this->beneath ()->shortname ());
3757 fputs_unfiltered (") = ", gdb_stdlog
);
3758 target_debug_print_bool (result
);
3759 fputs_unfiltered ("\n", gdb_stdlog
);
3763 struct btrace_target_info
*
3764 target_ops::enable_btrace (thread_info
*arg0
, const struct btrace_config
*arg1
)
3766 return this->beneath ()->enable_btrace (arg0
, arg1
);
3769 struct btrace_target_info
*
3770 dummy_target::enable_btrace (thread_info
*arg0
, const struct btrace_config
*arg1
)
3775 struct btrace_target_info
*
3776 debug_target::enable_btrace (thread_info
*arg0
, const struct btrace_config
*arg1
)
3778 struct btrace_target_info
* result
;
3779 fprintf_unfiltered (gdb_stdlog
, "-> %s->enable_btrace (...)\n", this->beneath ()->shortname ());
3780 result
= this->beneath ()->enable_btrace (arg0
, arg1
);
3781 fprintf_unfiltered (gdb_stdlog
, "<- %s->enable_btrace (", this->beneath ()->shortname ());
3782 target_debug_print_thread_info_p (arg0
);
3783 fputs_unfiltered (", ", gdb_stdlog
);
3784 target_debug_print_const_struct_btrace_config_p (arg1
);
3785 fputs_unfiltered (") = ", gdb_stdlog
);
3786 target_debug_print_struct_btrace_target_info_p (result
);
3787 fputs_unfiltered ("\n", gdb_stdlog
);
3792 target_ops::disable_btrace (struct btrace_target_info
*arg0
)
3794 this->beneath ()->disable_btrace (arg0
);
3798 dummy_target::disable_btrace (struct btrace_target_info
*arg0
)
3804 debug_target::disable_btrace (struct btrace_target_info
*arg0
)
3806 fprintf_unfiltered (gdb_stdlog
, "-> %s->disable_btrace (...)\n", this->beneath ()->shortname ());
3807 this->beneath ()->disable_btrace (arg0
);
3808 fprintf_unfiltered (gdb_stdlog
, "<- %s->disable_btrace (", this->beneath ()->shortname ());
3809 target_debug_print_struct_btrace_target_info_p (arg0
);
3810 fputs_unfiltered (")\n", gdb_stdlog
);
3814 target_ops::teardown_btrace (struct btrace_target_info
*arg0
)
3816 this->beneath ()->teardown_btrace (arg0
);
3820 dummy_target::teardown_btrace (struct btrace_target_info
*arg0
)
3826 debug_target::teardown_btrace (struct btrace_target_info
*arg0
)
3828 fprintf_unfiltered (gdb_stdlog
, "-> %s->teardown_btrace (...)\n", this->beneath ()->shortname ());
3829 this->beneath ()->teardown_btrace (arg0
);
3830 fprintf_unfiltered (gdb_stdlog
, "<- %s->teardown_btrace (", this->beneath ()->shortname ());
3831 target_debug_print_struct_btrace_target_info_p (arg0
);
3832 fputs_unfiltered (")\n", gdb_stdlog
);
3836 target_ops::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3838 return this->beneath ()->read_btrace (arg0
, arg1
, arg2
);
3842 dummy_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3848 debug_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3850 enum btrace_error result
;
3851 fprintf_unfiltered (gdb_stdlog
, "-> %s->read_btrace (...)\n", this->beneath ()->shortname ());
3852 result
= this->beneath ()->read_btrace (arg0
, arg1
, arg2
);
3853 fprintf_unfiltered (gdb_stdlog
, "<- %s->read_btrace (", this->beneath ()->shortname ());
3854 target_debug_print_struct_btrace_data_p (arg0
);
3855 fputs_unfiltered (", ", gdb_stdlog
);
3856 target_debug_print_struct_btrace_target_info_p (arg1
);
3857 fputs_unfiltered (", ", gdb_stdlog
);
3858 target_debug_print_enum_btrace_read_type (arg2
);
3859 fputs_unfiltered (") = ", gdb_stdlog
);
3860 target_debug_print_enum_btrace_error (result
);
3861 fputs_unfiltered ("\n", gdb_stdlog
);
3865 const struct btrace_config
*
3866 target_ops::btrace_conf (const struct btrace_target_info
*arg0
)
3868 return this->beneath ()->btrace_conf (arg0
);
3871 const struct btrace_config
*
3872 dummy_target::btrace_conf (const struct btrace_target_info
*arg0
)
3877 const struct btrace_config
*
3878 debug_target::btrace_conf (const struct btrace_target_info
*arg0
)
3880 const struct btrace_config
* result
;
3881 fprintf_unfiltered (gdb_stdlog
, "-> %s->btrace_conf (...)\n", this->beneath ()->shortname ());
3882 result
= this->beneath ()->btrace_conf (arg0
);
3883 fprintf_unfiltered (gdb_stdlog
, "<- %s->btrace_conf (", this->beneath ()->shortname ());
3884 target_debug_print_const_struct_btrace_target_info_p (arg0
);
3885 fputs_unfiltered (") = ", gdb_stdlog
);
3886 target_debug_print_const_struct_btrace_config_p (result
);
3887 fputs_unfiltered ("\n", gdb_stdlog
);
3892 target_ops::record_method (ptid_t arg0
)
3894 return this->beneath ()->record_method (arg0
);
3898 dummy_target::record_method (ptid_t arg0
)
3900 return RECORD_METHOD_NONE
;
3904 debug_target::record_method (ptid_t arg0
)
3906 enum record_method result
;
3907 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_method (...)\n", this->beneath ()->shortname ());
3908 result
= this->beneath ()->record_method (arg0
);
3909 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_method (", this->beneath ()->shortname ());
3910 target_debug_print_ptid_t (arg0
);
3911 fputs_unfiltered (") = ", gdb_stdlog
);
3912 target_debug_print_enum_record_method (result
);
3913 fputs_unfiltered ("\n", gdb_stdlog
);
3918 target_ops::stop_recording ()
3920 this->beneath ()->stop_recording ();
3924 dummy_target::stop_recording ()
3929 debug_target::stop_recording ()
3931 fprintf_unfiltered (gdb_stdlog
, "-> %s->stop_recording (...)\n", this->beneath ()->shortname ());
3932 this->beneath ()->stop_recording ();
3933 fprintf_unfiltered (gdb_stdlog
, "<- %s->stop_recording (", this->beneath ()->shortname ());
3934 fputs_unfiltered (")\n", gdb_stdlog
);
3938 target_ops::info_record ()
3940 this->beneath ()->info_record ();
3944 dummy_target::info_record ()
3949 debug_target::info_record ()
3951 fprintf_unfiltered (gdb_stdlog
, "-> %s->info_record (...)\n", this->beneath ()->shortname ());
3952 this->beneath ()->info_record ();
3953 fprintf_unfiltered (gdb_stdlog
, "<- %s->info_record (", this->beneath ()->shortname ());
3954 fputs_unfiltered (")\n", gdb_stdlog
);
3958 target_ops::save_record (const char *arg0
)
3960 this->beneath ()->save_record (arg0
);
3964 dummy_target::save_record (const char *arg0
)
3970 debug_target::save_record (const char *arg0
)
3972 fprintf_unfiltered (gdb_stdlog
, "-> %s->save_record (...)\n", this->beneath ()->shortname ());
3973 this->beneath ()->save_record (arg0
);
3974 fprintf_unfiltered (gdb_stdlog
, "<- %s->save_record (", this->beneath ()->shortname ());
3975 target_debug_print_const_char_p (arg0
);
3976 fputs_unfiltered (")\n", gdb_stdlog
);
3980 target_ops::supports_delete_record ()
3982 return this->beneath ()->supports_delete_record ();
3986 dummy_target::supports_delete_record ()
3992 debug_target::supports_delete_record ()
3995 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_delete_record (...)\n", this->beneath ()->shortname ());
3996 result
= this->beneath ()->supports_delete_record ();
3997 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_delete_record (", this->beneath ()->shortname ());
3998 fputs_unfiltered (") = ", gdb_stdlog
);
3999 target_debug_print_bool (result
);
4000 fputs_unfiltered ("\n", gdb_stdlog
);
4005 target_ops::delete_record ()
4007 this->beneath ()->delete_record ();
4011 dummy_target::delete_record ()
4017 debug_target::delete_record ()
4019 fprintf_unfiltered (gdb_stdlog
, "-> %s->delete_record (...)\n", this->beneath ()->shortname ());
4020 this->beneath ()->delete_record ();
4021 fprintf_unfiltered (gdb_stdlog
, "<- %s->delete_record (", this->beneath ()->shortname ());
4022 fputs_unfiltered (")\n", gdb_stdlog
);
4026 target_ops::record_is_replaying (ptid_t arg0
)
4028 return this->beneath ()->record_is_replaying (arg0
);
4032 dummy_target::record_is_replaying (ptid_t arg0
)
4038 debug_target::record_is_replaying (ptid_t arg0
)
4041 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_is_replaying (...)\n", this->beneath ()->shortname ());
4042 result
= this->beneath ()->record_is_replaying (arg0
);
4043 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_is_replaying (", this->beneath ()->shortname ());
4044 target_debug_print_ptid_t (arg0
);
4045 fputs_unfiltered (") = ", gdb_stdlog
);
4046 target_debug_print_bool (result
);
4047 fputs_unfiltered ("\n", gdb_stdlog
);
4052 target_ops::record_will_replay (ptid_t arg0
, int arg1
)
4054 return this->beneath ()->record_will_replay (arg0
, arg1
);
4058 dummy_target::record_will_replay (ptid_t arg0
, int arg1
)
4064 debug_target::record_will_replay (ptid_t arg0
, int arg1
)
4067 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_will_replay (...)\n", this->beneath ()->shortname ());
4068 result
= this->beneath ()->record_will_replay (arg0
, arg1
);
4069 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_will_replay (", this->beneath ()->shortname ());
4070 target_debug_print_ptid_t (arg0
);
4071 fputs_unfiltered (", ", gdb_stdlog
);
4072 target_debug_print_int (arg1
);
4073 fputs_unfiltered (") = ", gdb_stdlog
);
4074 target_debug_print_bool (result
);
4075 fputs_unfiltered ("\n", gdb_stdlog
);
4080 target_ops::record_stop_replaying ()
4082 this->beneath ()->record_stop_replaying ();
4086 dummy_target::record_stop_replaying ()
4091 debug_target::record_stop_replaying ()
4093 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_stop_replaying (...)\n", this->beneath ()->shortname ());
4094 this->beneath ()->record_stop_replaying ();
4095 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_stop_replaying (", this->beneath ()->shortname ());
4096 fputs_unfiltered (")\n", gdb_stdlog
);
4100 target_ops::goto_record_begin ()
4102 this->beneath ()->goto_record_begin ();
4106 dummy_target::goto_record_begin ()
4112 debug_target::goto_record_begin ()
4114 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record_begin (...)\n", this->beneath ()->shortname ());
4115 this->beneath ()->goto_record_begin ();
4116 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record_begin (", this->beneath ()->shortname ());
4117 fputs_unfiltered (")\n", gdb_stdlog
);
4121 target_ops::goto_record_end ()
4123 this->beneath ()->goto_record_end ();
4127 dummy_target::goto_record_end ()
4133 debug_target::goto_record_end ()
4135 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record_end (...)\n", this->beneath ()->shortname ());
4136 this->beneath ()->goto_record_end ();
4137 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record_end (", this->beneath ()->shortname ());
4138 fputs_unfiltered (")\n", gdb_stdlog
);
4142 target_ops::goto_record (ULONGEST arg0
)
4144 this->beneath ()->goto_record (arg0
);
4148 dummy_target::goto_record (ULONGEST arg0
)
4154 debug_target::goto_record (ULONGEST arg0
)
4156 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record (...)\n", this->beneath ()->shortname ());
4157 this->beneath ()->goto_record (arg0
);
4158 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record (", this->beneath ()->shortname ());
4159 target_debug_print_ULONGEST (arg0
);
4160 fputs_unfiltered (")\n", gdb_stdlog
);
4164 target_ops::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4166 this->beneath ()->insn_history (arg0
, arg1
);
4170 dummy_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4176 debug_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4178 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history (...)\n", this->beneath ()->shortname ());
4179 this->beneath ()->insn_history (arg0
, arg1
);
4180 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history (", this->beneath ()->shortname ());
4181 target_debug_print_int (arg0
);
4182 fputs_unfiltered (", ", gdb_stdlog
);
4183 target_debug_print_gdb_disassembly_flags (arg1
);
4184 fputs_unfiltered (")\n", gdb_stdlog
);
4188 target_ops::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4190 this->beneath ()->insn_history_from (arg0
, arg1
, arg2
);
4194 dummy_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4200 debug_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4202 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history_from (...)\n", this->beneath ()->shortname ());
4203 this->beneath ()->insn_history_from (arg0
, arg1
, arg2
);
4204 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history_from (", this->beneath ()->shortname ());
4205 target_debug_print_ULONGEST (arg0
);
4206 fputs_unfiltered (", ", gdb_stdlog
);
4207 target_debug_print_int (arg1
);
4208 fputs_unfiltered (", ", gdb_stdlog
);
4209 target_debug_print_gdb_disassembly_flags (arg2
);
4210 fputs_unfiltered (")\n", gdb_stdlog
);
4214 target_ops::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4216 this->beneath ()->insn_history_range (arg0
, arg1
, arg2
);
4220 dummy_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4226 debug_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4228 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history_range (...)\n", this->beneath ()->shortname ());
4229 this->beneath ()->insn_history_range (arg0
, arg1
, arg2
);
4230 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history_range (", this->beneath ()->shortname ());
4231 target_debug_print_ULONGEST (arg0
);
4232 fputs_unfiltered (", ", gdb_stdlog
);
4233 target_debug_print_ULONGEST (arg1
);
4234 fputs_unfiltered (", ", gdb_stdlog
);
4235 target_debug_print_gdb_disassembly_flags (arg2
);
4236 fputs_unfiltered (")\n", gdb_stdlog
);
4240 target_ops::call_history (int arg0
, record_print_flags arg1
)
4242 this->beneath ()->call_history (arg0
, arg1
);
4246 dummy_target::call_history (int arg0
, record_print_flags arg1
)
4252 debug_target::call_history (int arg0
, record_print_flags arg1
)
4254 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history (...)\n", this->beneath ()->shortname ());
4255 this->beneath ()->call_history (arg0
, arg1
);
4256 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history (", this->beneath ()->shortname ());
4257 target_debug_print_int (arg0
);
4258 fputs_unfiltered (", ", gdb_stdlog
);
4259 target_debug_print_record_print_flags (arg1
);
4260 fputs_unfiltered (")\n", gdb_stdlog
);
4264 target_ops::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4266 this->beneath ()->call_history_from (arg0
, arg1
, arg2
);
4270 dummy_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4276 debug_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4278 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history_from (...)\n", this->beneath ()->shortname ());
4279 this->beneath ()->call_history_from (arg0
, arg1
, arg2
);
4280 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history_from (", this->beneath ()->shortname ());
4281 target_debug_print_ULONGEST (arg0
);
4282 fputs_unfiltered (", ", gdb_stdlog
);
4283 target_debug_print_int (arg1
);
4284 fputs_unfiltered (", ", gdb_stdlog
);
4285 target_debug_print_record_print_flags (arg2
);
4286 fputs_unfiltered (")\n", gdb_stdlog
);
4290 target_ops::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4292 this->beneath ()->call_history_range (arg0
, arg1
, arg2
);
4296 dummy_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4302 debug_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4304 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history_range (...)\n", this->beneath ()->shortname ());
4305 this->beneath ()->call_history_range (arg0
, arg1
, arg2
);
4306 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history_range (", this->beneath ()->shortname ());
4307 target_debug_print_ULONGEST (arg0
);
4308 fputs_unfiltered (", ", gdb_stdlog
);
4309 target_debug_print_ULONGEST (arg1
);
4310 fputs_unfiltered (", ", gdb_stdlog
);
4311 target_debug_print_record_print_flags (arg2
);
4312 fputs_unfiltered (")\n", gdb_stdlog
);
4316 target_ops::augmented_libraries_svr4_read ()
4318 return this->beneath ()->augmented_libraries_svr4_read ();
4322 dummy_target::augmented_libraries_svr4_read ()
4328 debug_target::augmented_libraries_svr4_read ()
4331 fprintf_unfiltered (gdb_stdlog
, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath ()->shortname ());
4332 result
= this->beneath ()->augmented_libraries_svr4_read ();
4333 fprintf_unfiltered (gdb_stdlog
, "<- %s->augmented_libraries_svr4_read (", this->beneath ()->shortname ());
4334 fputs_unfiltered (") = ", gdb_stdlog
);
4335 target_debug_print_bool (result
);
4336 fputs_unfiltered ("\n", gdb_stdlog
);
4340 const struct frame_unwind
*
4341 target_ops::get_unwinder ()
4343 return this->beneath ()->get_unwinder ();
4346 const struct frame_unwind
*
4347 dummy_target::get_unwinder ()
4352 const struct frame_unwind
*
4353 debug_target::get_unwinder ()
4355 const struct frame_unwind
* result
;
4356 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_unwinder (...)\n", this->beneath ()->shortname ());
4357 result
= this->beneath ()->get_unwinder ();
4358 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_unwinder (", this->beneath ()->shortname ());
4359 fputs_unfiltered (") = ", gdb_stdlog
);
4360 target_debug_print_const_struct_frame_unwind_p (result
);
4361 fputs_unfiltered ("\n", gdb_stdlog
);
4365 const struct frame_unwind
*
4366 target_ops::get_tailcall_unwinder ()
4368 return this->beneath ()->get_tailcall_unwinder ();
4371 const struct frame_unwind
*
4372 dummy_target::get_tailcall_unwinder ()
4377 const struct frame_unwind
*
4378 debug_target::get_tailcall_unwinder ()
4380 const struct frame_unwind
* result
;
4381 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tailcall_unwinder (...)\n", this->beneath ()->shortname ());
4382 result
= this->beneath ()->get_tailcall_unwinder ();
4383 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tailcall_unwinder (", this->beneath ()->shortname ());
4384 fputs_unfiltered (") = ", gdb_stdlog
);
4385 target_debug_print_const_struct_frame_unwind_p (result
);
4386 fputs_unfiltered ("\n", gdb_stdlog
);
4391 target_ops::prepare_to_generate_core ()
4393 this->beneath ()->prepare_to_generate_core ();
4397 dummy_target::prepare_to_generate_core ()
4402 debug_target::prepare_to_generate_core ()
4404 fprintf_unfiltered (gdb_stdlog
, "-> %s->prepare_to_generate_core (...)\n", this->beneath ()->shortname ());
4405 this->beneath ()->prepare_to_generate_core ();
4406 fprintf_unfiltered (gdb_stdlog
, "<- %s->prepare_to_generate_core (", this->beneath ()->shortname ());
4407 fputs_unfiltered (")\n", gdb_stdlog
);
4411 target_ops::done_generating_core ()
4413 this->beneath ()->done_generating_core ();
4417 dummy_target::done_generating_core ()
4422 debug_target::done_generating_core ()
4424 fprintf_unfiltered (gdb_stdlog
, "-> %s->done_generating_core (...)\n", this->beneath ()->shortname ());
4425 this->beneath ()->done_generating_core ();
4426 fprintf_unfiltered (gdb_stdlog
, "<- %s->done_generating_core (", this->beneath ()->shortname ());
4427 fputs_unfiltered (")\n", gdb_stdlog
);
4431 target_ops::supports_memory_tagging ()
4433 return this->beneath ()->supports_memory_tagging ();
4437 dummy_target::supports_memory_tagging ()
4443 debug_target::supports_memory_tagging ()
4446 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_memory_tagging (...)\n", this->beneath ()->shortname ());
4447 result
= this->beneath ()->supports_memory_tagging ();
4448 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_memory_tagging (", this->beneath ()->shortname ());
4449 fputs_unfiltered (") = ", gdb_stdlog
);
4450 target_debug_print_bool (result
);
4451 fputs_unfiltered ("\n", gdb_stdlog
);
4456 target_ops::fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
)
4458 return this->beneath ()->fetch_memtags (arg0
, arg1
, arg2
, arg3
);
4462 dummy_target::fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
)
4468 debug_target::fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
)
4471 fprintf_unfiltered (gdb_stdlog
, "-> %s->fetch_memtags (...)\n", this->beneath ()->shortname ());
4472 result
= this->beneath ()->fetch_memtags (arg0
, arg1
, arg2
, arg3
);
4473 fprintf_unfiltered (gdb_stdlog
, "<- %s->fetch_memtags (", this->beneath ()->shortname ());
4474 target_debug_print_CORE_ADDR (arg0
);
4475 fputs_unfiltered (", ", gdb_stdlog
);
4476 target_debug_print_size_t (arg1
);
4477 fputs_unfiltered (", ", gdb_stdlog
);
4478 target_debug_print_gdb_byte_vector_r (arg2
);
4479 fputs_unfiltered (", ", gdb_stdlog
);
4480 target_debug_print_int (arg3
);
4481 fputs_unfiltered (") = ", gdb_stdlog
);
4482 target_debug_print_bool (result
);
4483 fputs_unfiltered ("\n", gdb_stdlog
);
4488 target_ops::store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
)
4490 return this->beneath ()->store_memtags (arg0
, arg1
, arg2
, arg3
);
4494 dummy_target::store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
)
4500 debug_target::store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
)
4503 fprintf_unfiltered (gdb_stdlog
, "-> %s->store_memtags (...)\n", this->beneath ()->shortname ());
4504 result
= this->beneath ()->store_memtags (arg0
, arg1
, arg2
, arg3
);
4505 fprintf_unfiltered (gdb_stdlog
, "<- %s->store_memtags (", this->beneath ()->shortname ());
4506 target_debug_print_CORE_ADDR (arg0
);
4507 fputs_unfiltered (", ", gdb_stdlog
);
4508 target_debug_print_size_t (arg1
);
4509 fputs_unfiltered (", ", gdb_stdlog
);
4510 target_debug_print_const_gdb_byte_vector_r (arg2
);
4511 fputs_unfiltered (", ", gdb_stdlog
);
4512 target_debug_print_int (arg3
);
4513 fputs_unfiltered (") = ", gdb_stdlog
);
4514 target_debug_print_bool (result
);
4515 fputs_unfiltered ("\n", gdb_stdlog
);