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 void post_startup_inferior (ptid_t arg0
) override
;
55 int insert_fork_catchpoint (int arg0
) override
;
56 int remove_fork_catchpoint (int arg0
) override
;
57 int insert_vfork_catchpoint (int arg0
) override
;
58 int remove_vfork_catchpoint (int arg0
) override
;
59 void follow_fork (bool arg0
, bool arg1
) override
;
60 int insert_exec_catchpoint (int arg0
) override
;
61 int remove_exec_catchpoint (int arg0
) override
;
62 void follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
) override
;
63 int set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
) override
;
64 void mourn_inferior () override
;
65 void pass_signals (gdb::array_view
<const unsigned char> arg0
) override
;
66 void program_signals (gdb::array_view
<const unsigned char> arg0
) override
;
67 bool thread_alive (ptid_t arg0
) override
;
68 void update_thread_list () override
;
69 std::string
pid_to_str (ptid_t arg0
) override
;
70 const char *extra_thread_info (thread_info
*arg0
) override
;
71 const char *thread_name (thread_info
*arg0
) override
;
72 thread_info
*thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
) override
;
73 gdb::byte_vector
thread_info_to_thread_handle (struct thread_info
*arg0
) override
;
74 void stop (ptid_t arg0
) override
;
75 void interrupt () override
;
76 void pass_ctrlc () override
;
77 void rcmd (const char *arg0
, struct ui_file
*arg1
) override
;
78 char *pid_to_exec_file (int arg0
) override
;
79 void log_command (const char *arg0
) override
;
80 const target_section_table
*get_section_table () override
;
81 thread_control_capabilities
get_thread_control_capabilities () override
;
82 bool attach_no_wait () override
;
83 bool can_async_p () override
;
84 bool is_async_p () override
;
85 void async (int arg0
) override
;
86 int async_wait_fd () override
;
87 bool has_pending_events () override
;
88 void thread_events (int arg0
) override
;
89 bool supports_non_stop () override
;
90 bool always_non_stop_p () override
;
91 int find_memory_regions (find_memory_region_ftype arg0
, void *arg1
) override
;
92 gdb::unique_xmalloc_ptr
<char> make_corefile_notes (bfd
*arg0
, int *arg1
) override
;
93 gdb_byte
*get_bookmark (const char *arg0
, int arg1
) override
;
94 void goto_bookmark (const gdb_byte
*arg0
, int arg1
) override
;
95 CORE_ADDR
get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
) override
;
96 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
;
97 ULONGEST
get_memory_xfer_limit () override
;
98 std::vector
<mem_region
> memory_map () override
;
99 void flash_erase (ULONGEST arg0
, LONGEST arg1
) override
;
100 void flash_done () override
;
101 const struct target_desc
*read_description () override
;
102 ptid_t
get_ada_task_ptid (long arg0
, long arg1
) override
;
103 int auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
) override
;
104 int search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
) override
;
105 bool can_execute_reverse () override
;
106 enum exec_direction_kind
execution_direction () override
;
107 bool supports_multi_process () override
;
108 bool supports_enable_disable_tracepoint () override
;
109 bool supports_disable_randomization () override
;
110 bool supports_string_tracing () override
;
111 bool supports_evaluation_of_breakpoint_conditions () override
;
112 bool supports_dumpcore () override
;
113 void dumpcore (const char *arg0
) override
;
114 bool can_run_breakpoint_commands () override
;
115 struct gdbarch
*thread_architecture (ptid_t arg0
) override
;
116 struct address_space
*thread_address_space (ptid_t arg0
) override
;
117 bool filesystem_is_local () override
;
118 void trace_init () override
;
119 void download_tracepoint (struct bp_location
*arg0
) override
;
120 bool can_download_tracepoint () override
;
121 void download_trace_state_variable (const trace_state_variable
&arg0
) override
;
122 void enable_tracepoint (struct bp_location
*arg0
) override
;
123 void disable_tracepoint (struct bp_location
*arg0
) override
;
124 void trace_set_readonly_regions () override
;
125 void trace_start () override
;
126 int get_trace_status (struct trace_status
*arg0
) override
;
127 void get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
) override
;
128 void trace_stop () override
;
129 int trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
) override
;
130 bool get_trace_state_variable_value (int arg0
, LONGEST
*arg1
) override
;
131 int save_trace_data (const char *arg0
) override
;
132 int upload_tracepoints (struct uploaded_tp
**arg0
) override
;
133 int upload_trace_state_variables (struct uploaded_tsv
**arg0
) override
;
134 LONGEST
get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
) override
;
135 int get_min_fast_tracepoint_insn_len () override
;
136 void set_disconnected_tracing (int arg0
) override
;
137 void set_circular_trace_buffer (int arg0
) override
;
138 void set_trace_buffer_size (LONGEST arg0
) override
;
139 bool set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
) override
;
140 int core_of_thread (ptid_t arg0
) override
;
141 int verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
) override
;
142 bool get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
) override
;
143 void set_permissions () override
;
144 bool static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
) override
;
145 std::vector
<static_tracepoint_marker
> static_tracepoint_markers_by_strid (const char *arg0
) override
;
146 traceframe_info_up
traceframe_info () override
;
147 bool use_agent (bool arg0
) override
;
148 bool can_use_agent () override
;
149 struct btrace_target_info
*enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
) override
;
150 void disable_btrace (struct btrace_target_info
*arg0
) override
;
151 void teardown_btrace (struct btrace_target_info
*arg0
) override
;
152 enum btrace_error
read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
) override
;
153 const struct btrace_config
*btrace_conf (const struct btrace_target_info
*arg0
) override
;
154 enum record_method
record_method (ptid_t arg0
) override
;
155 void stop_recording () override
;
156 void info_record () override
;
157 void save_record (const char *arg0
) override
;
158 bool supports_delete_record () override
;
159 void delete_record () override
;
160 bool record_is_replaying (ptid_t arg0
) override
;
161 bool record_will_replay (ptid_t arg0
, int arg1
) override
;
162 void record_stop_replaying () override
;
163 void goto_record_begin () override
;
164 void goto_record_end () override
;
165 void goto_record (ULONGEST arg0
) override
;
166 void insn_history (int arg0
, gdb_disassembly_flags arg1
) override
;
167 void insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
) override
;
168 void insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
) override
;
169 void call_history (int arg0
, record_print_flags arg1
) override
;
170 void call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
) override
;
171 void call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
) override
;
172 bool augmented_libraries_svr4_read () override
;
173 const struct frame_unwind
*get_unwinder () override
;
174 const struct frame_unwind
*get_tailcall_unwinder () override
;
175 void prepare_to_generate_core () override
;
176 void done_generating_core () override
;
177 bool supports_memory_tagging () override
;
178 bool fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
) override
;
179 bool store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
) override
;
182 struct debug_target
: public target_ops
184 const target_info
&info () const override
;
186 strata
stratum () const override
;
188 void post_attach (int arg0
) override
;
189 void detach (inferior
*arg0
, int arg1
) override
;
190 void disconnect (const char *arg0
, int arg1
) override
;
191 void resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
) override
;
192 void commit_resumed () override
;
193 ptid_t
wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
) override
;
194 void fetch_registers (struct regcache
*arg0
, int arg1
) override
;
195 void store_registers (struct regcache
*arg0
, int arg1
) override
;
196 void prepare_to_store (struct regcache
*arg0
) override
;
197 void files_info () override
;
198 int insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
199 int remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
) override
;
200 bool stopped_by_sw_breakpoint () override
;
201 bool supports_stopped_by_sw_breakpoint () override
;
202 bool stopped_by_hw_breakpoint () override
;
203 bool supports_stopped_by_hw_breakpoint () override
;
204 int can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
) override
;
205 int ranged_break_num_registers () override
;
206 int insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
207 int remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
208 int remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
209 int insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
210 int insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
211 int remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
212 bool stopped_by_watchpoint () override
;
213 bool have_steppable_watchpoint () override
;
214 bool stopped_data_address (CORE_ADDR
*arg0
) override
;
215 bool watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
) override
;
216 int region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
) override
;
217 bool can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
) override
;
218 int masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
) override
;
219 int can_do_single_step () override
;
220 bool supports_terminal_ours () override
;
221 void terminal_init () override
;
222 void terminal_inferior () override
;
223 void terminal_save_inferior () override
;
224 void terminal_ours_for_output () override
;
225 void terminal_ours () override
;
226 void terminal_info (const char *arg0
, int arg1
) override
;
227 void kill () override
;
228 void load (const char *arg0
, int arg1
) override
;
229 void post_startup_inferior (ptid_t arg0
) override
;
230 int insert_fork_catchpoint (int arg0
) override
;
231 int remove_fork_catchpoint (int arg0
) override
;
232 int insert_vfork_catchpoint (int arg0
) override
;
233 int remove_vfork_catchpoint (int arg0
) override
;
234 void follow_fork (bool arg0
, bool arg1
) override
;
235 int insert_exec_catchpoint (int arg0
) override
;
236 int remove_exec_catchpoint (int arg0
) override
;
237 void follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
) override
;
238 int set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
) override
;
239 void mourn_inferior () override
;
240 void pass_signals (gdb::array_view
<const unsigned char> arg0
) override
;
241 void program_signals (gdb::array_view
<const unsigned char> arg0
) override
;
242 bool thread_alive (ptid_t arg0
) override
;
243 void update_thread_list () override
;
244 std::string
pid_to_str (ptid_t arg0
) override
;
245 const char *extra_thread_info (thread_info
*arg0
) override
;
246 const char *thread_name (thread_info
*arg0
) override
;
247 thread_info
*thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
) override
;
248 gdb::byte_vector
thread_info_to_thread_handle (struct thread_info
*arg0
) override
;
249 void stop (ptid_t arg0
) override
;
250 void interrupt () override
;
251 void pass_ctrlc () override
;
252 void rcmd (const char *arg0
, struct ui_file
*arg1
) override
;
253 char *pid_to_exec_file (int arg0
) override
;
254 void log_command (const char *arg0
) override
;
255 const target_section_table
*get_section_table () override
;
256 thread_control_capabilities
get_thread_control_capabilities () override
;
257 bool attach_no_wait () override
;
258 bool can_async_p () override
;
259 bool is_async_p () override
;
260 void async (int arg0
) override
;
261 int async_wait_fd () override
;
262 bool has_pending_events () override
;
263 void thread_events (int arg0
) override
;
264 bool supports_non_stop () override
;
265 bool always_non_stop_p () override
;
266 int find_memory_regions (find_memory_region_ftype arg0
, void *arg1
) override
;
267 gdb::unique_xmalloc_ptr
<char> make_corefile_notes (bfd
*arg0
, int *arg1
) override
;
268 gdb_byte
*get_bookmark (const char *arg0
, int arg1
) override
;
269 void goto_bookmark (const gdb_byte
*arg0
, int arg1
) override
;
270 CORE_ADDR
get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
) override
;
271 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
;
272 ULONGEST
get_memory_xfer_limit () override
;
273 std::vector
<mem_region
> memory_map () override
;
274 void flash_erase (ULONGEST arg0
, LONGEST arg1
) override
;
275 void flash_done () override
;
276 const struct target_desc
*read_description () override
;
277 ptid_t
get_ada_task_ptid (long arg0
, long arg1
) override
;
278 int auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
) override
;
279 int search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
) override
;
280 bool can_execute_reverse () override
;
281 enum exec_direction_kind
execution_direction () override
;
282 bool supports_multi_process () override
;
283 bool supports_enable_disable_tracepoint () override
;
284 bool supports_disable_randomization () override
;
285 bool supports_string_tracing () override
;
286 bool supports_evaluation_of_breakpoint_conditions () override
;
287 bool supports_dumpcore () override
;
288 void dumpcore (const char *arg0
) override
;
289 bool can_run_breakpoint_commands () override
;
290 struct gdbarch
*thread_architecture (ptid_t arg0
) override
;
291 struct address_space
*thread_address_space (ptid_t arg0
) override
;
292 bool filesystem_is_local () override
;
293 void trace_init () override
;
294 void download_tracepoint (struct bp_location
*arg0
) override
;
295 bool can_download_tracepoint () override
;
296 void download_trace_state_variable (const trace_state_variable
&arg0
) override
;
297 void enable_tracepoint (struct bp_location
*arg0
) override
;
298 void disable_tracepoint (struct bp_location
*arg0
) override
;
299 void trace_set_readonly_regions () override
;
300 void trace_start () override
;
301 int get_trace_status (struct trace_status
*arg0
) override
;
302 void get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
) override
;
303 void trace_stop () override
;
304 int trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
) override
;
305 bool get_trace_state_variable_value (int arg0
, LONGEST
*arg1
) override
;
306 int save_trace_data (const char *arg0
) override
;
307 int upload_tracepoints (struct uploaded_tp
**arg0
) override
;
308 int upload_trace_state_variables (struct uploaded_tsv
**arg0
) override
;
309 LONGEST
get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
) override
;
310 int get_min_fast_tracepoint_insn_len () override
;
311 void set_disconnected_tracing (int arg0
) override
;
312 void set_circular_trace_buffer (int arg0
) override
;
313 void set_trace_buffer_size (LONGEST arg0
) override
;
314 bool set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
) override
;
315 int core_of_thread (ptid_t arg0
) override
;
316 int verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
) override
;
317 bool get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
) override
;
318 void set_permissions () override
;
319 bool static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
) override
;
320 std::vector
<static_tracepoint_marker
> static_tracepoint_markers_by_strid (const char *arg0
) override
;
321 traceframe_info_up
traceframe_info () override
;
322 bool use_agent (bool arg0
) override
;
323 bool can_use_agent () override
;
324 struct btrace_target_info
*enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
) override
;
325 void disable_btrace (struct btrace_target_info
*arg0
) override
;
326 void teardown_btrace (struct btrace_target_info
*arg0
) override
;
327 enum btrace_error
read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
) override
;
328 const struct btrace_config
*btrace_conf (const struct btrace_target_info
*arg0
) override
;
329 enum record_method
record_method (ptid_t arg0
) override
;
330 void stop_recording () override
;
331 void info_record () override
;
332 void save_record (const char *arg0
) override
;
333 bool supports_delete_record () override
;
334 void delete_record () override
;
335 bool record_is_replaying (ptid_t arg0
) override
;
336 bool record_will_replay (ptid_t arg0
, int arg1
) override
;
337 void record_stop_replaying () override
;
338 void goto_record_begin () override
;
339 void goto_record_end () override
;
340 void goto_record (ULONGEST arg0
) override
;
341 void insn_history (int arg0
, gdb_disassembly_flags arg1
) override
;
342 void insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
) override
;
343 void insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
) override
;
344 void call_history (int arg0
, record_print_flags arg1
) override
;
345 void call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
) override
;
346 void call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
) override
;
347 bool augmented_libraries_svr4_read () override
;
348 const struct frame_unwind
*get_unwinder () override
;
349 const struct frame_unwind
*get_tailcall_unwinder () override
;
350 void prepare_to_generate_core () override
;
351 void done_generating_core () override
;
352 bool supports_memory_tagging () override
;
353 bool fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
) override
;
354 bool store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
) override
;
358 target_ops::post_attach (int arg0
)
360 this->beneath ()->post_attach (arg0
);
364 dummy_target::post_attach (int arg0
)
369 debug_target::post_attach (int arg0
)
371 fprintf_unfiltered (gdb_stdlog
, "-> %s->post_attach (...)\n", this->beneath ()->shortname ());
372 this->beneath ()->post_attach (arg0
);
373 fprintf_unfiltered (gdb_stdlog
, "<- %s->post_attach (", this->beneath ()->shortname ());
374 target_debug_print_int (arg0
);
375 fputs_unfiltered (")\n", gdb_stdlog
);
379 target_ops::detach (inferior
*arg0
, int arg1
)
381 this->beneath ()->detach (arg0
, arg1
);
385 dummy_target::detach (inferior
*arg0
, int arg1
)
390 debug_target::detach (inferior
*arg0
, int arg1
)
392 fprintf_unfiltered (gdb_stdlog
, "-> %s->detach (...)\n", this->beneath ()->shortname ());
393 this->beneath ()->detach (arg0
, arg1
);
394 fprintf_unfiltered (gdb_stdlog
, "<- %s->detach (", this->beneath ()->shortname ());
395 target_debug_print_inferior_p (arg0
);
396 fputs_unfiltered (", ", gdb_stdlog
);
397 target_debug_print_int (arg1
);
398 fputs_unfiltered (")\n", gdb_stdlog
);
402 target_ops::disconnect (const char *arg0
, int arg1
)
404 this->beneath ()->disconnect (arg0
, arg1
);
408 dummy_target::disconnect (const char *arg0
, int arg1
)
414 debug_target::disconnect (const char *arg0
, int arg1
)
416 fprintf_unfiltered (gdb_stdlog
, "-> %s->disconnect (...)\n", this->beneath ()->shortname ());
417 this->beneath ()->disconnect (arg0
, arg1
);
418 fprintf_unfiltered (gdb_stdlog
, "<- %s->disconnect (", this->beneath ()->shortname ());
419 target_debug_print_const_char_p (arg0
);
420 fputs_unfiltered (", ", gdb_stdlog
);
421 target_debug_print_int (arg1
);
422 fputs_unfiltered (")\n", gdb_stdlog
);
426 target_ops::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
428 this->beneath ()->resume (arg0
, arg1
, arg2
);
432 dummy_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
438 debug_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
440 fprintf_unfiltered (gdb_stdlog
, "-> %s->resume (...)\n", this->beneath ()->shortname ());
441 this->beneath ()->resume (arg0
, arg1
, arg2
);
442 fprintf_unfiltered (gdb_stdlog
, "<- %s->resume (", this->beneath ()->shortname ());
443 target_debug_print_ptid_t (arg0
);
444 fputs_unfiltered (", ", gdb_stdlog
);
445 target_debug_print_step (arg1
);
446 fputs_unfiltered (", ", gdb_stdlog
);
447 target_debug_print_enum_gdb_signal (arg2
);
448 fputs_unfiltered (")\n", gdb_stdlog
);
452 target_ops::commit_resumed ()
454 this->beneath ()->commit_resumed ();
458 dummy_target::commit_resumed ()
463 debug_target::commit_resumed ()
465 fprintf_unfiltered (gdb_stdlog
, "-> %s->commit_resumed (...)\n", this->beneath ()->shortname ());
466 this->beneath ()->commit_resumed ();
467 fprintf_unfiltered (gdb_stdlog
, "<- %s->commit_resumed (", this->beneath ()->shortname ());
468 fputs_unfiltered (")\n", gdb_stdlog
);
472 target_ops::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
)
474 return this->beneath ()->wait (arg0
, arg1
, arg2
);
478 dummy_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
)
480 return default_target_wait (this, arg0
, arg1
, arg2
);
484 debug_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
)
487 fprintf_unfiltered (gdb_stdlog
, "-> %s->wait (...)\n", this->beneath ()->shortname ());
488 result
= this->beneath ()->wait (arg0
, arg1
, arg2
);
489 fprintf_unfiltered (gdb_stdlog
, "<- %s->wait (", this->beneath ()->shortname ());
490 target_debug_print_ptid_t (arg0
);
491 fputs_unfiltered (", ", gdb_stdlog
);
492 target_debug_print_struct_target_waitstatus_p (arg1
);
493 fputs_unfiltered (", ", gdb_stdlog
);
494 target_debug_print_target_wait_flags (arg2
);
495 fputs_unfiltered (") = ", gdb_stdlog
);
496 target_debug_print_ptid_t (result
);
497 fputs_unfiltered ("\n", gdb_stdlog
);
502 target_ops::fetch_registers (struct regcache
*arg0
, int arg1
)
504 this->beneath ()->fetch_registers (arg0
, arg1
);
508 dummy_target::fetch_registers (struct regcache
*arg0
, int arg1
)
513 debug_target::fetch_registers (struct regcache
*arg0
, int arg1
)
515 fprintf_unfiltered (gdb_stdlog
, "-> %s->fetch_registers (...)\n", this->beneath ()->shortname ());
516 this->beneath ()->fetch_registers (arg0
, arg1
);
517 fprintf_unfiltered (gdb_stdlog
, "<- %s->fetch_registers (", this->beneath ()->shortname ());
518 target_debug_print_struct_regcache_p (arg0
);
519 fputs_unfiltered (", ", gdb_stdlog
);
520 target_debug_print_int (arg1
);
521 fputs_unfiltered (")\n", gdb_stdlog
);
525 target_ops::store_registers (struct regcache
*arg0
, int arg1
)
527 this->beneath ()->store_registers (arg0
, arg1
);
531 dummy_target::store_registers (struct regcache
*arg0
, int arg1
)
537 debug_target::store_registers (struct regcache
*arg0
, int arg1
)
539 fprintf_unfiltered (gdb_stdlog
, "-> %s->store_registers (...)\n", this->beneath ()->shortname ());
540 this->beneath ()->store_registers (arg0
, arg1
);
541 fprintf_unfiltered (gdb_stdlog
, "<- %s->store_registers (", this->beneath ()->shortname ());
542 target_debug_print_struct_regcache_p (arg0
);
543 fputs_unfiltered (", ", gdb_stdlog
);
544 target_debug_print_int (arg1
);
545 fputs_unfiltered (")\n", gdb_stdlog
);
549 target_ops::prepare_to_store (struct regcache
*arg0
)
551 this->beneath ()->prepare_to_store (arg0
);
555 dummy_target::prepare_to_store (struct regcache
*arg0
)
561 debug_target::prepare_to_store (struct regcache
*arg0
)
563 fprintf_unfiltered (gdb_stdlog
, "-> %s->prepare_to_store (...)\n", this->beneath ()->shortname ());
564 this->beneath ()->prepare_to_store (arg0
);
565 fprintf_unfiltered (gdb_stdlog
, "<- %s->prepare_to_store (", this->beneath ()->shortname ());
566 target_debug_print_struct_regcache_p (arg0
);
567 fputs_unfiltered (")\n", gdb_stdlog
);
571 target_ops::files_info ()
573 this->beneath ()->files_info ();
577 dummy_target::files_info ()
582 debug_target::files_info ()
584 fprintf_unfiltered (gdb_stdlog
, "-> %s->files_info (...)\n", this->beneath ()->shortname ());
585 this->beneath ()->files_info ();
586 fprintf_unfiltered (gdb_stdlog
, "<- %s->files_info (", this->beneath ()->shortname ());
587 fputs_unfiltered (")\n", gdb_stdlog
);
591 target_ops::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
593 return this->beneath ()->insert_breakpoint (arg0
, arg1
);
597 dummy_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
603 debug_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
606 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_breakpoint (...)\n", this->beneath ()->shortname ());
607 result
= this->beneath ()->insert_breakpoint (arg0
, arg1
);
608 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_breakpoint (", this->beneath ()->shortname ());
609 target_debug_print_struct_gdbarch_p (arg0
);
610 fputs_unfiltered (", ", gdb_stdlog
);
611 target_debug_print_struct_bp_target_info_p (arg1
);
612 fputs_unfiltered (") = ", gdb_stdlog
);
613 target_debug_print_int (result
);
614 fputs_unfiltered ("\n", gdb_stdlog
);
619 target_ops::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
621 return this->beneath ()->remove_breakpoint (arg0
, arg1
, arg2
);
625 dummy_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
631 debug_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
634 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_breakpoint (...)\n", this->beneath ()->shortname ());
635 result
= this->beneath ()->remove_breakpoint (arg0
, arg1
, arg2
);
636 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_breakpoint (", this->beneath ()->shortname ());
637 target_debug_print_struct_gdbarch_p (arg0
);
638 fputs_unfiltered (", ", gdb_stdlog
);
639 target_debug_print_struct_bp_target_info_p (arg1
);
640 fputs_unfiltered (", ", gdb_stdlog
);
641 target_debug_print_enum_remove_bp_reason (arg2
);
642 fputs_unfiltered (") = ", gdb_stdlog
);
643 target_debug_print_int (result
);
644 fputs_unfiltered ("\n", gdb_stdlog
);
649 target_ops::stopped_by_sw_breakpoint ()
651 return this->beneath ()->stopped_by_sw_breakpoint ();
655 dummy_target::stopped_by_sw_breakpoint ()
661 debug_target::stopped_by_sw_breakpoint ()
664 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
665 result
= this->beneath ()->stopped_by_sw_breakpoint ();
666 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
667 fputs_unfiltered (") = ", gdb_stdlog
);
668 target_debug_print_bool (result
);
669 fputs_unfiltered ("\n", gdb_stdlog
);
674 target_ops::supports_stopped_by_sw_breakpoint ()
676 return this->beneath ()->supports_stopped_by_sw_breakpoint ();
680 dummy_target::supports_stopped_by_sw_breakpoint ()
686 debug_target::supports_stopped_by_sw_breakpoint ()
689 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
690 result
= this->beneath ()->supports_stopped_by_sw_breakpoint ();
691 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
692 fputs_unfiltered (") = ", gdb_stdlog
);
693 target_debug_print_bool (result
);
694 fputs_unfiltered ("\n", gdb_stdlog
);
699 target_ops::stopped_by_hw_breakpoint ()
701 return this->beneath ()->stopped_by_hw_breakpoint ();
705 dummy_target::stopped_by_hw_breakpoint ()
711 debug_target::stopped_by_hw_breakpoint ()
714 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
715 result
= this->beneath ()->stopped_by_hw_breakpoint ();
716 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
717 fputs_unfiltered (") = ", gdb_stdlog
);
718 target_debug_print_bool (result
);
719 fputs_unfiltered ("\n", gdb_stdlog
);
724 target_ops::supports_stopped_by_hw_breakpoint ()
726 return this->beneath ()->supports_stopped_by_hw_breakpoint ();
730 dummy_target::supports_stopped_by_hw_breakpoint ()
736 debug_target::supports_stopped_by_hw_breakpoint ()
739 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
740 result
= this->beneath ()->supports_stopped_by_hw_breakpoint ();
741 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
742 fputs_unfiltered (") = ", gdb_stdlog
);
743 target_debug_print_bool (result
);
744 fputs_unfiltered ("\n", gdb_stdlog
);
749 target_ops::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
751 return this->beneath ()->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
755 dummy_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
761 debug_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
764 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_use_hw_breakpoint (...)\n", this->beneath ()->shortname ());
765 result
= this->beneath ()->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
766 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_use_hw_breakpoint (", this->beneath ()->shortname ());
767 target_debug_print_enum_bptype (arg0
);
768 fputs_unfiltered (", ", gdb_stdlog
);
769 target_debug_print_int (arg1
);
770 fputs_unfiltered (", ", gdb_stdlog
);
771 target_debug_print_int (arg2
);
772 fputs_unfiltered (") = ", gdb_stdlog
);
773 target_debug_print_int (result
);
774 fputs_unfiltered ("\n", gdb_stdlog
);
779 target_ops::ranged_break_num_registers ()
781 return this->beneath ()->ranged_break_num_registers ();
785 dummy_target::ranged_break_num_registers ()
791 debug_target::ranged_break_num_registers ()
794 fprintf_unfiltered (gdb_stdlog
, "-> %s->ranged_break_num_registers (...)\n", this->beneath ()->shortname ());
795 result
= this->beneath ()->ranged_break_num_registers ();
796 fprintf_unfiltered (gdb_stdlog
, "<- %s->ranged_break_num_registers (", this->beneath ()->shortname ());
797 fputs_unfiltered (") = ", gdb_stdlog
);
798 target_debug_print_int (result
);
799 fputs_unfiltered ("\n", gdb_stdlog
);
804 target_ops::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
806 return this->beneath ()->insert_hw_breakpoint (arg0
, arg1
);
810 dummy_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
816 debug_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
819 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_hw_breakpoint (...)\n", this->beneath ()->shortname ());
820 result
= this->beneath ()->insert_hw_breakpoint (arg0
, arg1
);
821 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_hw_breakpoint (", this->beneath ()->shortname ());
822 target_debug_print_struct_gdbarch_p (arg0
);
823 fputs_unfiltered (", ", gdb_stdlog
);
824 target_debug_print_struct_bp_target_info_p (arg1
);
825 fputs_unfiltered (") = ", gdb_stdlog
);
826 target_debug_print_int (result
);
827 fputs_unfiltered ("\n", gdb_stdlog
);
832 target_ops::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
834 return this->beneath ()->remove_hw_breakpoint (arg0
, arg1
);
838 dummy_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
844 debug_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
847 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_hw_breakpoint (...)\n", this->beneath ()->shortname ());
848 result
= this->beneath ()->remove_hw_breakpoint (arg0
, arg1
);
849 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_hw_breakpoint (", this->beneath ()->shortname ());
850 target_debug_print_struct_gdbarch_p (arg0
);
851 fputs_unfiltered (", ", gdb_stdlog
);
852 target_debug_print_struct_bp_target_info_p (arg1
);
853 fputs_unfiltered (") = ", gdb_stdlog
);
854 target_debug_print_int (result
);
855 fputs_unfiltered ("\n", gdb_stdlog
);
860 target_ops::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
862 return this->beneath ()->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
866 dummy_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
872 debug_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
875 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_watchpoint (...)\n", this->beneath ()->shortname ());
876 result
= this->beneath ()->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
877 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_watchpoint (", this->beneath ()->shortname ());
878 target_debug_print_CORE_ADDR (arg0
);
879 fputs_unfiltered (", ", gdb_stdlog
);
880 target_debug_print_int (arg1
);
881 fputs_unfiltered (", ", gdb_stdlog
);
882 target_debug_print_enum_target_hw_bp_type (arg2
);
883 fputs_unfiltered (", ", gdb_stdlog
);
884 target_debug_print_struct_expression_p (arg3
);
885 fputs_unfiltered (") = ", gdb_stdlog
);
886 target_debug_print_int (result
);
887 fputs_unfiltered ("\n", gdb_stdlog
);
892 target_ops::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
894 return this->beneath ()->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
898 dummy_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
904 debug_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
907 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_watchpoint (...)\n", this->beneath ()->shortname ());
908 result
= this->beneath ()->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
909 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_watchpoint (", this->beneath ()->shortname ());
910 target_debug_print_CORE_ADDR (arg0
);
911 fputs_unfiltered (", ", gdb_stdlog
);
912 target_debug_print_int (arg1
);
913 fputs_unfiltered (", ", gdb_stdlog
);
914 target_debug_print_enum_target_hw_bp_type (arg2
);
915 fputs_unfiltered (", ", gdb_stdlog
);
916 target_debug_print_struct_expression_p (arg3
);
917 fputs_unfiltered (") = ", gdb_stdlog
);
918 target_debug_print_int (result
);
919 fputs_unfiltered ("\n", gdb_stdlog
);
924 target_ops::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
926 return this->beneath ()->insert_mask_watchpoint (arg0
, arg1
, arg2
);
930 dummy_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
936 debug_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
939 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_mask_watchpoint (...)\n", this->beneath ()->shortname ());
940 result
= this->beneath ()->insert_mask_watchpoint (arg0
, arg1
, arg2
);
941 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_mask_watchpoint (", this->beneath ()->shortname ());
942 target_debug_print_CORE_ADDR (arg0
);
943 fputs_unfiltered (", ", gdb_stdlog
);
944 target_debug_print_CORE_ADDR (arg1
);
945 fputs_unfiltered (", ", gdb_stdlog
);
946 target_debug_print_enum_target_hw_bp_type (arg2
);
947 fputs_unfiltered (") = ", gdb_stdlog
);
948 target_debug_print_int (result
);
949 fputs_unfiltered ("\n", gdb_stdlog
);
954 target_ops::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
956 return this->beneath ()->remove_mask_watchpoint (arg0
, arg1
, arg2
);
960 dummy_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
966 debug_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
969 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_mask_watchpoint (...)\n", this->beneath ()->shortname ());
970 result
= this->beneath ()->remove_mask_watchpoint (arg0
, arg1
, arg2
);
971 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_mask_watchpoint (", this->beneath ()->shortname ());
972 target_debug_print_CORE_ADDR (arg0
);
973 fputs_unfiltered (", ", gdb_stdlog
);
974 target_debug_print_CORE_ADDR (arg1
);
975 fputs_unfiltered (", ", gdb_stdlog
);
976 target_debug_print_enum_target_hw_bp_type (arg2
);
977 fputs_unfiltered (") = ", gdb_stdlog
);
978 target_debug_print_int (result
);
979 fputs_unfiltered ("\n", gdb_stdlog
);
984 target_ops::stopped_by_watchpoint ()
986 return this->beneath ()->stopped_by_watchpoint ();
990 dummy_target::stopped_by_watchpoint ()
996 debug_target::stopped_by_watchpoint ()
999 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_watchpoint (...)\n", this->beneath ()->shortname ());
1000 result
= this->beneath ()->stopped_by_watchpoint ();
1001 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_watchpoint (", this->beneath ()->shortname ());
1002 fputs_unfiltered (") = ", gdb_stdlog
);
1003 target_debug_print_bool (result
);
1004 fputs_unfiltered ("\n", gdb_stdlog
);
1009 target_ops::have_steppable_watchpoint ()
1011 return this->beneath ()->have_steppable_watchpoint ();
1015 dummy_target::have_steppable_watchpoint ()
1021 debug_target::have_steppable_watchpoint ()
1024 fprintf_unfiltered (gdb_stdlog
, "-> %s->have_steppable_watchpoint (...)\n", this->beneath ()->shortname ());
1025 result
= this->beneath ()->have_steppable_watchpoint ();
1026 fprintf_unfiltered (gdb_stdlog
, "<- %s->have_steppable_watchpoint (", this->beneath ()->shortname ());
1027 fputs_unfiltered (") = ", gdb_stdlog
);
1028 target_debug_print_bool (result
);
1029 fputs_unfiltered ("\n", gdb_stdlog
);
1034 target_ops::stopped_data_address (CORE_ADDR
*arg0
)
1036 return this->beneath ()->stopped_data_address (arg0
);
1040 dummy_target::stopped_data_address (CORE_ADDR
*arg0
)
1046 debug_target::stopped_data_address (CORE_ADDR
*arg0
)
1049 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_data_address (...)\n", this->beneath ()->shortname ());
1050 result
= this->beneath ()->stopped_data_address (arg0
);
1051 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_data_address (", this->beneath ()->shortname ());
1052 target_debug_print_CORE_ADDR_p (arg0
);
1053 fputs_unfiltered (") = ", gdb_stdlog
);
1054 target_debug_print_bool (result
);
1055 fputs_unfiltered ("\n", gdb_stdlog
);
1060 target_ops::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1062 return this->beneath ()->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1066 dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1068 return default_watchpoint_addr_within_range (this, arg0
, arg1
, arg2
);
1072 debug_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1075 fprintf_unfiltered (gdb_stdlog
, "-> %s->watchpoint_addr_within_range (...)\n", this->beneath ()->shortname ());
1076 result
= this->beneath ()->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1077 fprintf_unfiltered (gdb_stdlog
, "<- %s->watchpoint_addr_within_range (", this->beneath ()->shortname ());
1078 target_debug_print_CORE_ADDR (arg0
);
1079 fputs_unfiltered (", ", gdb_stdlog
);
1080 target_debug_print_CORE_ADDR (arg1
);
1081 fputs_unfiltered (", ", gdb_stdlog
);
1082 target_debug_print_int (arg2
);
1083 fputs_unfiltered (") = ", gdb_stdlog
);
1084 target_debug_print_bool (result
);
1085 fputs_unfiltered ("\n", gdb_stdlog
);
1090 target_ops::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1092 return this->beneath ()->region_ok_for_hw_watchpoint (arg0
, arg1
);
1096 dummy_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1098 return default_region_ok_for_hw_watchpoint (this, arg0
, arg1
);
1102 debug_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1105 fprintf_unfiltered (gdb_stdlog
, "-> %s->region_ok_for_hw_watchpoint (...)\n", this->beneath ()->shortname ());
1106 result
= this->beneath ()->region_ok_for_hw_watchpoint (arg0
, arg1
);
1107 fprintf_unfiltered (gdb_stdlog
, "<- %s->region_ok_for_hw_watchpoint (", this->beneath ()->shortname ());
1108 target_debug_print_CORE_ADDR (arg0
);
1109 fputs_unfiltered (", ", gdb_stdlog
);
1110 target_debug_print_int (arg1
);
1111 fputs_unfiltered (") = ", gdb_stdlog
);
1112 target_debug_print_int (result
);
1113 fputs_unfiltered ("\n", gdb_stdlog
);
1118 target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1120 return this->beneath ()->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1124 dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1130 debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1133 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_accel_watchpoint_condition (...)\n", this->beneath ()->shortname ());
1134 result
= this->beneath ()->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1135 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_accel_watchpoint_condition (", this->beneath ()->shortname ());
1136 target_debug_print_CORE_ADDR (arg0
);
1137 fputs_unfiltered (", ", gdb_stdlog
);
1138 target_debug_print_int (arg1
);
1139 fputs_unfiltered (", ", gdb_stdlog
);
1140 target_debug_print_int (arg2
);
1141 fputs_unfiltered (", ", gdb_stdlog
);
1142 target_debug_print_struct_expression_p (arg3
);
1143 fputs_unfiltered (") = ", gdb_stdlog
);
1144 target_debug_print_bool (result
);
1145 fputs_unfiltered ("\n", gdb_stdlog
);
1150 target_ops::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1152 return this->beneath ()->masked_watch_num_registers (arg0
, arg1
);
1156 dummy_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1162 debug_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1165 fprintf_unfiltered (gdb_stdlog
, "-> %s->masked_watch_num_registers (...)\n", this->beneath ()->shortname ());
1166 result
= this->beneath ()->masked_watch_num_registers (arg0
, arg1
);
1167 fprintf_unfiltered (gdb_stdlog
, "<- %s->masked_watch_num_registers (", this->beneath ()->shortname ());
1168 target_debug_print_CORE_ADDR (arg0
);
1169 fputs_unfiltered (", ", gdb_stdlog
);
1170 target_debug_print_CORE_ADDR (arg1
);
1171 fputs_unfiltered (") = ", gdb_stdlog
);
1172 target_debug_print_int (result
);
1173 fputs_unfiltered ("\n", gdb_stdlog
);
1178 target_ops::can_do_single_step ()
1180 return this->beneath ()->can_do_single_step ();
1184 dummy_target::can_do_single_step ()
1190 debug_target::can_do_single_step ()
1193 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_do_single_step (...)\n", this->beneath ()->shortname ());
1194 result
= this->beneath ()->can_do_single_step ();
1195 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_do_single_step (", this->beneath ()->shortname ());
1196 fputs_unfiltered (") = ", gdb_stdlog
);
1197 target_debug_print_int (result
);
1198 fputs_unfiltered ("\n", gdb_stdlog
);
1203 target_ops::supports_terminal_ours ()
1205 return this->beneath ()->supports_terminal_ours ();
1209 dummy_target::supports_terminal_ours ()
1215 debug_target::supports_terminal_ours ()
1218 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_terminal_ours (...)\n", this->beneath ()->shortname ());
1219 result
= this->beneath ()->supports_terminal_ours ();
1220 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_terminal_ours (", this->beneath ()->shortname ());
1221 fputs_unfiltered (") = ", gdb_stdlog
);
1222 target_debug_print_bool (result
);
1223 fputs_unfiltered ("\n", gdb_stdlog
);
1228 target_ops::terminal_init ()
1230 this->beneath ()->terminal_init ();
1234 dummy_target::terminal_init ()
1239 debug_target::terminal_init ()
1241 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_init (...)\n", this->beneath ()->shortname ());
1242 this->beneath ()->terminal_init ();
1243 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_init (", this->beneath ()->shortname ());
1244 fputs_unfiltered (")\n", gdb_stdlog
);
1248 target_ops::terminal_inferior ()
1250 this->beneath ()->terminal_inferior ();
1254 dummy_target::terminal_inferior ()
1259 debug_target::terminal_inferior ()
1261 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_inferior (...)\n", this->beneath ()->shortname ());
1262 this->beneath ()->terminal_inferior ();
1263 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_inferior (", this->beneath ()->shortname ());
1264 fputs_unfiltered (")\n", gdb_stdlog
);
1268 target_ops::terminal_save_inferior ()
1270 this->beneath ()->terminal_save_inferior ();
1274 dummy_target::terminal_save_inferior ()
1279 debug_target::terminal_save_inferior ()
1281 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_save_inferior (...)\n", this->beneath ()->shortname ());
1282 this->beneath ()->terminal_save_inferior ();
1283 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_save_inferior (", this->beneath ()->shortname ());
1284 fputs_unfiltered (")\n", gdb_stdlog
);
1288 target_ops::terminal_ours_for_output ()
1290 this->beneath ()->terminal_ours_for_output ();
1294 dummy_target::terminal_ours_for_output ()
1299 debug_target::terminal_ours_for_output ()
1301 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_ours_for_output (...)\n", this->beneath ()->shortname ());
1302 this->beneath ()->terminal_ours_for_output ();
1303 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_ours_for_output (", this->beneath ()->shortname ());
1304 fputs_unfiltered (")\n", gdb_stdlog
);
1308 target_ops::terminal_ours ()
1310 this->beneath ()->terminal_ours ();
1314 dummy_target::terminal_ours ()
1319 debug_target::terminal_ours ()
1321 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_ours (...)\n", this->beneath ()->shortname ());
1322 this->beneath ()->terminal_ours ();
1323 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_ours (", this->beneath ()->shortname ());
1324 fputs_unfiltered (")\n", gdb_stdlog
);
1328 target_ops::terminal_info (const char *arg0
, int arg1
)
1330 this->beneath ()->terminal_info (arg0
, arg1
);
1334 dummy_target::terminal_info (const char *arg0
, int arg1
)
1336 default_terminal_info (this, arg0
, arg1
);
1340 debug_target::terminal_info (const char *arg0
, int arg1
)
1342 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_info (...)\n", this->beneath ()->shortname ());
1343 this->beneath ()->terminal_info (arg0
, arg1
);
1344 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_info (", this->beneath ()->shortname ());
1345 target_debug_print_const_char_p (arg0
);
1346 fputs_unfiltered (", ", gdb_stdlog
);
1347 target_debug_print_int (arg1
);
1348 fputs_unfiltered (")\n", gdb_stdlog
);
1354 this->beneath ()->kill ();
1358 dummy_target::kill ()
1364 debug_target::kill ()
1366 fprintf_unfiltered (gdb_stdlog
, "-> %s->kill (...)\n", this->beneath ()->shortname ());
1367 this->beneath ()->kill ();
1368 fprintf_unfiltered (gdb_stdlog
, "<- %s->kill (", this->beneath ()->shortname ());
1369 fputs_unfiltered (")\n", gdb_stdlog
);
1373 target_ops::load (const char *arg0
, int arg1
)
1375 this->beneath ()->load (arg0
, arg1
);
1379 dummy_target::load (const char *arg0
, int arg1
)
1385 debug_target::load (const char *arg0
, int arg1
)
1387 fprintf_unfiltered (gdb_stdlog
, "-> %s->load (...)\n", this->beneath ()->shortname ());
1388 this->beneath ()->load (arg0
, arg1
);
1389 fprintf_unfiltered (gdb_stdlog
, "<- %s->load (", this->beneath ()->shortname ());
1390 target_debug_print_const_char_p (arg0
);
1391 fputs_unfiltered (", ", gdb_stdlog
);
1392 target_debug_print_int (arg1
);
1393 fputs_unfiltered (")\n", gdb_stdlog
);
1397 target_ops::post_startup_inferior (ptid_t arg0
)
1399 this->beneath ()->post_startup_inferior (arg0
);
1403 dummy_target::post_startup_inferior (ptid_t arg0
)
1408 debug_target::post_startup_inferior (ptid_t arg0
)
1410 fprintf_unfiltered (gdb_stdlog
, "-> %s->post_startup_inferior (...)\n", this->beneath ()->shortname ());
1411 this->beneath ()->post_startup_inferior (arg0
);
1412 fprintf_unfiltered (gdb_stdlog
, "<- %s->post_startup_inferior (", this->beneath ()->shortname ());
1413 target_debug_print_ptid_t (arg0
);
1414 fputs_unfiltered (")\n", gdb_stdlog
);
1418 target_ops::insert_fork_catchpoint (int arg0
)
1420 return this->beneath ()->insert_fork_catchpoint (arg0
);
1424 dummy_target::insert_fork_catchpoint (int arg0
)
1430 debug_target::insert_fork_catchpoint (int arg0
)
1433 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1434 result
= this->beneath ()->insert_fork_catchpoint (arg0
);
1435 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_fork_catchpoint (", this->beneath ()->shortname ());
1436 target_debug_print_int (arg0
);
1437 fputs_unfiltered (") = ", gdb_stdlog
);
1438 target_debug_print_int (result
);
1439 fputs_unfiltered ("\n", gdb_stdlog
);
1444 target_ops::remove_fork_catchpoint (int arg0
)
1446 return this->beneath ()->remove_fork_catchpoint (arg0
);
1450 dummy_target::remove_fork_catchpoint (int arg0
)
1456 debug_target::remove_fork_catchpoint (int arg0
)
1459 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1460 result
= this->beneath ()->remove_fork_catchpoint (arg0
);
1461 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_fork_catchpoint (", this->beneath ()->shortname ());
1462 target_debug_print_int (arg0
);
1463 fputs_unfiltered (") = ", gdb_stdlog
);
1464 target_debug_print_int (result
);
1465 fputs_unfiltered ("\n", gdb_stdlog
);
1470 target_ops::insert_vfork_catchpoint (int arg0
)
1472 return this->beneath ()->insert_vfork_catchpoint (arg0
);
1476 dummy_target::insert_vfork_catchpoint (int arg0
)
1482 debug_target::insert_vfork_catchpoint (int arg0
)
1485 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1486 result
= this->beneath ()->insert_vfork_catchpoint (arg0
);
1487 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_vfork_catchpoint (", this->beneath ()->shortname ());
1488 target_debug_print_int (arg0
);
1489 fputs_unfiltered (") = ", gdb_stdlog
);
1490 target_debug_print_int (result
);
1491 fputs_unfiltered ("\n", gdb_stdlog
);
1496 target_ops::remove_vfork_catchpoint (int arg0
)
1498 return this->beneath ()->remove_vfork_catchpoint (arg0
);
1502 dummy_target::remove_vfork_catchpoint (int arg0
)
1508 debug_target::remove_vfork_catchpoint (int arg0
)
1511 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1512 result
= this->beneath ()->remove_vfork_catchpoint (arg0
);
1513 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_vfork_catchpoint (", this->beneath ()->shortname ());
1514 target_debug_print_int (arg0
);
1515 fputs_unfiltered (") = ", gdb_stdlog
);
1516 target_debug_print_int (result
);
1517 fputs_unfiltered ("\n", gdb_stdlog
);
1522 target_ops::follow_fork (bool arg0
, bool arg1
)
1524 this->beneath ()->follow_fork (arg0
, arg1
);
1528 dummy_target::follow_fork (bool arg0
, bool arg1
)
1530 default_follow_fork (this, arg0
, arg1
);
1534 debug_target::follow_fork (bool arg0
, bool arg1
)
1536 fprintf_unfiltered (gdb_stdlog
, "-> %s->follow_fork (...)\n", this->beneath ()->shortname ());
1537 this->beneath ()->follow_fork (arg0
, arg1
);
1538 fprintf_unfiltered (gdb_stdlog
, "<- %s->follow_fork (", this->beneath ()->shortname ());
1539 target_debug_print_bool (arg0
);
1540 fputs_unfiltered (", ", gdb_stdlog
);
1541 target_debug_print_bool (arg1
);
1542 fputs_unfiltered (")\n", gdb_stdlog
);
1546 target_ops::insert_exec_catchpoint (int arg0
)
1548 return this->beneath ()->insert_exec_catchpoint (arg0
);
1552 dummy_target::insert_exec_catchpoint (int arg0
)
1558 debug_target::insert_exec_catchpoint (int arg0
)
1561 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1562 result
= this->beneath ()->insert_exec_catchpoint (arg0
);
1563 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_exec_catchpoint (", this->beneath ()->shortname ());
1564 target_debug_print_int (arg0
);
1565 fputs_unfiltered (") = ", gdb_stdlog
);
1566 target_debug_print_int (result
);
1567 fputs_unfiltered ("\n", gdb_stdlog
);
1572 target_ops::remove_exec_catchpoint (int arg0
)
1574 return this->beneath ()->remove_exec_catchpoint (arg0
);
1578 dummy_target::remove_exec_catchpoint (int arg0
)
1584 debug_target::remove_exec_catchpoint (int arg0
)
1587 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1588 result
= this->beneath ()->remove_exec_catchpoint (arg0
);
1589 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_exec_catchpoint (", this->beneath ()->shortname ());
1590 target_debug_print_int (arg0
);
1591 fputs_unfiltered (") = ", gdb_stdlog
);
1592 target_debug_print_int (result
);
1593 fputs_unfiltered ("\n", gdb_stdlog
);
1598 target_ops::follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
)
1600 this->beneath ()->follow_exec (arg0
, arg1
, arg2
);
1604 dummy_target::follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
)
1609 debug_target::follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
)
1611 fprintf_unfiltered (gdb_stdlog
, "-> %s->follow_exec (...)\n", this->beneath ()->shortname ());
1612 this->beneath ()->follow_exec (arg0
, arg1
, arg2
);
1613 fprintf_unfiltered (gdb_stdlog
, "<- %s->follow_exec (", this->beneath ()->shortname ());
1614 target_debug_print_inferior_p (arg0
);
1615 fputs_unfiltered (", ", gdb_stdlog
);
1616 target_debug_print_ptid_t (arg1
);
1617 fputs_unfiltered (", ", gdb_stdlog
);
1618 target_debug_print_const_char_p (arg2
);
1619 fputs_unfiltered (")\n", gdb_stdlog
);
1623 target_ops::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1625 return this->beneath ()->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1629 dummy_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1635 debug_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1638 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_syscall_catchpoint (...)\n", this->beneath ()->shortname ());
1639 result
= this->beneath ()->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1640 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_syscall_catchpoint (", this->beneath ()->shortname ());
1641 target_debug_print_int (arg0
);
1642 fputs_unfiltered (", ", gdb_stdlog
);
1643 target_debug_print_bool (arg1
);
1644 fputs_unfiltered (", ", gdb_stdlog
);
1645 target_debug_print_int (arg2
);
1646 fputs_unfiltered (", ", gdb_stdlog
);
1647 target_debug_print_gdb_array_view_const_int (arg3
);
1648 fputs_unfiltered (") = ", gdb_stdlog
);
1649 target_debug_print_int (result
);
1650 fputs_unfiltered ("\n", gdb_stdlog
);
1655 target_ops::mourn_inferior ()
1657 this->beneath ()->mourn_inferior ();
1661 dummy_target::mourn_inferior ()
1663 default_mourn_inferior (this);
1667 debug_target::mourn_inferior ()
1669 fprintf_unfiltered (gdb_stdlog
, "-> %s->mourn_inferior (...)\n", this->beneath ()->shortname ());
1670 this->beneath ()->mourn_inferior ();
1671 fprintf_unfiltered (gdb_stdlog
, "<- %s->mourn_inferior (", this->beneath ()->shortname ());
1672 fputs_unfiltered (")\n", gdb_stdlog
);
1676 target_ops::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1678 this->beneath ()->pass_signals (arg0
);
1682 dummy_target::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1687 debug_target::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1689 fprintf_unfiltered (gdb_stdlog
, "-> %s->pass_signals (...)\n", this->beneath ()->shortname ());
1690 this->beneath ()->pass_signals (arg0
);
1691 fprintf_unfiltered (gdb_stdlog
, "<- %s->pass_signals (", this->beneath ()->shortname ());
1692 target_debug_print_signals (arg0
);
1693 fputs_unfiltered (")\n", gdb_stdlog
);
1697 target_ops::program_signals (gdb::array_view
<const unsigned char> arg0
)
1699 this->beneath ()->program_signals (arg0
);
1703 dummy_target::program_signals (gdb::array_view
<const unsigned char> arg0
)
1708 debug_target::program_signals (gdb::array_view
<const unsigned char> arg0
)
1710 fprintf_unfiltered (gdb_stdlog
, "-> %s->program_signals (...)\n", this->beneath ()->shortname ());
1711 this->beneath ()->program_signals (arg0
);
1712 fprintf_unfiltered (gdb_stdlog
, "<- %s->program_signals (", this->beneath ()->shortname ());
1713 target_debug_print_signals (arg0
);
1714 fputs_unfiltered (")\n", gdb_stdlog
);
1718 target_ops::thread_alive (ptid_t arg0
)
1720 return this->beneath ()->thread_alive (arg0
);
1724 dummy_target::thread_alive (ptid_t arg0
)
1730 debug_target::thread_alive (ptid_t arg0
)
1733 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_alive (...)\n", this->beneath ()->shortname ());
1734 result
= this->beneath ()->thread_alive (arg0
);
1735 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_alive (", this->beneath ()->shortname ());
1736 target_debug_print_ptid_t (arg0
);
1737 fputs_unfiltered (") = ", gdb_stdlog
);
1738 target_debug_print_bool (result
);
1739 fputs_unfiltered ("\n", gdb_stdlog
);
1744 target_ops::update_thread_list ()
1746 this->beneath ()->update_thread_list ();
1750 dummy_target::update_thread_list ()
1755 debug_target::update_thread_list ()
1757 fprintf_unfiltered (gdb_stdlog
, "-> %s->update_thread_list (...)\n", this->beneath ()->shortname ());
1758 this->beneath ()->update_thread_list ();
1759 fprintf_unfiltered (gdb_stdlog
, "<- %s->update_thread_list (", this->beneath ()->shortname ());
1760 fputs_unfiltered (")\n", gdb_stdlog
);
1764 target_ops::pid_to_str (ptid_t arg0
)
1766 return this->beneath ()->pid_to_str (arg0
);
1770 dummy_target::pid_to_str (ptid_t arg0
)
1772 return default_pid_to_str (this, arg0
);
1776 debug_target::pid_to_str (ptid_t arg0
)
1779 fprintf_unfiltered (gdb_stdlog
, "-> %s->pid_to_str (...)\n", this->beneath ()->shortname ());
1780 result
= this->beneath ()->pid_to_str (arg0
);
1781 fprintf_unfiltered (gdb_stdlog
, "<- %s->pid_to_str (", this->beneath ()->shortname ());
1782 target_debug_print_ptid_t (arg0
);
1783 fputs_unfiltered (") = ", gdb_stdlog
);
1784 target_debug_print_std_string (result
);
1785 fputs_unfiltered ("\n", gdb_stdlog
);
1790 target_ops::extra_thread_info (thread_info
*arg0
)
1792 return this->beneath ()->extra_thread_info (arg0
);
1796 dummy_target::extra_thread_info (thread_info
*arg0
)
1802 debug_target::extra_thread_info (thread_info
*arg0
)
1804 const char * result
;
1805 fprintf_unfiltered (gdb_stdlog
, "-> %s->extra_thread_info (...)\n", this->beneath ()->shortname ());
1806 result
= this->beneath ()->extra_thread_info (arg0
);
1807 fprintf_unfiltered (gdb_stdlog
, "<- %s->extra_thread_info (", this->beneath ()->shortname ());
1808 target_debug_print_thread_info_p (arg0
);
1809 fputs_unfiltered (") = ", gdb_stdlog
);
1810 target_debug_print_const_char_p (result
);
1811 fputs_unfiltered ("\n", gdb_stdlog
);
1816 target_ops::thread_name (thread_info
*arg0
)
1818 return this->beneath ()->thread_name (arg0
);
1822 dummy_target::thread_name (thread_info
*arg0
)
1828 debug_target::thread_name (thread_info
*arg0
)
1830 const char * result
;
1831 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_name (...)\n", this->beneath ()->shortname ());
1832 result
= this->beneath ()->thread_name (arg0
);
1833 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_name (", this->beneath ()->shortname ());
1834 target_debug_print_thread_info_p (arg0
);
1835 fputs_unfiltered (") = ", gdb_stdlog
);
1836 target_debug_print_const_char_p (result
);
1837 fputs_unfiltered ("\n", gdb_stdlog
);
1842 target_ops::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1844 return this->beneath ()->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1848 dummy_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1854 debug_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1856 thread_info
* result
;
1857 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath ()->shortname ());
1858 result
= this->beneath ()->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1859 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_handle_to_thread_info (", this->beneath ()->shortname ());
1860 target_debug_print_const_gdb_byte_p (arg0
);
1861 fputs_unfiltered (", ", gdb_stdlog
);
1862 target_debug_print_int (arg1
);
1863 fputs_unfiltered (", ", gdb_stdlog
);
1864 target_debug_print_inferior_p (arg2
);
1865 fputs_unfiltered (") = ", gdb_stdlog
);
1866 target_debug_print_thread_info_p (result
);
1867 fputs_unfiltered ("\n", gdb_stdlog
);
1872 target_ops::thread_info_to_thread_handle (struct thread_info
*arg0
)
1874 return this->beneath ()->thread_info_to_thread_handle (arg0
);
1878 dummy_target::thread_info_to_thread_handle (struct thread_info
*arg0
)
1880 return gdb::byte_vector ();
1884 debug_target::thread_info_to_thread_handle (struct thread_info
*arg0
)
1886 gdb::byte_vector result
;
1887 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_info_to_thread_handle (...)\n", this->beneath ()->shortname ());
1888 result
= this->beneath ()->thread_info_to_thread_handle (arg0
);
1889 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_info_to_thread_handle (", this->beneath ()->shortname ());
1890 target_debug_print_struct_thread_info_p (arg0
);
1891 fputs_unfiltered (") = ", gdb_stdlog
);
1892 target_debug_print_gdb_byte_vector (result
);
1893 fputs_unfiltered ("\n", gdb_stdlog
);
1898 target_ops::stop (ptid_t arg0
)
1900 this->beneath ()->stop (arg0
);
1904 dummy_target::stop (ptid_t arg0
)
1909 debug_target::stop (ptid_t arg0
)
1911 fprintf_unfiltered (gdb_stdlog
, "-> %s->stop (...)\n", this->beneath ()->shortname ());
1912 this->beneath ()->stop (arg0
);
1913 fprintf_unfiltered (gdb_stdlog
, "<- %s->stop (", this->beneath ()->shortname ());
1914 target_debug_print_ptid_t (arg0
);
1915 fputs_unfiltered (")\n", gdb_stdlog
);
1919 target_ops::interrupt ()
1921 this->beneath ()->interrupt ();
1925 dummy_target::interrupt ()
1930 debug_target::interrupt ()
1932 fprintf_unfiltered (gdb_stdlog
, "-> %s->interrupt (...)\n", this->beneath ()->shortname ());
1933 this->beneath ()->interrupt ();
1934 fprintf_unfiltered (gdb_stdlog
, "<- %s->interrupt (", this->beneath ()->shortname ());
1935 fputs_unfiltered (")\n", gdb_stdlog
);
1939 target_ops::pass_ctrlc ()
1941 this->beneath ()->pass_ctrlc ();
1945 dummy_target::pass_ctrlc ()
1947 default_target_pass_ctrlc (this);
1951 debug_target::pass_ctrlc ()
1953 fprintf_unfiltered (gdb_stdlog
, "-> %s->pass_ctrlc (...)\n", this->beneath ()->shortname ());
1954 this->beneath ()->pass_ctrlc ();
1955 fprintf_unfiltered (gdb_stdlog
, "<- %s->pass_ctrlc (", this->beneath ()->shortname ());
1956 fputs_unfiltered (")\n", gdb_stdlog
);
1960 target_ops::rcmd (const char *arg0
, struct ui_file
*arg1
)
1962 this->beneath ()->rcmd (arg0
, arg1
);
1966 dummy_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
1968 default_rcmd (this, arg0
, arg1
);
1972 debug_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
1974 fprintf_unfiltered (gdb_stdlog
, "-> %s->rcmd (...)\n", this->beneath ()->shortname ());
1975 this->beneath ()->rcmd (arg0
, arg1
);
1976 fprintf_unfiltered (gdb_stdlog
, "<- %s->rcmd (", this->beneath ()->shortname ());
1977 target_debug_print_const_char_p (arg0
);
1978 fputs_unfiltered (", ", gdb_stdlog
);
1979 target_debug_print_struct_ui_file_p (arg1
);
1980 fputs_unfiltered (")\n", gdb_stdlog
);
1984 target_ops::pid_to_exec_file (int arg0
)
1986 return this->beneath ()->pid_to_exec_file (arg0
);
1990 dummy_target::pid_to_exec_file (int arg0
)
1996 debug_target::pid_to_exec_file (int arg0
)
1999 fprintf_unfiltered (gdb_stdlog
, "-> %s->pid_to_exec_file (...)\n", this->beneath ()->shortname ());
2000 result
= this->beneath ()->pid_to_exec_file (arg0
);
2001 fprintf_unfiltered (gdb_stdlog
, "<- %s->pid_to_exec_file (", this->beneath ()->shortname ());
2002 target_debug_print_int (arg0
);
2003 fputs_unfiltered (") = ", gdb_stdlog
);
2004 target_debug_print_char_p (result
);
2005 fputs_unfiltered ("\n", gdb_stdlog
);
2010 target_ops::log_command (const char *arg0
)
2012 this->beneath ()->log_command (arg0
);
2016 dummy_target::log_command (const char *arg0
)
2021 debug_target::log_command (const char *arg0
)
2023 fprintf_unfiltered (gdb_stdlog
, "-> %s->log_command (...)\n", this->beneath ()->shortname ());
2024 this->beneath ()->log_command (arg0
);
2025 fprintf_unfiltered (gdb_stdlog
, "<- %s->log_command (", this->beneath ()->shortname ());
2026 target_debug_print_const_char_p (arg0
);
2027 fputs_unfiltered (")\n", gdb_stdlog
);
2030 const target_section_table
*
2031 target_ops::get_section_table ()
2033 return this->beneath ()->get_section_table ();
2036 const target_section_table
*
2037 dummy_target::get_section_table ()
2039 return default_get_section_table ();
2042 const target_section_table
*
2043 debug_target::get_section_table ()
2045 const target_section_table
* result
;
2046 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_section_table (...)\n", this->beneath ()->shortname ());
2047 result
= this->beneath ()->get_section_table ();
2048 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_section_table (", this->beneath ()->shortname ());
2049 fputs_unfiltered (") = ", gdb_stdlog
);
2050 target_debug_print_const_target_section_table_p (result
);
2051 fputs_unfiltered ("\n", gdb_stdlog
);
2055 thread_control_capabilities
2056 target_ops::get_thread_control_capabilities ()
2058 return this->beneath ()->get_thread_control_capabilities ();
2061 thread_control_capabilities
2062 dummy_target::get_thread_control_capabilities ()
2067 thread_control_capabilities
2068 debug_target::get_thread_control_capabilities ()
2070 thread_control_capabilities result
;
2071 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_thread_control_capabilities (...)\n", this->beneath ()->shortname ());
2072 result
= this->beneath ()->get_thread_control_capabilities ();
2073 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_thread_control_capabilities (", this->beneath ()->shortname ());
2074 fputs_unfiltered (") = ", gdb_stdlog
);
2075 target_debug_print_thread_control_capabilities (result
);
2076 fputs_unfiltered ("\n", gdb_stdlog
);
2081 target_ops::attach_no_wait ()
2083 return this->beneath ()->attach_no_wait ();
2087 dummy_target::attach_no_wait ()
2093 debug_target::attach_no_wait ()
2096 fprintf_unfiltered (gdb_stdlog
, "-> %s->attach_no_wait (...)\n", this->beneath ()->shortname ());
2097 result
= this->beneath ()->attach_no_wait ();
2098 fprintf_unfiltered (gdb_stdlog
, "<- %s->attach_no_wait (", this->beneath ()->shortname ());
2099 fputs_unfiltered (") = ", gdb_stdlog
);
2100 target_debug_print_bool (result
);
2101 fputs_unfiltered ("\n", gdb_stdlog
);
2106 target_ops::can_async_p ()
2108 return this->beneath ()->can_async_p ();
2112 dummy_target::can_async_p ()
2118 debug_target::can_async_p ()
2121 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_async_p (...)\n", this->beneath ()->shortname ());
2122 result
= this->beneath ()->can_async_p ();
2123 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_async_p (", this->beneath ()->shortname ());
2124 fputs_unfiltered (") = ", gdb_stdlog
);
2125 target_debug_print_bool (result
);
2126 fputs_unfiltered ("\n", gdb_stdlog
);
2131 target_ops::is_async_p ()
2133 return this->beneath ()->is_async_p ();
2137 dummy_target::is_async_p ()
2143 debug_target::is_async_p ()
2146 fprintf_unfiltered (gdb_stdlog
, "-> %s->is_async_p (...)\n", this->beneath ()->shortname ());
2147 result
= this->beneath ()->is_async_p ();
2148 fprintf_unfiltered (gdb_stdlog
, "<- %s->is_async_p (", this->beneath ()->shortname ());
2149 fputs_unfiltered (") = ", gdb_stdlog
);
2150 target_debug_print_bool (result
);
2151 fputs_unfiltered ("\n", gdb_stdlog
);
2156 target_ops::async (int arg0
)
2158 this->beneath ()->async (arg0
);
2162 dummy_target::async (int arg0
)
2168 debug_target::async (int arg0
)
2170 fprintf_unfiltered (gdb_stdlog
, "-> %s->async (...)\n", this->beneath ()->shortname ());
2171 this->beneath ()->async (arg0
);
2172 fprintf_unfiltered (gdb_stdlog
, "<- %s->async (", this->beneath ()->shortname ());
2173 target_debug_print_int (arg0
);
2174 fputs_unfiltered (")\n", gdb_stdlog
);
2178 target_ops::async_wait_fd ()
2180 return this->beneath ()->async_wait_fd ();
2184 dummy_target::async_wait_fd ()
2190 debug_target::async_wait_fd ()
2193 fprintf_unfiltered (gdb_stdlog
, "-> %s->async_wait_fd (...)\n", this->beneath ()->shortname ());
2194 result
= this->beneath ()->async_wait_fd ();
2195 fprintf_unfiltered (gdb_stdlog
, "<- %s->async_wait_fd (", this->beneath ()->shortname ());
2196 fputs_unfiltered (") = ", gdb_stdlog
);
2197 target_debug_print_int (result
);
2198 fputs_unfiltered ("\n", gdb_stdlog
);
2203 target_ops::has_pending_events ()
2205 return this->beneath ()->has_pending_events ();
2209 dummy_target::has_pending_events ()
2215 debug_target::has_pending_events ()
2218 fprintf_unfiltered (gdb_stdlog
, "-> %s->has_pending_events (...)\n", this->beneath ()->shortname ());
2219 result
= this->beneath ()->has_pending_events ();
2220 fprintf_unfiltered (gdb_stdlog
, "<- %s->has_pending_events (", this->beneath ()->shortname ());
2221 fputs_unfiltered (") = ", gdb_stdlog
);
2222 target_debug_print_bool (result
);
2223 fputs_unfiltered ("\n", gdb_stdlog
);
2228 target_ops::thread_events (int arg0
)
2230 this->beneath ()->thread_events (arg0
);
2234 dummy_target::thread_events (int arg0
)
2239 debug_target::thread_events (int arg0
)
2241 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_events (...)\n", this->beneath ()->shortname ());
2242 this->beneath ()->thread_events (arg0
);
2243 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_events (", this->beneath ()->shortname ());
2244 target_debug_print_int (arg0
);
2245 fputs_unfiltered (")\n", gdb_stdlog
);
2249 target_ops::supports_non_stop ()
2251 return this->beneath ()->supports_non_stop ();
2255 dummy_target::supports_non_stop ()
2261 debug_target::supports_non_stop ()
2264 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_non_stop (...)\n", this->beneath ()->shortname ());
2265 result
= this->beneath ()->supports_non_stop ();
2266 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_non_stop (", this->beneath ()->shortname ());
2267 fputs_unfiltered (") = ", gdb_stdlog
);
2268 target_debug_print_bool (result
);
2269 fputs_unfiltered ("\n", gdb_stdlog
);
2274 target_ops::always_non_stop_p ()
2276 return this->beneath ()->always_non_stop_p ();
2280 dummy_target::always_non_stop_p ()
2286 debug_target::always_non_stop_p ()
2289 fprintf_unfiltered (gdb_stdlog
, "-> %s->always_non_stop_p (...)\n", this->beneath ()->shortname ());
2290 result
= this->beneath ()->always_non_stop_p ();
2291 fprintf_unfiltered (gdb_stdlog
, "<- %s->always_non_stop_p (", this->beneath ()->shortname ());
2292 fputs_unfiltered (") = ", gdb_stdlog
);
2293 target_debug_print_bool (result
);
2294 fputs_unfiltered ("\n", gdb_stdlog
);
2299 target_ops::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2301 return this->beneath ()->find_memory_regions (arg0
, arg1
);
2305 dummy_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2307 return dummy_find_memory_regions (this, arg0
, arg1
);
2311 debug_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2314 fprintf_unfiltered (gdb_stdlog
, "-> %s->find_memory_regions (...)\n", this->beneath ()->shortname ());
2315 result
= this->beneath ()->find_memory_regions (arg0
, arg1
);
2316 fprintf_unfiltered (gdb_stdlog
, "<- %s->find_memory_regions (", this->beneath ()->shortname ());
2317 target_debug_print_find_memory_region_ftype (arg0
);
2318 fputs_unfiltered (", ", gdb_stdlog
);
2319 target_debug_print_void_p (arg1
);
2320 fputs_unfiltered (") = ", gdb_stdlog
);
2321 target_debug_print_int (result
);
2322 fputs_unfiltered ("\n", gdb_stdlog
);
2326 gdb::unique_xmalloc_ptr
<char>
2327 target_ops::make_corefile_notes (bfd
*arg0
, int *arg1
)
2329 return this->beneath ()->make_corefile_notes (arg0
, arg1
);
2332 gdb::unique_xmalloc_ptr
<char>
2333 dummy_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2335 return dummy_make_corefile_notes (this, arg0
, arg1
);
2338 gdb::unique_xmalloc_ptr
<char>
2339 debug_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2341 gdb::unique_xmalloc_ptr
<char> result
;
2342 fprintf_unfiltered (gdb_stdlog
, "-> %s->make_corefile_notes (...)\n", this->beneath ()->shortname ());
2343 result
= this->beneath ()->make_corefile_notes (arg0
, arg1
);
2344 fprintf_unfiltered (gdb_stdlog
, "<- %s->make_corefile_notes (", this->beneath ()->shortname ());
2345 target_debug_print_bfd_p (arg0
);
2346 fputs_unfiltered (", ", gdb_stdlog
);
2347 target_debug_print_int_p (arg1
);
2348 fputs_unfiltered (") = ", gdb_stdlog
);
2349 target_debug_print_gdb_unique_xmalloc_ptr_char (result
);
2350 fputs_unfiltered ("\n", gdb_stdlog
);
2355 target_ops::get_bookmark (const char *arg0
, int arg1
)
2357 return this->beneath ()->get_bookmark (arg0
, arg1
);
2361 dummy_target::get_bookmark (const char *arg0
, int arg1
)
2367 debug_target::get_bookmark (const char *arg0
, int arg1
)
2370 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_bookmark (...)\n", this->beneath ()->shortname ());
2371 result
= this->beneath ()->get_bookmark (arg0
, arg1
);
2372 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_bookmark (", this->beneath ()->shortname ());
2373 target_debug_print_const_char_p (arg0
);
2374 fputs_unfiltered (", ", gdb_stdlog
);
2375 target_debug_print_int (arg1
);
2376 fputs_unfiltered (") = ", gdb_stdlog
);
2377 target_debug_print_gdb_byte_p (result
);
2378 fputs_unfiltered ("\n", gdb_stdlog
);
2383 target_ops::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2385 this->beneath ()->goto_bookmark (arg0
, arg1
);
2389 dummy_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2395 debug_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2397 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_bookmark (...)\n", this->beneath ()->shortname ());
2398 this->beneath ()->goto_bookmark (arg0
, arg1
);
2399 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_bookmark (", this->beneath ()->shortname ());
2400 target_debug_print_const_gdb_byte_p (arg0
);
2401 fputs_unfiltered (", ", gdb_stdlog
);
2402 target_debug_print_int (arg1
);
2403 fputs_unfiltered (")\n", gdb_stdlog
);
2407 target_ops::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2409 return this->beneath ()->get_thread_local_address (arg0
, arg1
, arg2
);
2413 dummy_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2415 generic_tls_error ();
2419 debug_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2422 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_thread_local_address (...)\n", this->beneath ()->shortname ());
2423 result
= this->beneath ()->get_thread_local_address (arg0
, arg1
, arg2
);
2424 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_thread_local_address (", this->beneath ()->shortname ());
2425 target_debug_print_ptid_t (arg0
);
2426 fputs_unfiltered (", ", gdb_stdlog
);
2427 target_debug_print_CORE_ADDR (arg1
);
2428 fputs_unfiltered (", ", gdb_stdlog
);
2429 target_debug_print_CORE_ADDR (arg2
);
2430 fputs_unfiltered (") = ", gdb_stdlog
);
2431 target_debug_print_CORE_ADDR (result
);
2432 fputs_unfiltered ("\n", gdb_stdlog
);
2436 enum target_xfer_status
2437 target_ops::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2439 return this->beneath ()->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2442 enum target_xfer_status
2443 dummy_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2445 return TARGET_XFER_E_IO
;
2448 enum target_xfer_status
2449 debug_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2451 enum target_xfer_status result
;
2452 fprintf_unfiltered (gdb_stdlog
, "-> %s->xfer_partial (...)\n", this->beneath ()->shortname ());
2453 result
= this->beneath ()->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2454 fprintf_unfiltered (gdb_stdlog
, "<- %s->xfer_partial (", this->beneath ()->shortname ());
2455 target_debug_print_enum_target_object (arg0
);
2456 fputs_unfiltered (", ", gdb_stdlog
);
2457 target_debug_print_const_char_p (arg1
);
2458 fputs_unfiltered (", ", gdb_stdlog
);
2459 target_debug_print_gdb_byte_p (arg2
);
2460 fputs_unfiltered (", ", gdb_stdlog
);
2461 target_debug_print_const_gdb_byte_p (arg3
);
2462 fputs_unfiltered (", ", gdb_stdlog
);
2463 target_debug_print_ULONGEST (arg4
);
2464 fputs_unfiltered (", ", gdb_stdlog
);
2465 target_debug_print_ULONGEST (arg5
);
2466 fputs_unfiltered (", ", gdb_stdlog
);
2467 target_debug_print_ULONGEST_p (arg6
);
2468 fputs_unfiltered (") = ", gdb_stdlog
);
2469 target_debug_print_enum_target_xfer_status (result
);
2470 fputs_unfiltered ("\n", gdb_stdlog
);
2475 target_ops::get_memory_xfer_limit ()
2477 return this->beneath ()->get_memory_xfer_limit ();
2481 dummy_target::get_memory_xfer_limit ()
2483 return ULONGEST_MAX
;
2487 debug_target::get_memory_xfer_limit ()
2490 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_memory_xfer_limit (...)\n", this->beneath ()->shortname ());
2491 result
= this->beneath ()->get_memory_xfer_limit ();
2492 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_memory_xfer_limit (", this->beneath ()->shortname ());
2493 fputs_unfiltered (") = ", gdb_stdlog
);
2494 target_debug_print_ULONGEST (result
);
2495 fputs_unfiltered ("\n", gdb_stdlog
);
2499 std::vector
<mem_region
>
2500 target_ops::memory_map ()
2502 return this->beneath ()->memory_map ();
2505 std::vector
<mem_region
>
2506 dummy_target::memory_map ()
2508 return std::vector
<mem_region
> ();
2511 std::vector
<mem_region
>
2512 debug_target::memory_map ()
2514 std::vector
<mem_region
> result
;
2515 fprintf_unfiltered (gdb_stdlog
, "-> %s->memory_map (...)\n", this->beneath ()->shortname ());
2516 result
= this->beneath ()->memory_map ();
2517 fprintf_unfiltered (gdb_stdlog
, "<- %s->memory_map (", this->beneath ()->shortname ());
2518 fputs_unfiltered (") = ", gdb_stdlog
);
2519 target_debug_print_std_vector_mem_region (result
);
2520 fputs_unfiltered ("\n", gdb_stdlog
);
2525 target_ops::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2527 this->beneath ()->flash_erase (arg0
, arg1
);
2531 dummy_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2537 debug_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2539 fprintf_unfiltered (gdb_stdlog
, "-> %s->flash_erase (...)\n", this->beneath ()->shortname ());
2540 this->beneath ()->flash_erase (arg0
, arg1
);
2541 fprintf_unfiltered (gdb_stdlog
, "<- %s->flash_erase (", this->beneath ()->shortname ());
2542 target_debug_print_ULONGEST (arg0
);
2543 fputs_unfiltered (", ", gdb_stdlog
);
2544 target_debug_print_LONGEST (arg1
);
2545 fputs_unfiltered (")\n", gdb_stdlog
);
2549 target_ops::flash_done ()
2551 this->beneath ()->flash_done ();
2555 dummy_target::flash_done ()
2561 debug_target::flash_done ()
2563 fprintf_unfiltered (gdb_stdlog
, "-> %s->flash_done (...)\n", this->beneath ()->shortname ());
2564 this->beneath ()->flash_done ();
2565 fprintf_unfiltered (gdb_stdlog
, "<- %s->flash_done (", this->beneath ()->shortname ());
2566 fputs_unfiltered (")\n", gdb_stdlog
);
2569 const struct target_desc
*
2570 target_ops::read_description ()
2572 return this->beneath ()->read_description ();
2575 const struct target_desc
*
2576 dummy_target::read_description ()
2581 const struct target_desc
*
2582 debug_target::read_description ()
2584 const struct target_desc
* result
;
2585 fprintf_unfiltered (gdb_stdlog
, "-> %s->read_description (...)\n", this->beneath ()->shortname ());
2586 result
= this->beneath ()->read_description ();
2587 fprintf_unfiltered (gdb_stdlog
, "<- %s->read_description (", this->beneath ()->shortname ());
2588 fputs_unfiltered (") = ", gdb_stdlog
);
2589 target_debug_print_const_struct_target_desc_p (result
);
2590 fputs_unfiltered ("\n", gdb_stdlog
);
2595 target_ops::get_ada_task_ptid (long arg0
, long arg1
)
2597 return this->beneath ()->get_ada_task_ptid (arg0
, arg1
);
2601 dummy_target::get_ada_task_ptid (long arg0
, long arg1
)
2603 return default_get_ada_task_ptid (this, arg0
, arg1
);
2607 debug_target::get_ada_task_ptid (long arg0
, long arg1
)
2610 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_ada_task_ptid (...)\n", this->beneath ()->shortname ());
2611 result
= this->beneath ()->get_ada_task_ptid (arg0
, arg1
);
2612 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_ada_task_ptid (", this->beneath ()->shortname ());
2613 target_debug_print_long (arg0
);
2614 fputs_unfiltered (", ", gdb_stdlog
);
2615 target_debug_print_long (arg1
);
2616 fputs_unfiltered (") = ", gdb_stdlog
);
2617 target_debug_print_ptid_t (result
);
2618 fputs_unfiltered ("\n", gdb_stdlog
);
2623 target_ops::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2625 return this->beneath ()->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2629 dummy_target::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2631 return default_auxv_parse (this, arg0
, arg1
, arg2
, arg3
);
2635 debug_target::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2638 fprintf_unfiltered (gdb_stdlog
, "-> %s->auxv_parse (...)\n", this->beneath ()->shortname ());
2639 result
= this->beneath ()->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2640 fprintf_unfiltered (gdb_stdlog
, "<- %s->auxv_parse (", this->beneath ()->shortname ());
2641 target_debug_print_gdb_byte_pp (arg0
);
2642 fputs_unfiltered (", ", gdb_stdlog
);
2643 target_debug_print_gdb_byte_p (arg1
);
2644 fputs_unfiltered (", ", gdb_stdlog
);
2645 target_debug_print_CORE_ADDR_p (arg2
);
2646 fputs_unfiltered (", ", gdb_stdlog
);
2647 target_debug_print_CORE_ADDR_p (arg3
);
2648 fputs_unfiltered (") = ", gdb_stdlog
);
2649 target_debug_print_int (result
);
2650 fputs_unfiltered ("\n", gdb_stdlog
);
2655 target_ops::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2657 return this->beneath ()->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2661 dummy_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2663 return default_search_memory (this, arg0
, arg1
, arg2
, arg3
, arg4
);
2667 debug_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2670 fprintf_unfiltered (gdb_stdlog
, "-> %s->search_memory (...)\n", this->beneath ()->shortname ());
2671 result
= this->beneath ()->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2672 fprintf_unfiltered (gdb_stdlog
, "<- %s->search_memory (", this->beneath ()->shortname ());
2673 target_debug_print_CORE_ADDR (arg0
);
2674 fputs_unfiltered (", ", gdb_stdlog
);
2675 target_debug_print_ULONGEST (arg1
);
2676 fputs_unfiltered (", ", gdb_stdlog
);
2677 target_debug_print_const_gdb_byte_p (arg2
);
2678 fputs_unfiltered (", ", gdb_stdlog
);
2679 target_debug_print_ULONGEST (arg3
);
2680 fputs_unfiltered (", ", gdb_stdlog
);
2681 target_debug_print_CORE_ADDR_p (arg4
);
2682 fputs_unfiltered (") = ", gdb_stdlog
);
2683 target_debug_print_int (result
);
2684 fputs_unfiltered ("\n", gdb_stdlog
);
2689 target_ops::can_execute_reverse ()
2691 return this->beneath ()->can_execute_reverse ();
2695 dummy_target::can_execute_reverse ()
2701 debug_target::can_execute_reverse ()
2704 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_execute_reverse (...)\n", this->beneath ()->shortname ());
2705 result
= this->beneath ()->can_execute_reverse ();
2706 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_execute_reverse (", this->beneath ()->shortname ());
2707 fputs_unfiltered (") = ", gdb_stdlog
);
2708 target_debug_print_bool (result
);
2709 fputs_unfiltered ("\n", gdb_stdlog
);
2713 enum exec_direction_kind
2714 target_ops::execution_direction ()
2716 return this->beneath ()->execution_direction ();
2719 enum exec_direction_kind
2720 dummy_target::execution_direction ()
2722 return default_execution_direction (this);
2725 enum exec_direction_kind
2726 debug_target::execution_direction ()
2728 enum exec_direction_kind result
;
2729 fprintf_unfiltered (gdb_stdlog
, "-> %s->execution_direction (...)\n", this->beneath ()->shortname ());
2730 result
= this->beneath ()->execution_direction ();
2731 fprintf_unfiltered (gdb_stdlog
, "<- %s->execution_direction (", this->beneath ()->shortname ());
2732 fputs_unfiltered (") = ", gdb_stdlog
);
2733 target_debug_print_enum_exec_direction_kind (result
);
2734 fputs_unfiltered ("\n", gdb_stdlog
);
2739 target_ops::supports_multi_process ()
2741 return this->beneath ()->supports_multi_process ();
2745 dummy_target::supports_multi_process ()
2751 debug_target::supports_multi_process ()
2754 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_multi_process (...)\n", this->beneath ()->shortname ());
2755 result
= this->beneath ()->supports_multi_process ();
2756 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_multi_process (", this->beneath ()->shortname ());
2757 fputs_unfiltered (") = ", gdb_stdlog
);
2758 target_debug_print_bool (result
);
2759 fputs_unfiltered ("\n", gdb_stdlog
);
2764 target_ops::supports_enable_disable_tracepoint ()
2766 return this->beneath ()->supports_enable_disable_tracepoint ();
2770 dummy_target::supports_enable_disable_tracepoint ()
2776 debug_target::supports_enable_disable_tracepoint ()
2779 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath ()->shortname ());
2780 result
= this->beneath ()->supports_enable_disable_tracepoint ();
2781 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_enable_disable_tracepoint (", this->beneath ()->shortname ());
2782 fputs_unfiltered (") = ", gdb_stdlog
);
2783 target_debug_print_bool (result
);
2784 fputs_unfiltered ("\n", gdb_stdlog
);
2789 target_ops::supports_disable_randomization ()
2791 return this->beneath ()->supports_disable_randomization ();
2795 dummy_target::supports_disable_randomization ()
2797 return find_default_supports_disable_randomization (this);
2801 debug_target::supports_disable_randomization ()
2804 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_disable_randomization (...)\n", this->beneath ()->shortname ());
2805 result
= this->beneath ()->supports_disable_randomization ();
2806 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_disable_randomization (", this->beneath ()->shortname ());
2807 fputs_unfiltered (") = ", gdb_stdlog
);
2808 target_debug_print_bool (result
);
2809 fputs_unfiltered ("\n", gdb_stdlog
);
2814 target_ops::supports_string_tracing ()
2816 return this->beneath ()->supports_string_tracing ();
2820 dummy_target::supports_string_tracing ()
2826 debug_target::supports_string_tracing ()
2829 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_string_tracing (...)\n", this->beneath ()->shortname ());
2830 result
= this->beneath ()->supports_string_tracing ();
2831 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_string_tracing (", this->beneath ()->shortname ());
2832 fputs_unfiltered (") = ", gdb_stdlog
);
2833 target_debug_print_bool (result
);
2834 fputs_unfiltered ("\n", gdb_stdlog
);
2839 target_ops::supports_evaluation_of_breakpoint_conditions ()
2841 return this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2845 dummy_target::supports_evaluation_of_breakpoint_conditions ()
2851 debug_target::supports_evaluation_of_breakpoint_conditions ()
2854 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath ()->shortname ());
2855 result
= this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2856 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath ()->shortname ());
2857 fputs_unfiltered (") = ", gdb_stdlog
);
2858 target_debug_print_bool (result
);
2859 fputs_unfiltered ("\n", gdb_stdlog
);
2864 target_ops::supports_dumpcore ()
2866 return this->beneath ()->supports_dumpcore ();
2870 dummy_target::supports_dumpcore ()
2876 debug_target::supports_dumpcore ()
2879 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_dumpcore (...)\n", this->beneath ()->shortname ());
2880 result
= this->beneath ()->supports_dumpcore ();
2881 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_dumpcore (", this->beneath ()->shortname ());
2882 fputs_unfiltered (") = ", gdb_stdlog
);
2883 target_debug_print_bool (result
);
2884 fputs_unfiltered ("\n", gdb_stdlog
);
2889 target_ops::dumpcore (const char *arg0
)
2891 this->beneath ()->dumpcore (arg0
);
2895 dummy_target::dumpcore (const char *arg0
)
2900 debug_target::dumpcore (const char *arg0
)
2902 fprintf_unfiltered (gdb_stdlog
, "-> %s->dumpcore (...)\n", this->beneath ()->shortname ());
2903 this->beneath ()->dumpcore (arg0
);
2904 fprintf_unfiltered (gdb_stdlog
, "<- %s->dumpcore (", this->beneath ()->shortname ());
2905 target_debug_print_const_char_p (arg0
);
2906 fputs_unfiltered (")\n", gdb_stdlog
);
2910 target_ops::can_run_breakpoint_commands ()
2912 return this->beneath ()->can_run_breakpoint_commands ();
2916 dummy_target::can_run_breakpoint_commands ()
2922 debug_target::can_run_breakpoint_commands ()
2925 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath ()->shortname ());
2926 result
= this->beneath ()->can_run_breakpoint_commands ();
2927 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_run_breakpoint_commands (", this->beneath ()->shortname ());
2928 fputs_unfiltered (") = ", gdb_stdlog
);
2929 target_debug_print_bool (result
);
2930 fputs_unfiltered ("\n", gdb_stdlog
);
2935 target_ops::thread_architecture (ptid_t arg0
)
2937 return this->beneath ()->thread_architecture (arg0
);
2941 dummy_target::thread_architecture (ptid_t arg0
)
2947 debug_target::thread_architecture (ptid_t arg0
)
2949 struct gdbarch
* result
;
2950 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_architecture (...)\n", this->beneath ()->shortname ());
2951 result
= this->beneath ()->thread_architecture (arg0
);
2952 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_architecture (", this->beneath ()->shortname ());
2953 target_debug_print_ptid_t (arg0
);
2954 fputs_unfiltered (") = ", gdb_stdlog
);
2955 target_debug_print_struct_gdbarch_p (result
);
2956 fputs_unfiltered ("\n", gdb_stdlog
);
2960 struct address_space
*
2961 target_ops::thread_address_space (ptid_t arg0
)
2963 return this->beneath ()->thread_address_space (arg0
);
2966 struct address_space
*
2967 dummy_target::thread_address_space (ptid_t arg0
)
2972 struct address_space
*
2973 debug_target::thread_address_space (ptid_t arg0
)
2975 struct address_space
* result
;
2976 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_address_space (...)\n", this->beneath ()->shortname ());
2977 result
= this->beneath ()->thread_address_space (arg0
);
2978 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_address_space (", this->beneath ()->shortname ());
2979 target_debug_print_ptid_t (arg0
);
2980 fputs_unfiltered (") = ", gdb_stdlog
);
2981 target_debug_print_struct_address_space_p (result
);
2982 fputs_unfiltered ("\n", gdb_stdlog
);
2987 target_ops::filesystem_is_local ()
2989 return this->beneath ()->filesystem_is_local ();
2993 dummy_target::filesystem_is_local ()
2999 debug_target::filesystem_is_local ()
3002 fprintf_unfiltered (gdb_stdlog
, "-> %s->filesystem_is_local (...)\n", this->beneath ()->shortname ());
3003 result
= this->beneath ()->filesystem_is_local ();
3004 fprintf_unfiltered (gdb_stdlog
, "<- %s->filesystem_is_local (", this->beneath ()->shortname ());
3005 fputs_unfiltered (") = ", gdb_stdlog
);
3006 target_debug_print_bool (result
);
3007 fputs_unfiltered ("\n", gdb_stdlog
);
3012 target_ops::trace_init ()
3014 this->beneath ()->trace_init ();
3018 dummy_target::trace_init ()
3024 debug_target::trace_init ()
3026 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_init (...)\n", this->beneath ()->shortname ());
3027 this->beneath ()->trace_init ();
3028 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_init (", this->beneath ()->shortname ());
3029 fputs_unfiltered (")\n", gdb_stdlog
);
3033 target_ops::download_tracepoint (struct bp_location
*arg0
)
3035 this->beneath ()->download_tracepoint (arg0
);
3039 dummy_target::download_tracepoint (struct bp_location
*arg0
)
3045 debug_target::download_tracepoint (struct bp_location
*arg0
)
3047 fprintf_unfiltered (gdb_stdlog
, "-> %s->download_tracepoint (...)\n", this->beneath ()->shortname ());
3048 this->beneath ()->download_tracepoint (arg0
);
3049 fprintf_unfiltered (gdb_stdlog
, "<- %s->download_tracepoint (", this->beneath ()->shortname ());
3050 target_debug_print_struct_bp_location_p (arg0
);
3051 fputs_unfiltered (")\n", gdb_stdlog
);
3055 target_ops::can_download_tracepoint ()
3057 return this->beneath ()->can_download_tracepoint ();
3061 dummy_target::can_download_tracepoint ()
3067 debug_target::can_download_tracepoint ()
3070 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_download_tracepoint (...)\n", this->beneath ()->shortname ());
3071 result
= this->beneath ()->can_download_tracepoint ();
3072 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_download_tracepoint (", this->beneath ()->shortname ());
3073 fputs_unfiltered (") = ", gdb_stdlog
);
3074 target_debug_print_bool (result
);
3075 fputs_unfiltered ("\n", gdb_stdlog
);
3080 target_ops::download_trace_state_variable (const trace_state_variable
&arg0
)
3082 this->beneath ()->download_trace_state_variable (arg0
);
3086 dummy_target::download_trace_state_variable (const trace_state_variable
&arg0
)
3092 debug_target::download_trace_state_variable (const trace_state_variable
&arg0
)
3094 fprintf_unfiltered (gdb_stdlog
, "-> %s->download_trace_state_variable (...)\n", this->beneath ()->shortname ());
3095 this->beneath ()->download_trace_state_variable (arg0
);
3096 fprintf_unfiltered (gdb_stdlog
, "<- %s->download_trace_state_variable (", this->beneath ()->shortname ());
3097 target_debug_print_const_trace_state_variable_r (arg0
);
3098 fputs_unfiltered (")\n", gdb_stdlog
);
3102 target_ops::enable_tracepoint (struct bp_location
*arg0
)
3104 this->beneath ()->enable_tracepoint (arg0
);
3108 dummy_target::enable_tracepoint (struct bp_location
*arg0
)
3114 debug_target::enable_tracepoint (struct bp_location
*arg0
)
3116 fprintf_unfiltered (gdb_stdlog
, "-> %s->enable_tracepoint (...)\n", this->beneath ()->shortname ());
3117 this->beneath ()->enable_tracepoint (arg0
);
3118 fprintf_unfiltered (gdb_stdlog
, "<- %s->enable_tracepoint (", this->beneath ()->shortname ());
3119 target_debug_print_struct_bp_location_p (arg0
);
3120 fputs_unfiltered (")\n", gdb_stdlog
);
3124 target_ops::disable_tracepoint (struct bp_location
*arg0
)
3126 this->beneath ()->disable_tracepoint (arg0
);
3130 dummy_target::disable_tracepoint (struct bp_location
*arg0
)
3136 debug_target::disable_tracepoint (struct bp_location
*arg0
)
3138 fprintf_unfiltered (gdb_stdlog
, "-> %s->disable_tracepoint (...)\n", this->beneath ()->shortname ());
3139 this->beneath ()->disable_tracepoint (arg0
);
3140 fprintf_unfiltered (gdb_stdlog
, "<- %s->disable_tracepoint (", this->beneath ()->shortname ());
3141 target_debug_print_struct_bp_location_p (arg0
);
3142 fputs_unfiltered (")\n", gdb_stdlog
);
3146 target_ops::trace_set_readonly_regions ()
3148 this->beneath ()->trace_set_readonly_regions ();
3152 dummy_target::trace_set_readonly_regions ()
3158 debug_target::trace_set_readonly_regions ()
3160 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_set_readonly_regions (...)\n", this->beneath ()->shortname ());
3161 this->beneath ()->trace_set_readonly_regions ();
3162 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_set_readonly_regions (", this->beneath ()->shortname ());
3163 fputs_unfiltered (")\n", gdb_stdlog
);
3167 target_ops::trace_start ()
3169 this->beneath ()->trace_start ();
3173 dummy_target::trace_start ()
3179 debug_target::trace_start ()
3181 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_start (...)\n", this->beneath ()->shortname ());
3182 this->beneath ()->trace_start ();
3183 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_start (", this->beneath ()->shortname ());
3184 fputs_unfiltered (")\n", gdb_stdlog
);
3188 target_ops::get_trace_status (struct trace_status
*arg0
)
3190 return this->beneath ()->get_trace_status (arg0
);
3194 dummy_target::get_trace_status (struct trace_status
*arg0
)
3200 debug_target::get_trace_status (struct trace_status
*arg0
)
3203 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_trace_status (...)\n", this->beneath ()->shortname ());
3204 result
= this->beneath ()->get_trace_status (arg0
);
3205 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_trace_status (", this->beneath ()->shortname ());
3206 target_debug_print_struct_trace_status_p (arg0
);
3207 fputs_unfiltered (") = ", gdb_stdlog
);
3208 target_debug_print_int (result
);
3209 fputs_unfiltered ("\n", gdb_stdlog
);
3214 target_ops::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3216 this->beneath ()->get_tracepoint_status (arg0
, arg1
);
3220 dummy_target::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3226 debug_target::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3228 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tracepoint_status (...)\n", this->beneath ()->shortname ());
3229 this->beneath ()->get_tracepoint_status (arg0
, arg1
);
3230 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tracepoint_status (", this->beneath ()->shortname ());
3231 target_debug_print_struct_breakpoint_p (arg0
);
3232 fputs_unfiltered (", ", gdb_stdlog
);
3233 target_debug_print_struct_uploaded_tp_p (arg1
);
3234 fputs_unfiltered (")\n", gdb_stdlog
);
3238 target_ops::trace_stop ()
3240 this->beneath ()->trace_stop ();
3244 dummy_target::trace_stop ()
3250 debug_target::trace_stop ()
3252 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_stop (...)\n", this->beneath ()->shortname ());
3253 this->beneath ()->trace_stop ();
3254 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_stop (", this->beneath ()->shortname ());
3255 fputs_unfiltered (")\n", gdb_stdlog
);
3259 target_ops::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3261 return this->beneath ()->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3265 dummy_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3271 debug_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3274 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_find (...)\n", this->beneath ()->shortname ());
3275 result
= this->beneath ()->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3276 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_find (", this->beneath ()->shortname ());
3277 target_debug_print_enum_trace_find_type (arg0
);
3278 fputs_unfiltered (", ", gdb_stdlog
);
3279 target_debug_print_int (arg1
);
3280 fputs_unfiltered (", ", gdb_stdlog
);
3281 target_debug_print_CORE_ADDR (arg2
);
3282 fputs_unfiltered (", ", gdb_stdlog
);
3283 target_debug_print_CORE_ADDR (arg3
);
3284 fputs_unfiltered (", ", gdb_stdlog
);
3285 target_debug_print_int_p (arg4
);
3286 fputs_unfiltered (") = ", gdb_stdlog
);
3287 target_debug_print_int (result
);
3288 fputs_unfiltered ("\n", gdb_stdlog
);
3293 target_ops::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3295 return this->beneath ()->get_trace_state_variable_value (arg0
, arg1
);
3299 dummy_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3305 debug_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3308 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_trace_state_variable_value (...)\n", this->beneath ()->shortname ());
3309 result
= this->beneath ()->get_trace_state_variable_value (arg0
, arg1
);
3310 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_trace_state_variable_value (", this->beneath ()->shortname ());
3311 target_debug_print_int (arg0
);
3312 fputs_unfiltered (", ", gdb_stdlog
);
3313 target_debug_print_LONGEST_p (arg1
);
3314 fputs_unfiltered (") = ", gdb_stdlog
);
3315 target_debug_print_bool (result
);
3316 fputs_unfiltered ("\n", gdb_stdlog
);
3321 target_ops::save_trace_data (const char *arg0
)
3323 return this->beneath ()->save_trace_data (arg0
);
3327 dummy_target::save_trace_data (const char *arg0
)
3333 debug_target::save_trace_data (const char *arg0
)
3336 fprintf_unfiltered (gdb_stdlog
, "-> %s->save_trace_data (...)\n", this->beneath ()->shortname ());
3337 result
= this->beneath ()->save_trace_data (arg0
);
3338 fprintf_unfiltered (gdb_stdlog
, "<- %s->save_trace_data (", this->beneath ()->shortname ());
3339 target_debug_print_const_char_p (arg0
);
3340 fputs_unfiltered (") = ", gdb_stdlog
);
3341 target_debug_print_int (result
);
3342 fputs_unfiltered ("\n", gdb_stdlog
);
3347 target_ops::upload_tracepoints (struct uploaded_tp
**arg0
)
3349 return this->beneath ()->upload_tracepoints (arg0
);
3353 dummy_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3359 debug_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3362 fprintf_unfiltered (gdb_stdlog
, "-> %s->upload_tracepoints (...)\n", this->beneath ()->shortname ());
3363 result
= this->beneath ()->upload_tracepoints (arg0
);
3364 fprintf_unfiltered (gdb_stdlog
, "<- %s->upload_tracepoints (", this->beneath ()->shortname ());
3365 target_debug_print_struct_uploaded_tp_pp (arg0
);
3366 fputs_unfiltered (") = ", gdb_stdlog
);
3367 target_debug_print_int (result
);
3368 fputs_unfiltered ("\n", gdb_stdlog
);
3373 target_ops::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3375 return this->beneath ()->upload_trace_state_variables (arg0
);
3379 dummy_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3385 debug_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3388 fprintf_unfiltered (gdb_stdlog
, "-> %s->upload_trace_state_variables (...)\n", this->beneath ()->shortname ());
3389 result
= this->beneath ()->upload_trace_state_variables (arg0
);
3390 fprintf_unfiltered (gdb_stdlog
, "<- %s->upload_trace_state_variables (", this->beneath ()->shortname ());
3391 target_debug_print_struct_uploaded_tsv_pp (arg0
);
3392 fputs_unfiltered (") = ", gdb_stdlog
);
3393 target_debug_print_int (result
);
3394 fputs_unfiltered ("\n", gdb_stdlog
);
3399 target_ops::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3401 return this->beneath ()->get_raw_trace_data (arg0
, arg1
, arg2
);
3405 dummy_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3411 debug_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3414 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_raw_trace_data (...)\n", this->beneath ()->shortname ());
3415 result
= this->beneath ()->get_raw_trace_data (arg0
, arg1
, arg2
);
3416 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_raw_trace_data (", this->beneath ()->shortname ());
3417 target_debug_print_gdb_byte_p (arg0
);
3418 fputs_unfiltered (", ", gdb_stdlog
);
3419 target_debug_print_ULONGEST (arg1
);
3420 fputs_unfiltered (", ", gdb_stdlog
);
3421 target_debug_print_LONGEST (arg2
);
3422 fputs_unfiltered (") = ", gdb_stdlog
);
3423 target_debug_print_LONGEST (result
);
3424 fputs_unfiltered ("\n", gdb_stdlog
);
3429 target_ops::get_min_fast_tracepoint_insn_len ()
3431 return this->beneath ()->get_min_fast_tracepoint_insn_len ();
3435 dummy_target::get_min_fast_tracepoint_insn_len ()
3441 debug_target::get_min_fast_tracepoint_insn_len ()
3444 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath ()->shortname ());
3445 result
= this->beneath ()->get_min_fast_tracepoint_insn_len ();
3446 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath ()->shortname ());
3447 fputs_unfiltered (") = ", gdb_stdlog
);
3448 target_debug_print_int (result
);
3449 fputs_unfiltered ("\n", gdb_stdlog
);
3454 target_ops::set_disconnected_tracing (int arg0
)
3456 this->beneath ()->set_disconnected_tracing (arg0
);
3460 dummy_target::set_disconnected_tracing (int arg0
)
3465 debug_target::set_disconnected_tracing (int arg0
)
3467 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_disconnected_tracing (...)\n", this->beneath ()->shortname ());
3468 this->beneath ()->set_disconnected_tracing (arg0
);
3469 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_disconnected_tracing (", this->beneath ()->shortname ());
3470 target_debug_print_int (arg0
);
3471 fputs_unfiltered (")\n", gdb_stdlog
);
3475 target_ops::set_circular_trace_buffer (int arg0
)
3477 this->beneath ()->set_circular_trace_buffer (arg0
);
3481 dummy_target::set_circular_trace_buffer (int arg0
)
3486 debug_target::set_circular_trace_buffer (int arg0
)
3488 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_circular_trace_buffer (...)\n", this->beneath ()->shortname ());
3489 this->beneath ()->set_circular_trace_buffer (arg0
);
3490 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_circular_trace_buffer (", this->beneath ()->shortname ());
3491 target_debug_print_int (arg0
);
3492 fputs_unfiltered (")\n", gdb_stdlog
);
3496 target_ops::set_trace_buffer_size (LONGEST arg0
)
3498 this->beneath ()->set_trace_buffer_size (arg0
);
3502 dummy_target::set_trace_buffer_size (LONGEST arg0
)
3507 debug_target::set_trace_buffer_size (LONGEST arg0
)
3509 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_trace_buffer_size (...)\n", this->beneath ()->shortname ());
3510 this->beneath ()->set_trace_buffer_size (arg0
);
3511 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_trace_buffer_size (", this->beneath ()->shortname ());
3512 target_debug_print_LONGEST (arg0
);
3513 fputs_unfiltered (")\n", gdb_stdlog
);
3517 target_ops::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3519 return this->beneath ()->set_trace_notes (arg0
, arg1
, arg2
);
3523 dummy_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3529 debug_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3532 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_trace_notes (...)\n", this->beneath ()->shortname ());
3533 result
= this->beneath ()->set_trace_notes (arg0
, arg1
, arg2
);
3534 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_trace_notes (", this->beneath ()->shortname ());
3535 target_debug_print_const_char_p (arg0
);
3536 fputs_unfiltered (", ", gdb_stdlog
);
3537 target_debug_print_const_char_p (arg1
);
3538 fputs_unfiltered (", ", gdb_stdlog
);
3539 target_debug_print_const_char_p (arg2
);
3540 fputs_unfiltered (") = ", gdb_stdlog
);
3541 target_debug_print_bool (result
);
3542 fputs_unfiltered ("\n", gdb_stdlog
);
3547 target_ops::core_of_thread (ptid_t arg0
)
3549 return this->beneath ()->core_of_thread (arg0
);
3553 dummy_target::core_of_thread (ptid_t arg0
)
3559 debug_target::core_of_thread (ptid_t arg0
)
3562 fprintf_unfiltered (gdb_stdlog
, "-> %s->core_of_thread (...)\n", this->beneath ()->shortname ());
3563 result
= this->beneath ()->core_of_thread (arg0
);
3564 fprintf_unfiltered (gdb_stdlog
, "<- %s->core_of_thread (", this->beneath ()->shortname ());
3565 target_debug_print_ptid_t (arg0
);
3566 fputs_unfiltered (") = ", gdb_stdlog
);
3567 target_debug_print_int (result
);
3568 fputs_unfiltered ("\n", gdb_stdlog
);
3573 target_ops::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3575 return this->beneath ()->verify_memory (arg0
, arg1
, arg2
);
3579 dummy_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3581 return default_verify_memory (this, arg0
, arg1
, arg2
);
3585 debug_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3588 fprintf_unfiltered (gdb_stdlog
, "-> %s->verify_memory (...)\n", this->beneath ()->shortname ());
3589 result
= this->beneath ()->verify_memory (arg0
, arg1
, arg2
);
3590 fprintf_unfiltered (gdb_stdlog
, "<- %s->verify_memory (", this->beneath ()->shortname ());
3591 target_debug_print_const_gdb_byte_p (arg0
);
3592 fputs_unfiltered (", ", gdb_stdlog
);
3593 target_debug_print_CORE_ADDR (arg1
);
3594 fputs_unfiltered (", ", gdb_stdlog
);
3595 target_debug_print_ULONGEST (arg2
);
3596 fputs_unfiltered (") = ", gdb_stdlog
);
3597 target_debug_print_int (result
);
3598 fputs_unfiltered ("\n", gdb_stdlog
);
3603 target_ops::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3605 return this->beneath ()->get_tib_address (arg0
, arg1
);
3609 dummy_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3615 debug_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3618 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tib_address (...)\n", this->beneath ()->shortname ());
3619 result
= this->beneath ()->get_tib_address (arg0
, arg1
);
3620 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tib_address (", this->beneath ()->shortname ());
3621 target_debug_print_ptid_t (arg0
);
3622 fputs_unfiltered (", ", gdb_stdlog
);
3623 target_debug_print_CORE_ADDR_p (arg1
);
3624 fputs_unfiltered (") = ", gdb_stdlog
);
3625 target_debug_print_bool (result
);
3626 fputs_unfiltered ("\n", gdb_stdlog
);
3631 target_ops::set_permissions ()
3633 this->beneath ()->set_permissions ();
3637 dummy_target::set_permissions ()
3642 debug_target::set_permissions ()
3644 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_permissions (...)\n", this->beneath ()->shortname ());
3645 this->beneath ()->set_permissions ();
3646 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_permissions (", this->beneath ()->shortname ());
3647 fputs_unfiltered (")\n", gdb_stdlog
);
3651 target_ops::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3653 return this->beneath ()->static_tracepoint_marker_at (arg0
, arg1
);
3657 dummy_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3663 debug_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3666 fprintf_unfiltered (gdb_stdlog
, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath ()->shortname ());
3667 result
= this->beneath ()->static_tracepoint_marker_at (arg0
, arg1
);
3668 fprintf_unfiltered (gdb_stdlog
, "<- %s->static_tracepoint_marker_at (", this->beneath ()->shortname ());
3669 target_debug_print_CORE_ADDR (arg0
);
3670 fputs_unfiltered (", ", gdb_stdlog
);
3671 target_debug_print_static_tracepoint_marker_p (arg1
);
3672 fputs_unfiltered (") = ", gdb_stdlog
);
3673 target_debug_print_bool (result
);
3674 fputs_unfiltered ("\n", gdb_stdlog
);
3678 std::vector
<static_tracepoint_marker
>
3679 target_ops::static_tracepoint_markers_by_strid (const char *arg0
)
3681 return this->beneath ()->static_tracepoint_markers_by_strid (arg0
);
3684 std::vector
<static_tracepoint_marker
>
3685 dummy_target::static_tracepoint_markers_by_strid (const char *arg0
)
3690 std::vector
<static_tracepoint_marker
>
3691 debug_target::static_tracepoint_markers_by_strid (const char *arg0
)
3693 std::vector
<static_tracepoint_marker
> result
;
3694 fprintf_unfiltered (gdb_stdlog
, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath ()->shortname ());
3695 result
= this->beneath ()->static_tracepoint_markers_by_strid (arg0
);
3696 fprintf_unfiltered (gdb_stdlog
, "<- %s->static_tracepoint_markers_by_strid (", this->beneath ()->shortname ());
3697 target_debug_print_const_char_p (arg0
);
3698 fputs_unfiltered (") = ", gdb_stdlog
);
3699 target_debug_print_std_vector_static_tracepoint_marker (result
);
3700 fputs_unfiltered ("\n", gdb_stdlog
);
3705 target_ops::traceframe_info ()
3707 return this->beneath ()->traceframe_info ();
3711 dummy_target::traceframe_info ()
3717 debug_target::traceframe_info ()
3719 traceframe_info_up result
;
3720 fprintf_unfiltered (gdb_stdlog
, "-> %s->traceframe_info (...)\n", this->beneath ()->shortname ());
3721 result
= this->beneath ()->traceframe_info ();
3722 fprintf_unfiltered (gdb_stdlog
, "<- %s->traceframe_info (", this->beneath ()->shortname ());
3723 fputs_unfiltered (") = ", gdb_stdlog
);
3724 target_debug_print_traceframe_info_up (result
);
3725 fputs_unfiltered ("\n", gdb_stdlog
);
3730 target_ops::use_agent (bool arg0
)
3732 return this->beneath ()->use_agent (arg0
);
3736 dummy_target::use_agent (bool arg0
)
3742 debug_target::use_agent (bool arg0
)
3745 fprintf_unfiltered (gdb_stdlog
, "-> %s->use_agent (...)\n", this->beneath ()->shortname ());
3746 result
= this->beneath ()->use_agent (arg0
);
3747 fprintf_unfiltered (gdb_stdlog
, "<- %s->use_agent (", this->beneath ()->shortname ());
3748 target_debug_print_bool (arg0
);
3749 fputs_unfiltered (") = ", gdb_stdlog
);
3750 target_debug_print_bool (result
);
3751 fputs_unfiltered ("\n", gdb_stdlog
);
3756 target_ops::can_use_agent ()
3758 return this->beneath ()->can_use_agent ();
3762 dummy_target::can_use_agent ()
3768 debug_target::can_use_agent ()
3771 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_use_agent (...)\n", this->beneath ()->shortname ());
3772 result
= this->beneath ()->can_use_agent ();
3773 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_use_agent (", this->beneath ()->shortname ());
3774 fputs_unfiltered (") = ", gdb_stdlog
);
3775 target_debug_print_bool (result
);
3776 fputs_unfiltered ("\n", gdb_stdlog
);
3780 struct btrace_target_info
*
3781 target_ops::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3783 return this->beneath ()->enable_btrace (arg0
, arg1
);
3786 struct btrace_target_info
*
3787 dummy_target::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3792 struct btrace_target_info
*
3793 debug_target::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3795 struct btrace_target_info
* result
;
3796 fprintf_unfiltered (gdb_stdlog
, "-> %s->enable_btrace (...)\n", this->beneath ()->shortname ());
3797 result
= this->beneath ()->enable_btrace (arg0
, arg1
);
3798 fprintf_unfiltered (gdb_stdlog
, "<- %s->enable_btrace (", this->beneath ()->shortname ());
3799 target_debug_print_ptid_t (arg0
);
3800 fputs_unfiltered (", ", gdb_stdlog
);
3801 target_debug_print_const_struct_btrace_config_p (arg1
);
3802 fputs_unfiltered (") = ", gdb_stdlog
);
3803 target_debug_print_struct_btrace_target_info_p (result
);
3804 fputs_unfiltered ("\n", gdb_stdlog
);
3809 target_ops::disable_btrace (struct btrace_target_info
*arg0
)
3811 this->beneath ()->disable_btrace (arg0
);
3815 dummy_target::disable_btrace (struct btrace_target_info
*arg0
)
3821 debug_target::disable_btrace (struct btrace_target_info
*arg0
)
3823 fprintf_unfiltered (gdb_stdlog
, "-> %s->disable_btrace (...)\n", this->beneath ()->shortname ());
3824 this->beneath ()->disable_btrace (arg0
);
3825 fprintf_unfiltered (gdb_stdlog
, "<- %s->disable_btrace (", this->beneath ()->shortname ());
3826 target_debug_print_struct_btrace_target_info_p (arg0
);
3827 fputs_unfiltered (")\n", gdb_stdlog
);
3831 target_ops::teardown_btrace (struct btrace_target_info
*arg0
)
3833 this->beneath ()->teardown_btrace (arg0
);
3837 dummy_target::teardown_btrace (struct btrace_target_info
*arg0
)
3843 debug_target::teardown_btrace (struct btrace_target_info
*arg0
)
3845 fprintf_unfiltered (gdb_stdlog
, "-> %s->teardown_btrace (...)\n", this->beneath ()->shortname ());
3846 this->beneath ()->teardown_btrace (arg0
);
3847 fprintf_unfiltered (gdb_stdlog
, "<- %s->teardown_btrace (", this->beneath ()->shortname ());
3848 target_debug_print_struct_btrace_target_info_p (arg0
);
3849 fputs_unfiltered (")\n", gdb_stdlog
);
3853 target_ops::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3855 return this->beneath ()->read_btrace (arg0
, arg1
, arg2
);
3859 dummy_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3865 debug_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3867 enum btrace_error result
;
3868 fprintf_unfiltered (gdb_stdlog
, "-> %s->read_btrace (...)\n", this->beneath ()->shortname ());
3869 result
= this->beneath ()->read_btrace (arg0
, arg1
, arg2
);
3870 fprintf_unfiltered (gdb_stdlog
, "<- %s->read_btrace (", this->beneath ()->shortname ());
3871 target_debug_print_struct_btrace_data_p (arg0
);
3872 fputs_unfiltered (", ", gdb_stdlog
);
3873 target_debug_print_struct_btrace_target_info_p (arg1
);
3874 fputs_unfiltered (", ", gdb_stdlog
);
3875 target_debug_print_enum_btrace_read_type (arg2
);
3876 fputs_unfiltered (") = ", gdb_stdlog
);
3877 target_debug_print_enum_btrace_error (result
);
3878 fputs_unfiltered ("\n", gdb_stdlog
);
3882 const struct btrace_config
*
3883 target_ops::btrace_conf (const struct btrace_target_info
*arg0
)
3885 return this->beneath ()->btrace_conf (arg0
);
3888 const struct btrace_config
*
3889 dummy_target::btrace_conf (const struct btrace_target_info
*arg0
)
3894 const struct btrace_config
*
3895 debug_target::btrace_conf (const struct btrace_target_info
*arg0
)
3897 const struct btrace_config
* result
;
3898 fprintf_unfiltered (gdb_stdlog
, "-> %s->btrace_conf (...)\n", this->beneath ()->shortname ());
3899 result
= this->beneath ()->btrace_conf (arg0
);
3900 fprintf_unfiltered (gdb_stdlog
, "<- %s->btrace_conf (", this->beneath ()->shortname ());
3901 target_debug_print_const_struct_btrace_target_info_p (arg0
);
3902 fputs_unfiltered (") = ", gdb_stdlog
);
3903 target_debug_print_const_struct_btrace_config_p (result
);
3904 fputs_unfiltered ("\n", gdb_stdlog
);
3909 target_ops::record_method (ptid_t arg0
)
3911 return this->beneath ()->record_method (arg0
);
3915 dummy_target::record_method (ptid_t arg0
)
3917 return RECORD_METHOD_NONE
;
3921 debug_target::record_method (ptid_t arg0
)
3923 enum record_method result
;
3924 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_method (...)\n", this->beneath ()->shortname ());
3925 result
= this->beneath ()->record_method (arg0
);
3926 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_method (", this->beneath ()->shortname ());
3927 target_debug_print_ptid_t (arg0
);
3928 fputs_unfiltered (") = ", gdb_stdlog
);
3929 target_debug_print_enum_record_method (result
);
3930 fputs_unfiltered ("\n", gdb_stdlog
);
3935 target_ops::stop_recording ()
3937 this->beneath ()->stop_recording ();
3941 dummy_target::stop_recording ()
3946 debug_target::stop_recording ()
3948 fprintf_unfiltered (gdb_stdlog
, "-> %s->stop_recording (...)\n", this->beneath ()->shortname ());
3949 this->beneath ()->stop_recording ();
3950 fprintf_unfiltered (gdb_stdlog
, "<- %s->stop_recording (", this->beneath ()->shortname ());
3951 fputs_unfiltered (")\n", gdb_stdlog
);
3955 target_ops::info_record ()
3957 this->beneath ()->info_record ();
3961 dummy_target::info_record ()
3966 debug_target::info_record ()
3968 fprintf_unfiltered (gdb_stdlog
, "-> %s->info_record (...)\n", this->beneath ()->shortname ());
3969 this->beneath ()->info_record ();
3970 fprintf_unfiltered (gdb_stdlog
, "<- %s->info_record (", this->beneath ()->shortname ());
3971 fputs_unfiltered (")\n", gdb_stdlog
);
3975 target_ops::save_record (const char *arg0
)
3977 this->beneath ()->save_record (arg0
);
3981 dummy_target::save_record (const char *arg0
)
3987 debug_target::save_record (const char *arg0
)
3989 fprintf_unfiltered (gdb_stdlog
, "-> %s->save_record (...)\n", this->beneath ()->shortname ());
3990 this->beneath ()->save_record (arg0
);
3991 fprintf_unfiltered (gdb_stdlog
, "<- %s->save_record (", this->beneath ()->shortname ());
3992 target_debug_print_const_char_p (arg0
);
3993 fputs_unfiltered (")\n", gdb_stdlog
);
3997 target_ops::supports_delete_record ()
3999 return this->beneath ()->supports_delete_record ();
4003 dummy_target::supports_delete_record ()
4009 debug_target::supports_delete_record ()
4012 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_delete_record (...)\n", this->beneath ()->shortname ());
4013 result
= this->beneath ()->supports_delete_record ();
4014 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_delete_record (", this->beneath ()->shortname ());
4015 fputs_unfiltered (") = ", gdb_stdlog
);
4016 target_debug_print_bool (result
);
4017 fputs_unfiltered ("\n", gdb_stdlog
);
4022 target_ops::delete_record ()
4024 this->beneath ()->delete_record ();
4028 dummy_target::delete_record ()
4034 debug_target::delete_record ()
4036 fprintf_unfiltered (gdb_stdlog
, "-> %s->delete_record (...)\n", this->beneath ()->shortname ());
4037 this->beneath ()->delete_record ();
4038 fprintf_unfiltered (gdb_stdlog
, "<- %s->delete_record (", this->beneath ()->shortname ());
4039 fputs_unfiltered (")\n", gdb_stdlog
);
4043 target_ops::record_is_replaying (ptid_t arg0
)
4045 return this->beneath ()->record_is_replaying (arg0
);
4049 dummy_target::record_is_replaying (ptid_t arg0
)
4055 debug_target::record_is_replaying (ptid_t arg0
)
4058 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_is_replaying (...)\n", this->beneath ()->shortname ());
4059 result
= this->beneath ()->record_is_replaying (arg0
);
4060 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_is_replaying (", this->beneath ()->shortname ());
4061 target_debug_print_ptid_t (arg0
);
4062 fputs_unfiltered (") = ", gdb_stdlog
);
4063 target_debug_print_bool (result
);
4064 fputs_unfiltered ("\n", gdb_stdlog
);
4069 target_ops::record_will_replay (ptid_t arg0
, int arg1
)
4071 return this->beneath ()->record_will_replay (arg0
, arg1
);
4075 dummy_target::record_will_replay (ptid_t arg0
, int arg1
)
4081 debug_target::record_will_replay (ptid_t arg0
, int arg1
)
4084 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_will_replay (...)\n", this->beneath ()->shortname ());
4085 result
= this->beneath ()->record_will_replay (arg0
, arg1
);
4086 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_will_replay (", this->beneath ()->shortname ());
4087 target_debug_print_ptid_t (arg0
);
4088 fputs_unfiltered (", ", gdb_stdlog
);
4089 target_debug_print_int (arg1
);
4090 fputs_unfiltered (") = ", gdb_stdlog
);
4091 target_debug_print_bool (result
);
4092 fputs_unfiltered ("\n", gdb_stdlog
);
4097 target_ops::record_stop_replaying ()
4099 this->beneath ()->record_stop_replaying ();
4103 dummy_target::record_stop_replaying ()
4108 debug_target::record_stop_replaying ()
4110 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_stop_replaying (...)\n", this->beneath ()->shortname ());
4111 this->beneath ()->record_stop_replaying ();
4112 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_stop_replaying (", this->beneath ()->shortname ());
4113 fputs_unfiltered (")\n", gdb_stdlog
);
4117 target_ops::goto_record_begin ()
4119 this->beneath ()->goto_record_begin ();
4123 dummy_target::goto_record_begin ()
4129 debug_target::goto_record_begin ()
4131 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record_begin (...)\n", this->beneath ()->shortname ());
4132 this->beneath ()->goto_record_begin ();
4133 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record_begin (", this->beneath ()->shortname ());
4134 fputs_unfiltered (")\n", gdb_stdlog
);
4138 target_ops::goto_record_end ()
4140 this->beneath ()->goto_record_end ();
4144 dummy_target::goto_record_end ()
4150 debug_target::goto_record_end ()
4152 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record_end (...)\n", this->beneath ()->shortname ());
4153 this->beneath ()->goto_record_end ();
4154 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record_end (", this->beneath ()->shortname ());
4155 fputs_unfiltered (")\n", gdb_stdlog
);
4159 target_ops::goto_record (ULONGEST arg0
)
4161 this->beneath ()->goto_record (arg0
);
4165 dummy_target::goto_record (ULONGEST arg0
)
4171 debug_target::goto_record (ULONGEST arg0
)
4173 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record (...)\n", this->beneath ()->shortname ());
4174 this->beneath ()->goto_record (arg0
);
4175 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record (", this->beneath ()->shortname ());
4176 target_debug_print_ULONGEST (arg0
);
4177 fputs_unfiltered (")\n", gdb_stdlog
);
4181 target_ops::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4183 this->beneath ()->insn_history (arg0
, arg1
);
4187 dummy_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4193 debug_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4195 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history (...)\n", this->beneath ()->shortname ());
4196 this->beneath ()->insn_history (arg0
, arg1
);
4197 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history (", this->beneath ()->shortname ());
4198 target_debug_print_int (arg0
);
4199 fputs_unfiltered (", ", gdb_stdlog
);
4200 target_debug_print_gdb_disassembly_flags (arg1
);
4201 fputs_unfiltered (")\n", gdb_stdlog
);
4205 target_ops::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4207 this->beneath ()->insn_history_from (arg0
, arg1
, arg2
);
4211 dummy_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4217 debug_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4219 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history_from (...)\n", this->beneath ()->shortname ());
4220 this->beneath ()->insn_history_from (arg0
, arg1
, arg2
);
4221 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history_from (", this->beneath ()->shortname ());
4222 target_debug_print_ULONGEST (arg0
);
4223 fputs_unfiltered (", ", gdb_stdlog
);
4224 target_debug_print_int (arg1
);
4225 fputs_unfiltered (", ", gdb_stdlog
);
4226 target_debug_print_gdb_disassembly_flags (arg2
);
4227 fputs_unfiltered (")\n", gdb_stdlog
);
4231 target_ops::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4233 this->beneath ()->insn_history_range (arg0
, arg1
, arg2
);
4237 dummy_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4243 debug_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4245 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history_range (...)\n", this->beneath ()->shortname ());
4246 this->beneath ()->insn_history_range (arg0
, arg1
, arg2
);
4247 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history_range (", this->beneath ()->shortname ());
4248 target_debug_print_ULONGEST (arg0
);
4249 fputs_unfiltered (", ", gdb_stdlog
);
4250 target_debug_print_ULONGEST (arg1
);
4251 fputs_unfiltered (", ", gdb_stdlog
);
4252 target_debug_print_gdb_disassembly_flags (arg2
);
4253 fputs_unfiltered (")\n", gdb_stdlog
);
4257 target_ops::call_history (int arg0
, record_print_flags arg1
)
4259 this->beneath ()->call_history (arg0
, arg1
);
4263 dummy_target::call_history (int arg0
, record_print_flags arg1
)
4269 debug_target::call_history (int arg0
, record_print_flags arg1
)
4271 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history (...)\n", this->beneath ()->shortname ());
4272 this->beneath ()->call_history (arg0
, arg1
);
4273 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history (", this->beneath ()->shortname ());
4274 target_debug_print_int (arg0
);
4275 fputs_unfiltered (", ", gdb_stdlog
);
4276 target_debug_print_record_print_flags (arg1
);
4277 fputs_unfiltered (")\n", gdb_stdlog
);
4281 target_ops::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4283 this->beneath ()->call_history_from (arg0
, arg1
, arg2
);
4287 dummy_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4293 debug_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4295 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history_from (...)\n", this->beneath ()->shortname ());
4296 this->beneath ()->call_history_from (arg0
, arg1
, arg2
);
4297 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history_from (", this->beneath ()->shortname ());
4298 target_debug_print_ULONGEST (arg0
);
4299 fputs_unfiltered (", ", gdb_stdlog
);
4300 target_debug_print_int (arg1
);
4301 fputs_unfiltered (", ", gdb_stdlog
);
4302 target_debug_print_record_print_flags (arg2
);
4303 fputs_unfiltered (")\n", gdb_stdlog
);
4307 target_ops::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4309 this->beneath ()->call_history_range (arg0
, arg1
, arg2
);
4313 dummy_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4319 debug_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4321 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history_range (...)\n", this->beneath ()->shortname ());
4322 this->beneath ()->call_history_range (arg0
, arg1
, arg2
);
4323 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history_range (", this->beneath ()->shortname ());
4324 target_debug_print_ULONGEST (arg0
);
4325 fputs_unfiltered (", ", gdb_stdlog
);
4326 target_debug_print_ULONGEST (arg1
);
4327 fputs_unfiltered (", ", gdb_stdlog
);
4328 target_debug_print_record_print_flags (arg2
);
4329 fputs_unfiltered (")\n", gdb_stdlog
);
4333 target_ops::augmented_libraries_svr4_read ()
4335 return this->beneath ()->augmented_libraries_svr4_read ();
4339 dummy_target::augmented_libraries_svr4_read ()
4345 debug_target::augmented_libraries_svr4_read ()
4348 fprintf_unfiltered (gdb_stdlog
, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath ()->shortname ());
4349 result
= this->beneath ()->augmented_libraries_svr4_read ();
4350 fprintf_unfiltered (gdb_stdlog
, "<- %s->augmented_libraries_svr4_read (", this->beneath ()->shortname ());
4351 fputs_unfiltered (") = ", gdb_stdlog
);
4352 target_debug_print_bool (result
);
4353 fputs_unfiltered ("\n", gdb_stdlog
);
4357 const struct frame_unwind
*
4358 target_ops::get_unwinder ()
4360 return this->beneath ()->get_unwinder ();
4363 const struct frame_unwind
*
4364 dummy_target::get_unwinder ()
4369 const struct frame_unwind
*
4370 debug_target::get_unwinder ()
4372 const struct frame_unwind
* result
;
4373 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_unwinder (...)\n", this->beneath ()->shortname ());
4374 result
= this->beneath ()->get_unwinder ();
4375 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_unwinder (", this->beneath ()->shortname ());
4376 fputs_unfiltered (") = ", gdb_stdlog
);
4377 target_debug_print_const_struct_frame_unwind_p (result
);
4378 fputs_unfiltered ("\n", gdb_stdlog
);
4382 const struct frame_unwind
*
4383 target_ops::get_tailcall_unwinder ()
4385 return this->beneath ()->get_tailcall_unwinder ();
4388 const struct frame_unwind
*
4389 dummy_target::get_tailcall_unwinder ()
4394 const struct frame_unwind
*
4395 debug_target::get_tailcall_unwinder ()
4397 const struct frame_unwind
* result
;
4398 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tailcall_unwinder (...)\n", this->beneath ()->shortname ());
4399 result
= this->beneath ()->get_tailcall_unwinder ();
4400 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tailcall_unwinder (", this->beneath ()->shortname ());
4401 fputs_unfiltered (") = ", gdb_stdlog
);
4402 target_debug_print_const_struct_frame_unwind_p (result
);
4403 fputs_unfiltered ("\n", gdb_stdlog
);
4408 target_ops::prepare_to_generate_core ()
4410 this->beneath ()->prepare_to_generate_core ();
4414 dummy_target::prepare_to_generate_core ()
4419 debug_target::prepare_to_generate_core ()
4421 fprintf_unfiltered (gdb_stdlog
, "-> %s->prepare_to_generate_core (...)\n", this->beneath ()->shortname ());
4422 this->beneath ()->prepare_to_generate_core ();
4423 fprintf_unfiltered (gdb_stdlog
, "<- %s->prepare_to_generate_core (", this->beneath ()->shortname ());
4424 fputs_unfiltered (")\n", gdb_stdlog
);
4428 target_ops::done_generating_core ()
4430 this->beneath ()->done_generating_core ();
4434 dummy_target::done_generating_core ()
4439 debug_target::done_generating_core ()
4441 fprintf_unfiltered (gdb_stdlog
, "-> %s->done_generating_core (...)\n", this->beneath ()->shortname ());
4442 this->beneath ()->done_generating_core ();
4443 fprintf_unfiltered (gdb_stdlog
, "<- %s->done_generating_core (", this->beneath ()->shortname ());
4444 fputs_unfiltered (")\n", gdb_stdlog
);
4448 target_ops::supports_memory_tagging ()
4450 return this->beneath ()->supports_memory_tagging ();
4454 dummy_target::supports_memory_tagging ()
4460 debug_target::supports_memory_tagging ()
4463 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_memory_tagging (...)\n", this->beneath ()->shortname ());
4464 result
= this->beneath ()->supports_memory_tagging ();
4465 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_memory_tagging (", this->beneath ()->shortname ());
4466 fputs_unfiltered (") = ", gdb_stdlog
);
4467 target_debug_print_bool (result
);
4468 fputs_unfiltered ("\n", gdb_stdlog
);
4473 target_ops::fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
)
4475 return this->beneath ()->fetch_memtags (arg0
, arg1
, arg2
, arg3
);
4479 dummy_target::fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
)
4485 debug_target::fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
)
4488 fprintf_unfiltered (gdb_stdlog
, "-> %s->fetch_memtags (...)\n", this->beneath ()->shortname ());
4489 result
= this->beneath ()->fetch_memtags (arg0
, arg1
, arg2
, arg3
);
4490 fprintf_unfiltered (gdb_stdlog
, "<- %s->fetch_memtags (", this->beneath ()->shortname ());
4491 target_debug_print_CORE_ADDR (arg0
);
4492 fputs_unfiltered (", ", gdb_stdlog
);
4493 target_debug_print_size_t (arg1
);
4494 fputs_unfiltered (", ", gdb_stdlog
);
4495 target_debug_print_gdb_byte_vector_r (arg2
);
4496 fputs_unfiltered (", ", gdb_stdlog
);
4497 target_debug_print_int (arg3
);
4498 fputs_unfiltered (") = ", gdb_stdlog
);
4499 target_debug_print_bool (result
);
4500 fputs_unfiltered ("\n", gdb_stdlog
);
4505 target_ops::store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
)
4507 return this->beneath ()->store_memtags (arg0
, arg1
, arg2
, arg3
);
4511 dummy_target::store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
)
4517 debug_target::store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
)
4520 fprintf_unfiltered (gdb_stdlog
, "-> %s->store_memtags (...)\n", this->beneath ()->shortname ());
4521 result
= this->beneath ()->store_memtags (arg0
, arg1
, arg2
, arg3
);
4522 fprintf_unfiltered (gdb_stdlog
, "<- %s->store_memtags (", this->beneath ()->shortname ());
4523 target_debug_print_CORE_ADDR (arg0
);
4524 fputs_unfiltered (", ", gdb_stdlog
);
4525 target_debug_print_size_t (arg1
);
4526 fputs_unfiltered (", ", gdb_stdlog
);
4527 target_debug_print_const_gdb_byte_vector_r (arg2
);
4528 fputs_unfiltered (", ", gdb_stdlog
);
4529 target_debug_print_int (arg3
);
4530 fputs_unfiltered (") = ", gdb_stdlog
);
4531 target_debug_print_bool (result
);
4532 fputs_unfiltered ("\n", gdb_stdlog
);