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
11 const char *shortname () override
;
12 const char *longname () override
;
13 const char *doc () override
;
15 void post_attach (int arg0
) override
;
16 void detach (inferior
*arg0
, int arg1
) override
;
17 void disconnect (const char *arg0
, int arg1
) override
;
18 void resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
) override
;
19 void commit_resume () override
;
20 ptid_t
wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
) override
;
21 void fetch_registers (struct regcache
*arg0
, int arg1
) override
;
22 void store_registers (struct regcache
*arg0
, int arg1
) override
;
23 void prepare_to_store (struct regcache
*arg0
) override
;
24 void files_info () override
;
25 int insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
26 int remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
) override
;
27 bool stopped_by_sw_breakpoint () override
;
28 bool supports_stopped_by_sw_breakpoint () override
;
29 bool stopped_by_hw_breakpoint () override
;
30 bool supports_stopped_by_hw_breakpoint () override
;
31 int can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
) override
;
32 int ranged_break_num_registers () override
;
33 int insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
34 int remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
35 int remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
36 int insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
37 int insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
38 int remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
39 bool stopped_by_watchpoint () override
;
40 int have_steppable_watchpoint () override
;
41 bool have_continuable_watchpoint () override
;
42 bool stopped_data_address (CORE_ADDR
*arg0
) override
;
43 bool watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
) override
;
44 int region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
) override
;
45 bool can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
) override
;
46 int masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
) override
;
47 int can_do_single_step () override
;
48 bool supports_terminal_ours () override
;
49 void terminal_init () override
;
50 void terminal_inferior () override
;
51 void terminal_save_inferior () override
;
52 void terminal_ours_for_output () override
;
53 void terminal_ours () override
;
54 void terminal_info (const char *arg0
, int arg1
) override
;
55 void kill () override
;
56 void load (const char *arg0
, int arg1
) override
;
57 void post_startup_inferior (ptid_t arg0
) override
;
58 int insert_fork_catchpoint (int arg0
) override
;
59 int remove_fork_catchpoint (int arg0
) override
;
60 int insert_vfork_catchpoint (int arg0
) override
;
61 int remove_vfork_catchpoint (int arg0
) override
;
62 int follow_fork (int arg0
, int arg1
) override
;
63 int insert_exec_catchpoint (int arg0
) override
;
64 int remove_exec_catchpoint (int arg0
) override
;
65 void follow_exec (struct inferior
*arg0
, char *arg1
) override
;
66 int set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
) override
;
67 void mourn_inferior () override
;
68 void pass_signals (int arg0
, unsigned char * arg1
) override
;
69 void program_signals (int arg0
, unsigned char * arg1
) override
;
70 bool thread_alive (ptid_t arg0
) override
;
71 void update_thread_list () override
;
72 const char *pid_to_str (ptid_t arg0
) override
;
73 const char *extra_thread_info (thread_info
*arg0
) override
;
74 const char *thread_name (thread_info
*arg0
) override
;
75 thread_info
*thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
) override
;
76 void stop (ptid_t arg0
) override
;
77 void interrupt () override
;
78 void pass_ctrlc () override
;
79 void rcmd (const char *arg0
, struct ui_file
*arg1
) override
;
80 char *pid_to_exec_file (int arg0
) override
;
81 void log_command (const char *arg0
) override
;
82 struct target_section_table
*get_section_table () override
;
83 thread_control_capabilities
get_thread_control_capabilities () override
;
84 bool attach_no_wait () override
;
85 bool can_async_p () override
;
86 bool is_async_p () override
;
87 void async (int arg0
) 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 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 can_run_breakpoint_commands () override
;
113 struct gdbarch
*thread_architecture (ptid_t arg0
) override
;
114 struct address_space
*thread_address_space (ptid_t arg0
) override
;
115 bool filesystem_is_local () override
;
116 void trace_init () override
;
117 void download_tracepoint (struct bp_location
*arg0
) override
;
118 bool can_download_tracepoint () override
;
119 void download_trace_state_variable (const trace_state_variable
&arg0
) override
;
120 void enable_tracepoint (struct bp_location
*arg0
) override
;
121 void disable_tracepoint (struct bp_location
*arg0
) override
;
122 void trace_set_readonly_regions () override
;
123 void trace_start () override
;
124 int get_trace_status (struct trace_status
*arg0
) override
;
125 void get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
) override
;
126 void trace_stop () override
;
127 int trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
) override
;
128 bool get_trace_state_variable_value (int arg0
, LONGEST
*arg1
) override
;
129 int save_trace_data (const char *arg0
) override
;
130 int upload_tracepoints (struct uploaded_tp
**arg0
) override
;
131 int upload_trace_state_variables (struct uploaded_tsv
**arg0
) override
;
132 LONGEST
get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
) override
;
133 int get_min_fast_tracepoint_insn_len () override
;
134 void set_disconnected_tracing (int arg0
) override
;
135 void set_circular_trace_buffer (int arg0
) override
;
136 void set_trace_buffer_size (LONGEST arg0
) override
;
137 bool set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
) override
;
138 int core_of_thread (ptid_t arg0
) override
;
139 int verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
) override
;
140 bool get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
) override
;
141 void set_permissions () override
;
142 bool static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
) override
;
143 std::vector
<static_tracepoint_marker
> static_tracepoint_markers_by_strid (const char *arg0
) override
;
144 traceframe_info_up
traceframe_info () override
;
145 bool use_agent (bool arg0
) override
;
146 bool can_use_agent () override
;
147 struct btrace_target_info
*enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
) override
;
148 void disable_btrace (struct btrace_target_info
*arg0
) override
;
149 void teardown_btrace (struct btrace_target_info
*arg0
) override
;
150 enum btrace_error
read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
) override
;
151 const struct btrace_config
*btrace_conf (const struct btrace_target_info
*arg0
) override
;
152 enum record_method
record_method (ptid_t arg0
) override
;
153 void stop_recording () override
;
154 void info_record () override
;
155 void save_record (const char *arg0
) override
;
156 bool supports_delete_record () override
;
157 void delete_record () override
;
158 bool record_is_replaying (ptid_t arg0
) override
;
159 bool record_will_replay (ptid_t arg0
, int arg1
) override
;
160 void record_stop_replaying () override
;
161 void goto_record_begin () override
;
162 void goto_record_end () override
;
163 void goto_record (ULONGEST arg0
) override
;
164 void insn_history (int arg0
, gdb_disassembly_flags arg1
) override
;
165 void insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
) override
;
166 void insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
) override
;
167 void call_history (int arg0
, record_print_flags arg1
) override
;
168 void call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
) override
;
169 void call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
) override
;
170 bool augmented_libraries_svr4_read () override
;
171 const struct frame_unwind
*get_unwinder () override
;
172 const struct frame_unwind
*get_tailcall_unwinder () override
;
173 void prepare_to_generate_core () override
;
174 void done_generating_core () override
;
177 struct debug_target
: public target_ops
181 const char *shortname () override
;
182 const char *longname () override
;
183 const char *doc () override
;
185 void post_attach (int arg0
) override
;
186 void detach (inferior
*arg0
, int arg1
) override
;
187 void disconnect (const char *arg0
, int arg1
) override
;
188 void resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
) override
;
189 void commit_resume () override
;
190 ptid_t
wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
) override
;
191 void fetch_registers (struct regcache
*arg0
, int arg1
) override
;
192 void store_registers (struct regcache
*arg0
, int arg1
) override
;
193 void prepare_to_store (struct regcache
*arg0
) override
;
194 void files_info () override
;
195 int insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
196 int remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
) override
;
197 bool stopped_by_sw_breakpoint () override
;
198 bool supports_stopped_by_sw_breakpoint () override
;
199 bool stopped_by_hw_breakpoint () override
;
200 bool supports_stopped_by_hw_breakpoint () override
;
201 int can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
) override
;
202 int ranged_break_num_registers () override
;
203 int insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
204 int remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
205 int remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
206 int insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
207 int insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
208 int remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
209 bool stopped_by_watchpoint () override
;
210 int have_steppable_watchpoint () override
;
211 bool have_continuable_watchpoint () override
;
212 bool stopped_data_address (CORE_ADDR
*arg0
) override
;
213 bool watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
) override
;
214 int region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
) override
;
215 bool can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
) override
;
216 int masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
) override
;
217 int can_do_single_step () override
;
218 bool supports_terminal_ours () override
;
219 void terminal_init () override
;
220 void terminal_inferior () override
;
221 void terminal_save_inferior () override
;
222 void terminal_ours_for_output () override
;
223 void terminal_ours () override
;
224 void terminal_info (const char *arg0
, int arg1
) override
;
225 void kill () override
;
226 void load (const char *arg0
, int arg1
) override
;
227 void post_startup_inferior (ptid_t arg0
) override
;
228 int insert_fork_catchpoint (int arg0
) override
;
229 int remove_fork_catchpoint (int arg0
) override
;
230 int insert_vfork_catchpoint (int arg0
) override
;
231 int remove_vfork_catchpoint (int arg0
) override
;
232 int follow_fork (int arg0
, int arg1
) override
;
233 int insert_exec_catchpoint (int arg0
) override
;
234 int remove_exec_catchpoint (int arg0
) override
;
235 void follow_exec (struct inferior
*arg0
, char *arg1
) override
;
236 int set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
) override
;
237 void mourn_inferior () override
;
238 void pass_signals (int arg0
, unsigned char * arg1
) override
;
239 void program_signals (int arg0
, unsigned char * arg1
) override
;
240 bool thread_alive (ptid_t arg0
) override
;
241 void update_thread_list () override
;
242 const char *pid_to_str (ptid_t arg0
) override
;
243 const char *extra_thread_info (thread_info
*arg0
) override
;
244 const char *thread_name (thread_info
*arg0
) override
;
245 thread_info
*thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
) override
;
246 void stop (ptid_t arg0
) override
;
247 void interrupt () override
;
248 void pass_ctrlc () override
;
249 void rcmd (const char *arg0
, struct ui_file
*arg1
) override
;
250 char *pid_to_exec_file (int arg0
) override
;
251 void log_command (const char *arg0
) override
;
252 struct target_section_table
*get_section_table () override
;
253 thread_control_capabilities
get_thread_control_capabilities () override
;
254 bool attach_no_wait () override
;
255 bool can_async_p () override
;
256 bool is_async_p () override
;
257 void async (int arg0
) override
;
258 void thread_events (int arg0
) override
;
259 bool supports_non_stop () override
;
260 bool always_non_stop_p () override
;
261 int find_memory_regions (find_memory_region_ftype arg0
, void *arg1
) override
;
262 char *make_corefile_notes (bfd
*arg0
, int *arg1
) override
;
263 gdb_byte
*get_bookmark (const char *arg0
, int arg1
) override
;
264 void goto_bookmark (const gdb_byte
*arg0
, int arg1
) override
;
265 CORE_ADDR
get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
) override
;
266 enum target_xfer_status
xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
) override
;
267 ULONGEST
get_memory_xfer_limit () override
;
268 std::vector
<mem_region
> memory_map () override
;
269 void flash_erase (ULONGEST arg0
, LONGEST arg1
) override
;
270 void flash_done () override
;
271 const struct target_desc
*read_description () override
;
272 ptid_t
get_ada_task_ptid (long arg0
, long arg1
) override
;
273 int auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
) override
;
274 int search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
) override
;
275 bool can_execute_reverse () override
;
276 enum exec_direction_kind
execution_direction () override
;
277 bool supports_multi_process () override
;
278 bool supports_enable_disable_tracepoint () override
;
279 bool supports_disable_randomization () override
;
280 bool supports_string_tracing () override
;
281 bool supports_evaluation_of_breakpoint_conditions () override
;
282 bool can_run_breakpoint_commands () override
;
283 struct gdbarch
*thread_architecture (ptid_t arg0
) override
;
284 struct address_space
*thread_address_space (ptid_t arg0
) override
;
285 bool filesystem_is_local () override
;
286 void trace_init () override
;
287 void download_tracepoint (struct bp_location
*arg0
) override
;
288 bool can_download_tracepoint () override
;
289 void download_trace_state_variable (const trace_state_variable
&arg0
) override
;
290 void enable_tracepoint (struct bp_location
*arg0
) override
;
291 void disable_tracepoint (struct bp_location
*arg0
) override
;
292 void trace_set_readonly_regions () override
;
293 void trace_start () override
;
294 int get_trace_status (struct trace_status
*arg0
) override
;
295 void get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
) override
;
296 void trace_stop () override
;
297 int trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
) override
;
298 bool get_trace_state_variable_value (int arg0
, LONGEST
*arg1
) override
;
299 int save_trace_data (const char *arg0
) override
;
300 int upload_tracepoints (struct uploaded_tp
**arg0
) override
;
301 int upload_trace_state_variables (struct uploaded_tsv
**arg0
) override
;
302 LONGEST
get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
) override
;
303 int get_min_fast_tracepoint_insn_len () override
;
304 void set_disconnected_tracing (int arg0
) override
;
305 void set_circular_trace_buffer (int arg0
) override
;
306 void set_trace_buffer_size (LONGEST arg0
) override
;
307 bool set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
) override
;
308 int core_of_thread (ptid_t arg0
) override
;
309 int verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
) override
;
310 bool get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
) override
;
311 void set_permissions () override
;
312 bool static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
) override
;
313 std::vector
<static_tracepoint_marker
> static_tracepoint_markers_by_strid (const char *arg0
) override
;
314 traceframe_info_up
traceframe_info () override
;
315 bool use_agent (bool arg0
) override
;
316 bool can_use_agent () override
;
317 struct btrace_target_info
*enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
) override
;
318 void disable_btrace (struct btrace_target_info
*arg0
) override
;
319 void teardown_btrace (struct btrace_target_info
*arg0
) override
;
320 enum btrace_error
read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
) override
;
321 const struct btrace_config
*btrace_conf (const struct btrace_target_info
*arg0
) override
;
322 enum record_method
record_method (ptid_t arg0
) override
;
323 void stop_recording () override
;
324 void info_record () override
;
325 void save_record (const char *arg0
) override
;
326 bool supports_delete_record () override
;
327 void delete_record () override
;
328 bool record_is_replaying (ptid_t arg0
) override
;
329 bool record_will_replay (ptid_t arg0
, int arg1
) override
;
330 void record_stop_replaying () override
;
331 void goto_record_begin () override
;
332 void goto_record_end () override
;
333 void goto_record (ULONGEST arg0
) override
;
334 void insn_history (int arg0
, gdb_disassembly_flags arg1
) override
;
335 void insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
) override
;
336 void insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
) override
;
337 void call_history (int arg0
, record_print_flags arg1
) override
;
338 void call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
) override
;
339 void call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
) override
;
340 bool augmented_libraries_svr4_read () override
;
341 const struct frame_unwind
*get_unwinder () override
;
342 const struct frame_unwind
*get_tailcall_unwinder () override
;
343 void prepare_to_generate_core () override
;
344 void done_generating_core () override
;
348 target_ops::post_attach (int arg0
)
350 this->beneath
->post_attach (arg0
);
354 dummy_target::post_attach (int arg0
)
359 debug_target::post_attach (int arg0
)
361 fprintf_unfiltered (gdb_stdlog
, "-> %s->post_attach (...)\n", this->beneath
->shortname ());
362 this->beneath
->post_attach (arg0
);
363 fprintf_unfiltered (gdb_stdlog
, "<- %s->post_attach (", this->beneath
->shortname ());
364 target_debug_print_int (arg0
);
365 fputs_unfiltered (")\n", gdb_stdlog
);
369 target_ops::detach (inferior
*arg0
, int arg1
)
371 this->beneath
->detach (arg0
, arg1
);
375 dummy_target::detach (inferior
*arg0
, int arg1
)
380 debug_target::detach (inferior
*arg0
, int arg1
)
382 fprintf_unfiltered (gdb_stdlog
, "-> %s->detach (...)\n", this->beneath
->shortname ());
383 this->beneath
->detach (arg0
, arg1
);
384 fprintf_unfiltered (gdb_stdlog
, "<- %s->detach (", this->beneath
->shortname ());
385 target_debug_print_inferior_p (arg0
);
386 fputs_unfiltered (", ", gdb_stdlog
);
387 target_debug_print_int (arg1
);
388 fputs_unfiltered (")\n", gdb_stdlog
);
392 target_ops::disconnect (const char *arg0
, int arg1
)
394 this->beneath
->disconnect (arg0
, arg1
);
398 dummy_target::disconnect (const char *arg0
, int arg1
)
404 debug_target::disconnect (const char *arg0
, int arg1
)
406 fprintf_unfiltered (gdb_stdlog
, "-> %s->disconnect (...)\n", this->beneath
->shortname ());
407 this->beneath
->disconnect (arg0
, arg1
);
408 fprintf_unfiltered (gdb_stdlog
, "<- %s->disconnect (", this->beneath
->shortname ());
409 target_debug_print_const_char_p (arg0
);
410 fputs_unfiltered (", ", gdb_stdlog
);
411 target_debug_print_int (arg1
);
412 fputs_unfiltered (")\n", gdb_stdlog
);
416 target_ops::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
418 this->beneath
->resume (arg0
, arg1
, arg2
);
422 dummy_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
428 debug_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
430 fprintf_unfiltered (gdb_stdlog
, "-> %s->resume (...)\n", this->beneath
->shortname ());
431 this->beneath
->resume (arg0
, arg1
, arg2
);
432 fprintf_unfiltered (gdb_stdlog
, "<- %s->resume (", this->beneath
->shortname ());
433 target_debug_print_ptid_t (arg0
);
434 fputs_unfiltered (", ", gdb_stdlog
);
435 target_debug_print_step (arg1
);
436 fputs_unfiltered (", ", gdb_stdlog
);
437 target_debug_print_enum_gdb_signal (arg2
);
438 fputs_unfiltered (")\n", gdb_stdlog
);
442 target_ops::commit_resume ()
444 this->beneath
->commit_resume ();
448 dummy_target::commit_resume ()
453 debug_target::commit_resume ()
455 fprintf_unfiltered (gdb_stdlog
, "-> %s->commit_resume (...)\n", this->beneath
->shortname ());
456 this->beneath
->commit_resume ();
457 fprintf_unfiltered (gdb_stdlog
, "<- %s->commit_resume (", this->beneath
->shortname ());
458 fputs_unfiltered (")\n", gdb_stdlog
);
462 target_ops::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
)
464 return this->beneath
->wait (arg0
, arg1
, arg2
);
468 dummy_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
)
470 return default_target_wait (this, arg0
, arg1
, arg2
);
474 debug_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, int arg2
)
477 fprintf_unfiltered (gdb_stdlog
, "-> %s->wait (...)\n", this->beneath
->shortname ());
478 result
= this->beneath
->wait (arg0
, arg1
, arg2
);
479 fprintf_unfiltered (gdb_stdlog
, "<- %s->wait (", this->beneath
->shortname ());
480 target_debug_print_ptid_t (arg0
);
481 fputs_unfiltered (", ", gdb_stdlog
);
482 target_debug_print_struct_target_waitstatus_p (arg1
);
483 fputs_unfiltered (", ", gdb_stdlog
);
484 target_debug_print_options (arg2
);
485 fputs_unfiltered (") = ", gdb_stdlog
);
486 target_debug_print_ptid_t (result
);
487 fputs_unfiltered ("\n", gdb_stdlog
);
492 target_ops::fetch_registers (struct regcache
*arg0
, int arg1
)
494 this->beneath
->fetch_registers (arg0
, arg1
);
498 dummy_target::fetch_registers (struct regcache
*arg0
, int arg1
)
503 debug_target::fetch_registers (struct regcache
*arg0
, int arg1
)
505 fprintf_unfiltered (gdb_stdlog
, "-> %s->fetch_registers (...)\n", this->beneath
->shortname ());
506 this->beneath
->fetch_registers (arg0
, arg1
);
507 fprintf_unfiltered (gdb_stdlog
, "<- %s->fetch_registers (", this->beneath
->shortname ());
508 target_debug_print_struct_regcache_p (arg0
);
509 fputs_unfiltered (", ", gdb_stdlog
);
510 target_debug_print_int (arg1
);
511 fputs_unfiltered (")\n", gdb_stdlog
);
515 target_ops::store_registers (struct regcache
*arg0
, int arg1
)
517 this->beneath
->store_registers (arg0
, arg1
);
521 dummy_target::store_registers (struct regcache
*arg0
, int arg1
)
527 debug_target::store_registers (struct regcache
*arg0
, int arg1
)
529 fprintf_unfiltered (gdb_stdlog
, "-> %s->store_registers (...)\n", this->beneath
->shortname ());
530 this->beneath
->store_registers (arg0
, arg1
);
531 fprintf_unfiltered (gdb_stdlog
, "<- %s->store_registers (", this->beneath
->shortname ());
532 target_debug_print_struct_regcache_p (arg0
);
533 fputs_unfiltered (", ", gdb_stdlog
);
534 target_debug_print_int (arg1
);
535 fputs_unfiltered (")\n", gdb_stdlog
);
539 target_ops::prepare_to_store (struct regcache
*arg0
)
541 this->beneath
->prepare_to_store (arg0
);
545 dummy_target::prepare_to_store (struct regcache
*arg0
)
551 debug_target::prepare_to_store (struct regcache
*arg0
)
553 fprintf_unfiltered (gdb_stdlog
, "-> %s->prepare_to_store (...)\n", this->beneath
->shortname ());
554 this->beneath
->prepare_to_store (arg0
);
555 fprintf_unfiltered (gdb_stdlog
, "<- %s->prepare_to_store (", this->beneath
->shortname ());
556 target_debug_print_struct_regcache_p (arg0
);
557 fputs_unfiltered (")\n", gdb_stdlog
);
561 target_ops::files_info ()
563 this->beneath
->files_info ();
567 dummy_target::files_info ()
572 debug_target::files_info ()
574 fprintf_unfiltered (gdb_stdlog
, "-> %s->files_info (...)\n", this->beneath
->shortname ());
575 this->beneath
->files_info ();
576 fprintf_unfiltered (gdb_stdlog
, "<- %s->files_info (", this->beneath
->shortname ());
577 fputs_unfiltered (")\n", gdb_stdlog
);
581 target_ops::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
583 return this->beneath
->insert_breakpoint (arg0
, arg1
);
587 dummy_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
593 debug_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
596 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_breakpoint (...)\n", this->beneath
->shortname ());
597 result
= this->beneath
->insert_breakpoint (arg0
, arg1
);
598 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_breakpoint (", this->beneath
->shortname ());
599 target_debug_print_struct_gdbarch_p (arg0
);
600 fputs_unfiltered (", ", gdb_stdlog
);
601 target_debug_print_struct_bp_target_info_p (arg1
);
602 fputs_unfiltered (") = ", gdb_stdlog
);
603 target_debug_print_int (result
);
604 fputs_unfiltered ("\n", gdb_stdlog
);
609 target_ops::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
611 return this->beneath
->remove_breakpoint (arg0
, arg1
, arg2
);
615 dummy_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
621 debug_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
624 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_breakpoint (...)\n", this->beneath
->shortname ());
625 result
= this->beneath
->remove_breakpoint (arg0
, arg1
, arg2
);
626 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_breakpoint (", this->beneath
->shortname ());
627 target_debug_print_struct_gdbarch_p (arg0
);
628 fputs_unfiltered (", ", gdb_stdlog
);
629 target_debug_print_struct_bp_target_info_p (arg1
);
630 fputs_unfiltered (", ", gdb_stdlog
);
631 target_debug_print_enum_remove_bp_reason (arg2
);
632 fputs_unfiltered (") = ", gdb_stdlog
);
633 target_debug_print_int (result
);
634 fputs_unfiltered ("\n", gdb_stdlog
);
639 target_ops::stopped_by_sw_breakpoint ()
641 return this->beneath
->stopped_by_sw_breakpoint ();
645 dummy_target::stopped_by_sw_breakpoint ()
651 debug_target::stopped_by_sw_breakpoint ()
654 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_sw_breakpoint (...)\n", this->beneath
->shortname ());
655 result
= this->beneath
->stopped_by_sw_breakpoint ();
656 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_sw_breakpoint (", this->beneath
->shortname ());
657 fputs_unfiltered (") = ", gdb_stdlog
);
658 target_debug_print_bool (result
);
659 fputs_unfiltered ("\n", gdb_stdlog
);
664 target_ops::supports_stopped_by_sw_breakpoint ()
666 return this->beneath
->supports_stopped_by_sw_breakpoint ();
670 dummy_target::supports_stopped_by_sw_breakpoint ()
676 debug_target::supports_stopped_by_sw_breakpoint ()
679 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_stopped_by_sw_breakpoint (...)\n", this->beneath
->shortname ());
680 result
= this->beneath
->supports_stopped_by_sw_breakpoint ();
681 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_stopped_by_sw_breakpoint (", this->beneath
->shortname ());
682 fputs_unfiltered (") = ", gdb_stdlog
);
683 target_debug_print_bool (result
);
684 fputs_unfiltered ("\n", gdb_stdlog
);
689 target_ops::stopped_by_hw_breakpoint ()
691 return this->beneath
->stopped_by_hw_breakpoint ();
695 dummy_target::stopped_by_hw_breakpoint ()
701 debug_target::stopped_by_hw_breakpoint ()
704 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_hw_breakpoint (...)\n", this->beneath
->shortname ());
705 result
= this->beneath
->stopped_by_hw_breakpoint ();
706 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_hw_breakpoint (", this->beneath
->shortname ());
707 fputs_unfiltered (") = ", gdb_stdlog
);
708 target_debug_print_bool (result
);
709 fputs_unfiltered ("\n", gdb_stdlog
);
714 target_ops::supports_stopped_by_hw_breakpoint ()
716 return this->beneath
->supports_stopped_by_hw_breakpoint ();
720 dummy_target::supports_stopped_by_hw_breakpoint ()
726 debug_target::supports_stopped_by_hw_breakpoint ()
729 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_stopped_by_hw_breakpoint (...)\n", this->beneath
->shortname ());
730 result
= this->beneath
->supports_stopped_by_hw_breakpoint ();
731 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_stopped_by_hw_breakpoint (", this->beneath
->shortname ());
732 fputs_unfiltered (") = ", gdb_stdlog
);
733 target_debug_print_bool (result
);
734 fputs_unfiltered ("\n", gdb_stdlog
);
739 target_ops::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
741 return this->beneath
->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
745 dummy_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
751 debug_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
754 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_use_hw_breakpoint (...)\n", this->beneath
->shortname ());
755 result
= this->beneath
->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
756 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_use_hw_breakpoint (", this->beneath
->shortname ());
757 target_debug_print_enum_bptype (arg0
);
758 fputs_unfiltered (", ", gdb_stdlog
);
759 target_debug_print_int (arg1
);
760 fputs_unfiltered (", ", gdb_stdlog
);
761 target_debug_print_int (arg2
);
762 fputs_unfiltered (") = ", gdb_stdlog
);
763 target_debug_print_int (result
);
764 fputs_unfiltered ("\n", gdb_stdlog
);
769 target_ops::ranged_break_num_registers ()
771 return this->beneath
->ranged_break_num_registers ();
775 dummy_target::ranged_break_num_registers ()
781 debug_target::ranged_break_num_registers ()
784 fprintf_unfiltered (gdb_stdlog
, "-> %s->ranged_break_num_registers (...)\n", this->beneath
->shortname ());
785 result
= this->beneath
->ranged_break_num_registers ();
786 fprintf_unfiltered (gdb_stdlog
, "<- %s->ranged_break_num_registers (", this->beneath
->shortname ());
787 fputs_unfiltered (") = ", gdb_stdlog
);
788 target_debug_print_int (result
);
789 fputs_unfiltered ("\n", gdb_stdlog
);
794 target_ops::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
796 return this->beneath
->insert_hw_breakpoint (arg0
, arg1
);
800 dummy_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
806 debug_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
809 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_hw_breakpoint (...)\n", this->beneath
->shortname ());
810 result
= this->beneath
->insert_hw_breakpoint (arg0
, arg1
);
811 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_hw_breakpoint (", this->beneath
->shortname ());
812 target_debug_print_struct_gdbarch_p (arg0
);
813 fputs_unfiltered (", ", gdb_stdlog
);
814 target_debug_print_struct_bp_target_info_p (arg1
);
815 fputs_unfiltered (") = ", gdb_stdlog
);
816 target_debug_print_int (result
);
817 fputs_unfiltered ("\n", gdb_stdlog
);
822 target_ops::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
824 return this->beneath
->remove_hw_breakpoint (arg0
, arg1
);
828 dummy_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
834 debug_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
837 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_hw_breakpoint (...)\n", this->beneath
->shortname ());
838 result
= this->beneath
->remove_hw_breakpoint (arg0
, arg1
);
839 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_hw_breakpoint (", this->beneath
->shortname ());
840 target_debug_print_struct_gdbarch_p (arg0
);
841 fputs_unfiltered (", ", gdb_stdlog
);
842 target_debug_print_struct_bp_target_info_p (arg1
);
843 fputs_unfiltered (") = ", gdb_stdlog
);
844 target_debug_print_int (result
);
845 fputs_unfiltered ("\n", gdb_stdlog
);
850 target_ops::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
852 return this->beneath
->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
856 dummy_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
862 debug_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
865 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_watchpoint (...)\n", this->beneath
->shortname ());
866 result
= this->beneath
->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
867 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_watchpoint (", this->beneath
->shortname ());
868 target_debug_print_CORE_ADDR (arg0
);
869 fputs_unfiltered (", ", gdb_stdlog
);
870 target_debug_print_int (arg1
);
871 fputs_unfiltered (", ", gdb_stdlog
);
872 target_debug_print_enum_target_hw_bp_type (arg2
);
873 fputs_unfiltered (", ", gdb_stdlog
);
874 target_debug_print_struct_expression_p (arg3
);
875 fputs_unfiltered (") = ", gdb_stdlog
);
876 target_debug_print_int (result
);
877 fputs_unfiltered ("\n", gdb_stdlog
);
882 target_ops::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
884 return this->beneath
->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
888 dummy_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
894 debug_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
897 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_watchpoint (...)\n", this->beneath
->shortname ());
898 result
= this->beneath
->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
899 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_watchpoint (", this->beneath
->shortname ());
900 target_debug_print_CORE_ADDR (arg0
);
901 fputs_unfiltered (", ", gdb_stdlog
);
902 target_debug_print_int (arg1
);
903 fputs_unfiltered (", ", gdb_stdlog
);
904 target_debug_print_enum_target_hw_bp_type (arg2
);
905 fputs_unfiltered (", ", gdb_stdlog
);
906 target_debug_print_struct_expression_p (arg3
);
907 fputs_unfiltered (") = ", gdb_stdlog
);
908 target_debug_print_int (result
);
909 fputs_unfiltered ("\n", gdb_stdlog
);
914 target_ops::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
916 return this->beneath
->insert_mask_watchpoint (arg0
, arg1
, arg2
);
920 dummy_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
926 debug_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
929 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_mask_watchpoint (...)\n", this->beneath
->shortname ());
930 result
= this->beneath
->insert_mask_watchpoint (arg0
, arg1
, arg2
);
931 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_mask_watchpoint (", this->beneath
->shortname ());
932 target_debug_print_CORE_ADDR (arg0
);
933 fputs_unfiltered (", ", gdb_stdlog
);
934 target_debug_print_CORE_ADDR (arg1
);
935 fputs_unfiltered (", ", gdb_stdlog
);
936 target_debug_print_enum_target_hw_bp_type (arg2
);
937 fputs_unfiltered (") = ", gdb_stdlog
);
938 target_debug_print_int (result
);
939 fputs_unfiltered ("\n", gdb_stdlog
);
944 target_ops::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
946 return this->beneath
->remove_mask_watchpoint (arg0
, arg1
, arg2
);
950 dummy_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
956 debug_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
959 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_mask_watchpoint (...)\n", this->beneath
->shortname ());
960 result
= this->beneath
->remove_mask_watchpoint (arg0
, arg1
, arg2
);
961 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_mask_watchpoint (", this->beneath
->shortname ());
962 target_debug_print_CORE_ADDR (arg0
);
963 fputs_unfiltered (", ", gdb_stdlog
);
964 target_debug_print_CORE_ADDR (arg1
);
965 fputs_unfiltered (", ", gdb_stdlog
);
966 target_debug_print_enum_target_hw_bp_type (arg2
);
967 fputs_unfiltered (") = ", gdb_stdlog
);
968 target_debug_print_int (result
);
969 fputs_unfiltered ("\n", gdb_stdlog
);
974 target_ops::stopped_by_watchpoint ()
976 return this->beneath
->stopped_by_watchpoint ();
980 dummy_target::stopped_by_watchpoint ()
986 debug_target::stopped_by_watchpoint ()
989 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_by_watchpoint (...)\n", this->beneath
->shortname ());
990 result
= this->beneath
->stopped_by_watchpoint ();
991 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_by_watchpoint (", this->beneath
->shortname ());
992 fputs_unfiltered (") = ", gdb_stdlog
);
993 target_debug_print_bool (result
);
994 fputs_unfiltered ("\n", gdb_stdlog
);
999 target_ops::have_steppable_watchpoint ()
1001 return this->beneath
->have_steppable_watchpoint ();
1005 dummy_target::have_steppable_watchpoint ()
1011 debug_target::have_steppable_watchpoint ()
1014 fprintf_unfiltered (gdb_stdlog
, "-> %s->have_steppable_watchpoint (...)\n", this->beneath
->shortname ());
1015 result
= this->beneath
->have_steppable_watchpoint ();
1016 fprintf_unfiltered (gdb_stdlog
, "<- %s->have_steppable_watchpoint (", this->beneath
->shortname ());
1017 fputs_unfiltered (") = ", gdb_stdlog
);
1018 target_debug_print_int (result
);
1019 fputs_unfiltered ("\n", gdb_stdlog
);
1024 target_ops::have_continuable_watchpoint ()
1026 return this->beneath
->have_continuable_watchpoint ();
1030 dummy_target::have_continuable_watchpoint ()
1036 debug_target::have_continuable_watchpoint ()
1039 fprintf_unfiltered (gdb_stdlog
, "-> %s->have_continuable_watchpoint (...)\n", this->beneath
->shortname ());
1040 result
= this->beneath
->have_continuable_watchpoint ();
1041 fprintf_unfiltered (gdb_stdlog
, "<- %s->have_continuable_watchpoint (", this->beneath
->shortname ());
1042 fputs_unfiltered (") = ", gdb_stdlog
);
1043 target_debug_print_bool (result
);
1044 fputs_unfiltered ("\n", gdb_stdlog
);
1049 target_ops::stopped_data_address (CORE_ADDR
*arg0
)
1051 return this->beneath
->stopped_data_address (arg0
);
1055 dummy_target::stopped_data_address (CORE_ADDR
*arg0
)
1061 debug_target::stopped_data_address (CORE_ADDR
*arg0
)
1064 fprintf_unfiltered (gdb_stdlog
, "-> %s->stopped_data_address (...)\n", this->beneath
->shortname ());
1065 result
= this->beneath
->stopped_data_address (arg0
);
1066 fprintf_unfiltered (gdb_stdlog
, "<- %s->stopped_data_address (", this->beneath
->shortname ());
1067 target_debug_print_CORE_ADDR_p (arg0
);
1068 fputs_unfiltered (") = ", gdb_stdlog
);
1069 target_debug_print_bool (result
);
1070 fputs_unfiltered ("\n", gdb_stdlog
);
1075 target_ops::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1077 return this->beneath
->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1081 dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1083 return default_watchpoint_addr_within_range (this, arg0
, arg1
, arg2
);
1087 debug_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1090 fprintf_unfiltered (gdb_stdlog
, "-> %s->watchpoint_addr_within_range (...)\n", this->beneath
->shortname ());
1091 result
= this->beneath
->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1092 fprintf_unfiltered (gdb_stdlog
, "<- %s->watchpoint_addr_within_range (", this->beneath
->shortname ());
1093 target_debug_print_CORE_ADDR (arg0
);
1094 fputs_unfiltered (", ", gdb_stdlog
);
1095 target_debug_print_CORE_ADDR (arg1
);
1096 fputs_unfiltered (", ", gdb_stdlog
);
1097 target_debug_print_int (arg2
);
1098 fputs_unfiltered (") = ", gdb_stdlog
);
1099 target_debug_print_bool (result
);
1100 fputs_unfiltered ("\n", gdb_stdlog
);
1105 target_ops::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1107 return this->beneath
->region_ok_for_hw_watchpoint (arg0
, arg1
);
1111 dummy_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1113 return default_region_ok_for_hw_watchpoint (this, arg0
, arg1
);
1117 debug_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1120 fprintf_unfiltered (gdb_stdlog
, "-> %s->region_ok_for_hw_watchpoint (...)\n", this->beneath
->shortname ());
1121 result
= this->beneath
->region_ok_for_hw_watchpoint (arg0
, arg1
);
1122 fprintf_unfiltered (gdb_stdlog
, "<- %s->region_ok_for_hw_watchpoint (", this->beneath
->shortname ());
1123 target_debug_print_CORE_ADDR (arg0
);
1124 fputs_unfiltered (", ", gdb_stdlog
);
1125 target_debug_print_int (arg1
);
1126 fputs_unfiltered (") = ", gdb_stdlog
);
1127 target_debug_print_int (result
);
1128 fputs_unfiltered ("\n", gdb_stdlog
);
1133 target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1135 return this->beneath
->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1139 dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1145 debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1148 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_accel_watchpoint_condition (...)\n", this->beneath
->shortname ());
1149 result
= this->beneath
->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1150 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_accel_watchpoint_condition (", this->beneath
->shortname ());
1151 target_debug_print_CORE_ADDR (arg0
);
1152 fputs_unfiltered (", ", gdb_stdlog
);
1153 target_debug_print_int (arg1
);
1154 fputs_unfiltered (", ", gdb_stdlog
);
1155 target_debug_print_int (arg2
);
1156 fputs_unfiltered (", ", gdb_stdlog
);
1157 target_debug_print_struct_expression_p (arg3
);
1158 fputs_unfiltered (") = ", gdb_stdlog
);
1159 target_debug_print_bool (result
);
1160 fputs_unfiltered ("\n", gdb_stdlog
);
1165 target_ops::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1167 return this->beneath
->masked_watch_num_registers (arg0
, arg1
);
1171 dummy_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1177 debug_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1180 fprintf_unfiltered (gdb_stdlog
, "-> %s->masked_watch_num_registers (...)\n", this->beneath
->shortname ());
1181 result
= this->beneath
->masked_watch_num_registers (arg0
, arg1
);
1182 fprintf_unfiltered (gdb_stdlog
, "<- %s->masked_watch_num_registers (", this->beneath
->shortname ());
1183 target_debug_print_CORE_ADDR (arg0
);
1184 fputs_unfiltered (", ", gdb_stdlog
);
1185 target_debug_print_CORE_ADDR (arg1
);
1186 fputs_unfiltered (") = ", gdb_stdlog
);
1187 target_debug_print_int (result
);
1188 fputs_unfiltered ("\n", gdb_stdlog
);
1193 target_ops::can_do_single_step ()
1195 return this->beneath
->can_do_single_step ();
1199 dummy_target::can_do_single_step ()
1205 debug_target::can_do_single_step ()
1208 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_do_single_step (...)\n", this->beneath
->shortname ());
1209 result
= this->beneath
->can_do_single_step ();
1210 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_do_single_step (", this->beneath
->shortname ());
1211 fputs_unfiltered (") = ", gdb_stdlog
);
1212 target_debug_print_int (result
);
1213 fputs_unfiltered ("\n", gdb_stdlog
);
1218 target_ops::supports_terminal_ours ()
1220 return this->beneath
->supports_terminal_ours ();
1224 dummy_target::supports_terminal_ours ()
1230 debug_target::supports_terminal_ours ()
1233 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_terminal_ours (...)\n", this->beneath
->shortname ());
1234 result
= this->beneath
->supports_terminal_ours ();
1235 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_terminal_ours (", this->beneath
->shortname ());
1236 fputs_unfiltered (") = ", gdb_stdlog
);
1237 target_debug_print_bool (result
);
1238 fputs_unfiltered ("\n", gdb_stdlog
);
1243 target_ops::terminal_init ()
1245 this->beneath
->terminal_init ();
1249 dummy_target::terminal_init ()
1254 debug_target::terminal_init ()
1256 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_init (...)\n", this->beneath
->shortname ());
1257 this->beneath
->terminal_init ();
1258 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_init (", this->beneath
->shortname ());
1259 fputs_unfiltered (")\n", gdb_stdlog
);
1263 target_ops::terminal_inferior ()
1265 this->beneath
->terminal_inferior ();
1269 dummy_target::terminal_inferior ()
1274 debug_target::terminal_inferior ()
1276 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_inferior (...)\n", this->beneath
->shortname ());
1277 this->beneath
->terminal_inferior ();
1278 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_inferior (", this->beneath
->shortname ());
1279 fputs_unfiltered (")\n", gdb_stdlog
);
1283 target_ops::terminal_save_inferior ()
1285 this->beneath
->terminal_save_inferior ();
1289 dummy_target::terminal_save_inferior ()
1294 debug_target::terminal_save_inferior ()
1296 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_save_inferior (...)\n", this->beneath
->shortname ());
1297 this->beneath
->terminal_save_inferior ();
1298 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_save_inferior (", this->beneath
->shortname ());
1299 fputs_unfiltered (")\n", gdb_stdlog
);
1303 target_ops::terminal_ours_for_output ()
1305 this->beneath
->terminal_ours_for_output ();
1309 dummy_target::terminal_ours_for_output ()
1314 debug_target::terminal_ours_for_output ()
1316 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_ours_for_output (...)\n", this->beneath
->shortname ());
1317 this->beneath
->terminal_ours_for_output ();
1318 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_ours_for_output (", this->beneath
->shortname ());
1319 fputs_unfiltered (")\n", gdb_stdlog
);
1323 target_ops::terminal_ours ()
1325 this->beneath
->terminal_ours ();
1329 dummy_target::terminal_ours ()
1334 debug_target::terminal_ours ()
1336 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_ours (...)\n", this->beneath
->shortname ());
1337 this->beneath
->terminal_ours ();
1338 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_ours (", this->beneath
->shortname ());
1339 fputs_unfiltered (")\n", gdb_stdlog
);
1343 target_ops::terminal_info (const char *arg0
, int arg1
)
1345 this->beneath
->terminal_info (arg0
, arg1
);
1349 dummy_target::terminal_info (const char *arg0
, int arg1
)
1351 default_terminal_info (this, arg0
, arg1
);
1355 debug_target::terminal_info (const char *arg0
, int arg1
)
1357 fprintf_unfiltered (gdb_stdlog
, "-> %s->terminal_info (...)\n", this->beneath
->shortname ());
1358 this->beneath
->terminal_info (arg0
, arg1
);
1359 fprintf_unfiltered (gdb_stdlog
, "<- %s->terminal_info (", this->beneath
->shortname ());
1360 target_debug_print_const_char_p (arg0
);
1361 fputs_unfiltered (", ", gdb_stdlog
);
1362 target_debug_print_int (arg1
);
1363 fputs_unfiltered (")\n", gdb_stdlog
);
1369 this->beneath
->kill ();
1373 dummy_target::kill ()
1379 debug_target::kill ()
1381 fprintf_unfiltered (gdb_stdlog
, "-> %s->kill (...)\n", this->beneath
->shortname ());
1382 this->beneath
->kill ();
1383 fprintf_unfiltered (gdb_stdlog
, "<- %s->kill (", this->beneath
->shortname ());
1384 fputs_unfiltered (")\n", gdb_stdlog
);
1388 target_ops::load (const char *arg0
, int arg1
)
1390 this->beneath
->load (arg0
, arg1
);
1394 dummy_target::load (const char *arg0
, int arg1
)
1400 debug_target::load (const char *arg0
, int arg1
)
1402 fprintf_unfiltered (gdb_stdlog
, "-> %s->load (...)\n", this->beneath
->shortname ());
1403 this->beneath
->load (arg0
, arg1
);
1404 fprintf_unfiltered (gdb_stdlog
, "<- %s->load (", this->beneath
->shortname ());
1405 target_debug_print_const_char_p (arg0
);
1406 fputs_unfiltered (", ", gdb_stdlog
);
1407 target_debug_print_int (arg1
);
1408 fputs_unfiltered (")\n", gdb_stdlog
);
1412 target_ops::post_startup_inferior (ptid_t arg0
)
1414 this->beneath
->post_startup_inferior (arg0
);
1418 dummy_target::post_startup_inferior (ptid_t arg0
)
1423 debug_target::post_startup_inferior (ptid_t arg0
)
1425 fprintf_unfiltered (gdb_stdlog
, "-> %s->post_startup_inferior (...)\n", this->beneath
->shortname ());
1426 this->beneath
->post_startup_inferior (arg0
);
1427 fprintf_unfiltered (gdb_stdlog
, "<- %s->post_startup_inferior (", this->beneath
->shortname ());
1428 target_debug_print_ptid_t (arg0
);
1429 fputs_unfiltered (")\n", gdb_stdlog
);
1433 target_ops::insert_fork_catchpoint (int arg0
)
1435 return this->beneath
->insert_fork_catchpoint (arg0
);
1439 dummy_target::insert_fork_catchpoint (int arg0
)
1445 debug_target::insert_fork_catchpoint (int arg0
)
1448 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_fork_catchpoint (...)\n", this->beneath
->shortname ());
1449 result
= this->beneath
->insert_fork_catchpoint (arg0
);
1450 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_fork_catchpoint (", this->beneath
->shortname ());
1451 target_debug_print_int (arg0
);
1452 fputs_unfiltered (") = ", gdb_stdlog
);
1453 target_debug_print_int (result
);
1454 fputs_unfiltered ("\n", gdb_stdlog
);
1459 target_ops::remove_fork_catchpoint (int arg0
)
1461 return this->beneath
->remove_fork_catchpoint (arg0
);
1465 dummy_target::remove_fork_catchpoint (int arg0
)
1471 debug_target::remove_fork_catchpoint (int arg0
)
1474 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_fork_catchpoint (...)\n", this->beneath
->shortname ());
1475 result
= this->beneath
->remove_fork_catchpoint (arg0
);
1476 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_fork_catchpoint (", this->beneath
->shortname ());
1477 target_debug_print_int (arg0
);
1478 fputs_unfiltered (") = ", gdb_stdlog
);
1479 target_debug_print_int (result
);
1480 fputs_unfiltered ("\n", gdb_stdlog
);
1485 target_ops::insert_vfork_catchpoint (int arg0
)
1487 return this->beneath
->insert_vfork_catchpoint (arg0
);
1491 dummy_target::insert_vfork_catchpoint (int arg0
)
1497 debug_target::insert_vfork_catchpoint (int arg0
)
1500 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_vfork_catchpoint (...)\n", this->beneath
->shortname ());
1501 result
= this->beneath
->insert_vfork_catchpoint (arg0
);
1502 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_vfork_catchpoint (", this->beneath
->shortname ());
1503 target_debug_print_int (arg0
);
1504 fputs_unfiltered (") = ", gdb_stdlog
);
1505 target_debug_print_int (result
);
1506 fputs_unfiltered ("\n", gdb_stdlog
);
1511 target_ops::remove_vfork_catchpoint (int arg0
)
1513 return this->beneath
->remove_vfork_catchpoint (arg0
);
1517 dummy_target::remove_vfork_catchpoint (int arg0
)
1523 debug_target::remove_vfork_catchpoint (int arg0
)
1526 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_vfork_catchpoint (...)\n", this->beneath
->shortname ());
1527 result
= this->beneath
->remove_vfork_catchpoint (arg0
);
1528 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_vfork_catchpoint (", this->beneath
->shortname ());
1529 target_debug_print_int (arg0
);
1530 fputs_unfiltered (") = ", gdb_stdlog
);
1531 target_debug_print_int (result
);
1532 fputs_unfiltered ("\n", gdb_stdlog
);
1537 target_ops::follow_fork (int arg0
, int arg1
)
1539 return this->beneath
->follow_fork (arg0
, arg1
);
1543 dummy_target::follow_fork (int arg0
, int arg1
)
1545 return default_follow_fork (this, arg0
, arg1
);
1549 debug_target::follow_fork (int arg0
, int arg1
)
1552 fprintf_unfiltered (gdb_stdlog
, "-> %s->follow_fork (...)\n", this->beneath
->shortname ());
1553 result
= this->beneath
->follow_fork (arg0
, arg1
);
1554 fprintf_unfiltered (gdb_stdlog
, "<- %s->follow_fork (", this->beneath
->shortname ());
1555 target_debug_print_int (arg0
);
1556 fputs_unfiltered (", ", gdb_stdlog
);
1557 target_debug_print_int (arg1
);
1558 fputs_unfiltered (") = ", gdb_stdlog
);
1559 target_debug_print_int (result
);
1560 fputs_unfiltered ("\n", gdb_stdlog
);
1565 target_ops::insert_exec_catchpoint (int arg0
)
1567 return this->beneath
->insert_exec_catchpoint (arg0
);
1571 dummy_target::insert_exec_catchpoint (int arg0
)
1577 debug_target::insert_exec_catchpoint (int arg0
)
1580 fprintf_unfiltered (gdb_stdlog
, "-> %s->insert_exec_catchpoint (...)\n", this->beneath
->shortname ());
1581 result
= this->beneath
->insert_exec_catchpoint (arg0
);
1582 fprintf_unfiltered (gdb_stdlog
, "<- %s->insert_exec_catchpoint (", this->beneath
->shortname ());
1583 target_debug_print_int (arg0
);
1584 fputs_unfiltered (") = ", gdb_stdlog
);
1585 target_debug_print_int (result
);
1586 fputs_unfiltered ("\n", gdb_stdlog
);
1591 target_ops::remove_exec_catchpoint (int arg0
)
1593 return this->beneath
->remove_exec_catchpoint (arg0
);
1597 dummy_target::remove_exec_catchpoint (int arg0
)
1603 debug_target::remove_exec_catchpoint (int arg0
)
1606 fprintf_unfiltered (gdb_stdlog
, "-> %s->remove_exec_catchpoint (...)\n", this->beneath
->shortname ());
1607 result
= this->beneath
->remove_exec_catchpoint (arg0
);
1608 fprintf_unfiltered (gdb_stdlog
, "<- %s->remove_exec_catchpoint (", this->beneath
->shortname ());
1609 target_debug_print_int (arg0
);
1610 fputs_unfiltered (") = ", gdb_stdlog
);
1611 target_debug_print_int (result
);
1612 fputs_unfiltered ("\n", gdb_stdlog
);
1617 target_ops::follow_exec (struct inferior
*arg0
, char *arg1
)
1619 this->beneath
->follow_exec (arg0
, arg1
);
1623 dummy_target::follow_exec (struct inferior
*arg0
, char *arg1
)
1628 debug_target::follow_exec (struct inferior
*arg0
, char *arg1
)
1630 fprintf_unfiltered (gdb_stdlog
, "-> %s->follow_exec (...)\n", this->beneath
->shortname ());
1631 this->beneath
->follow_exec (arg0
, arg1
);
1632 fprintf_unfiltered (gdb_stdlog
, "<- %s->follow_exec (", this->beneath
->shortname ());
1633 target_debug_print_struct_inferior_p (arg0
);
1634 fputs_unfiltered (", ", gdb_stdlog
);
1635 target_debug_print_char_p (arg1
);
1636 fputs_unfiltered (")\n", gdb_stdlog
);
1640 target_ops::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1642 return this->beneath
->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1646 dummy_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1652 debug_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1655 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_syscall_catchpoint (...)\n", this->beneath
->shortname ());
1656 result
= this->beneath
->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1657 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_syscall_catchpoint (", this->beneath
->shortname ());
1658 target_debug_print_int (arg0
);
1659 fputs_unfiltered (", ", gdb_stdlog
);
1660 target_debug_print_bool (arg1
);
1661 fputs_unfiltered (", ", gdb_stdlog
);
1662 target_debug_print_int (arg2
);
1663 fputs_unfiltered (", ", gdb_stdlog
);
1664 target_debug_print_gdb_array_view_const_int (arg3
);
1665 fputs_unfiltered (") = ", gdb_stdlog
);
1666 target_debug_print_int (result
);
1667 fputs_unfiltered ("\n", gdb_stdlog
);
1672 target_ops::mourn_inferior ()
1674 this->beneath
->mourn_inferior ();
1678 dummy_target::mourn_inferior ()
1680 default_mourn_inferior (this);
1684 debug_target::mourn_inferior ()
1686 fprintf_unfiltered (gdb_stdlog
, "-> %s->mourn_inferior (...)\n", this->beneath
->shortname ());
1687 this->beneath
->mourn_inferior ();
1688 fprintf_unfiltered (gdb_stdlog
, "<- %s->mourn_inferior (", this->beneath
->shortname ());
1689 fputs_unfiltered (")\n", gdb_stdlog
);
1693 target_ops::pass_signals (int arg0
, unsigned char * arg1
)
1695 this->beneath
->pass_signals (arg0
, arg1
);
1699 dummy_target::pass_signals (int arg0
, unsigned char * arg1
)
1704 debug_target::pass_signals (int arg0
, unsigned char * arg1
)
1706 fprintf_unfiltered (gdb_stdlog
, "-> %s->pass_signals (...)\n", this->beneath
->shortname ());
1707 this->beneath
->pass_signals (arg0
, arg1
);
1708 fprintf_unfiltered (gdb_stdlog
, "<- %s->pass_signals (", this->beneath
->shortname ());
1709 target_debug_print_int (arg0
);
1710 fputs_unfiltered (", ", gdb_stdlog
);
1711 target_debug_print_signals (arg1
);
1712 fputs_unfiltered (")\n", gdb_stdlog
);
1716 target_ops::program_signals (int arg0
, unsigned char * arg1
)
1718 this->beneath
->program_signals (arg0
, arg1
);
1722 dummy_target::program_signals (int arg0
, unsigned char * arg1
)
1727 debug_target::program_signals (int arg0
, unsigned char * arg1
)
1729 fprintf_unfiltered (gdb_stdlog
, "-> %s->program_signals (...)\n", this->beneath
->shortname ());
1730 this->beneath
->program_signals (arg0
, arg1
);
1731 fprintf_unfiltered (gdb_stdlog
, "<- %s->program_signals (", this->beneath
->shortname ());
1732 target_debug_print_int (arg0
);
1733 fputs_unfiltered (", ", gdb_stdlog
);
1734 target_debug_print_signals (arg1
);
1735 fputs_unfiltered (")\n", gdb_stdlog
);
1739 target_ops::thread_alive (ptid_t arg0
)
1741 return this->beneath
->thread_alive (arg0
);
1745 dummy_target::thread_alive (ptid_t arg0
)
1751 debug_target::thread_alive (ptid_t arg0
)
1754 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_alive (...)\n", this->beneath
->shortname ());
1755 result
= this->beneath
->thread_alive (arg0
);
1756 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_alive (", this->beneath
->shortname ());
1757 target_debug_print_ptid_t (arg0
);
1758 fputs_unfiltered (") = ", gdb_stdlog
);
1759 target_debug_print_bool (result
);
1760 fputs_unfiltered ("\n", gdb_stdlog
);
1765 target_ops::update_thread_list ()
1767 this->beneath
->update_thread_list ();
1771 dummy_target::update_thread_list ()
1776 debug_target::update_thread_list ()
1778 fprintf_unfiltered (gdb_stdlog
, "-> %s->update_thread_list (...)\n", this->beneath
->shortname ());
1779 this->beneath
->update_thread_list ();
1780 fprintf_unfiltered (gdb_stdlog
, "<- %s->update_thread_list (", this->beneath
->shortname ());
1781 fputs_unfiltered (")\n", gdb_stdlog
);
1785 target_ops::pid_to_str (ptid_t arg0
)
1787 return this->beneath
->pid_to_str (arg0
);
1791 dummy_target::pid_to_str (ptid_t arg0
)
1793 return default_pid_to_str (this, arg0
);
1797 debug_target::pid_to_str (ptid_t arg0
)
1799 const char * result
;
1800 fprintf_unfiltered (gdb_stdlog
, "-> %s->pid_to_str (...)\n", this->beneath
->shortname ());
1801 result
= this->beneath
->pid_to_str (arg0
);
1802 fprintf_unfiltered (gdb_stdlog
, "<- %s->pid_to_str (", this->beneath
->shortname ());
1803 target_debug_print_ptid_t (arg0
);
1804 fputs_unfiltered (") = ", gdb_stdlog
);
1805 target_debug_print_const_char_p (result
);
1806 fputs_unfiltered ("\n", gdb_stdlog
);
1811 target_ops::extra_thread_info (thread_info
*arg0
)
1813 return this->beneath
->extra_thread_info (arg0
);
1817 dummy_target::extra_thread_info (thread_info
*arg0
)
1823 debug_target::extra_thread_info (thread_info
*arg0
)
1825 const char * result
;
1826 fprintf_unfiltered (gdb_stdlog
, "-> %s->extra_thread_info (...)\n", this->beneath
->shortname ());
1827 result
= this->beneath
->extra_thread_info (arg0
);
1828 fprintf_unfiltered (gdb_stdlog
, "<- %s->extra_thread_info (", this->beneath
->shortname ());
1829 target_debug_print_thread_info_p (arg0
);
1830 fputs_unfiltered (") = ", gdb_stdlog
);
1831 target_debug_print_const_char_p (result
);
1832 fputs_unfiltered ("\n", gdb_stdlog
);
1837 target_ops::thread_name (thread_info
*arg0
)
1839 return this->beneath
->thread_name (arg0
);
1843 dummy_target::thread_name (thread_info
*arg0
)
1849 debug_target::thread_name (thread_info
*arg0
)
1851 const char * result
;
1852 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_name (...)\n", this->beneath
->shortname ());
1853 result
= this->beneath
->thread_name (arg0
);
1854 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_name (", this->beneath
->shortname ());
1855 target_debug_print_thread_info_p (arg0
);
1856 fputs_unfiltered (") = ", gdb_stdlog
);
1857 target_debug_print_const_char_p (result
);
1858 fputs_unfiltered ("\n", gdb_stdlog
);
1863 target_ops::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1865 return this->beneath
->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1869 dummy_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1875 debug_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1877 thread_info
* result
;
1878 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath
->shortname ());
1879 result
= this->beneath
->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1880 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_handle_to_thread_info (", this->beneath
->shortname ());
1881 target_debug_print_const_gdb_byte_p (arg0
);
1882 fputs_unfiltered (", ", gdb_stdlog
);
1883 target_debug_print_int (arg1
);
1884 fputs_unfiltered (", ", gdb_stdlog
);
1885 target_debug_print_inferior_p (arg2
);
1886 fputs_unfiltered (") = ", gdb_stdlog
);
1887 target_debug_print_thread_info_p (result
);
1888 fputs_unfiltered ("\n", gdb_stdlog
);
1893 target_ops::stop (ptid_t arg0
)
1895 this->beneath
->stop (arg0
);
1899 dummy_target::stop (ptid_t arg0
)
1904 debug_target::stop (ptid_t arg0
)
1906 fprintf_unfiltered (gdb_stdlog
, "-> %s->stop (...)\n", this->beneath
->shortname ());
1907 this->beneath
->stop (arg0
);
1908 fprintf_unfiltered (gdb_stdlog
, "<- %s->stop (", this->beneath
->shortname ());
1909 target_debug_print_ptid_t (arg0
);
1910 fputs_unfiltered (")\n", gdb_stdlog
);
1914 target_ops::interrupt ()
1916 this->beneath
->interrupt ();
1920 dummy_target::interrupt ()
1925 debug_target::interrupt ()
1927 fprintf_unfiltered (gdb_stdlog
, "-> %s->interrupt (...)\n", this->beneath
->shortname ());
1928 this->beneath
->interrupt ();
1929 fprintf_unfiltered (gdb_stdlog
, "<- %s->interrupt (", this->beneath
->shortname ());
1930 fputs_unfiltered (")\n", gdb_stdlog
);
1934 target_ops::pass_ctrlc ()
1936 this->beneath
->pass_ctrlc ();
1940 dummy_target::pass_ctrlc ()
1942 default_target_pass_ctrlc (this);
1946 debug_target::pass_ctrlc ()
1948 fprintf_unfiltered (gdb_stdlog
, "-> %s->pass_ctrlc (...)\n", this->beneath
->shortname ());
1949 this->beneath
->pass_ctrlc ();
1950 fprintf_unfiltered (gdb_stdlog
, "<- %s->pass_ctrlc (", this->beneath
->shortname ());
1951 fputs_unfiltered (")\n", gdb_stdlog
);
1955 target_ops::rcmd (const char *arg0
, struct ui_file
*arg1
)
1957 this->beneath
->rcmd (arg0
, arg1
);
1961 dummy_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
1963 default_rcmd (this, arg0
, arg1
);
1967 debug_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
1969 fprintf_unfiltered (gdb_stdlog
, "-> %s->rcmd (...)\n", this->beneath
->shortname ());
1970 this->beneath
->rcmd (arg0
, arg1
);
1971 fprintf_unfiltered (gdb_stdlog
, "<- %s->rcmd (", this->beneath
->shortname ());
1972 target_debug_print_const_char_p (arg0
);
1973 fputs_unfiltered (", ", gdb_stdlog
);
1974 target_debug_print_struct_ui_file_p (arg1
);
1975 fputs_unfiltered (")\n", gdb_stdlog
);
1979 target_ops::pid_to_exec_file (int arg0
)
1981 return this->beneath
->pid_to_exec_file (arg0
);
1985 dummy_target::pid_to_exec_file (int arg0
)
1991 debug_target::pid_to_exec_file (int arg0
)
1994 fprintf_unfiltered (gdb_stdlog
, "-> %s->pid_to_exec_file (...)\n", this->beneath
->shortname ());
1995 result
= this->beneath
->pid_to_exec_file (arg0
);
1996 fprintf_unfiltered (gdb_stdlog
, "<- %s->pid_to_exec_file (", this->beneath
->shortname ());
1997 target_debug_print_int (arg0
);
1998 fputs_unfiltered (") = ", gdb_stdlog
);
1999 target_debug_print_char_p (result
);
2000 fputs_unfiltered ("\n", gdb_stdlog
);
2005 target_ops::log_command (const char *arg0
)
2007 this->beneath
->log_command (arg0
);
2011 dummy_target::log_command (const char *arg0
)
2016 debug_target::log_command (const char *arg0
)
2018 fprintf_unfiltered (gdb_stdlog
, "-> %s->log_command (...)\n", this->beneath
->shortname ());
2019 this->beneath
->log_command (arg0
);
2020 fprintf_unfiltered (gdb_stdlog
, "<- %s->log_command (", this->beneath
->shortname ());
2021 target_debug_print_const_char_p (arg0
);
2022 fputs_unfiltered (")\n", gdb_stdlog
);
2025 struct target_section_table
*
2026 target_ops::get_section_table ()
2028 return this->beneath
->get_section_table ();
2031 struct target_section_table
*
2032 dummy_target::get_section_table ()
2037 struct target_section_table
*
2038 debug_target::get_section_table ()
2040 struct target_section_table
* result
;
2041 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_section_table (...)\n", this->beneath
->shortname ());
2042 result
= this->beneath
->get_section_table ();
2043 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_section_table (", this->beneath
->shortname ());
2044 fputs_unfiltered (") = ", gdb_stdlog
);
2045 target_debug_print_struct_target_section_table_p (result
);
2046 fputs_unfiltered ("\n", gdb_stdlog
);
2050 thread_control_capabilities
2051 target_ops::get_thread_control_capabilities ()
2053 return this->beneath
->get_thread_control_capabilities ();
2056 thread_control_capabilities
2057 dummy_target::get_thread_control_capabilities ()
2062 thread_control_capabilities
2063 debug_target::get_thread_control_capabilities ()
2065 thread_control_capabilities result
;
2066 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_thread_control_capabilities (...)\n", this->beneath
->shortname ());
2067 result
= this->beneath
->get_thread_control_capabilities ();
2068 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_thread_control_capabilities (", this->beneath
->shortname ());
2069 fputs_unfiltered (") = ", gdb_stdlog
);
2070 target_debug_print_thread_control_capabilities (result
);
2071 fputs_unfiltered ("\n", gdb_stdlog
);
2076 target_ops::attach_no_wait ()
2078 return this->beneath
->attach_no_wait ();
2082 dummy_target::attach_no_wait ()
2088 debug_target::attach_no_wait ()
2091 fprintf_unfiltered (gdb_stdlog
, "-> %s->attach_no_wait (...)\n", this->beneath
->shortname ());
2092 result
= this->beneath
->attach_no_wait ();
2093 fprintf_unfiltered (gdb_stdlog
, "<- %s->attach_no_wait (", this->beneath
->shortname ());
2094 fputs_unfiltered (") = ", gdb_stdlog
);
2095 target_debug_print_bool (result
);
2096 fputs_unfiltered ("\n", gdb_stdlog
);
2101 target_ops::can_async_p ()
2103 return this->beneath
->can_async_p ();
2107 dummy_target::can_async_p ()
2113 debug_target::can_async_p ()
2116 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_async_p (...)\n", this->beneath
->shortname ());
2117 result
= this->beneath
->can_async_p ();
2118 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_async_p (", this->beneath
->shortname ());
2119 fputs_unfiltered (") = ", gdb_stdlog
);
2120 target_debug_print_bool (result
);
2121 fputs_unfiltered ("\n", gdb_stdlog
);
2126 target_ops::is_async_p ()
2128 return this->beneath
->is_async_p ();
2132 dummy_target::is_async_p ()
2138 debug_target::is_async_p ()
2141 fprintf_unfiltered (gdb_stdlog
, "-> %s->is_async_p (...)\n", this->beneath
->shortname ());
2142 result
= this->beneath
->is_async_p ();
2143 fprintf_unfiltered (gdb_stdlog
, "<- %s->is_async_p (", this->beneath
->shortname ());
2144 fputs_unfiltered (") = ", gdb_stdlog
);
2145 target_debug_print_bool (result
);
2146 fputs_unfiltered ("\n", gdb_stdlog
);
2151 target_ops::async (int arg0
)
2153 this->beneath
->async (arg0
);
2157 dummy_target::async (int arg0
)
2163 debug_target::async (int arg0
)
2165 fprintf_unfiltered (gdb_stdlog
, "-> %s->async (...)\n", this->beneath
->shortname ());
2166 this->beneath
->async (arg0
);
2167 fprintf_unfiltered (gdb_stdlog
, "<- %s->async (", this->beneath
->shortname ());
2168 target_debug_print_int (arg0
);
2169 fputs_unfiltered (")\n", gdb_stdlog
);
2173 target_ops::thread_events (int arg0
)
2175 this->beneath
->thread_events (arg0
);
2179 dummy_target::thread_events (int arg0
)
2184 debug_target::thread_events (int arg0
)
2186 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_events (...)\n", this->beneath
->shortname ());
2187 this->beneath
->thread_events (arg0
);
2188 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_events (", this->beneath
->shortname ());
2189 target_debug_print_int (arg0
);
2190 fputs_unfiltered (")\n", gdb_stdlog
);
2194 target_ops::supports_non_stop ()
2196 return this->beneath
->supports_non_stop ();
2200 dummy_target::supports_non_stop ()
2206 debug_target::supports_non_stop ()
2209 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_non_stop (...)\n", this->beneath
->shortname ());
2210 result
= this->beneath
->supports_non_stop ();
2211 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_non_stop (", this->beneath
->shortname ());
2212 fputs_unfiltered (") = ", gdb_stdlog
);
2213 target_debug_print_bool (result
);
2214 fputs_unfiltered ("\n", gdb_stdlog
);
2219 target_ops::always_non_stop_p ()
2221 return this->beneath
->always_non_stop_p ();
2225 dummy_target::always_non_stop_p ()
2231 debug_target::always_non_stop_p ()
2234 fprintf_unfiltered (gdb_stdlog
, "-> %s->always_non_stop_p (...)\n", this->beneath
->shortname ());
2235 result
= this->beneath
->always_non_stop_p ();
2236 fprintf_unfiltered (gdb_stdlog
, "<- %s->always_non_stop_p (", this->beneath
->shortname ());
2237 fputs_unfiltered (") = ", gdb_stdlog
);
2238 target_debug_print_bool (result
);
2239 fputs_unfiltered ("\n", gdb_stdlog
);
2244 target_ops::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2246 return this->beneath
->find_memory_regions (arg0
, arg1
);
2250 dummy_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2252 return dummy_find_memory_regions (this, arg0
, arg1
);
2256 debug_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2259 fprintf_unfiltered (gdb_stdlog
, "-> %s->find_memory_regions (...)\n", this->beneath
->shortname ());
2260 result
= this->beneath
->find_memory_regions (arg0
, arg1
);
2261 fprintf_unfiltered (gdb_stdlog
, "<- %s->find_memory_regions (", this->beneath
->shortname ());
2262 target_debug_print_find_memory_region_ftype (arg0
);
2263 fputs_unfiltered (", ", gdb_stdlog
);
2264 target_debug_print_void_p (arg1
);
2265 fputs_unfiltered (") = ", gdb_stdlog
);
2266 target_debug_print_int (result
);
2267 fputs_unfiltered ("\n", gdb_stdlog
);
2272 target_ops::make_corefile_notes (bfd
*arg0
, int *arg1
)
2274 return this->beneath
->make_corefile_notes (arg0
, arg1
);
2278 dummy_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2280 return dummy_make_corefile_notes (this, arg0
, arg1
);
2284 debug_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2287 fprintf_unfiltered (gdb_stdlog
, "-> %s->make_corefile_notes (...)\n", this->beneath
->shortname ());
2288 result
= this->beneath
->make_corefile_notes (arg0
, arg1
);
2289 fprintf_unfiltered (gdb_stdlog
, "<- %s->make_corefile_notes (", this->beneath
->shortname ());
2290 target_debug_print_bfd_p (arg0
);
2291 fputs_unfiltered (", ", gdb_stdlog
);
2292 target_debug_print_int_p (arg1
);
2293 fputs_unfiltered (") = ", gdb_stdlog
);
2294 target_debug_print_char_p (result
);
2295 fputs_unfiltered ("\n", gdb_stdlog
);
2300 target_ops::get_bookmark (const char *arg0
, int arg1
)
2302 return this->beneath
->get_bookmark (arg0
, arg1
);
2306 dummy_target::get_bookmark (const char *arg0
, int arg1
)
2312 debug_target::get_bookmark (const char *arg0
, int arg1
)
2315 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_bookmark (...)\n", this->beneath
->shortname ());
2316 result
= this->beneath
->get_bookmark (arg0
, arg1
);
2317 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_bookmark (", this->beneath
->shortname ());
2318 target_debug_print_const_char_p (arg0
);
2319 fputs_unfiltered (", ", gdb_stdlog
);
2320 target_debug_print_int (arg1
);
2321 fputs_unfiltered (") = ", gdb_stdlog
);
2322 target_debug_print_gdb_byte_p (result
);
2323 fputs_unfiltered ("\n", gdb_stdlog
);
2328 target_ops::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2330 this->beneath
->goto_bookmark (arg0
, arg1
);
2334 dummy_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2340 debug_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2342 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_bookmark (...)\n", this->beneath
->shortname ());
2343 this->beneath
->goto_bookmark (arg0
, arg1
);
2344 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_bookmark (", this->beneath
->shortname ());
2345 target_debug_print_const_gdb_byte_p (arg0
);
2346 fputs_unfiltered (", ", gdb_stdlog
);
2347 target_debug_print_int (arg1
);
2348 fputs_unfiltered (")\n", gdb_stdlog
);
2352 target_ops::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2354 return this->beneath
->get_thread_local_address (arg0
, arg1
, arg2
);
2358 dummy_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2360 generic_tls_error ();
2364 debug_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2367 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_thread_local_address (...)\n", this->beneath
->shortname ());
2368 result
= this->beneath
->get_thread_local_address (arg0
, arg1
, arg2
);
2369 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_thread_local_address (", this->beneath
->shortname ());
2370 target_debug_print_ptid_t (arg0
);
2371 fputs_unfiltered (", ", gdb_stdlog
);
2372 target_debug_print_CORE_ADDR (arg1
);
2373 fputs_unfiltered (", ", gdb_stdlog
);
2374 target_debug_print_CORE_ADDR (arg2
);
2375 fputs_unfiltered (") = ", gdb_stdlog
);
2376 target_debug_print_CORE_ADDR (result
);
2377 fputs_unfiltered ("\n", gdb_stdlog
);
2381 enum target_xfer_status
2382 target_ops::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2384 return this->beneath
->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2387 enum target_xfer_status
2388 dummy_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2390 return TARGET_XFER_E_IO
;
2393 enum target_xfer_status
2394 debug_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2396 enum target_xfer_status result
;
2397 fprintf_unfiltered (gdb_stdlog
, "-> %s->xfer_partial (...)\n", this->beneath
->shortname ());
2398 result
= this->beneath
->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2399 fprintf_unfiltered (gdb_stdlog
, "<- %s->xfer_partial (", this->beneath
->shortname ());
2400 target_debug_print_enum_target_object (arg0
);
2401 fputs_unfiltered (", ", gdb_stdlog
);
2402 target_debug_print_const_char_p (arg1
);
2403 fputs_unfiltered (", ", gdb_stdlog
);
2404 target_debug_print_gdb_byte_p (arg2
);
2405 fputs_unfiltered (", ", gdb_stdlog
);
2406 target_debug_print_const_gdb_byte_p (arg3
);
2407 fputs_unfiltered (", ", gdb_stdlog
);
2408 target_debug_print_ULONGEST (arg4
);
2409 fputs_unfiltered (", ", gdb_stdlog
);
2410 target_debug_print_ULONGEST (arg5
);
2411 fputs_unfiltered (", ", gdb_stdlog
);
2412 target_debug_print_ULONGEST_p (arg6
);
2413 fputs_unfiltered (") = ", gdb_stdlog
);
2414 target_debug_print_enum_target_xfer_status (result
);
2415 fputs_unfiltered ("\n", gdb_stdlog
);
2420 target_ops::get_memory_xfer_limit ()
2422 return this->beneath
->get_memory_xfer_limit ();
2426 dummy_target::get_memory_xfer_limit ()
2428 return ULONGEST_MAX
;
2432 debug_target::get_memory_xfer_limit ()
2435 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_memory_xfer_limit (...)\n", this->beneath
->shortname ());
2436 result
= this->beneath
->get_memory_xfer_limit ();
2437 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_memory_xfer_limit (", this->beneath
->shortname ());
2438 fputs_unfiltered (") = ", gdb_stdlog
);
2439 target_debug_print_ULONGEST (result
);
2440 fputs_unfiltered ("\n", gdb_stdlog
);
2444 std::vector
<mem_region
>
2445 target_ops::memory_map ()
2447 return this->beneath
->memory_map ();
2450 std::vector
<mem_region
>
2451 dummy_target::memory_map ()
2453 return std::vector
<mem_region
> ();
2456 std::vector
<mem_region
>
2457 debug_target::memory_map ()
2459 std::vector
<mem_region
> result
;
2460 fprintf_unfiltered (gdb_stdlog
, "-> %s->memory_map (...)\n", this->beneath
->shortname ());
2461 result
= this->beneath
->memory_map ();
2462 fprintf_unfiltered (gdb_stdlog
, "<- %s->memory_map (", this->beneath
->shortname ());
2463 fputs_unfiltered (") = ", gdb_stdlog
);
2464 target_debug_print_std_vector_mem_region (result
);
2465 fputs_unfiltered ("\n", gdb_stdlog
);
2470 target_ops::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2472 this->beneath
->flash_erase (arg0
, arg1
);
2476 dummy_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2482 debug_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2484 fprintf_unfiltered (gdb_stdlog
, "-> %s->flash_erase (...)\n", this->beneath
->shortname ());
2485 this->beneath
->flash_erase (arg0
, arg1
);
2486 fprintf_unfiltered (gdb_stdlog
, "<- %s->flash_erase (", this->beneath
->shortname ());
2487 target_debug_print_ULONGEST (arg0
);
2488 fputs_unfiltered (", ", gdb_stdlog
);
2489 target_debug_print_LONGEST (arg1
);
2490 fputs_unfiltered (")\n", gdb_stdlog
);
2494 target_ops::flash_done ()
2496 this->beneath
->flash_done ();
2500 dummy_target::flash_done ()
2506 debug_target::flash_done ()
2508 fprintf_unfiltered (gdb_stdlog
, "-> %s->flash_done (...)\n", this->beneath
->shortname ());
2509 this->beneath
->flash_done ();
2510 fprintf_unfiltered (gdb_stdlog
, "<- %s->flash_done (", this->beneath
->shortname ());
2511 fputs_unfiltered (")\n", gdb_stdlog
);
2514 const struct target_desc
*
2515 target_ops::read_description ()
2517 return this->beneath
->read_description ();
2520 const struct target_desc
*
2521 dummy_target::read_description ()
2526 const struct target_desc
*
2527 debug_target::read_description ()
2529 const struct target_desc
* result
;
2530 fprintf_unfiltered (gdb_stdlog
, "-> %s->read_description (...)\n", this->beneath
->shortname ());
2531 result
= this->beneath
->read_description ();
2532 fprintf_unfiltered (gdb_stdlog
, "<- %s->read_description (", this->beneath
->shortname ());
2533 fputs_unfiltered (") = ", gdb_stdlog
);
2534 target_debug_print_const_struct_target_desc_p (result
);
2535 fputs_unfiltered ("\n", gdb_stdlog
);
2540 target_ops::get_ada_task_ptid (long arg0
, long arg1
)
2542 return this->beneath
->get_ada_task_ptid (arg0
, arg1
);
2546 dummy_target::get_ada_task_ptid (long arg0
, long arg1
)
2548 return default_get_ada_task_ptid (this, arg0
, arg1
);
2552 debug_target::get_ada_task_ptid (long arg0
, long arg1
)
2555 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_ada_task_ptid (...)\n", this->beneath
->shortname ());
2556 result
= this->beneath
->get_ada_task_ptid (arg0
, arg1
);
2557 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_ada_task_ptid (", this->beneath
->shortname ());
2558 target_debug_print_long (arg0
);
2559 fputs_unfiltered (", ", gdb_stdlog
);
2560 target_debug_print_long (arg1
);
2561 fputs_unfiltered (") = ", gdb_stdlog
);
2562 target_debug_print_ptid_t (result
);
2563 fputs_unfiltered ("\n", gdb_stdlog
);
2568 target_ops::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2570 return this->beneath
->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2574 dummy_target::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2576 return default_auxv_parse (this, arg0
, arg1
, arg2
, arg3
);
2580 debug_target::auxv_parse (gdb_byte
**arg0
, gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2583 fprintf_unfiltered (gdb_stdlog
, "-> %s->auxv_parse (...)\n", this->beneath
->shortname ());
2584 result
= this->beneath
->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2585 fprintf_unfiltered (gdb_stdlog
, "<- %s->auxv_parse (", this->beneath
->shortname ());
2586 target_debug_print_gdb_byte_pp (arg0
);
2587 fputs_unfiltered (", ", gdb_stdlog
);
2588 target_debug_print_gdb_byte_p (arg1
);
2589 fputs_unfiltered (", ", gdb_stdlog
);
2590 target_debug_print_CORE_ADDR_p (arg2
);
2591 fputs_unfiltered (", ", gdb_stdlog
);
2592 target_debug_print_CORE_ADDR_p (arg3
);
2593 fputs_unfiltered (") = ", gdb_stdlog
);
2594 target_debug_print_int (result
);
2595 fputs_unfiltered ("\n", gdb_stdlog
);
2600 target_ops::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2602 return this->beneath
->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2606 dummy_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2608 return default_search_memory (this, arg0
, arg1
, arg2
, arg3
, arg4
);
2612 debug_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2615 fprintf_unfiltered (gdb_stdlog
, "-> %s->search_memory (...)\n", this->beneath
->shortname ());
2616 result
= this->beneath
->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2617 fprintf_unfiltered (gdb_stdlog
, "<- %s->search_memory (", this->beneath
->shortname ());
2618 target_debug_print_CORE_ADDR (arg0
);
2619 fputs_unfiltered (", ", gdb_stdlog
);
2620 target_debug_print_ULONGEST (arg1
);
2621 fputs_unfiltered (", ", gdb_stdlog
);
2622 target_debug_print_const_gdb_byte_p (arg2
);
2623 fputs_unfiltered (", ", gdb_stdlog
);
2624 target_debug_print_ULONGEST (arg3
);
2625 fputs_unfiltered (", ", gdb_stdlog
);
2626 target_debug_print_CORE_ADDR_p (arg4
);
2627 fputs_unfiltered (") = ", gdb_stdlog
);
2628 target_debug_print_int (result
);
2629 fputs_unfiltered ("\n", gdb_stdlog
);
2634 target_ops::can_execute_reverse ()
2636 return this->beneath
->can_execute_reverse ();
2640 dummy_target::can_execute_reverse ()
2646 debug_target::can_execute_reverse ()
2649 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_execute_reverse (...)\n", this->beneath
->shortname ());
2650 result
= this->beneath
->can_execute_reverse ();
2651 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_execute_reverse (", this->beneath
->shortname ());
2652 fputs_unfiltered (") = ", gdb_stdlog
);
2653 target_debug_print_bool (result
);
2654 fputs_unfiltered ("\n", gdb_stdlog
);
2658 enum exec_direction_kind
2659 target_ops::execution_direction ()
2661 return this->beneath
->execution_direction ();
2664 enum exec_direction_kind
2665 dummy_target::execution_direction ()
2667 return default_execution_direction (this);
2670 enum exec_direction_kind
2671 debug_target::execution_direction ()
2673 enum exec_direction_kind result
;
2674 fprintf_unfiltered (gdb_stdlog
, "-> %s->execution_direction (...)\n", this->beneath
->shortname ());
2675 result
= this->beneath
->execution_direction ();
2676 fprintf_unfiltered (gdb_stdlog
, "<- %s->execution_direction (", this->beneath
->shortname ());
2677 fputs_unfiltered (") = ", gdb_stdlog
);
2678 target_debug_print_enum_exec_direction_kind (result
);
2679 fputs_unfiltered ("\n", gdb_stdlog
);
2684 target_ops::supports_multi_process ()
2686 return this->beneath
->supports_multi_process ();
2690 dummy_target::supports_multi_process ()
2696 debug_target::supports_multi_process ()
2699 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_multi_process (...)\n", this->beneath
->shortname ());
2700 result
= this->beneath
->supports_multi_process ();
2701 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_multi_process (", this->beneath
->shortname ());
2702 fputs_unfiltered (") = ", gdb_stdlog
);
2703 target_debug_print_bool (result
);
2704 fputs_unfiltered ("\n", gdb_stdlog
);
2709 target_ops::supports_enable_disable_tracepoint ()
2711 return this->beneath
->supports_enable_disable_tracepoint ();
2715 dummy_target::supports_enable_disable_tracepoint ()
2721 debug_target::supports_enable_disable_tracepoint ()
2724 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath
->shortname ());
2725 result
= this->beneath
->supports_enable_disable_tracepoint ();
2726 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_enable_disable_tracepoint (", this->beneath
->shortname ());
2727 fputs_unfiltered (") = ", gdb_stdlog
);
2728 target_debug_print_bool (result
);
2729 fputs_unfiltered ("\n", gdb_stdlog
);
2734 target_ops::supports_disable_randomization ()
2736 return this->beneath
->supports_disable_randomization ();
2740 dummy_target::supports_disable_randomization ()
2742 return find_default_supports_disable_randomization (this);
2746 debug_target::supports_disable_randomization ()
2749 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_disable_randomization (...)\n", this->beneath
->shortname ());
2750 result
= this->beneath
->supports_disable_randomization ();
2751 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_disable_randomization (", this->beneath
->shortname ());
2752 fputs_unfiltered (") = ", gdb_stdlog
);
2753 target_debug_print_bool (result
);
2754 fputs_unfiltered ("\n", gdb_stdlog
);
2759 target_ops::supports_string_tracing ()
2761 return this->beneath
->supports_string_tracing ();
2765 dummy_target::supports_string_tracing ()
2771 debug_target::supports_string_tracing ()
2774 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_string_tracing (...)\n", this->beneath
->shortname ());
2775 result
= this->beneath
->supports_string_tracing ();
2776 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_string_tracing (", this->beneath
->shortname ());
2777 fputs_unfiltered (") = ", gdb_stdlog
);
2778 target_debug_print_bool (result
);
2779 fputs_unfiltered ("\n", gdb_stdlog
);
2784 target_ops::supports_evaluation_of_breakpoint_conditions ()
2786 return this->beneath
->supports_evaluation_of_breakpoint_conditions ();
2790 dummy_target::supports_evaluation_of_breakpoint_conditions ()
2796 debug_target::supports_evaluation_of_breakpoint_conditions ()
2799 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath
->shortname ());
2800 result
= this->beneath
->supports_evaluation_of_breakpoint_conditions ();
2801 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath
->shortname ());
2802 fputs_unfiltered (") = ", gdb_stdlog
);
2803 target_debug_print_bool (result
);
2804 fputs_unfiltered ("\n", gdb_stdlog
);
2809 target_ops::can_run_breakpoint_commands ()
2811 return this->beneath
->can_run_breakpoint_commands ();
2815 dummy_target::can_run_breakpoint_commands ()
2821 debug_target::can_run_breakpoint_commands ()
2824 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath
->shortname ());
2825 result
= this->beneath
->can_run_breakpoint_commands ();
2826 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_run_breakpoint_commands (", this->beneath
->shortname ());
2827 fputs_unfiltered (") = ", gdb_stdlog
);
2828 target_debug_print_bool (result
);
2829 fputs_unfiltered ("\n", gdb_stdlog
);
2834 target_ops::thread_architecture (ptid_t arg0
)
2836 return this->beneath
->thread_architecture (arg0
);
2840 dummy_target::thread_architecture (ptid_t arg0
)
2842 return default_thread_architecture (this, arg0
);
2846 debug_target::thread_architecture (ptid_t arg0
)
2848 struct gdbarch
* result
;
2849 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_architecture (...)\n", this->beneath
->shortname ());
2850 result
= this->beneath
->thread_architecture (arg0
);
2851 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_architecture (", this->beneath
->shortname ());
2852 target_debug_print_ptid_t (arg0
);
2853 fputs_unfiltered (") = ", gdb_stdlog
);
2854 target_debug_print_struct_gdbarch_p (result
);
2855 fputs_unfiltered ("\n", gdb_stdlog
);
2859 struct address_space
*
2860 target_ops::thread_address_space (ptid_t arg0
)
2862 return this->beneath
->thread_address_space (arg0
);
2865 struct address_space
*
2866 dummy_target::thread_address_space (ptid_t arg0
)
2868 return default_thread_address_space (this, arg0
);
2871 struct address_space
*
2872 debug_target::thread_address_space (ptid_t arg0
)
2874 struct address_space
* result
;
2875 fprintf_unfiltered (gdb_stdlog
, "-> %s->thread_address_space (...)\n", this->beneath
->shortname ());
2876 result
= this->beneath
->thread_address_space (arg0
);
2877 fprintf_unfiltered (gdb_stdlog
, "<- %s->thread_address_space (", this->beneath
->shortname ());
2878 target_debug_print_ptid_t (arg0
);
2879 fputs_unfiltered (") = ", gdb_stdlog
);
2880 target_debug_print_struct_address_space_p (result
);
2881 fputs_unfiltered ("\n", gdb_stdlog
);
2886 target_ops::filesystem_is_local ()
2888 return this->beneath
->filesystem_is_local ();
2892 dummy_target::filesystem_is_local ()
2898 debug_target::filesystem_is_local ()
2901 fprintf_unfiltered (gdb_stdlog
, "-> %s->filesystem_is_local (...)\n", this->beneath
->shortname ());
2902 result
= this->beneath
->filesystem_is_local ();
2903 fprintf_unfiltered (gdb_stdlog
, "<- %s->filesystem_is_local (", this->beneath
->shortname ());
2904 fputs_unfiltered (") = ", gdb_stdlog
);
2905 target_debug_print_bool (result
);
2906 fputs_unfiltered ("\n", gdb_stdlog
);
2911 target_ops::trace_init ()
2913 this->beneath
->trace_init ();
2917 dummy_target::trace_init ()
2923 debug_target::trace_init ()
2925 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_init (...)\n", this->beneath
->shortname ());
2926 this->beneath
->trace_init ();
2927 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_init (", this->beneath
->shortname ());
2928 fputs_unfiltered (")\n", gdb_stdlog
);
2932 target_ops::download_tracepoint (struct bp_location
*arg0
)
2934 this->beneath
->download_tracepoint (arg0
);
2938 dummy_target::download_tracepoint (struct bp_location
*arg0
)
2944 debug_target::download_tracepoint (struct bp_location
*arg0
)
2946 fprintf_unfiltered (gdb_stdlog
, "-> %s->download_tracepoint (...)\n", this->beneath
->shortname ());
2947 this->beneath
->download_tracepoint (arg0
);
2948 fprintf_unfiltered (gdb_stdlog
, "<- %s->download_tracepoint (", this->beneath
->shortname ());
2949 target_debug_print_struct_bp_location_p (arg0
);
2950 fputs_unfiltered (")\n", gdb_stdlog
);
2954 target_ops::can_download_tracepoint ()
2956 return this->beneath
->can_download_tracepoint ();
2960 dummy_target::can_download_tracepoint ()
2966 debug_target::can_download_tracepoint ()
2969 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_download_tracepoint (...)\n", this->beneath
->shortname ());
2970 result
= this->beneath
->can_download_tracepoint ();
2971 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_download_tracepoint (", this->beneath
->shortname ());
2972 fputs_unfiltered (") = ", gdb_stdlog
);
2973 target_debug_print_bool (result
);
2974 fputs_unfiltered ("\n", gdb_stdlog
);
2979 target_ops::download_trace_state_variable (const trace_state_variable
&arg0
)
2981 this->beneath
->download_trace_state_variable (arg0
);
2985 dummy_target::download_trace_state_variable (const trace_state_variable
&arg0
)
2991 debug_target::download_trace_state_variable (const trace_state_variable
&arg0
)
2993 fprintf_unfiltered (gdb_stdlog
, "-> %s->download_trace_state_variable (...)\n", this->beneath
->shortname ());
2994 this->beneath
->download_trace_state_variable (arg0
);
2995 fprintf_unfiltered (gdb_stdlog
, "<- %s->download_trace_state_variable (", this->beneath
->shortname ());
2996 target_debug_print_const_trace_state_variable_r (arg0
);
2997 fputs_unfiltered (")\n", gdb_stdlog
);
3001 target_ops::enable_tracepoint (struct bp_location
*arg0
)
3003 this->beneath
->enable_tracepoint (arg0
);
3007 dummy_target::enable_tracepoint (struct bp_location
*arg0
)
3013 debug_target::enable_tracepoint (struct bp_location
*arg0
)
3015 fprintf_unfiltered (gdb_stdlog
, "-> %s->enable_tracepoint (...)\n", this->beneath
->shortname ());
3016 this->beneath
->enable_tracepoint (arg0
);
3017 fprintf_unfiltered (gdb_stdlog
, "<- %s->enable_tracepoint (", this->beneath
->shortname ());
3018 target_debug_print_struct_bp_location_p (arg0
);
3019 fputs_unfiltered (")\n", gdb_stdlog
);
3023 target_ops::disable_tracepoint (struct bp_location
*arg0
)
3025 this->beneath
->disable_tracepoint (arg0
);
3029 dummy_target::disable_tracepoint (struct bp_location
*arg0
)
3035 debug_target::disable_tracepoint (struct bp_location
*arg0
)
3037 fprintf_unfiltered (gdb_stdlog
, "-> %s->disable_tracepoint (...)\n", this->beneath
->shortname ());
3038 this->beneath
->disable_tracepoint (arg0
);
3039 fprintf_unfiltered (gdb_stdlog
, "<- %s->disable_tracepoint (", this->beneath
->shortname ());
3040 target_debug_print_struct_bp_location_p (arg0
);
3041 fputs_unfiltered (")\n", gdb_stdlog
);
3045 target_ops::trace_set_readonly_regions ()
3047 this->beneath
->trace_set_readonly_regions ();
3051 dummy_target::trace_set_readonly_regions ()
3057 debug_target::trace_set_readonly_regions ()
3059 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_set_readonly_regions (...)\n", this->beneath
->shortname ());
3060 this->beneath
->trace_set_readonly_regions ();
3061 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_set_readonly_regions (", this->beneath
->shortname ());
3062 fputs_unfiltered (")\n", gdb_stdlog
);
3066 target_ops::trace_start ()
3068 this->beneath
->trace_start ();
3072 dummy_target::trace_start ()
3078 debug_target::trace_start ()
3080 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_start (...)\n", this->beneath
->shortname ());
3081 this->beneath
->trace_start ();
3082 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_start (", this->beneath
->shortname ());
3083 fputs_unfiltered (")\n", gdb_stdlog
);
3087 target_ops::get_trace_status (struct trace_status
*arg0
)
3089 return this->beneath
->get_trace_status (arg0
);
3093 dummy_target::get_trace_status (struct trace_status
*arg0
)
3099 debug_target::get_trace_status (struct trace_status
*arg0
)
3102 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_trace_status (...)\n", this->beneath
->shortname ());
3103 result
= this->beneath
->get_trace_status (arg0
);
3104 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_trace_status (", this->beneath
->shortname ());
3105 target_debug_print_struct_trace_status_p (arg0
);
3106 fputs_unfiltered (") = ", gdb_stdlog
);
3107 target_debug_print_int (result
);
3108 fputs_unfiltered ("\n", gdb_stdlog
);
3113 target_ops::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3115 this->beneath
->get_tracepoint_status (arg0
, arg1
);
3119 dummy_target::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3125 debug_target::get_tracepoint_status (struct breakpoint
*arg0
, struct uploaded_tp
*arg1
)
3127 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tracepoint_status (...)\n", this->beneath
->shortname ());
3128 this->beneath
->get_tracepoint_status (arg0
, arg1
);
3129 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tracepoint_status (", this->beneath
->shortname ());
3130 target_debug_print_struct_breakpoint_p (arg0
);
3131 fputs_unfiltered (", ", gdb_stdlog
);
3132 target_debug_print_struct_uploaded_tp_p (arg1
);
3133 fputs_unfiltered (")\n", gdb_stdlog
);
3137 target_ops::trace_stop ()
3139 this->beneath
->trace_stop ();
3143 dummy_target::trace_stop ()
3149 debug_target::trace_stop ()
3151 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_stop (...)\n", this->beneath
->shortname ());
3152 this->beneath
->trace_stop ();
3153 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_stop (", this->beneath
->shortname ());
3154 fputs_unfiltered (")\n", gdb_stdlog
);
3158 target_ops::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3160 return this->beneath
->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3164 dummy_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3170 debug_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3173 fprintf_unfiltered (gdb_stdlog
, "-> %s->trace_find (...)\n", this->beneath
->shortname ());
3174 result
= this->beneath
->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3175 fprintf_unfiltered (gdb_stdlog
, "<- %s->trace_find (", this->beneath
->shortname ());
3176 target_debug_print_enum_trace_find_type (arg0
);
3177 fputs_unfiltered (", ", gdb_stdlog
);
3178 target_debug_print_int (arg1
);
3179 fputs_unfiltered (", ", gdb_stdlog
);
3180 target_debug_print_CORE_ADDR (arg2
);
3181 fputs_unfiltered (", ", gdb_stdlog
);
3182 target_debug_print_CORE_ADDR (arg3
);
3183 fputs_unfiltered (", ", gdb_stdlog
);
3184 target_debug_print_int_p (arg4
);
3185 fputs_unfiltered (") = ", gdb_stdlog
);
3186 target_debug_print_int (result
);
3187 fputs_unfiltered ("\n", gdb_stdlog
);
3192 target_ops::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3194 return this->beneath
->get_trace_state_variable_value (arg0
, arg1
);
3198 dummy_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3204 debug_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3207 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_trace_state_variable_value (...)\n", this->beneath
->shortname ());
3208 result
= this->beneath
->get_trace_state_variable_value (arg0
, arg1
);
3209 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_trace_state_variable_value (", this->beneath
->shortname ());
3210 target_debug_print_int (arg0
);
3211 fputs_unfiltered (", ", gdb_stdlog
);
3212 target_debug_print_LONGEST_p (arg1
);
3213 fputs_unfiltered (") = ", gdb_stdlog
);
3214 target_debug_print_bool (result
);
3215 fputs_unfiltered ("\n", gdb_stdlog
);
3220 target_ops::save_trace_data (const char *arg0
)
3222 return this->beneath
->save_trace_data (arg0
);
3226 dummy_target::save_trace_data (const char *arg0
)
3232 debug_target::save_trace_data (const char *arg0
)
3235 fprintf_unfiltered (gdb_stdlog
, "-> %s->save_trace_data (...)\n", this->beneath
->shortname ());
3236 result
= this->beneath
->save_trace_data (arg0
);
3237 fprintf_unfiltered (gdb_stdlog
, "<- %s->save_trace_data (", this->beneath
->shortname ());
3238 target_debug_print_const_char_p (arg0
);
3239 fputs_unfiltered (") = ", gdb_stdlog
);
3240 target_debug_print_int (result
);
3241 fputs_unfiltered ("\n", gdb_stdlog
);
3246 target_ops::upload_tracepoints (struct uploaded_tp
**arg0
)
3248 return this->beneath
->upload_tracepoints (arg0
);
3252 dummy_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3258 debug_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3261 fprintf_unfiltered (gdb_stdlog
, "-> %s->upload_tracepoints (...)\n", this->beneath
->shortname ());
3262 result
= this->beneath
->upload_tracepoints (arg0
);
3263 fprintf_unfiltered (gdb_stdlog
, "<- %s->upload_tracepoints (", this->beneath
->shortname ());
3264 target_debug_print_struct_uploaded_tp_pp (arg0
);
3265 fputs_unfiltered (") = ", gdb_stdlog
);
3266 target_debug_print_int (result
);
3267 fputs_unfiltered ("\n", gdb_stdlog
);
3272 target_ops::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3274 return this->beneath
->upload_trace_state_variables (arg0
);
3278 dummy_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3284 debug_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3287 fprintf_unfiltered (gdb_stdlog
, "-> %s->upload_trace_state_variables (...)\n", this->beneath
->shortname ());
3288 result
= this->beneath
->upload_trace_state_variables (arg0
);
3289 fprintf_unfiltered (gdb_stdlog
, "<- %s->upload_trace_state_variables (", this->beneath
->shortname ());
3290 target_debug_print_struct_uploaded_tsv_pp (arg0
);
3291 fputs_unfiltered (") = ", gdb_stdlog
);
3292 target_debug_print_int (result
);
3293 fputs_unfiltered ("\n", gdb_stdlog
);
3298 target_ops::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3300 return this->beneath
->get_raw_trace_data (arg0
, arg1
, arg2
);
3304 dummy_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3310 debug_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3313 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_raw_trace_data (...)\n", this->beneath
->shortname ());
3314 result
= this->beneath
->get_raw_trace_data (arg0
, arg1
, arg2
);
3315 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_raw_trace_data (", this->beneath
->shortname ());
3316 target_debug_print_gdb_byte_p (arg0
);
3317 fputs_unfiltered (", ", gdb_stdlog
);
3318 target_debug_print_ULONGEST (arg1
);
3319 fputs_unfiltered (", ", gdb_stdlog
);
3320 target_debug_print_LONGEST (arg2
);
3321 fputs_unfiltered (") = ", gdb_stdlog
);
3322 target_debug_print_LONGEST (result
);
3323 fputs_unfiltered ("\n", gdb_stdlog
);
3328 target_ops::get_min_fast_tracepoint_insn_len ()
3330 return this->beneath
->get_min_fast_tracepoint_insn_len ();
3334 dummy_target::get_min_fast_tracepoint_insn_len ()
3340 debug_target::get_min_fast_tracepoint_insn_len ()
3343 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath
->shortname ());
3344 result
= this->beneath
->get_min_fast_tracepoint_insn_len ();
3345 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath
->shortname ());
3346 fputs_unfiltered (") = ", gdb_stdlog
);
3347 target_debug_print_int (result
);
3348 fputs_unfiltered ("\n", gdb_stdlog
);
3353 target_ops::set_disconnected_tracing (int arg0
)
3355 this->beneath
->set_disconnected_tracing (arg0
);
3359 dummy_target::set_disconnected_tracing (int arg0
)
3364 debug_target::set_disconnected_tracing (int arg0
)
3366 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_disconnected_tracing (...)\n", this->beneath
->shortname ());
3367 this->beneath
->set_disconnected_tracing (arg0
);
3368 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_disconnected_tracing (", this->beneath
->shortname ());
3369 target_debug_print_int (arg0
);
3370 fputs_unfiltered (")\n", gdb_stdlog
);
3374 target_ops::set_circular_trace_buffer (int arg0
)
3376 this->beneath
->set_circular_trace_buffer (arg0
);
3380 dummy_target::set_circular_trace_buffer (int arg0
)
3385 debug_target::set_circular_trace_buffer (int arg0
)
3387 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_circular_trace_buffer (...)\n", this->beneath
->shortname ());
3388 this->beneath
->set_circular_trace_buffer (arg0
);
3389 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_circular_trace_buffer (", this->beneath
->shortname ());
3390 target_debug_print_int (arg0
);
3391 fputs_unfiltered (")\n", gdb_stdlog
);
3395 target_ops::set_trace_buffer_size (LONGEST arg0
)
3397 this->beneath
->set_trace_buffer_size (arg0
);
3401 dummy_target::set_trace_buffer_size (LONGEST arg0
)
3406 debug_target::set_trace_buffer_size (LONGEST arg0
)
3408 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_trace_buffer_size (...)\n", this->beneath
->shortname ());
3409 this->beneath
->set_trace_buffer_size (arg0
);
3410 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_trace_buffer_size (", this->beneath
->shortname ());
3411 target_debug_print_LONGEST (arg0
);
3412 fputs_unfiltered (")\n", gdb_stdlog
);
3416 target_ops::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3418 return this->beneath
->set_trace_notes (arg0
, arg1
, arg2
);
3422 dummy_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3428 debug_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3431 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_trace_notes (...)\n", this->beneath
->shortname ());
3432 result
= this->beneath
->set_trace_notes (arg0
, arg1
, arg2
);
3433 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_trace_notes (", this->beneath
->shortname ());
3434 target_debug_print_const_char_p (arg0
);
3435 fputs_unfiltered (", ", gdb_stdlog
);
3436 target_debug_print_const_char_p (arg1
);
3437 fputs_unfiltered (", ", gdb_stdlog
);
3438 target_debug_print_const_char_p (arg2
);
3439 fputs_unfiltered (") = ", gdb_stdlog
);
3440 target_debug_print_bool (result
);
3441 fputs_unfiltered ("\n", gdb_stdlog
);
3446 target_ops::core_of_thread (ptid_t arg0
)
3448 return this->beneath
->core_of_thread (arg0
);
3452 dummy_target::core_of_thread (ptid_t arg0
)
3458 debug_target::core_of_thread (ptid_t arg0
)
3461 fprintf_unfiltered (gdb_stdlog
, "-> %s->core_of_thread (...)\n", this->beneath
->shortname ());
3462 result
= this->beneath
->core_of_thread (arg0
);
3463 fprintf_unfiltered (gdb_stdlog
, "<- %s->core_of_thread (", this->beneath
->shortname ());
3464 target_debug_print_ptid_t (arg0
);
3465 fputs_unfiltered (") = ", gdb_stdlog
);
3466 target_debug_print_int (result
);
3467 fputs_unfiltered ("\n", gdb_stdlog
);
3472 target_ops::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3474 return this->beneath
->verify_memory (arg0
, arg1
, arg2
);
3478 dummy_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3480 return default_verify_memory (this, arg0
, arg1
, arg2
);
3484 debug_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3487 fprintf_unfiltered (gdb_stdlog
, "-> %s->verify_memory (...)\n", this->beneath
->shortname ());
3488 result
= this->beneath
->verify_memory (arg0
, arg1
, arg2
);
3489 fprintf_unfiltered (gdb_stdlog
, "<- %s->verify_memory (", this->beneath
->shortname ());
3490 target_debug_print_const_gdb_byte_p (arg0
);
3491 fputs_unfiltered (", ", gdb_stdlog
);
3492 target_debug_print_CORE_ADDR (arg1
);
3493 fputs_unfiltered (", ", gdb_stdlog
);
3494 target_debug_print_ULONGEST (arg2
);
3495 fputs_unfiltered (") = ", gdb_stdlog
);
3496 target_debug_print_int (result
);
3497 fputs_unfiltered ("\n", gdb_stdlog
);
3502 target_ops::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3504 return this->beneath
->get_tib_address (arg0
, arg1
);
3508 dummy_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3514 debug_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3517 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tib_address (...)\n", this->beneath
->shortname ());
3518 result
= this->beneath
->get_tib_address (arg0
, arg1
);
3519 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tib_address (", this->beneath
->shortname ());
3520 target_debug_print_ptid_t (arg0
);
3521 fputs_unfiltered (", ", gdb_stdlog
);
3522 target_debug_print_CORE_ADDR_p (arg1
);
3523 fputs_unfiltered (") = ", gdb_stdlog
);
3524 target_debug_print_bool (result
);
3525 fputs_unfiltered ("\n", gdb_stdlog
);
3530 target_ops::set_permissions ()
3532 this->beneath
->set_permissions ();
3536 dummy_target::set_permissions ()
3541 debug_target::set_permissions ()
3543 fprintf_unfiltered (gdb_stdlog
, "-> %s->set_permissions (...)\n", this->beneath
->shortname ());
3544 this->beneath
->set_permissions ();
3545 fprintf_unfiltered (gdb_stdlog
, "<- %s->set_permissions (", this->beneath
->shortname ());
3546 fputs_unfiltered (")\n", gdb_stdlog
);
3550 target_ops::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3552 return this->beneath
->static_tracepoint_marker_at (arg0
, arg1
);
3556 dummy_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3562 debug_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3565 fprintf_unfiltered (gdb_stdlog
, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath
->shortname ());
3566 result
= this->beneath
->static_tracepoint_marker_at (arg0
, arg1
);
3567 fprintf_unfiltered (gdb_stdlog
, "<- %s->static_tracepoint_marker_at (", this->beneath
->shortname ());
3568 target_debug_print_CORE_ADDR (arg0
);
3569 fputs_unfiltered (", ", gdb_stdlog
);
3570 target_debug_print_static_tracepoint_marker_p (arg1
);
3571 fputs_unfiltered (") = ", gdb_stdlog
);
3572 target_debug_print_bool (result
);
3573 fputs_unfiltered ("\n", gdb_stdlog
);
3577 std::vector
<static_tracepoint_marker
>
3578 target_ops::static_tracepoint_markers_by_strid (const char *arg0
)
3580 return this->beneath
->static_tracepoint_markers_by_strid (arg0
);
3583 std::vector
<static_tracepoint_marker
>
3584 dummy_target::static_tracepoint_markers_by_strid (const char *arg0
)
3589 std::vector
<static_tracepoint_marker
>
3590 debug_target::static_tracepoint_markers_by_strid (const char *arg0
)
3592 std::vector
<static_tracepoint_marker
> result
;
3593 fprintf_unfiltered (gdb_stdlog
, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath
->shortname ());
3594 result
= this->beneath
->static_tracepoint_markers_by_strid (arg0
);
3595 fprintf_unfiltered (gdb_stdlog
, "<- %s->static_tracepoint_markers_by_strid (", this->beneath
->shortname ());
3596 target_debug_print_const_char_p (arg0
);
3597 fputs_unfiltered (") = ", gdb_stdlog
);
3598 target_debug_print_std_vector_static_tracepoint_marker (result
);
3599 fputs_unfiltered ("\n", gdb_stdlog
);
3604 target_ops::traceframe_info ()
3606 return this->beneath
->traceframe_info ();
3610 dummy_target::traceframe_info ()
3616 debug_target::traceframe_info ()
3618 traceframe_info_up result
;
3619 fprintf_unfiltered (gdb_stdlog
, "-> %s->traceframe_info (...)\n", this->beneath
->shortname ());
3620 result
= this->beneath
->traceframe_info ();
3621 fprintf_unfiltered (gdb_stdlog
, "<- %s->traceframe_info (", this->beneath
->shortname ());
3622 fputs_unfiltered (") = ", gdb_stdlog
);
3623 target_debug_print_traceframe_info_up (result
);
3624 fputs_unfiltered ("\n", gdb_stdlog
);
3629 target_ops::use_agent (bool arg0
)
3631 return this->beneath
->use_agent (arg0
);
3635 dummy_target::use_agent (bool arg0
)
3641 debug_target::use_agent (bool arg0
)
3644 fprintf_unfiltered (gdb_stdlog
, "-> %s->use_agent (...)\n", this->beneath
->shortname ());
3645 result
= this->beneath
->use_agent (arg0
);
3646 fprintf_unfiltered (gdb_stdlog
, "<- %s->use_agent (", this->beneath
->shortname ());
3647 target_debug_print_bool (arg0
);
3648 fputs_unfiltered (") = ", gdb_stdlog
);
3649 target_debug_print_bool (result
);
3650 fputs_unfiltered ("\n", gdb_stdlog
);
3655 target_ops::can_use_agent ()
3657 return this->beneath
->can_use_agent ();
3661 dummy_target::can_use_agent ()
3667 debug_target::can_use_agent ()
3670 fprintf_unfiltered (gdb_stdlog
, "-> %s->can_use_agent (...)\n", this->beneath
->shortname ());
3671 result
= this->beneath
->can_use_agent ();
3672 fprintf_unfiltered (gdb_stdlog
, "<- %s->can_use_agent (", this->beneath
->shortname ());
3673 fputs_unfiltered (") = ", gdb_stdlog
);
3674 target_debug_print_bool (result
);
3675 fputs_unfiltered ("\n", gdb_stdlog
);
3679 struct btrace_target_info
*
3680 target_ops::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3682 return this->beneath
->enable_btrace (arg0
, arg1
);
3685 struct btrace_target_info
*
3686 dummy_target::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3691 struct btrace_target_info
*
3692 debug_target::enable_btrace (ptid_t arg0
, const struct btrace_config
*arg1
)
3694 struct btrace_target_info
* result
;
3695 fprintf_unfiltered (gdb_stdlog
, "-> %s->enable_btrace (...)\n", this->beneath
->shortname ());
3696 result
= this->beneath
->enable_btrace (arg0
, arg1
);
3697 fprintf_unfiltered (gdb_stdlog
, "<- %s->enable_btrace (", this->beneath
->shortname ());
3698 target_debug_print_ptid_t (arg0
);
3699 fputs_unfiltered (", ", gdb_stdlog
);
3700 target_debug_print_const_struct_btrace_config_p (arg1
);
3701 fputs_unfiltered (") = ", gdb_stdlog
);
3702 target_debug_print_struct_btrace_target_info_p (result
);
3703 fputs_unfiltered ("\n", gdb_stdlog
);
3708 target_ops::disable_btrace (struct btrace_target_info
*arg0
)
3710 this->beneath
->disable_btrace (arg0
);
3714 dummy_target::disable_btrace (struct btrace_target_info
*arg0
)
3720 debug_target::disable_btrace (struct btrace_target_info
*arg0
)
3722 fprintf_unfiltered (gdb_stdlog
, "-> %s->disable_btrace (...)\n", this->beneath
->shortname ());
3723 this->beneath
->disable_btrace (arg0
);
3724 fprintf_unfiltered (gdb_stdlog
, "<- %s->disable_btrace (", this->beneath
->shortname ());
3725 target_debug_print_struct_btrace_target_info_p (arg0
);
3726 fputs_unfiltered (")\n", gdb_stdlog
);
3730 target_ops::teardown_btrace (struct btrace_target_info
*arg0
)
3732 this->beneath
->teardown_btrace (arg0
);
3736 dummy_target::teardown_btrace (struct btrace_target_info
*arg0
)
3742 debug_target::teardown_btrace (struct btrace_target_info
*arg0
)
3744 fprintf_unfiltered (gdb_stdlog
, "-> %s->teardown_btrace (...)\n", this->beneath
->shortname ());
3745 this->beneath
->teardown_btrace (arg0
);
3746 fprintf_unfiltered (gdb_stdlog
, "<- %s->teardown_btrace (", this->beneath
->shortname ());
3747 target_debug_print_struct_btrace_target_info_p (arg0
);
3748 fputs_unfiltered (")\n", gdb_stdlog
);
3752 target_ops::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3754 return this->beneath
->read_btrace (arg0
, arg1
, arg2
);
3758 dummy_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3764 debug_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3766 enum btrace_error result
;
3767 fprintf_unfiltered (gdb_stdlog
, "-> %s->read_btrace (...)\n", this->beneath
->shortname ());
3768 result
= this->beneath
->read_btrace (arg0
, arg1
, arg2
);
3769 fprintf_unfiltered (gdb_stdlog
, "<- %s->read_btrace (", this->beneath
->shortname ());
3770 target_debug_print_struct_btrace_data_p (arg0
);
3771 fputs_unfiltered (", ", gdb_stdlog
);
3772 target_debug_print_struct_btrace_target_info_p (arg1
);
3773 fputs_unfiltered (", ", gdb_stdlog
);
3774 target_debug_print_enum_btrace_read_type (arg2
);
3775 fputs_unfiltered (") = ", gdb_stdlog
);
3776 target_debug_print_enum_btrace_error (result
);
3777 fputs_unfiltered ("\n", gdb_stdlog
);
3781 const struct btrace_config
*
3782 target_ops::btrace_conf (const struct btrace_target_info
*arg0
)
3784 return this->beneath
->btrace_conf (arg0
);
3787 const struct btrace_config
*
3788 dummy_target::btrace_conf (const struct btrace_target_info
*arg0
)
3793 const struct btrace_config
*
3794 debug_target::btrace_conf (const struct btrace_target_info
*arg0
)
3796 const struct btrace_config
* result
;
3797 fprintf_unfiltered (gdb_stdlog
, "-> %s->btrace_conf (...)\n", this->beneath
->shortname ());
3798 result
= this->beneath
->btrace_conf (arg0
);
3799 fprintf_unfiltered (gdb_stdlog
, "<- %s->btrace_conf (", this->beneath
->shortname ());
3800 target_debug_print_const_struct_btrace_target_info_p (arg0
);
3801 fputs_unfiltered (") = ", gdb_stdlog
);
3802 target_debug_print_const_struct_btrace_config_p (result
);
3803 fputs_unfiltered ("\n", gdb_stdlog
);
3808 target_ops::record_method (ptid_t arg0
)
3810 return this->beneath
->record_method (arg0
);
3814 dummy_target::record_method (ptid_t arg0
)
3816 return RECORD_METHOD_NONE
;
3820 debug_target::record_method (ptid_t arg0
)
3822 enum record_method result
;
3823 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_method (...)\n", this->beneath
->shortname ());
3824 result
= this->beneath
->record_method (arg0
);
3825 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_method (", this->beneath
->shortname ());
3826 target_debug_print_ptid_t (arg0
);
3827 fputs_unfiltered (") = ", gdb_stdlog
);
3828 target_debug_print_enum_record_method (result
);
3829 fputs_unfiltered ("\n", gdb_stdlog
);
3834 target_ops::stop_recording ()
3836 this->beneath
->stop_recording ();
3840 dummy_target::stop_recording ()
3845 debug_target::stop_recording ()
3847 fprintf_unfiltered (gdb_stdlog
, "-> %s->stop_recording (...)\n", this->beneath
->shortname ());
3848 this->beneath
->stop_recording ();
3849 fprintf_unfiltered (gdb_stdlog
, "<- %s->stop_recording (", this->beneath
->shortname ());
3850 fputs_unfiltered (")\n", gdb_stdlog
);
3854 target_ops::info_record ()
3856 this->beneath
->info_record ();
3860 dummy_target::info_record ()
3865 debug_target::info_record ()
3867 fprintf_unfiltered (gdb_stdlog
, "-> %s->info_record (...)\n", this->beneath
->shortname ());
3868 this->beneath
->info_record ();
3869 fprintf_unfiltered (gdb_stdlog
, "<- %s->info_record (", this->beneath
->shortname ());
3870 fputs_unfiltered (")\n", gdb_stdlog
);
3874 target_ops::save_record (const char *arg0
)
3876 this->beneath
->save_record (arg0
);
3880 dummy_target::save_record (const char *arg0
)
3886 debug_target::save_record (const char *arg0
)
3888 fprintf_unfiltered (gdb_stdlog
, "-> %s->save_record (...)\n", this->beneath
->shortname ());
3889 this->beneath
->save_record (arg0
);
3890 fprintf_unfiltered (gdb_stdlog
, "<- %s->save_record (", this->beneath
->shortname ());
3891 target_debug_print_const_char_p (arg0
);
3892 fputs_unfiltered (")\n", gdb_stdlog
);
3896 target_ops::supports_delete_record ()
3898 return this->beneath
->supports_delete_record ();
3902 dummy_target::supports_delete_record ()
3908 debug_target::supports_delete_record ()
3911 fprintf_unfiltered (gdb_stdlog
, "-> %s->supports_delete_record (...)\n", this->beneath
->shortname ());
3912 result
= this->beneath
->supports_delete_record ();
3913 fprintf_unfiltered (gdb_stdlog
, "<- %s->supports_delete_record (", this->beneath
->shortname ());
3914 fputs_unfiltered (") = ", gdb_stdlog
);
3915 target_debug_print_bool (result
);
3916 fputs_unfiltered ("\n", gdb_stdlog
);
3921 target_ops::delete_record ()
3923 this->beneath
->delete_record ();
3927 dummy_target::delete_record ()
3933 debug_target::delete_record ()
3935 fprintf_unfiltered (gdb_stdlog
, "-> %s->delete_record (...)\n", this->beneath
->shortname ());
3936 this->beneath
->delete_record ();
3937 fprintf_unfiltered (gdb_stdlog
, "<- %s->delete_record (", this->beneath
->shortname ());
3938 fputs_unfiltered (")\n", gdb_stdlog
);
3942 target_ops::record_is_replaying (ptid_t arg0
)
3944 return this->beneath
->record_is_replaying (arg0
);
3948 dummy_target::record_is_replaying (ptid_t arg0
)
3954 debug_target::record_is_replaying (ptid_t arg0
)
3957 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_is_replaying (...)\n", this->beneath
->shortname ());
3958 result
= this->beneath
->record_is_replaying (arg0
);
3959 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_is_replaying (", this->beneath
->shortname ());
3960 target_debug_print_ptid_t (arg0
);
3961 fputs_unfiltered (") = ", gdb_stdlog
);
3962 target_debug_print_bool (result
);
3963 fputs_unfiltered ("\n", gdb_stdlog
);
3968 target_ops::record_will_replay (ptid_t arg0
, int arg1
)
3970 return this->beneath
->record_will_replay (arg0
, arg1
);
3974 dummy_target::record_will_replay (ptid_t arg0
, int arg1
)
3980 debug_target::record_will_replay (ptid_t arg0
, int arg1
)
3983 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_will_replay (...)\n", this->beneath
->shortname ());
3984 result
= this->beneath
->record_will_replay (arg0
, arg1
);
3985 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_will_replay (", this->beneath
->shortname ());
3986 target_debug_print_ptid_t (arg0
);
3987 fputs_unfiltered (", ", gdb_stdlog
);
3988 target_debug_print_int (arg1
);
3989 fputs_unfiltered (") = ", gdb_stdlog
);
3990 target_debug_print_bool (result
);
3991 fputs_unfiltered ("\n", gdb_stdlog
);
3996 target_ops::record_stop_replaying ()
3998 this->beneath
->record_stop_replaying ();
4002 dummy_target::record_stop_replaying ()
4007 debug_target::record_stop_replaying ()
4009 fprintf_unfiltered (gdb_stdlog
, "-> %s->record_stop_replaying (...)\n", this->beneath
->shortname ());
4010 this->beneath
->record_stop_replaying ();
4011 fprintf_unfiltered (gdb_stdlog
, "<- %s->record_stop_replaying (", this->beneath
->shortname ());
4012 fputs_unfiltered (")\n", gdb_stdlog
);
4016 target_ops::goto_record_begin ()
4018 this->beneath
->goto_record_begin ();
4022 dummy_target::goto_record_begin ()
4028 debug_target::goto_record_begin ()
4030 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record_begin (...)\n", this->beneath
->shortname ());
4031 this->beneath
->goto_record_begin ();
4032 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record_begin (", this->beneath
->shortname ());
4033 fputs_unfiltered (")\n", gdb_stdlog
);
4037 target_ops::goto_record_end ()
4039 this->beneath
->goto_record_end ();
4043 dummy_target::goto_record_end ()
4049 debug_target::goto_record_end ()
4051 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record_end (...)\n", this->beneath
->shortname ());
4052 this->beneath
->goto_record_end ();
4053 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record_end (", this->beneath
->shortname ());
4054 fputs_unfiltered (")\n", gdb_stdlog
);
4058 target_ops::goto_record (ULONGEST arg0
)
4060 this->beneath
->goto_record (arg0
);
4064 dummy_target::goto_record (ULONGEST arg0
)
4070 debug_target::goto_record (ULONGEST arg0
)
4072 fprintf_unfiltered (gdb_stdlog
, "-> %s->goto_record (...)\n", this->beneath
->shortname ());
4073 this->beneath
->goto_record (arg0
);
4074 fprintf_unfiltered (gdb_stdlog
, "<- %s->goto_record (", this->beneath
->shortname ());
4075 target_debug_print_ULONGEST (arg0
);
4076 fputs_unfiltered (")\n", gdb_stdlog
);
4080 target_ops::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4082 this->beneath
->insn_history (arg0
, arg1
);
4086 dummy_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4092 debug_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4094 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history (...)\n", this->beneath
->shortname ());
4095 this->beneath
->insn_history (arg0
, arg1
);
4096 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history (", this->beneath
->shortname ());
4097 target_debug_print_int (arg0
);
4098 fputs_unfiltered (", ", gdb_stdlog
);
4099 target_debug_print_gdb_disassembly_flags (arg1
);
4100 fputs_unfiltered (")\n", gdb_stdlog
);
4104 target_ops::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4106 this->beneath
->insn_history_from (arg0
, arg1
, arg2
);
4110 dummy_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4116 debug_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4118 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history_from (...)\n", this->beneath
->shortname ());
4119 this->beneath
->insn_history_from (arg0
, arg1
, arg2
);
4120 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history_from (", this->beneath
->shortname ());
4121 target_debug_print_ULONGEST (arg0
);
4122 fputs_unfiltered (", ", gdb_stdlog
);
4123 target_debug_print_int (arg1
);
4124 fputs_unfiltered (", ", gdb_stdlog
);
4125 target_debug_print_gdb_disassembly_flags (arg2
);
4126 fputs_unfiltered (")\n", gdb_stdlog
);
4130 target_ops::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4132 this->beneath
->insn_history_range (arg0
, arg1
, arg2
);
4136 dummy_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4142 debug_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4144 fprintf_unfiltered (gdb_stdlog
, "-> %s->insn_history_range (...)\n", this->beneath
->shortname ());
4145 this->beneath
->insn_history_range (arg0
, arg1
, arg2
);
4146 fprintf_unfiltered (gdb_stdlog
, "<- %s->insn_history_range (", this->beneath
->shortname ());
4147 target_debug_print_ULONGEST (arg0
);
4148 fputs_unfiltered (", ", gdb_stdlog
);
4149 target_debug_print_ULONGEST (arg1
);
4150 fputs_unfiltered (", ", gdb_stdlog
);
4151 target_debug_print_gdb_disassembly_flags (arg2
);
4152 fputs_unfiltered (")\n", gdb_stdlog
);
4156 target_ops::call_history (int arg0
, record_print_flags arg1
)
4158 this->beneath
->call_history (arg0
, arg1
);
4162 dummy_target::call_history (int arg0
, record_print_flags arg1
)
4168 debug_target::call_history (int arg0
, record_print_flags arg1
)
4170 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history (...)\n", this->beneath
->shortname ());
4171 this->beneath
->call_history (arg0
, arg1
);
4172 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history (", this->beneath
->shortname ());
4173 target_debug_print_int (arg0
);
4174 fputs_unfiltered (", ", gdb_stdlog
);
4175 target_debug_print_record_print_flags (arg1
);
4176 fputs_unfiltered (")\n", gdb_stdlog
);
4180 target_ops::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4182 this->beneath
->call_history_from (arg0
, arg1
, arg2
);
4186 dummy_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4192 debug_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4194 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history_from (...)\n", this->beneath
->shortname ());
4195 this->beneath
->call_history_from (arg0
, arg1
, arg2
);
4196 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history_from (", this->beneath
->shortname ());
4197 target_debug_print_ULONGEST (arg0
);
4198 fputs_unfiltered (", ", gdb_stdlog
);
4199 target_debug_print_int (arg1
);
4200 fputs_unfiltered (", ", gdb_stdlog
);
4201 target_debug_print_record_print_flags (arg2
);
4202 fputs_unfiltered (")\n", gdb_stdlog
);
4206 target_ops::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4208 this->beneath
->call_history_range (arg0
, arg1
, arg2
);
4212 dummy_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4218 debug_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4220 fprintf_unfiltered (gdb_stdlog
, "-> %s->call_history_range (...)\n", this->beneath
->shortname ());
4221 this->beneath
->call_history_range (arg0
, arg1
, arg2
);
4222 fprintf_unfiltered (gdb_stdlog
, "<- %s->call_history_range (", this->beneath
->shortname ());
4223 target_debug_print_ULONGEST (arg0
);
4224 fputs_unfiltered (", ", gdb_stdlog
);
4225 target_debug_print_ULONGEST (arg1
);
4226 fputs_unfiltered (", ", gdb_stdlog
);
4227 target_debug_print_record_print_flags (arg2
);
4228 fputs_unfiltered (")\n", gdb_stdlog
);
4232 target_ops::augmented_libraries_svr4_read ()
4234 return this->beneath
->augmented_libraries_svr4_read ();
4238 dummy_target::augmented_libraries_svr4_read ()
4244 debug_target::augmented_libraries_svr4_read ()
4247 fprintf_unfiltered (gdb_stdlog
, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath
->shortname ());
4248 result
= this->beneath
->augmented_libraries_svr4_read ();
4249 fprintf_unfiltered (gdb_stdlog
, "<- %s->augmented_libraries_svr4_read (", this->beneath
->shortname ());
4250 fputs_unfiltered (") = ", gdb_stdlog
);
4251 target_debug_print_bool (result
);
4252 fputs_unfiltered ("\n", gdb_stdlog
);
4256 const struct frame_unwind
*
4257 target_ops::get_unwinder ()
4259 return this->beneath
->get_unwinder ();
4262 const struct frame_unwind
*
4263 dummy_target::get_unwinder ()
4268 const struct frame_unwind
*
4269 debug_target::get_unwinder ()
4271 const struct frame_unwind
* result
;
4272 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_unwinder (...)\n", this->beneath
->shortname ());
4273 result
= this->beneath
->get_unwinder ();
4274 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_unwinder (", this->beneath
->shortname ());
4275 fputs_unfiltered (") = ", gdb_stdlog
);
4276 target_debug_print_const_struct_frame_unwind_p (result
);
4277 fputs_unfiltered ("\n", gdb_stdlog
);
4281 const struct frame_unwind
*
4282 target_ops::get_tailcall_unwinder ()
4284 return this->beneath
->get_tailcall_unwinder ();
4287 const struct frame_unwind
*
4288 dummy_target::get_tailcall_unwinder ()
4293 const struct frame_unwind
*
4294 debug_target::get_tailcall_unwinder ()
4296 const struct frame_unwind
* result
;
4297 fprintf_unfiltered (gdb_stdlog
, "-> %s->get_tailcall_unwinder (...)\n", this->beneath
->shortname ());
4298 result
= this->beneath
->get_tailcall_unwinder ();
4299 fprintf_unfiltered (gdb_stdlog
, "<- %s->get_tailcall_unwinder (", this->beneath
->shortname ());
4300 fputs_unfiltered (") = ", gdb_stdlog
);
4301 target_debug_print_const_struct_frame_unwind_p (result
);
4302 fputs_unfiltered ("\n", gdb_stdlog
);
4307 target_ops::prepare_to_generate_core ()
4309 this->beneath
->prepare_to_generate_core ();
4313 dummy_target::prepare_to_generate_core ()
4318 debug_target::prepare_to_generate_core ()
4320 fprintf_unfiltered (gdb_stdlog
, "-> %s->prepare_to_generate_core (...)\n", this->beneath
->shortname ());
4321 this->beneath
->prepare_to_generate_core ();
4322 fprintf_unfiltered (gdb_stdlog
, "<- %s->prepare_to_generate_core (", this->beneath
->shortname ());
4323 fputs_unfiltered (")\n", gdb_stdlog
);
4327 target_ops::done_generating_core ()
4329 this->beneath
->done_generating_core ();
4333 dummy_target::done_generating_core ()
4338 debug_target::done_generating_core ()
4340 fprintf_unfiltered (gdb_stdlog
, "-> %s->done_generating_core (...)\n", this->beneath
->shortname ());
4341 this->beneath
->done_generating_core ();
4342 fprintf_unfiltered (gdb_stdlog
, "<- %s->done_generating_core (", this->beneath
->shortname ());
4343 fputs_unfiltered (")\n", gdb_stdlog
);