Commit | Line | Data |
---|---|---|
1101cb7b TT |
1 | /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */ |
2 | /* vi:set ro: */ | |
3 | ||
4 | /* To regenerate this file, run:*/ | |
5 | /* make-target-delegates target.h > target-delegates.c */ | |
bebd3233 | 6 | |
f6ac5f3d PA |
7 | struct dummy_target : public target_ops |
8 | { | |
d9f719f1 | 9 | const target_info &info () const override; |
f6ac5f3d | 10 | |
66b4deae PA |
11 | strata stratum () const override; |
12 | ||
f6ac5f3d PA |
13 | void post_attach (int arg0) override; |
14 | void detach (inferior *arg0, int arg1) override; | |
15 | void disconnect (const char *arg0, int arg1) override; | |
16 | void resume (ptid_t arg0, int arg1, enum gdb_signal arg2) override; | |
17 | void commit_resume () override; | |
18 | ptid_t wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2) override; | |
19 | void fetch_registers (struct regcache *arg0, int arg1) override; | |
20 | void store_registers (struct regcache *arg0, int arg1) override; | |
21 | void prepare_to_store (struct regcache *arg0) override; | |
22 | void files_info () override; | |
23 | int insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override; | |
24 | int remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) override; | |
57810aa7 PA |
25 | bool stopped_by_sw_breakpoint () override; |
26 | bool supports_stopped_by_sw_breakpoint () override; | |
27 | bool stopped_by_hw_breakpoint () override; | |
28 | bool supports_stopped_by_hw_breakpoint () override; | |
f6ac5f3d PA |
29 | int can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2) override; |
30 | int ranged_break_num_registers () override; | |
31 | int insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override; | |
32 | int remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) override; | |
33 | int remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override; | |
34 | int insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) override; | |
35 | int insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override; | |
36 | int remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) override; | |
57810aa7 | 37 | bool stopped_by_watchpoint () override; |
c2a6c5da | 38 | bool have_steppable_watchpoint () override; |
57810aa7 PA |
39 | bool stopped_data_address (CORE_ADDR *arg0) override; |
40 | bool watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2) override; | |
f6ac5f3d | 41 | int region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1) override; |
57810aa7 | 42 | bool can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) override; |
f6ac5f3d PA |
43 | int masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1) override; |
44 | int can_do_single_step () override; | |
45 | bool supports_terminal_ours () override; | |
46 | void terminal_init () override; | |
47 | void terminal_inferior () override; | |
48 | void terminal_save_inferior () override; | |
49 | void terminal_ours_for_output () override; | |
50 | void terminal_ours () override; | |
51 | void terminal_info (const char *arg0, int arg1) override; | |
52 | void kill () override; | |
53 | void load (const char *arg0, int arg1) override; | |
54 | void post_startup_inferior (ptid_t arg0) override; | |
55 | int insert_fork_catchpoint (int arg0) override; | |
56 | int remove_fork_catchpoint (int arg0) override; | |
57 | int insert_vfork_catchpoint (int arg0) override; | |
58 | int remove_vfork_catchpoint (int arg0) override; | |
5ab2fbf1 | 59 | bool follow_fork (bool arg0, bool arg1) override; |
f6ac5f3d PA |
60 | int insert_exec_catchpoint (int arg0) override; |
61 | int remove_exec_catchpoint (int arg0) override; | |
4ca51187 | 62 | void follow_exec (struct inferior *arg0, const char *arg1) override; |
f6ac5f3d PA |
63 | int set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3) override; |
64 | void mourn_inferior () override; | |
adc6a863 PA |
65 | void pass_signals (gdb::array_view<const unsigned char> arg0) override; |
66 | void program_signals (gdb::array_view<const unsigned char> arg0) override; | |
57810aa7 | 67 | bool thread_alive (ptid_t arg0) override; |
f6ac5f3d | 68 | void update_thread_list () override; |
a068643d | 69 | std::string pid_to_str (ptid_t arg0) override; |
f6ac5f3d PA |
70 | const char *extra_thread_info (thread_info *arg0) override; |
71 | const char *thread_name (thread_info *arg0) override; | |
72 | thread_info *thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2) override; | |
3d6c6204 | 73 | gdb::byte_vector thread_info_to_thread_handle (struct thread_info *arg0) override; |
f6ac5f3d PA |
74 | void stop (ptid_t arg0) override; |
75 | void interrupt () override; | |
76 | void pass_ctrlc () override; | |
77 | void rcmd (const char *arg0, struct ui_file *arg1) override; | |
78 | char *pid_to_exec_file (int arg0) override; | |
79 | void log_command (const char *arg0) override; | |
80 | struct target_section_table *get_section_table () override; | |
81 | thread_control_capabilities get_thread_control_capabilities () override; | |
82 | bool attach_no_wait () override; | |
57810aa7 PA |
83 | bool can_async_p () override; |
84 | bool is_async_p () override; | |
f6ac5f3d | 85 | void async (int arg0) override; |
5b6d1e4f | 86 | int async_wait_fd () override; |
f6ac5f3d | 87 | void thread_events (int arg0) override; |
57810aa7 PA |
88 | bool supports_non_stop () override; |
89 | bool always_non_stop_p () override; | |
f6ac5f3d PA |
90 | int find_memory_regions (find_memory_region_ftype arg0, void *arg1) override; |
91 | char *make_corefile_notes (bfd *arg0, int *arg1) override; | |
92 | gdb_byte *get_bookmark (const char *arg0, int arg1) override; | |
93 | void goto_bookmark (const gdb_byte *arg0, int arg1) override; | |
94 | CORE_ADDR get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) override; | |
95 | enum target_xfer_status xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6) override; | |
96 | ULONGEST get_memory_xfer_limit () override; | |
97 | std::vector<mem_region> memory_map () override; | |
98 | void flash_erase (ULONGEST arg0, LONGEST arg1) override; | |
99 | void flash_done () override; | |
100 | const struct target_desc *read_description () override; | |
101 | ptid_t get_ada_task_ptid (long arg0, long arg1) override; | |
102 | int auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) override; | |
103 | int search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) override; | |
57810aa7 | 104 | bool can_execute_reverse () override; |
f6ac5f3d | 105 | enum exec_direction_kind execution_direction () override; |
57810aa7 PA |
106 | bool supports_multi_process () override; |
107 | bool supports_enable_disable_tracepoint () override; | |
108 | bool supports_disable_randomization () override; | |
109 | bool supports_string_tracing () override; | |
110 | bool supports_evaluation_of_breakpoint_conditions () override; | |
111 | bool can_run_breakpoint_commands () override; | |
f6ac5f3d PA |
112 | struct gdbarch *thread_architecture (ptid_t arg0) override; |
113 | struct address_space *thread_address_space (ptid_t arg0) override; | |
57810aa7 | 114 | bool filesystem_is_local () override; |
f6ac5f3d PA |
115 | void trace_init () override; |
116 | void download_tracepoint (struct bp_location *arg0) override; | |
57810aa7 | 117 | bool can_download_tracepoint () override; |
f6ac5f3d PA |
118 | void download_trace_state_variable (const trace_state_variable &arg0) override; |
119 | void enable_tracepoint (struct bp_location *arg0) override; | |
120 | void disable_tracepoint (struct bp_location *arg0) override; | |
121 | void trace_set_readonly_regions () override; | |
122 | void trace_start () override; | |
123 | int get_trace_status (struct trace_status *arg0) override; | |
124 | void get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1) override; | |
125 | void trace_stop () override; | |
126 | int trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) override; | |
57810aa7 | 127 | bool get_trace_state_variable_value (int arg0, LONGEST *arg1) override; |
f6ac5f3d PA |
128 | int save_trace_data (const char *arg0) override; |
129 | int upload_tracepoints (struct uploaded_tp **arg0) override; | |
130 | int upload_trace_state_variables (struct uploaded_tsv **arg0) override; | |
131 | LONGEST get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) override; | |
132 | int get_min_fast_tracepoint_insn_len () override; | |
133 | void set_disconnected_tracing (int arg0) override; | |
134 | void set_circular_trace_buffer (int arg0) override; | |
135 | void set_trace_buffer_size (LONGEST arg0) override; | |
57810aa7 | 136 | bool set_trace_notes (const char *arg0, const char *arg1, const char *arg2) override; |
f6ac5f3d PA |
137 | int core_of_thread (ptid_t arg0) override; |
138 | int verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) override; | |
57810aa7 | 139 | bool get_tib_address (ptid_t arg0, CORE_ADDR *arg1) override; |
f6ac5f3d PA |
140 | void set_permissions () override; |
141 | bool static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) override; | |
142 | std::vector<static_tracepoint_marker> static_tracepoint_markers_by_strid (const char *arg0) override; | |
143 | traceframe_info_up traceframe_info () override; | |
57810aa7 PA |
144 | bool use_agent (bool arg0) override; |
145 | bool can_use_agent () override; | |
f6ac5f3d PA |
146 | struct btrace_target_info *enable_btrace (ptid_t arg0, const struct btrace_config *arg1) override; |
147 | void disable_btrace (struct btrace_target_info *arg0) override; | |
148 | void teardown_btrace (struct btrace_target_info *arg0) override; | |
149 | enum btrace_error read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) override; | |
150 | const struct btrace_config *btrace_conf (const struct btrace_target_info *arg0) override; | |
151 | enum record_method record_method (ptid_t arg0) override; | |
152 | void stop_recording () override; | |
153 | void info_record () override; | |
154 | void save_record (const char *arg0) override; | |
155 | bool supports_delete_record () override; | |
156 | void delete_record () override; | |
57810aa7 PA |
157 | bool record_is_replaying (ptid_t arg0) override; |
158 | bool record_will_replay (ptid_t arg0, int arg1) override; | |
f6ac5f3d PA |
159 | void record_stop_replaying () override; |
160 | void goto_record_begin () override; | |
161 | void goto_record_end () override; | |
162 | void goto_record (ULONGEST arg0) override; | |
163 | void insn_history (int arg0, gdb_disassembly_flags arg1) override; | |
164 | void insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) override; | |
165 | void insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) override; | |
166 | void call_history (int arg0, record_print_flags arg1) override; | |
167 | void call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) override; | |
168 | void call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) override; | |
57810aa7 | 169 | bool augmented_libraries_svr4_read () override; |
f6ac5f3d PA |
170 | const struct frame_unwind *get_unwinder () override; |
171 | const struct frame_unwind *get_tailcall_unwinder () override; | |
172 | void prepare_to_generate_core () override; | |
173 | void done_generating_core () override; | |
65a7e4d6 | 174 | bool supports_displaced_step (thread_info *arg0) override; |
348a832d SM |
175 | displaced_step_prepare_status displaced_step_prepare (thread_info *arg0) override; |
176 | displaced_step_finish_status displaced_step_finish (thread_info *arg0, gdb_signal arg1) override; | |
f6ac5f3d PA |
177 | }; |
178 | ||
179 | struct debug_target : public target_ops | |
180 | { | |
d9f719f1 | 181 | const target_info &info () const override; |
f6ac5f3d | 182 | |
66b4deae PA |
183 | strata stratum () const override; |
184 | ||
f6ac5f3d PA |
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; | |
57810aa7 PA |
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; | |
f6ac5f3d PA |
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; | |
57810aa7 | 209 | bool stopped_by_watchpoint () override; |
c2a6c5da | 210 | bool have_steppable_watchpoint () override; |
57810aa7 PA |
211 | bool stopped_data_address (CORE_ADDR *arg0) override; |
212 | bool watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2) override; | |
f6ac5f3d | 213 | int region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1) override; |
57810aa7 | 214 | bool can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) override; |
f6ac5f3d PA |
215 | int masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1) override; |
216 | int can_do_single_step () override; | |
217 | bool supports_terminal_ours () override; | |
218 | void terminal_init () override; | |
219 | void terminal_inferior () override; | |
220 | void terminal_save_inferior () override; | |
221 | void terminal_ours_for_output () override; | |
222 | void terminal_ours () override; | |
223 | void terminal_info (const char *arg0, int arg1) override; | |
224 | void kill () override; | |
225 | void load (const char *arg0, int arg1) override; | |
226 | void post_startup_inferior (ptid_t arg0) override; | |
227 | int insert_fork_catchpoint (int arg0) override; | |
228 | int remove_fork_catchpoint (int arg0) override; | |
229 | int insert_vfork_catchpoint (int arg0) override; | |
230 | int remove_vfork_catchpoint (int arg0) override; | |
5ab2fbf1 | 231 | bool follow_fork (bool arg0, bool arg1) override; |
f6ac5f3d PA |
232 | int insert_exec_catchpoint (int arg0) override; |
233 | int remove_exec_catchpoint (int arg0) override; | |
4ca51187 | 234 | void follow_exec (struct inferior *arg0, const char *arg1) override; |
f6ac5f3d PA |
235 | int set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3) override; |
236 | void mourn_inferior () override; | |
adc6a863 PA |
237 | void pass_signals (gdb::array_view<const unsigned char> arg0) override; |
238 | void program_signals (gdb::array_view<const unsigned char> arg0) override; | |
57810aa7 | 239 | bool thread_alive (ptid_t arg0) override; |
f6ac5f3d | 240 | void update_thread_list () override; |
a068643d | 241 | std::string pid_to_str (ptid_t arg0) override; |
f6ac5f3d PA |
242 | const char *extra_thread_info (thread_info *arg0) override; |
243 | const char *thread_name (thread_info *arg0) override; | |
244 | thread_info *thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2) override; | |
3d6c6204 | 245 | gdb::byte_vector thread_info_to_thread_handle (struct thread_info *arg0) override; |
f6ac5f3d PA |
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; | |
57810aa7 PA |
255 | bool can_async_p () override; |
256 | bool is_async_p () override; | |
f6ac5f3d | 257 | void async (int arg0) override; |
5b6d1e4f | 258 | int async_wait_fd () override; |
f6ac5f3d | 259 | void thread_events (int arg0) override; |
57810aa7 PA |
260 | bool supports_non_stop () override; |
261 | bool always_non_stop_p () override; | |
f6ac5f3d PA |
262 | int find_memory_regions (find_memory_region_ftype arg0, void *arg1) override; |
263 | char *make_corefile_notes (bfd *arg0, int *arg1) override; | |
264 | gdb_byte *get_bookmark (const char *arg0, int arg1) override; | |
265 | void goto_bookmark (const gdb_byte *arg0, int arg1) override; | |
266 | CORE_ADDR get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) override; | |
267 | enum target_xfer_status xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6) override; | |
268 | ULONGEST get_memory_xfer_limit () override; | |
269 | std::vector<mem_region> memory_map () override; | |
270 | void flash_erase (ULONGEST arg0, LONGEST arg1) override; | |
271 | void flash_done () override; | |
272 | const struct target_desc *read_description () override; | |
273 | ptid_t get_ada_task_ptid (long arg0, long arg1) override; | |
274 | int auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) override; | |
275 | int search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) override; | |
57810aa7 | 276 | bool can_execute_reverse () override; |
f6ac5f3d | 277 | enum exec_direction_kind execution_direction () override; |
57810aa7 PA |
278 | bool supports_multi_process () override; |
279 | bool supports_enable_disable_tracepoint () override; | |
280 | bool supports_disable_randomization () override; | |
281 | bool supports_string_tracing () override; | |
282 | bool supports_evaluation_of_breakpoint_conditions () override; | |
283 | bool can_run_breakpoint_commands () override; | |
f6ac5f3d PA |
284 | struct gdbarch *thread_architecture (ptid_t arg0) override; |
285 | struct address_space *thread_address_space (ptid_t arg0) override; | |
57810aa7 | 286 | bool filesystem_is_local () override; |
f6ac5f3d PA |
287 | void trace_init () override; |
288 | void download_tracepoint (struct bp_location *arg0) override; | |
57810aa7 | 289 | bool can_download_tracepoint () override; |
f6ac5f3d PA |
290 | void download_trace_state_variable (const trace_state_variable &arg0) override; |
291 | void enable_tracepoint (struct bp_location *arg0) override; | |
292 | void disable_tracepoint (struct bp_location *arg0) override; | |
293 | void trace_set_readonly_regions () override; | |
294 | void trace_start () override; | |
295 | int get_trace_status (struct trace_status *arg0) override; | |
296 | void get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1) override; | |
297 | void trace_stop () override; | |
298 | int trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) override; | |
57810aa7 | 299 | bool get_trace_state_variable_value (int arg0, LONGEST *arg1) override; |
f6ac5f3d PA |
300 | int save_trace_data (const char *arg0) override; |
301 | int upload_tracepoints (struct uploaded_tp **arg0) override; | |
302 | int upload_trace_state_variables (struct uploaded_tsv **arg0) override; | |
303 | LONGEST get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) override; | |
304 | int get_min_fast_tracepoint_insn_len () override; | |
305 | void set_disconnected_tracing (int arg0) override; | |
306 | void set_circular_trace_buffer (int arg0) override; | |
307 | void set_trace_buffer_size (LONGEST arg0) override; | |
57810aa7 | 308 | bool set_trace_notes (const char *arg0, const char *arg1, const char *arg2) override; |
f6ac5f3d PA |
309 | int core_of_thread (ptid_t arg0) override; |
310 | int verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) override; | |
57810aa7 | 311 | bool get_tib_address (ptid_t arg0, CORE_ADDR *arg1) override; |
f6ac5f3d PA |
312 | void set_permissions () override; |
313 | bool static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) override; | |
314 | std::vector<static_tracepoint_marker> static_tracepoint_markers_by_strid (const char *arg0) override; | |
315 | traceframe_info_up traceframe_info () override; | |
57810aa7 PA |
316 | bool use_agent (bool arg0) override; |
317 | bool can_use_agent () override; | |
f6ac5f3d PA |
318 | struct btrace_target_info *enable_btrace (ptid_t arg0, const struct btrace_config *arg1) override; |
319 | void disable_btrace (struct btrace_target_info *arg0) override; | |
320 | void teardown_btrace (struct btrace_target_info *arg0) override; | |
321 | enum btrace_error read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) override; | |
322 | const struct btrace_config *btrace_conf (const struct btrace_target_info *arg0) override; | |
323 | enum record_method record_method (ptid_t arg0) override; | |
324 | void stop_recording () override; | |
325 | void info_record () override; | |
326 | void save_record (const char *arg0) override; | |
327 | bool supports_delete_record () override; | |
328 | void delete_record () override; | |
57810aa7 PA |
329 | bool record_is_replaying (ptid_t arg0) override; |
330 | bool record_will_replay (ptid_t arg0, int arg1) override; | |
f6ac5f3d PA |
331 | void record_stop_replaying () override; |
332 | void goto_record_begin () override; | |
333 | void goto_record_end () override; | |
334 | void goto_record (ULONGEST arg0) override; | |
335 | void insn_history (int arg0, gdb_disassembly_flags arg1) override; | |
336 | void insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) override; | |
337 | void insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) override; | |
338 | void call_history (int arg0, record_print_flags arg1) override; | |
339 | void call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) override; | |
340 | void call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) override; | |
57810aa7 | 341 | bool augmented_libraries_svr4_read () override; |
f6ac5f3d PA |
342 | const struct frame_unwind *get_unwinder () override; |
343 | const struct frame_unwind *get_tailcall_unwinder () override; | |
344 | void prepare_to_generate_core () override; | |
345 | void done_generating_core () override; | |
65a7e4d6 | 346 | bool supports_displaced_step (thread_info *arg0) override; |
348a832d SM |
347 | displaced_step_prepare_status displaced_step_prepare (thread_info *arg0) override; |
348 | displaced_step_finish_status displaced_step_finish (thread_info *arg0, gdb_signal arg1) override; | |
f6ac5f3d PA |
349 | }; |
350 | ||
351 | void | |
352 | target_ops::post_attach (int arg0) | |
353 | { | |
b6a8c27b | 354 | this->beneath ()->post_attach (arg0); |
f6ac5f3d PA |
355 | } |
356 | ||
357 | void | |
358 | dummy_target::post_attach (int arg0) | |
359 | { | |
360 | } | |
361 | ||
362 | void | |
363 | debug_target::post_attach (int arg0) | |
364 | { | |
b6a8c27b PA |
365 | fprintf_unfiltered (gdb_stdlog, "-> %s->post_attach (...)\n", this->beneath ()->shortname ()); |
366 | this->beneath ()->post_attach (arg0); | |
367 | fprintf_unfiltered (gdb_stdlog, "<- %s->post_attach (", this->beneath ()->shortname ()); | |
f6ac5f3d | 368 | target_debug_print_int (arg0); |
a7068b60 TT |
369 | fputs_unfiltered (")\n", gdb_stdlog); |
370 | } | |
371 | ||
f6ac5f3d PA |
372 | void |
373 | target_ops::detach (inferior *arg0, int arg1) | |
09da0d0a | 374 | { |
b6a8c27b | 375 | this->beneath ()->detach (arg0, arg1); |
09da0d0a TT |
376 | } |
377 | ||
f6ac5f3d PA |
378 | void |
379 | dummy_target::detach (inferior *arg0, int arg1) | |
09da0d0a TT |
380 | { |
381 | } | |
382 | ||
f6ac5f3d PA |
383 | void |
384 | debug_target::detach (inferior *arg0, int arg1) | |
a7068b60 | 385 | { |
b6a8c27b PA |
386 | fprintf_unfiltered (gdb_stdlog, "-> %s->detach (...)\n", this->beneath ()->shortname ()); |
387 | this->beneath ()->detach (arg0, arg1); | |
388 | fprintf_unfiltered (gdb_stdlog, "<- %s->detach (", this->beneath ()->shortname ()); | |
f6ac5f3d | 389 | target_debug_print_inferior_p (arg0); |
6e1e1966 | 390 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 391 | target_debug_print_int (arg1); |
a7068b60 TT |
392 | fputs_unfiltered (")\n", gdb_stdlog); |
393 | } | |
394 | ||
f6ac5f3d PA |
395 | void |
396 | target_ops::disconnect (const char *arg0, int arg1) | |
86a0854a | 397 | { |
b6a8c27b | 398 | this->beneath ()->disconnect (arg0, arg1); |
86a0854a TT |
399 | } |
400 | ||
f6ac5f3d PA |
401 | void |
402 | dummy_target::disconnect (const char *arg0, int arg1) | |
86a0854a TT |
403 | { |
404 | tcomplain (); | |
405 | } | |
406 | ||
f6ac5f3d PA |
407 | void |
408 | debug_target::disconnect (const char *arg0, int arg1) | |
a7068b60 | 409 | { |
b6a8c27b PA |
410 | fprintf_unfiltered (gdb_stdlog, "-> %s->disconnect (...)\n", this->beneath ()->shortname ()); |
411 | this->beneath ()->disconnect (arg0, arg1); | |
412 | fprintf_unfiltered (gdb_stdlog, "<- %s->disconnect (", this->beneath ()->shortname ()); | |
f6ac5f3d | 413 | target_debug_print_const_char_p (arg0); |
a7068b60 | 414 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 415 | target_debug_print_int (arg1); |
a7068b60 TT |
416 | fputs_unfiltered (")\n", gdb_stdlog); |
417 | } | |
418 | ||
f6ac5f3d PA |
419 | void |
420 | target_ops::resume (ptid_t arg0, int arg1, enum gdb_signal arg2) | |
6b84065d | 421 | { |
b6a8c27b | 422 | this->beneath ()->resume (arg0, arg1, arg2); |
6b84065d TT |
423 | } |
424 | ||
f6ac5f3d PA |
425 | void |
426 | dummy_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2) | |
6b84065d TT |
427 | { |
428 | noprocess (); | |
429 | } | |
430 | ||
f6ac5f3d PA |
431 | void |
432 | debug_target::resume (ptid_t arg0, int arg1, enum gdb_signal arg2) | |
a7068b60 | 433 | { |
b6a8c27b PA |
434 | fprintf_unfiltered (gdb_stdlog, "-> %s->resume (...)\n", this->beneath ()->shortname ()); |
435 | this->beneath ()->resume (arg0, arg1, arg2); | |
436 | fprintf_unfiltered (gdb_stdlog, "<- %s->resume (", this->beneath ()->shortname ()); | |
f6ac5f3d | 437 | target_debug_print_ptid_t (arg0); |
a7068b60 | 438 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 439 | target_debug_print_step (arg1); |
a7068b60 | 440 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 441 | target_debug_print_enum_gdb_signal (arg2); |
a7068b60 TT |
442 | fputs_unfiltered (")\n", gdb_stdlog); |
443 | } | |
444 | ||
f6ac5f3d PA |
445 | void |
446 | target_ops::commit_resume () | |
85ad3aaf | 447 | { |
b6a8c27b | 448 | this->beneath ()->commit_resume (); |
85ad3aaf PA |
449 | } |
450 | ||
f6ac5f3d PA |
451 | void |
452 | dummy_target::commit_resume () | |
85ad3aaf PA |
453 | { |
454 | } | |
455 | ||
f6ac5f3d PA |
456 | void |
457 | debug_target::commit_resume () | |
85ad3aaf | 458 | { |
b6a8c27b PA |
459 | fprintf_unfiltered (gdb_stdlog, "-> %s->commit_resume (...)\n", this->beneath ()->shortname ()); |
460 | this->beneath ()->commit_resume (); | |
461 | fprintf_unfiltered (gdb_stdlog, "<- %s->commit_resume (", this->beneath ()->shortname ()); | |
85ad3aaf PA |
462 | fputs_unfiltered (")\n", gdb_stdlog); |
463 | } | |
464 | ||
f6ac5f3d PA |
465 | ptid_t |
466 | target_ops::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2) | |
467 | { | |
b6a8c27b | 468 | return this->beneath ()->wait (arg0, arg1, arg2); |
f6ac5f3d PA |
469 | } |
470 | ||
471 | ptid_t | |
472 | dummy_target::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2) | |
6b84065d | 473 | { |
f6ac5f3d | 474 | return default_target_wait (this, arg0, arg1, arg2); |
6b84065d TT |
475 | } |
476 | ||
f6ac5f3d PA |
477 | ptid_t |
478 | debug_target::wait (ptid_t arg0, struct target_waitstatus *arg1, int arg2) | |
a7068b60 TT |
479 | { |
480 | ptid_t result; | |
b6a8c27b PA |
481 | fprintf_unfiltered (gdb_stdlog, "-> %s->wait (...)\n", this->beneath ()->shortname ()); |
482 | result = this->beneath ()->wait (arg0, arg1, arg2); | |
483 | fprintf_unfiltered (gdb_stdlog, "<- %s->wait (", this->beneath ()->shortname ()); | |
f6ac5f3d | 484 | target_debug_print_ptid_t (arg0); |
a7068b60 | 485 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 486 | target_debug_print_struct_target_waitstatus_p (arg1); |
a7068b60 | 487 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 488 | target_debug_print_options (arg2); |
a7068b60 TT |
489 | fputs_unfiltered (") = ", gdb_stdlog); |
490 | target_debug_print_ptid_t (result); | |
491 | fputs_unfiltered ("\n", gdb_stdlog); | |
492 | return result; | |
493 | } | |
494 | ||
f6ac5f3d PA |
495 | void |
496 | target_ops::fetch_registers (struct regcache *arg0, int arg1) | |
ad5989bd | 497 | { |
b6a8c27b | 498 | this->beneath ()->fetch_registers (arg0, arg1); |
ad5989bd TT |
499 | } |
500 | ||
f6ac5f3d PA |
501 | void |
502 | dummy_target::fetch_registers (struct regcache *arg0, int arg1) | |
ad5989bd TT |
503 | { |
504 | } | |
505 | ||
f6ac5f3d PA |
506 | void |
507 | debug_target::fetch_registers (struct regcache *arg0, int arg1) | |
a7068b60 | 508 | { |
b6a8c27b PA |
509 | fprintf_unfiltered (gdb_stdlog, "-> %s->fetch_registers (...)\n", this->beneath ()->shortname ()); |
510 | this->beneath ()->fetch_registers (arg0, arg1); | |
511 | fprintf_unfiltered (gdb_stdlog, "<- %s->fetch_registers (", this->beneath ()->shortname ()); | |
f6ac5f3d | 512 | target_debug_print_struct_regcache_p (arg0); |
a7068b60 | 513 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 514 | target_debug_print_int (arg1); |
a7068b60 TT |
515 | fputs_unfiltered (")\n", gdb_stdlog); |
516 | } | |
517 | ||
f6ac5f3d PA |
518 | void |
519 | target_ops::store_registers (struct regcache *arg0, int arg1) | |
6b84065d | 520 | { |
b6a8c27b | 521 | this->beneath ()->store_registers (arg0, arg1); |
6b84065d TT |
522 | } |
523 | ||
f6ac5f3d PA |
524 | void |
525 | dummy_target::store_registers (struct regcache *arg0, int arg1) | |
6b84065d TT |
526 | { |
527 | noprocess (); | |
528 | } | |
529 | ||
f6ac5f3d PA |
530 | void |
531 | debug_target::store_registers (struct regcache *arg0, int arg1) | |
a7068b60 | 532 | { |
b6a8c27b PA |
533 | fprintf_unfiltered (gdb_stdlog, "-> %s->store_registers (...)\n", this->beneath ()->shortname ()); |
534 | this->beneath ()->store_registers (arg0, arg1); | |
535 | fprintf_unfiltered (gdb_stdlog, "<- %s->store_registers (", this->beneath ()->shortname ()); | |
f6ac5f3d | 536 | target_debug_print_struct_regcache_p (arg0); |
a7068b60 | 537 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 538 | target_debug_print_int (arg1); |
a7068b60 TT |
539 | fputs_unfiltered (")\n", gdb_stdlog); |
540 | } | |
541 | ||
f6ac5f3d PA |
542 | void |
543 | target_ops::prepare_to_store (struct regcache *arg0) | |
6c628163 | 544 | { |
b6a8c27b | 545 | this->beneath ()->prepare_to_store (arg0); |
6c628163 TT |
546 | } |
547 | ||
f6ac5f3d PA |
548 | void |
549 | dummy_target::prepare_to_store (struct regcache *arg0) | |
6c628163 TT |
550 | { |
551 | noprocess (); | |
552 | } | |
553 | ||
f6ac5f3d PA |
554 | void |
555 | debug_target::prepare_to_store (struct regcache *arg0) | |
a7068b60 | 556 | { |
b6a8c27b PA |
557 | fprintf_unfiltered (gdb_stdlog, "-> %s->prepare_to_store (...)\n", this->beneath ()->shortname ()); |
558 | this->beneath ()->prepare_to_store (arg0); | |
559 | fprintf_unfiltered (gdb_stdlog, "<- %s->prepare_to_store (", this->beneath ()->shortname ()); | |
f6ac5f3d | 560 | target_debug_print_struct_regcache_p (arg0); |
a7068b60 TT |
561 | fputs_unfiltered (")\n", gdb_stdlog); |
562 | } | |
563 | ||
f6ac5f3d PA |
564 | void |
565 | target_ops::files_info () | |
f86e59b2 | 566 | { |
b6a8c27b | 567 | this->beneath ()->files_info (); |
f86e59b2 TT |
568 | } |
569 | ||
f6ac5f3d PA |
570 | void |
571 | dummy_target::files_info () | |
f86e59b2 TT |
572 | { |
573 | } | |
574 | ||
f6ac5f3d PA |
575 | void |
576 | debug_target::files_info () | |
a7068b60 | 577 | { |
b6a8c27b PA |
578 | fprintf_unfiltered (gdb_stdlog, "-> %s->files_info (...)\n", this->beneath ()->shortname ()); |
579 | this->beneath ()->files_info (); | |
580 | fprintf_unfiltered (gdb_stdlog, "<- %s->files_info (", this->beneath ()->shortname ()); | |
a7068b60 TT |
581 | fputs_unfiltered (")\n", gdb_stdlog); |
582 | } | |
583 | ||
f6ac5f3d PA |
584 | int |
585 | target_ops::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) | |
6b84065d | 586 | { |
b6a8c27b | 587 | return this->beneath ()->insert_breakpoint (arg0, arg1); |
6b84065d TT |
588 | } |
589 | ||
f6ac5f3d PA |
590 | int |
591 | dummy_target::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) | |
592 | { | |
593 | noprocess (); | |
594 | } | |
595 | ||
596 | int | |
597 | debug_target::insert_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) | |
a7068b60 TT |
598 | { |
599 | int result; | |
b6a8c27b PA |
600 | fprintf_unfiltered (gdb_stdlog, "-> %s->insert_breakpoint (...)\n", this->beneath ()->shortname ()); |
601 | result = this->beneath ()->insert_breakpoint (arg0, arg1); | |
602 | fprintf_unfiltered (gdb_stdlog, "<- %s->insert_breakpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 603 | target_debug_print_struct_gdbarch_p (arg0); |
a7068b60 | 604 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 605 | target_debug_print_struct_bp_target_info_p (arg1); |
a7068b60 TT |
606 | fputs_unfiltered (") = ", gdb_stdlog); |
607 | target_debug_print_int (result); | |
608 | fputs_unfiltered ("\n", gdb_stdlog); | |
609 | return result; | |
610 | } | |
611 | ||
f6ac5f3d PA |
612 | int |
613 | target_ops::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) | |
6b84065d | 614 | { |
b6a8c27b | 615 | return this->beneath ()->remove_breakpoint (arg0, arg1, arg2); |
6b84065d TT |
616 | } |
617 | ||
f6ac5f3d PA |
618 | int |
619 | dummy_target::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) | |
620 | { | |
621 | noprocess (); | |
622 | } | |
623 | ||
624 | int | |
625 | debug_target::remove_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1, enum remove_bp_reason arg2) | |
a7068b60 TT |
626 | { |
627 | int result; | |
b6a8c27b PA |
628 | fprintf_unfiltered (gdb_stdlog, "-> %s->remove_breakpoint (...)\n", this->beneath ()->shortname ()); |
629 | result = this->beneath ()->remove_breakpoint (arg0, arg1, arg2); | |
630 | fprintf_unfiltered (gdb_stdlog, "<- %s->remove_breakpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 631 | target_debug_print_struct_gdbarch_p (arg0); |
a7068b60 | 632 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 633 | target_debug_print_struct_bp_target_info_p (arg1); |
73971819 | 634 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 635 | target_debug_print_enum_remove_bp_reason (arg2); |
a7068b60 TT |
636 | fputs_unfiltered (") = ", gdb_stdlog); |
637 | target_debug_print_int (result); | |
638 | fputs_unfiltered ("\n", gdb_stdlog); | |
639 | return result; | |
640 | } | |
641 | ||
57810aa7 | 642 | bool |
f6ac5f3d | 643 | target_ops::stopped_by_sw_breakpoint () |
1cf4d951 | 644 | { |
b6a8c27b | 645 | return this->beneath ()->stopped_by_sw_breakpoint (); |
1cf4d951 PA |
646 | } |
647 | ||
57810aa7 | 648 | bool |
f6ac5f3d | 649 | dummy_target::stopped_by_sw_breakpoint () |
1cf4d951 | 650 | { |
57810aa7 | 651 | return false; |
1cf4d951 PA |
652 | } |
653 | ||
57810aa7 | 654 | bool |
f6ac5f3d | 655 | debug_target::stopped_by_sw_breakpoint () |
1cf4d951 | 656 | { |
57810aa7 | 657 | bool result; |
b6a8c27b PA |
658 | fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ()); |
659 | result = this->beneath ()->stopped_by_sw_breakpoint (); | |
660 | fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_by_sw_breakpoint (", this->beneath ()->shortname ()); | |
1cf4d951 | 661 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 662 | target_debug_print_bool (result); |
1cf4d951 PA |
663 | fputs_unfiltered ("\n", gdb_stdlog); |
664 | return result; | |
665 | } | |
666 | ||
57810aa7 | 667 | bool |
f6ac5f3d | 668 | target_ops::supports_stopped_by_sw_breakpoint () |
1cf4d951 | 669 | { |
b6a8c27b | 670 | return this->beneath ()->supports_stopped_by_sw_breakpoint (); |
1cf4d951 PA |
671 | } |
672 | ||
57810aa7 | 673 | bool |
f6ac5f3d | 674 | dummy_target::supports_stopped_by_sw_breakpoint () |
1cf4d951 | 675 | { |
57810aa7 | 676 | return false; |
1cf4d951 PA |
677 | } |
678 | ||
57810aa7 | 679 | bool |
f6ac5f3d | 680 | debug_target::supports_stopped_by_sw_breakpoint () |
1cf4d951 | 681 | { |
57810aa7 | 682 | bool result; |
b6a8c27b PA |
683 | fprintf_unfiltered (gdb_stdlog, "-> %s->supports_stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ()); |
684 | result = this->beneath ()->supports_stopped_by_sw_breakpoint (); | |
685 | fprintf_unfiltered (gdb_stdlog, "<- %s->supports_stopped_by_sw_breakpoint (", this->beneath ()->shortname ()); | |
1cf4d951 | 686 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 687 | target_debug_print_bool (result); |
1cf4d951 PA |
688 | fputs_unfiltered ("\n", gdb_stdlog); |
689 | return result; | |
690 | } | |
691 | ||
57810aa7 | 692 | bool |
f6ac5f3d | 693 | target_ops::stopped_by_hw_breakpoint () |
1cf4d951 | 694 | { |
b6a8c27b | 695 | return this->beneath ()->stopped_by_hw_breakpoint (); |
1cf4d951 PA |
696 | } |
697 | ||
57810aa7 | 698 | bool |
f6ac5f3d | 699 | dummy_target::stopped_by_hw_breakpoint () |
1cf4d951 | 700 | { |
57810aa7 | 701 | return false; |
1cf4d951 PA |
702 | } |
703 | ||
57810aa7 | 704 | bool |
f6ac5f3d | 705 | debug_target::stopped_by_hw_breakpoint () |
1cf4d951 | 706 | { |
57810aa7 | 707 | bool result; |
b6a8c27b PA |
708 | fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ()); |
709 | result = this->beneath ()->stopped_by_hw_breakpoint (); | |
710 | fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_by_hw_breakpoint (", this->beneath ()->shortname ()); | |
1cf4d951 | 711 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 712 | target_debug_print_bool (result); |
1cf4d951 PA |
713 | fputs_unfiltered ("\n", gdb_stdlog); |
714 | return result; | |
715 | } | |
716 | ||
57810aa7 | 717 | bool |
f6ac5f3d | 718 | target_ops::supports_stopped_by_hw_breakpoint () |
1cf4d951 | 719 | { |
b6a8c27b | 720 | return this->beneath ()->supports_stopped_by_hw_breakpoint (); |
1cf4d951 PA |
721 | } |
722 | ||
57810aa7 | 723 | bool |
f6ac5f3d | 724 | dummy_target::supports_stopped_by_hw_breakpoint () |
1cf4d951 | 725 | { |
57810aa7 | 726 | return false; |
1cf4d951 PA |
727 | } |
728 | ||
57810aa7 | 729 | bool |
f6ac5f3d | 730 | debug_target::supports_stopped_by_hw_breakpoint () |
1cf4d951 | 731 | { |
57810aa7 | 732 | bool result; |
b6a8c27b PA |
733 | fprintf_unfiltered (gdb_stdlog, "-> %s->supports_stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ()); |
734 | result = this->beneath ()->supports_stopped_by_hw_breakpoint (); | |
735 | fprintf_unfiltered (gdb_stdlog, "<- %s->supports_stopped_by_hw_breakpoint (", this->beneath ()->shortname ()); | |
1cf4d951 | 736 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 737 | target_debug_print_bool (result); |
1cf4d951 PA |
738 | fputs_unfiltered ("\n", gdb_stdlog); |
739 | return result; | |
740 | } | |
741 | ||
f6ac5f3d PA |
742 | int |
743 | target_ops::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2) | |
52b51d06 | 744 | { |
b6a8c27b | 745 | return this->beneath ()->can_use_hw_breakpoint (arg0, arg1, arg2); |
52b51d06 TT |
746 | } |
747 | ||
f6ac5f3d PA |
748 | int |
749 | dummy_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2) | |
52b51d06 TT |
750 | { |
751 | return 0; | |
752 | } | |
753 | ||
f6ac5f3d PA |
754 | int |
755 | debug_target::can_use_hw_breakpoint (enum bptype arg0, int arg1, int arg2) | |
a7068b60 TT |
756 | { |
757 | int result; | |
b6a8c27b PA |
758 | fprintf_unfiltered (gdb_stdlog, "-> %s->can_use_hw_breakpoint (...)\n", this->beneath ()->shortname ()); |
759 | result = this->beneath ()->can_use_hw_breakpoint (arg0, arg1, arg2); | |
760 | fprintf_unfiltered (gdb_stdlog, "<- %s->can_use_hw_breakpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 761 | target_debug_print_enum_bptype (arg0); |
a7068b60 | 762 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 763 | target_debug_print_int (arg1); |
a7068b60 TT |
764 | fputs_unfiltered (", ", gdb_stdlog); |
765 | target_debug_print_int (arg2); | |
a7068b60 TT |
766 | fputs_unfiltered (") = ", gdb_stdlog); |
767 | target_debug_print_int (result); | |
768 | fputs_unfiltered ("\n", gdb_stdlog); | |
769 | return result; | |
770 | } | |
771 | ||
f6ac5f3d PA |
772 | int |
773 | target_ops::ranged_break_num_registers () | |
a134316b | 774 | { |
b6a8c27b | 775 | return this->beneath ()->ranged_break_num_registers (); |
a134316b TT |
776 | } |
777 | ||
f6ac5f3d PA |
778 | int |
779 | dummy_target::ranged_break_num_registers () | |
a134316b TT |
780 | { |
781 | return -1; | |
782 | } | |
783 | ||
f6ac5f3d PA |
784 | int |
785 | debug_target::ranged_break_num_registers () | |
a7068b60 TT |
786 | { |
787 | int result; | |
b6a8c27b PA |
788 | fprintf_unfiltered (gdb_stdlog, "-> %s->ranged_break_num_registers (...)\n", this->beneath ()->shortname ()); |
789 | result = this->beneath ()->ranged_break_num_registers (); | |
790 | fprintf_unfiltered (gdb_stdlog, "<- %s->ranged_break_num_registers (", this->beneath ()->shortname ()); | |
a7068b60 TT |
791 | fputs_unfiltered (") = ", gdb_stdlog); |
792 | target_debug_print_int (result); | |
793 | fputs_unfiltered ("\n", gdb_stdlog); | |
794 | return result; | |
795 | } | |
796 | ||
f6ac5f3d PA |
797 | int |
798 | target_ops::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) | |
61b371f9 | 799 | { |
b6a8c27b | 800 | return this->beneath ()->insert_hw_breakpoint (arg0, arg1); |
61b371f9 TT |
801 | } |
802 | ||
f6ac5f3d PA |
803 | int |
804 | dummy_target::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) | |
61b371f9 TT |
805 | { |
806 | return -1; | |
807 | } | |
808 | ||
f6ac5f3d PA |
809 | int |
810 | debug_target::insert_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) | |
a7068b60 TT |
811 | { |
812 | int result; | |
b6a8c27b PA |
813 | fprintf_unfiltered (gdb_stdlog, "-> %s->insert_hw_breakpoint (...)\n", this->beneath ()->shortname ()); |
814 | result = this->beneath ()->insert_hw_breakpoint (arg0, arg1); | |
815 | fprintf_unfiltered (gdb_stdlog, "<- %s->insert_hw_breakpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 816 | target_debug_print_struct_gdbarch_p (arg0); |
a7068b60 | 817 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 818 | target_debug_print_struct_bp_target_info_p (arg1); |
a7068b60 TT |
819 | fputs_unfiltered (") = ", gdb_stdlog); |
820 | target_debug_print_int (result); | |
821 | fputs_unfiltered ("\n", gdb_stdlog); | |
822 | return result; | |
823 | } | |
824 | ||
f6ac5f3d PA |
825 | int |
826 | target_ops::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) | |
418dabac | 827 | { |
b6a8c27b | 828 | return this->beneath ()->remove_hw_breakpoint (arg0, arg1); |
418dabac TT |
829 | } |
830 | ||
f6ac5f3d PA |
831 | int |
832 | dummy_target::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) | |
418dabac TT |
833 | { |
834 | return -1; | |
835 | } | |
836 | ||
f6ac5f3d PA |
837 | int |
838 | debug_target::remove_hw_breakpoint (struct gdbarch *arg0, struct bp_target_info *arg1) | |
a7068b60 TT |
839 | { |
840 | int result; | |
b6a8c27b PA |
841 | fprintf_unfiltered (gdb_stdlog, "-> %s->remove_hw_breakpoint (...)\n", this->beneath ()->shortname ()); |
842 | result = this->beneath ()->remove_hw_breakpoint (arg0, arg1); | |
843 | fprintf_unfiltered (gdb_stdlog, "<- %s->remove_hw_breakpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 844 | target_debug_print_struct_gdbarch_p (arg0); |
a7068b60 | 845 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 846 | target_debug_print_struct_bp_target_info_p (arg1); |
a7068b60 TT |
847 | fputs_unfiltered (") = ", gdb_stdlog); |
848 | target_debug_print_int (result); | |
849 | fputs_unfiltered ("\n", gdb_stdlog); | |
850 | return result; | |
851 | } | |
852 | ||
f6ac5f3d PA |
853 | int |
854 | target_ops::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) | |
61dd109f | 855 | { |
b6a8c27b | 856 | return this->beneath ()->remove_watchpoint (arg0, arg1, arg2, arg3); |
61dd109f TT |
857 | } |
858 | ||
f6ac5f3d PA |
859 | int |
860 | dummy_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) | |
61dd109f TT |
861 | { |
862 | return -1; | |
863 | } | |
864 | ||
f6ac5f3d PA |
865 | int |
866 | debug_target::remove_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) | |
a7068b60 TT |
867 | { |
868 | int result; | |
b6a8c27b PA |
869 | fprintf_unfiltered (gdb_stdlog, "-> %s->remove_watchpoint (...)\n", this->beneath ()->shortname ()); |
870 | result = this->beneath ()->remove_watchpoint (arg0, arg1, arg2, arg3); | |
871 | fprintf_unfiltered (gdb_stdlog, "<- %s->remove_watchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 872 | target_debug_print_CORE_ADDR (arg0); |
a7068b60 | 873 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 874 | target_debug_print_int (arg1); |
a7068b60 | 875 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 876 | target_debug_print_enum_target_hw_bp_type (arg2); |
a7068b60 | 877 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 878 | target_debug_print_struct_expression_p (arg3); |
a7068b60 TT |
879 | fputs_unfiltered (") = ", gdb_stdlog); |
880 | target_debug_print_int (result); | |
881 | fputs_unfiltered ("\n", gdb_stdlog); | |
882 | return result; | |
883 | } | |
884 | ||
f6ac5f3d PA |
885 | int |
886 | target_ops::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) | |
016facd4 | 887 | { |
b6a8c27b | 888 | return this->beneath ()->insert_watchpoint (arg0, arg1, arg2, arg3); |
016facd4 TT |
889 | } |
890 | ||
f6ac5f3d PA |
891 | int |
892 | dummy_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) | |
016facd4 TT |
893 | { |
894 | return -1; | |
895 | } | |
896 | ||
f6ac5f3d PA |
897 | int |
898 | debug_target::insert_watchpoint (CORE_ADDR arg0, int arg1, enum target_hw_bp_type arg2, struct expression *arg3) | |
a7068b60 TT |
899 | { |
900 | int result; | |
b6a8c27b PA |
901 | fprintf_unfiltered (gdb_stdlog, "-> %s->insert_watchpoint (...)\n", this->beneath ()->shortname ()); |
902 | result = this->beneath ()->insert_watchpoint (arg0, arg1, arg2, arg3); | |
903 | fprintf_unfiltered (gdb_stdlog, "<- %s->insert_watchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 904 | target_debug_print_CORE_ADDR (arg0); |
a7068b60 | 905 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 906 | target_debug_print_int (arg1); |
a7068b60 | 907 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 908 | target_debug_print_enum_target_hw_bp_type (arg2); |
a7068b60 | 909 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 910 | target_debug_print_struct_expression_p (arg3); |
a7068b60 TT |
911 | fputs_unfiltered (") = ", gdb_stdlog); |
912 | target_debug_print_int (result); | |
913 | fputs_unfiltered ("\n", gdb_stdlog); | |
914 | return result; | |
915 | } | |
916 | ||
f6ac5f3d PA |
917 | int |
918 | target_ops::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) | |
cd4ae029 | 919 | { |
b6a8c27b | 920 | return this->beneath ()->insert_mask_watchpoint (arg0, arg1, arg2); |
cd4ae029 TT |
921 | } |
922 | ||
f6ac5f3d PA |
923 | int |
924 | dummy_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) | |
cd4ae029 TT |
925 | { |
926 | return 1; | |
927 | } | |
928 | ||
f6ac5f3d PA |
929 | int |
930 | debug_target::insert_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) | |
a7068b60 TT |
931 | { |
932 | int result; | |
b6a8c27b PA |
933 | fprintf_unfiltered (gdb_stdlog, "-> %s->insert_mask_watchpoint (...)\n", this->beneath ()->shortname ()); |
934 | result = this->beneath ()->insert_mask_watchpoint (arg0, arg1, arg2); | |
935 | fprintf_unfiltered (gdb_stdlog, "<- %s->insert_mask_watchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 936 | target_debug_print_CORE_ADDR (arg0); |
a7068b60 TT |
937 | fputs_unfiltered (", ", gdb_stdlog); |
938 | target_debug_print_CORE_ADDR (arg1); | |
939 | fputs_unfiltered (", ", gdb_stdlog); | |
f6ac5f3d | 940 | target_debug_print_enum_target_hw_bp_type (arg2); |
a7068b60 TT |
941 | fputs_unfiltered (") = ", gdb_stdlog); |
942 | target_debug_print_int (result); | |
943 | fputs_unfiltered ("\n", gdb_stdlog); | |
944 | return result; | |
945 | } | |
946 | ||
f6ac5f3d PA |
947 | int |
948 | target_ops::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) | |
8b1c364c | 949 | { |
b6a8c27b | 950 | return this->beneath ()->remove_mask_watchpoint (arg0, arg1, arg2); |
8b1c364c TT |
951 | } |
952 | ||
f6ac5f3d PA |
953 | int |
954 | dummy_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) | |
8b1c364c TT |
955 | { |
956 | return 1; | |
957 | } | |
958 | ||
f6ac5f3d PA |
959 | int |
960 | debug_target::remove_mask_watchpoint (CORE_ADDR arg0, CORE_ADDR arg1, enum target_hw_bp_type arg2) | |
a7068b60 TT |
961 | { |
962 | int result; | |
b6a8c27b PA |
963 | fprintf_unfiltered (gdb_stdlog, "-> %s->remove_mask_watchpoint (...)\n", this->beneath ()->shortname ()); |
964 | result = this->beneath ()->remove_mask_watchpoint (arg0, arg1, arg2); | |
965 | fprintf_unfiltered (gdb_stdlog, "<- %s->remove_mask_watchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 966 | target_debug_print_CORE_ADDR (arg0); |
a7068b60 TT |
967 | fputs_unfiltered (", ", gdb_stdlog); |
968 | target_debug_print_CORE_ADDR (arg1); | |
969 | fputs_unfiltered (", ", gdb_stdlog); | |
f6ac5f3d | 970 | target_debug_print_enum_target_hw_bp_type (arg2); |
a7068b60 TT |
971 | fputs_unfiltered (") = ", gdb_stdlog); |
972 | target_debug_print_int (result); | |
973 | fputs_unfiltered ("\n", gdb_stdlog); | |
974 | return result; | |
975 | } | |
976 | ||
57810aa7 | 977 | bool |
f6ac5f3d | 978 | target_ops::stopped_by_watchpoint () |
6b84065d | 979 | { |
b6a8c27b | 980 | return this->beneath ()->stopped_by_watchpoint (); |
6b84065d TT |
981 | } |
982 | ||
57810aa7 | 983 | bool |
f6ac5f3d | 984 | dummy_target::stopped_by_watchpoint () |
6b84065d | 985 | { |
57810aa7 | 986 | return false; |
6b84065d TT |
987 | } |
988 | ||
57810aa7 | 989 | bool |
f6ac5f3d | 990 | debug_target::stopped_by_watchpoint () |
a7068b60 | 991 | { |
57810aa7 | 992 | bool result; |
b6a8c27b PA |
993 | fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_by_watchpoint (...)\n", this->beneath ()->shortname ()); |
994 | result = this->beneath ()->stopped_by_watchpoint (); | |
995 | fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_by_watchpoint (", this->beneath ()->shortname ()); | |
a7068b60 | 996 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 997 | target_debug_print_bool (result); |
a7068b60 TT |
998 | fputs_unfiltered ("\n", gdb_stdlog); |
999 | return result; | |
1000 | } | |
1001 | ||
c2a6c5da | 1002 | bool |
f6ac5f3d | 1003 | target_ops::have_steppable_watchpoint () |
6b84065d | 1004 | { |
b6a8c27b | 1005 | return this->beneath ()->have_steppable_watchpoint (); |
6b84065d TT |
1006 | } |
1007 | ||
c2a6c5da | 1008 | bool |
f6ac5f3d | 1009 | dummy_target::have_steppable_watchpoint () |
6b84065d | 1010 | { |
57810aa7 | 1011 | return false; |
6b84065d TT |
1012 | } |
1013 | ||
c2a6c5da | 1014 | bool |
f6ac5f3d | 1015 | debug_target::have_steppable_watchpoint () |
a7068b60 | 1016 | { |
c2a6c5da | 1017 | bool result; |
b6a8c27b PA |
1018 | fprintf_unfiltered (gdb_stdlog, "-> %s->have_steppable_watchpoint (...)\n", this->beneath ()->shortname ()); |
1019 | result = this->beneath ()->have_steppable_watchpoint (); | |
1020 | fprintf_unfiltered (gdb_stdlog, "<- %s->have_steppable_watchpoint (", this->beneath ()->shortname ()); | |
a7068b60 | 1021 | fputs_unfiltered (") = ", gdb_stdlog); |
c2a6c5da | 1022 | target_debug_print_bool (result); |
a7068b60 TT |
1023 | fputs_unfiltered ("\n", gdb_stdlog); |
1024 | return result; | |
1025 | } | |
1026 | ||
57810aa7 | 1027 | bool |
f6ac5f3d PA |
1028 | target_ops::stopped_data_address (CORE_ADDR *arg0) |
1029 | { | |
b6a8c27b | 1030 | return this->beneath ()->stopped_data_address (arg0); |
f6ac5f3d PA |
1031 | } |
1032 | ||
57810aa7 | 1033 | bool |
f6ac5f3d PA |
1034 | dummy_target::stopped_data_address (CORE_ADDR *arg0) |
1035 | { | |
57810aa7 | 1036 | return false; |
f6ac5f3d PA |
1037 | } |
1038 | ||
57810aa7 | 1039 | bool |
f6ac5f3d | 1040 | debug_target::stopped_data_address (CORE_ADDR *arg0) |
a7068b60 | 1041 | { |
57810aa7 | 1042 | bool result; |
b6a8c27b PA |
1043 | fprintf_unfiltered (gdb_stdlog, "-> %s->stopped_data_address (...)\n", this->beneath ()->shortname ()); |
1044 | result = this->beneath ()->stopped_data_address (arg0); | |
1045 | fprintf_unfiltered (gdb_stdlog, "<- %s->stopped_data_address (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1046 | target_debug_print_CORE_ADDR_p (arg0); |
a7068b60 | 1047 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 1048 | target_debug_print_bool (result); |
a7068b60 TT |
1049 | fputs_unfiltered ("\n", gdb_stdlog); |
1050 | return result; | |
1051 | } | |
1052 | ||
57810aa7 | 1053 | bool |
f6ac5f3d PA |
1054 | target_ops::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2) |
1055 | { | |
b6a8c27b | 1056 | return this->beneath ()->watchpoint_addr_within_range (arg0, arg1, arg2); |
f6ac5f3d PA |
1057 | } |
1058 | ||
57810aa7 | 1059 | bool |
f6ac5f3d | 1060 | dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2) |
d03655e4 | 1061 | { |
f6ac5f3d | 1062 | return default_watchpoint_addr_within_range (this, arg0, arg1, arg2); |
d03655e4 TT |
1063 | } |
1064 | ||
57810aa7 | 1065 | bool |
f6ac5f3d | 1066 | debug_target::watchpoint_addr_within_range (CORE_ADDR arg0, CORE_ADDR arg1, int arg2) |
a7068b60 | 1067 | { |
57810aa7 | 1068 | bool result; |
b6a8c27b PA |
1069 | fprintf_unfiltered (gdb_stdlog, "-> %s->watchpoint_addr_within_range (...)\n", this->beneath ()->shortname ()); |
1070 | result = this->beneath ()->watchpoint_addr_within_range (arg0, arg1, arg2); | |
1071 | fprintf_unfiltered (gdb_stdlog, "<- %s->watchpoint_addr_within_range (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1072 | target_debug_print_CORE_ADDR (arg0); |
a7068b60 TT |
1073 | fputs_unfiltered (", ", gdb_stdlog); |
1074 | target_debug_print_CORE_ADDR (arg1); | |
1075 | fputs_unfiltered (", ", gdb_stdlog); | |
1076 | target_debug_print_int (arg2); | |
1077 | fputs_unfiltered (") = ", gdb_stdlog); | |
57810aa7 | 1078 | target_debug_print_bool (result); |
a7068b60 TT |
1079 | fputs_unfiltered ("\n", gdb_stdlog); |
1080 | return result; | |
1081 | } | |
1082 | ||
f6ac5f3d PA |
1083 | int |
1084 | target_ops::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1) | |
77cdffe9 | 1085 | { |
b6a8c27b | 1086 | return this->beneath ()->region_ok_for_hw_watchpoint (arg0, arg1); |
77cdffe9 TT |
1087 | } |
1088 | ||
f6ac5f3d PA |
1089 | int |
1090 | dummy_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1) | |
1091 | { | |
1092 | return default_region_ok_for_hw_watchpoint (this, arg0, arg1); | |
1093 | } | |
1094 | ||
1095 | int | |
1096 | debug_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0, int arg1) | |
1097 | { | |
1098 | int result; | |
b6a8c27b PA |
1099 | fprintf_unfiltered (gdb_stdlog, "-> %s->region_ok_for_hw_watchpoint (...)\n", this->beneath ()->shortname ()); |
1100 | result = this->beneath ()->region_ok_for_hw_watchpoint (arg0, arg1); | |
1101 | fprintf_unfiltered (gdb_stdlog, "<- %s->region_ok_for_hw_watchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d PA |
1102 | target_debug_print_CORE_ADDR (arg0); |
1103 | fputs_unfiltered (", ", gdb_stdlog); | |
1104 | target_debug_print_int (arg1); | |
1105 | fputs_unfiltered (") = ", gdb_stdlog); | |
1106 | target_debug_print_int (result); | |
1107 | fputs_unfiltered ("\n", gdb_stdlog); | |
1108 | return result; | |
1109 | } | |
1110 | ||
57810aa7 | 1111 | bool |
f6ac5f3d PA |
1112 | target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) |
1113 | { | |
b6a8c27b | 1114 | return this->beneath ()->can_accel_watchpoint_condition (arg0, arg1, arg2, arg3); |
f6ac5f3d PA |
1115 | } |
1116 | ||
57810aa7 | 1117 | bool |
f6ac5f3d | 1118 | dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) |
77cdffe9 | 1119 | { |
57810aa7 | 1120 | return false; |
77cdffe9 TT |
1121 | } |
1122 | ||
57810aa7 | 1123 | bool |
f6ac5f3d | 1124 | debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0, int arg1, int arg2, struct expression *arg3) |
a7068b60 | 1125 | { |
57810aa7 | 1126 | bool result; |
b6a8c27b PA |
1127 | fprintf_unfiltered (gdb_stdlog, "-> %s->can_accel_watchpoint_condition (...)\n", this->beneath ()->shortname ()); |
1128 | result = this->beneath ()->can_accel_watchpoint_condition (arg0, arg1, arg2, arg3); | |
1129 | fprintf_unfiltered (gdb_stdlog, "<- %s->can_accel_watchpoint_condition (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1130 | target_debug_print_CORE_ADDR (arg0); |
a7068b60 | 1131 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 1132 | target_debug_print_int (arg1); |
a7068b60 TT |
1133 | fputs_unfiltered (", ", gdb_stdlog); |
1134 | target_debug_print_int (arg2); | |
1135 | fputs_unfiltered (", ", gdb_stdlog); | |
f6ac5f3d | 1136 | target_debug_print_struct_expression_p (arg3); |
a7068b60 | 1137 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 1138 | target_debug_print_bool (result); |
a7068b60 TT |
1139 | fputs_unfiltered ("\n", gdb_stdlog); |
1140 | return result; | |
1141 | } | |
1142 | ||
f6ac5f3d PA |
1143 | int |
1144 | target_ops::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1) | |
6c7e5e5c | 1145 | { |
b6a8c27b | 1146 | return this->beneath ()->masked_watch_num_registers (arg0, arg1); |
6c7e5e5c TT |
1147 | } |
1148 | ||
f6ac5f3d PA |
1149 | int |
1150 | dummy_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1) | |
6c7e5e5c TT |
1151 | { |
1152 | return -1; | |
1153 | } | |
1154 | ||
f6ac5f3d PA |
1155 | int |
1156 | debug_target::masked_watch_num_registers (CORE_ADDR arg0, CORE_ADDR arg1) | |
a7068b60 TT |
1157 | { |
1158 | int result; | |
b6a8c27b PA |
1159 | fprintf_unfiltered (gdb_stdlog, "-> %s->masked_watch_num_registers (...)\n", this->beneath ()->shortname ()); |
1160 | result = this->beneath ()->masked_watch_num_registers (arg0, arg1); | |
1161 | fprintf_unfiltered (gdb_stdlog, "<- %s->masked_watch_num_registers (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1162 | target_debug_print_CORE_ADDR (arg0); |
a7068b60 TT |
1163 | fputs_unfiltered (", ", gdb_stdlog); |
1164 | target_debug_print_CORE_ADDR (arg1); | |
a7068b60 TT |
1165 | fputs_unfiltered (") = ", gdb_stdlog); |
1166 | target_debug_print_int (result); | |
1167 | fputs_unfiltered ("\n", gdb_stdlog); | |
1168 | return result; | |
1169 | } | |
1170 | ||
f6ac5f3d PA |
1171 | int |
1172 | target_ops::can_do_single_step () | |
750ce8d1 | 1173 | { |
b6a8c27b | 1174 | return this->beneath ()->can_do_single_step (); |
750ce8d1 YQ |
1175 | } |
1176 | ||
f6ac5f3d PA |
1177 | int |
1178 | dummy_target::can_do_single_step () | |
750ce8d1 YQ |
1179 | { |
1180 | return -1; | |
1181 | } | |
1182 | ||
f6ac5f3d PA |
1183 | int |
1184 | debug_target::can_do_single_step () | |
750ce8d1 YQ |
1185 | { |
1186 | int result; | |
b6a8c27b PA |
1187 | fprintf_unfiltered (gdb_stdlog, "-> %s->can_do_single_step (...)\n", this->beneath ()->shortname ()); |
1188 | result = this->beneath ()->can_do_single_step (); | |
1189 | fprintf_unfiltered (gdb_stdlog, "<- %s->can_do_single_step (", this->beneath ()->shortname ()); | |
750ce8d1 YQ |
1190 | fputs_unfiltered (") = ", gdb_stdlog); |
1191 | target_debug_print_int (result); | |
1192 | fputs_unfiltered ("\n", gdb_stdlog); | |
1193 | return result; | |
1194 | } | |
1195 | ||
f6ac5f3d PA |
1196 | bool |
1197 | target_ops::supports_terminal_ours () | |
0343661d | 1198 | { |
b6a8c27b | 1199 | return this->beneath ()->supports_terminal_ours (); |
0343661d TT |
1200 | } |
1201 | ||
f6ac5f3d PA |
1202 | bool |
1203 | dummy_target::supports_terminal_ours () | |
0343661d | 1204 | { |
57810aa7 | 1205 | return false; |
0343661d TT |
1206 | } |
1207 | ||
f6ac5f3d PA |
1208 | bool |
1209 | debug_target::supports_terminal_ours () | |
a7068b60 | 1210 | { |
f6ac5f3d | 1211 | bool result; |
b6a8c27b PA |
1212 | fprintf_unfiltered (gdb_stdlog, "-> %s->supports_terminal_ours (...)\n", this->beneath ()->shortname ()); |
1213 | result = this->beneath ()->supports_terminal_ours (); | |
1214 | fprintf_unfiltered (gdb_stdlog, "<- %s->supports_terminal_ours (", this->beneath ()->shortname ()); | |
f6ac5f3d PA |
1215 | fputs_unfiltered (") = ", gdb_stdlog); |
1216 | target_debug_print_bool (result); | |
1217 | fputs_unfiltered ("\n", gdb_stdlog); | |
1218 | return result; | |
1219 | } | |
1220 | ||
1221 | void | |
1222 | target_ops::terminal_init () | |
1223 | { | |
b6a8c27b | 1224 | this->beneath ()->terminal_init (); |
f6ac5f3d PA |
1225 | } |
1226 | ||
1227 | void | |
1228 | dummy_target::terminal_init () | |
1229 | { | |
1230 | } | |
1231 | ||
1232 | void | |
1233 | debug_target::terminal_init () | |
1234 | { | |
b6a8c27b PA |
1235 | fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_init (...)\n", this->beneath ()->shortname ()); |
1236 | this->beneath ()->terminal_init (); | |
1237 | fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_init (", this->beneath ()->shortname ()); | |
a7068b60 TT |
1238 | fputs_unfiltered (")\n", gdb_stdlog); |
1239 | } | |
1240 | ||
f6ac5f3d PA |
1241 | void |
1242 | target_ops::terminal_inferior () | |
ddeaacc9 | 1243 | { |
b6a8c27b | 1244 | this->beneath ()->terminal_inferior (); |
ddeaacc9 TT |
1245 | } |
1246 | ||
f6ac5f3d PA |
1247 | void |
1248 | dummy_target::terminal_inferior () | |
ddeaacc9 TT |
1249 | { |
1250 | } | |
1251 | ||
f6ac5f3d PA |
1252 | void |
1253 | debug_target::terminal_inferior () | |
a7068b60 | 1254 | { |
b6a8c27b PA |
1255 | fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_inferior (...)\n", this->beneath ()->shortname ()); |
1256 | this->beneath ()->terminal_inferior (); | |
1257 | fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_inferior (", this->beneath ()->shortname ()); | |
a7068b60 TT |
1258 | fputs_unfiltered (")\n", gdb_stdlog); |
1259 | } | |
1260 | ||
f6ac5f3d PA |
1261 | void |
1262 | target_ops::terminal_save_inferior () | |
e671cd59 | 1263 | { |
b6a8c27b | 1264 | this->beneath ()->terminal_save_inferior (); |
e671cd59 PA |
1265 | } |
1266 | ||
f6ac5f3d PA |
1267 | void |
1268 | dummy_target::terminal_save_inferior () | |
e671cd59 PA |
1269 | { |
1270 | } | |
1271 | ||
f6ac5f3d PA |
1272 | void |
1273 | debug_target::terminal_save_inferior () | |
e671cd59 | 1274 | { |
b6a8c27b PA |
1275 | fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_save_inferior (...)\n", this->beneath ()->shortname ()); |
1276 | this->beneath ()->terminal_save_inferior (); | |
1277 | fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_save_inferior (", this->beneath ()->shortname ()); | |
e671cd59 PA |
1278 | fputs_unfiltered (")\n", gdb_stdlog); |
1279 | } | |
1280 | ||
f6ac5f3d PA |
1281 | void |
1282 | target_ops::terminal_ours_for_output () | |
74fcbef9 | 1283 | { |
b6a8c27b | 1284 | this->beneath ()->terminal_ours_for_output (); |
74fcbef9 TT |
1285 | } |
1286 | ||
f6ac5f3d PA |
1287 | void |
1288 | dummy_target::terminal_ours_for_output () | |
74fcbef9 TT |
1289 | { |
1290 | } | |
1291 | ||
f6ac5f3d PA |
1292 | void |
1293 | debug_target::terminal_ours_for_output () | |
a7068b60 | 1294 | { |
b6a8c27b PA |
1295 | fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_ours_for_output (...)\n", this->beneath ()->shortname ()); |
1296 | this->beneath ()->terminal_ours_for_output (); | |
1297 | fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_ours_for_output (", this->beneath ()->shortname ()); | |
a7068b60 TT |
1298 | fputs_unfiltered (")\n", gdb_stdlog); |
1299 | } | |
1300 | ||
f6ac5f3d PA |
1301 | void |
1302 | target_ops::terminal_ours () | |
e4a733f1 | 1303 | { |
b6a8c27b | 1304 | this->beneath ()->terminal_ours (); |
e4a733f1 TT |
1305 | } |
1306 | ||
f6ac5f3d PA |
1307 | void |
1308 | dummy_target::terminal_ours () | |
e4a733f1 TT |
1309 | { |
1310 | } | |
1311 | ||
f6ac5f3d PA |
1312 | void |
1313 | debug_target::terminal_ours () | |
a7068b60 | 1314 | { |
b6a8c27b PA |
1315 | fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_ours (...)\n", this->beneath ()->shortname ()); |
1316 | this->beneath ()->terminal_ours (); | |
1317 | fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_ours (", this->beneath ()->shortname ()); | |
a7068b60 TT |
1318 | fputs_unfiltered (")\n", gdb_stdlog); |
1319 | } | |
1320 | ||
f6ac5f3d PA |
1321 | void |
1322 | target_ops::terminal_info (const char *arg0, int arg1) | |
e19e919f | 1323 | { |
b6a8c27b | 1324 | this->beneath ()->terminal_info (arg0, arg1); |
e19e919f TT |
1325 | } |
1326 | ||
f6ac5f3d PA |
1327 | void |
1328 | dummy_target::terminal_info (const char *arg0, int arg1) | |
a7068b60 | 1329 | { |
f6ac5f3d PA |
1330 | default_terminal_info (this, arg0, arg1); |
1331 | } | |
1332 | ||
1333 | void | |
1334 | debug_target::terminal_info (const char *arg0, int arg1) | |
1335 | { | |
b6a8c27b PA |
1336 | fprintf_unfiltered (gdb_stdlog, "-> %s->terminal_info (...)\n", this->beneath ()->shortname ()); |
1337 | this->beneath ()->terminal_info (arg0, arg1); | |
1338 | fprintf_unfiltered (gdb_stdlog, "<- %s->terminal_info (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1339 | target_debug_print_const_char_p (arg0); |
a7068b60 | 1340 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 1341 | target_debug_print_int (arg1); |
a7068b60 TT |
1342 | fputs_unfiltered (")\n", gdb_stdlog); |
1343 | } | |
1344 | ||
f6ac5f3d PA |
1345 | void |
1346 | target_ops::kill () | |
423a4807 | 1347 | { |
b6a8c27b | 1348 | this->beneath ()->kill (); |
423a4807 TT |
1349 | } |
1350 | ||
f6ac5f3d PA |
1351 | void |
1352 | dummy_target::kill () | |
423a4807 TT |
1353 | { |
1354 | noprocess (); | |
1355 | } | |
1356 | ||
f6ac5f3d PA |
1357 | void |
1358 | debug_target::kill () | |
a7068b60 | 1359 | { |
b6a8c27b PA |
1360 | fprintf_unfiltered (gdb_stdlog, "-> %s->kill (...)\n", this->beneath ()->shortname ()); |
1361 | this->beneath ()->kill (); | |
1362 | fprintf_unfiltered (gdb_stdlog, "<- %s->kill (", this->beneath ()->shortname ()); | |
a7068b60 TT |
1363 | fputs_unfiltered (")\n", gdb_stdlog); |
1364 | } | |
1365 | ||
f6ac5f3d PA |
1366 | void |
1367 | target_ops::load (const char *arg0, int arg1) | |
7634da87 | 1368 | { |
b6a8c27b | 1369 | this->beneath ()->load (arg0, arg1); |
7634da87 TT |
1370 | } |
1371 | ||
f6ac5f3d PA |
1372 | void |
1373 | dummy_target::load (const char *arg0, int arg1) | |
7634da87 TT |
1374 | { |
1375 | tcomplain (); | |
1376 | } | |
1377 | ||
f6ac5f3d PA |
1378 | void |
1379 | debug_target::load (const char *arg0, int arg1) | |
a7068b60 | 1380 | { |
b6a8c27b PA |
1381 | fprintf_unfiltered (gdb_stdlog, "-> %s->load (...)\n", this->beneath ()->shortname ()); |
1382 | this->beneath ()->load (arg0, arg1); | |
1383 | fprintf_unfiltered (gdb_stdlog, "<- %s->load (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1384 | target_debug_print_const_char_p (arg0); |
a7068b60 | 1385 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 1386 | target_debug_print_int (arg1); |
a7068b60 TT |
1387 | fputs_unfiltered (")\n", gdb_stdlog); |
1388 | } | |
1389 | ||
f6ac5f3d PA |
1390 | void |
1391 | target_ops::post_startup_inferior (ptid_t arg0) | |
340ba4bf | 1392 | { |
b6a8c27b | 1393 | this->beneath ()->post_startup_inferior (arg0); |
340ba4bf TT |
1394 | } |
1395 | ||
f6ac5f3d PA |
1396 | void |
1397 | dummy_target::post_startup_inferior (ptid_t arg0) | |
340ba4bf TT |
1398 | { |
1399 | } | |
1400 | ||
f6ac5f3d PA |
1401 | void |
1402 | debug_target::post_startup_inferior (ptid_t arg0) | |
a7068b60 | 1403 | { |
b6a8c27b PA |
1404 | fprintf_unfiltered (gdb_stdlog, "-> %s->post_startup_inferior (...)\n", this->beneath ()->shortname ()); |
1405 | this->beneath ()->post_startup_inferior (arg0); | |
1406 | fprintf_unfiltered (gdb_stdlog, "<- %s->post_startup_inferior (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1407 | target_debug_print_ptid_t (arg0); |
a7068b60 TT |
1408 | fputs_unfiltered (")\n", gdb_stdlog); |
1409 | } | |
1410 | ||
f6ac5f3d PA |
1411 | int |
1412 | target_ops::insert_fork_catchpoint (int arg0) | |
5958ebeb | 1413 | { |
b6a8c27b | 1414 | return this->beneath ()->insert_fork_catchpoint (arg0); |
5958ebeb TT |
1415 | } |
1416 | ||
f6ac5f3d PA |
1417 | int |
1418 | dummy_target::insert_fork_catchpoint (int arg0) | |
5958ebeb TT |
1419 | { |
1420 | return 1; | |
1421 | } | |
1422 | ||
f6ac5f3d PA |
1423 | int |
1424 | debug_target::insert_fork_catchpoint (int arg0) | |
a7068b60 TT |
1425 | { |
1426 | int result; | |
b6a8c27b PA |
1427 | fprintf_unfiltered (gdb_stdlog, "-> %s->insert_fork_catchpoint (...)\n", this->beneath ()->shortname ()); |
1428 | result = this->beneath ()->insert_fork_catchpoint (arg0); | |
1429 | fprintf_unfiltered (gdb_stdlog, "<- %s->insert_fork_catchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1430 | target_debug_print_int (arg0); |
a7068b60 TT |
1431 | fputs_unfiltered (") = ", gdb_stdlog); |
1432 | target_debug_print_int (result); | |
1433 | fputs_unfiltered ("\n", gdb_stdlog); | |
1434 | return result; | |
1435 | } | |
1436 | ||
f6ac5f3d PA |
1437 | int |
1438 | target_ops::remove_fork_catchpoint (int arg0) | |
e1a21fb7 | 1439 | { |
b6a8c27b | 1440 | return this->beneath ()->remove_fork_catchpoint (arg0); |
e1a21fb7 TT |
1441 | } |
1442 | ||
f6ac5f3d PA |
1443 | int |
1444 | dummy_target::remove_fork_catchpoint (int arg0) | |
e1a21fb7 TT |
1445 | { |
1446 | return 1; | |
1447 | } | |
1448 | ||
f6ac5f3d PA |
1449 | int |
1450 | debug_target::remove_fork_catchpoint (int arg0) | |
a7068b60 TT |
1451 | { |
1452 | int result; | |
b6a8c27b PA |
1453 | fprintf_unfiltered (gdb_stdlog, "-> %s->remove_fork_catchpoint (...)\n", this->beneath ()->shortname ()); |
1454 | result = this->beneath ()->remove_fork_catchpoint (arg0); | |
1455 | fprintf_unfiltered (gdb_stdlog, "<- %s->remove_fork_catchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1456 | target_debug_print_int (arg0); |
a7068b60 TT |
1457 | fputs_unfiltered (") = ", gdb_stdlog); |
1458 | target_debug_print_int (result); | |
1459 | fputs_unfiltered ("\n", gdb_stdlog); | |
1460 | return result; | |
1461 | } | |
1462 | ||
f6ac5f3d PA |
1463 | int |
1464 | target_ops::insert_vfork_catchpoint (int arg0) | |
7e18a8dc | 1465 | { |
b6a8c27b | 1466 | return this->beneath ()->insert_vfork_catchpoint (arg0); |
7e18a8dc TT |
1467 | } |
1468 | ||
f6ac5f3d PA |
1469 | int |
1470 | dummy_target::insert_vfork_catchpoint (int arg0) | |
7e18a8dc TT |
1471 | { |
1472 | return 1; | |
1473 | } | |
1474 | ||
f6ac5f3d PA |
1475 | int |
1476 | debug_target::insert_vfork_catchpoint (int arg0) | |
a7068b60 TT |
1477 | { |
1478 | int result; | |
b6a8c27b PA |
1479 | fprintf_unfiltered (gdb_stdlog, "-> %s->insert_vfork_catchpoint (...)\n", this->beneath ()->shortname ()); |
1480 | result = this->beneath ()->insert_vfork_catchpoint (arg0); | |
1481 | fprintf_unfiltered (gdb_stdlog, "<- %s->insert_vfork_catchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1482 | target_debug_print_int (arg0); |
a7068b60 TT |
1483 | fputs_unfiltered (") = ", gdb_stdlog); |
1484 | target_debug_print_int (result); | |
1485 | fputs_unfiltered ("\n", gdb_stdlog); | |
1486 | return result; | |
1487 | } | |
1488 | ||
f6ac5f3d PA |
1489 | int |
1490 | target_ops::remove_vfork_catchpoint (int arg0) | |
95c3375e | 1491 | { |
b6a8c27b | 1492 | return this->beneath ()->remove_vfork_catchpoint (arg0); |
95c3375e TT |
1493 | } |
1494 | ||
f6ac5f3d PA |
1495 | int |
1496 | dummy_target::remove_vfork_catchpoint (int arg0) | |
95c3375e TT |
1497 | { |
1498 | return 1; | |
1499 | } | |
1500 | ||
f6ac5f3d PA |
1501 | int |
1502 | debug_target::remove_vfork_catchpoint (int arg0) | |
a7068b60 TT |
1503 | { |
1504 | int result; | |
b6a8c27b PA |
1505 | fprintf_unfiltered (gdb_stdlog, "-> %s->remove_vfork_catchpoint (...)\n", this->beneath ()->shortname ()); |
1506 | result = this->beneath ()->remove_vfork_catchpoint (arg0); | |
1507 | fprintf_unfiltered (gdb_stdlog, "<- %s->remove_vfork_catchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1508 | target_debug_print_int (arg0); |
a7068b60 TT |
1509 | fputs_unfiltered (") = ", gdb_stdlog); |
1510 | target_debug_print_int (result); | |
1511 | fputs_unfiltered ("\n", gdb_stdlog); | |
1512 | return result; | |
1513 | } | |
1514 | ||
5ab2fbf1 SM |
1515 | bool |
1516 | target_ops::follow_fork (bool arg0, bool arg1) | |
098dba18 | 1517 | { |
b6a8c27b | 1518 | return this->beneath ()->follow_fork (arg0, arg1); |
098dba18 TT |
1519 | } |
1520 | ||
5ab2fbf1 SM |
1521 | bool |
1522 | dummy_target::follow_fork (bool arg0, bool arg1) | |
f6ac5f3d PA |
1523 | { |
1524 | return default_follow_fork (this, arg0, arg1); | |
1525 | } | |
1526 | ||
5ab2fbf1 SM |
1527 | bool |
1528 | debug_target::follow_fork (bool arg0, bool arg1) | |
a7068b60 | 1529 | { |
5ab2fbf1 | 1530 | bool result; |
b6a8c27b PA |
1531 | fprintf_unfiltered (gdb_stdlog, "-> %s->follow_fork (...)\n", this->beneath ()->shortname ()); |
1532 | result = this->beneath ()->follow_fork (arg0, arg1); | |
1533 | fprintf_unfiltered (gdb_stdlog, "<- %s->follow_fork (", this->beneath ()->shortname ()); | |
5ab2fbf1 | 1534 | target_debug_print_bool (arg0); |
a7068b60 | 1535 | fputs_unfiltered (", ", gdb_stdlog); |
5ab2fbf1 | 1536 | target_debug_print_bool (arg1); |
a7068b60 | 1537 | fputs_unfiltered (") = ", gdb_stdlog); |
5ab2fbf1 | 1538 | target_debug_print_bool (result); |
a7068b60 TT |
1539 | fputs_unfiltered ("\n", gdb_stdlog); |
1540 | return result; | |
1541 | } | |
1542 | ||
f6ac5f3d PA |
1543 | int |
1544 | target_ops::insert_exec_catchpoint (int arg0) | |
62f64d7a | 1545 | { |
b6a8c27b | 1546 | return this->beneath ()->insert_exec_catchpoint (arg0); |
62f64d7a TT |
1547 | } |
1548 | ||
f6ac5f3d PA |
1549 | int |
1550 | dummy_target::insert_exec_catchpoint (int arg0) | |
62f64d7a TT |
1551 | { |
1552 | return 1; | |
1553 | } | |
1554 | ||
f6ac5f3d PA |
1555 | int |
1556 | debug_target::insert_exec_catchpoint (int arg0) | |
a7068b60 TT |
1557 | { |
1558 | int result; | |
b6a8c27b PA |
1559 | fprintf_unfiltered (gdb_stdlog, "-> %s->insert_exec_catchpoint (...)\n", this->beneath ()->shortname ()); |
1560 | result = this->beneath ()->insert_exec_catchpoint (arg0); | |
1561 | fprintf_unfiltered (gdb_stdlog, "<- %s->insert_exec_catchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1562 | target_debug_print_int (arg0); |
a7068b60 TT |
1563 | fputs_unfiltered (") = ", gdb_stdlog); |
1564 | target_debug_print_int (result); | |
1565 | fputs_unfiltered ("\n", gdb_stdlog); | |
1566 | return result; | |
1567 | } | |
1568 | ||
f6ac5f3d PA |
1569 | int |
1570 | target_ops::remove_exec_catchpoint (int arg0) | |
cda0f38c | 1571 | { |
b6a8c27b | 1572 | return this->beneath ()->remove_exec_catchpoint (arg0); |
cda0f38c TT |
1573 | } |
1574 | ||
f6ac5f3d PA |
1575 | int |
1576 | dummy_target::remove_exec_catchpoint (int arg0) | |
cda0f38c TT |
1577 | { |
1578 | return 1; | |
1579 | } | |
1580 | ||
f6ac5f3d PA |
1581 | int |
1582 | debug_target::remove_exec_catchpoint (int arg0) | |
a7068b60 TT |
1583 | { |
1584 | int result; | |
b6a8c27b PA |
1585 | fprintf_unfiltered (gdb_stdlog, "-> %s->remove_exec_catchpoint (...)\n", this->beneath ()->shortname ()); |
1586 | result = this->beneath ()->remove_exec_catchpoint (arg0); | |
1587 | fprintf_unfiltered (gdb_stdlog, "<- %s->remove_exec_catchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1588 | target_debug_print_int (arg0); |
a7068b60 TT |
1589 | fputs_unfiltered (") = ", gdb_stdlog); |
1590 | target_debug_print_int (result); | |
1591 | fputs_unfiltered ("\n", gdb_stdlog); | |
1592 | return result; | |
1593 | } | |
1594 | ||
f6ac5f3d | 1595 | void |
4ca51187 | 1596 | target_ops::follow_exec (struct inferior *arg0, const char *arg1) |
94585166 | 1597 | { |
b6a8c27b | 1598 | this->beneath ()->follow_exec (arg0, arg1); |
94585166 DB |
1599 | } |
1600 | ||
f6ac5f3d | 1601 | void |
4ca51187 | 1602 | dummy_target::follow_exec (struct inferior *arg0, const char *arg1) |
94585166 DB |
1603 | { |
1604 | } | |
1605 | ||
f6ac5f3d | 1606 | void |
4ca51187 | 1607 | debug_target::follow_exec (struct inferior *arg0, const char *arg1) |
94585166 | 1608 | { |
b6a8c27b PA |
1609 | fprintf_unfiltered (gdb_stdlog, "-> %s->follow_exec (...)\n", this->beneath ()->shortname ()); |
1610 | this->beneath ()->follow_exec (arg0, arg1); | |
1611 | fprintf_unfiltered (gdb_stdlog, "<- %s->follow_exec (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1612 | target_debug_print_struct_inferior_p (arg0); |
94585166 | 1613 | fputs_unfiltered (", ", gdb_stdlog); |
4ca51187 | 1614 | target_debug_print_const_char_p (arg1); |
94585166 DB |
1615 | fputs_unfiltered (")\n", gdb_stdlog); |
1616 | } | |
1617 | ||
f6ac5f3d PA |
1618 | int |
1619 | target_ops::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3) | |
6a9fa051 | 1620 | { |
b6a8c27b | 1621 | return this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3); |
6a9fa051 TT |
1622 | } |
1623 | ||
f6ac5f3d PA |
1624 | int |
1625 | dummy_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3) | |
6a9fa051 TT |
1626 | { |
1627 | return 1; | |
1628 | } | |
1629 | ||
f6ac5f3d PA |
1630 | int |
1631 | debug_target::set_syscall_catchpoint (int arg0, bool arg1, int arg2, gdb::array_view<const int> arg3) | |
a7068b60 TT |
1632 | { |
1633 | int result; | |
b6a8c27b PA |
1634 | fprintf_unfiltered (gdb_stdlog, "-> %s->set_syscall_catchpoint (...)\n", this->beneath ()->shortname ()); |
1635 | result = this->beneath ()->set_syscall_catchpoint (arg0, arg1, arg2, arg3); | |
1636 | fprintf_unfiltered (gdb_stdlog, "<- %s->set_syscall_catchpoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1637 | target_debug_print_int (arg0); |
a7068b60 | 1638 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 1639 | target_debug_print_bool (arg1); |
a7068b60 | 1640 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 1641 | target_debug_print_int (arg2); |
a7068b60 | 1642 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 1643 | target_debug_print_gdb_array_view_const_int (arg3); |
a7068b60 TT |
1644 | fputs_unfiltered (") = ", gdb_stdlog); |
1645 | target_debug_print_int (result); | |
1646 | fputs_unfiltered ("\n", gdb_stdlog); | |
1647 | return result; | |
1648 | } | |
1649 | ||
f6ac5f3d PA |
1650 | void |
1651 | target_ops::mourn_inferior () | |
8d657035 | 1652 | { |
b6a8c27b | 1653 | this->beneath ()->mourn_inferior (); |
8d657035 TT |
1654 | } |
1655 | ||
f6ac5f3d PA |
1656 | void |
1657 | dummy_target::mourn_inferior () | |
a7068b60 | 1658 | { |
f6ac5f3d | 1659 | default_mourn_inferior (this); |
a7068b60 TT |
1660 | } |
1661 | ||
f6ac5f3d PA |
1662 | void |
1663 | debug_target::mourn_inferior () | |
e88ef65c | 1664 | { |
b6a8c27b PA |
1665 | fprintf_unfiltered (gdb_stdlog, "-> %s->mourn_inferior (...)\n", this->beneath ()->shortname ()); |
1666 | this->beneath ()->mourn_inferior (); | |
1667 | fprintf_unfiltered (gdb_stdlog, "<- %s->mourn_inferior (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1668 | fputs_unfiltered (")\n", gdb_stdlog); |
a7068b60 TT |
1669 | } |
1670 | ||
f6ac5f3d | 1671 | void |
adc6a863 | 1672 | target_ops::pass_signals (gdb::array_view<const unsigned char> arg0) |
035cad7f | 1673 | { |
adc6a863 | 1674 | this->beneath ()->pass_signals (arg0); |
035cad7f TT |
1675 | } |
1676 | ||
f6ac5f3d | 1677 | void |
adc6a863 | 1678 | dummy_target::pass_signals (gdb::array_view<const unsigned char> arg0) |
a7068b60 TT |
1679 | { |
1680 | } | |
1681 | ||
f6ac5f3d | 1682 | void |
adc6a863 | 1683 | debug_target::pass_signals (gdb::array_view<const unsigned char> arg0) |
035cad7f | 1684 | { |
b6a8c27b | 1685 | fprintf_unfiltered (gdb_stdlog, "-> %s->pass_signals (...)\n", this->beneath ()->shortname ()); |
adc6a863 | 1686 | this->beneath ()->pass_signals (arg0); |
b6a8c27b | 1687 | fprintf_unfiltered (gdb_stdlog, "<- %s->pass_signals (", this->beneath ()->shortname ()); |
adc6a863 | 1688 | target_debug_print_signals (arg0); |
a7068b60 | 1689 | fputs_unfiltered (")\n", gdb_stdlog); |
035cad7f TT |
1690 | } |
1691 | ||
f6ac5f3d | 1692 | void |
adc6a863 | 1693 | target_ops::program_signals (gdb::array_view<const unsigned char> arg0) |
7d4f8efa | 1694 | { |
adc6a863 | 1695 | this->beneath ()->program_signals (arg0); |
7d4f8efa TT |
1696 | } |
1697 | ||
f6ac5f3d | 1698 | void |
adc6a863 | 1699 | dummy_target::program_signals (gdb::array_view<const unsigned char> arg0) |
a7068b60 TT |
1700 | { |
1701 | } | |
1702 | ||
f6ac5f3d | 1703 | void |
adc6a863 | 1704 | debug_target::program_signals (gdb::array_view<const unsigned char> arg0) |
7d4f8efa | 1705 | { |
b6a8c27b | 1706 | fprintf_unfiltered (gdb_stdlog, "-> %s->program_signals (...)\n", this->beneath ()->shortname ()); |
adc6a863 | 1707 | this->beneath ()->program_signals (arg0); |
b6a8c27b | 1708 | fprintf_unfiltered (gdb_stdlog, "<- %s->program_signals (", this->beneath ()->shortname ()); |
adc6a863 | 1709 | target_debug_print_signals (arg0); |
a7068b60 | 1710 | fputs_unfiltered (")\n", gdb_stdlog); |
7d4f8efa TT |
1711 | } |
1712 | ||
57810aa7 | 1713 | bool |
f6ac5f3d | 1714 | target_ops::thread_alive (ptid_t arg0) |
cbffc065 | 1715 | { |
b6a8c27b | 1716 | return this->beneath ()->thread_alive (arg0); |
cbffc065 TT |
1717 | } |
1718 | ||
57810aa7 | 1719 | bool |
f6ac5f3d | 1720 | dummy_target::thread_alive (ptid_t arg0) |
cbffc065 | 1721 | { |
57810aa7 | 1722 | return false; |
cbffc065 TT |
1723 | } |
1724 | ||
57810aa7 | 1725 | bool |
f6ac5f3d | 1726 | debug_target::thread_alive (ptid_t arg0) |
a7068b60 | 1727 | { |
57810aa7 | 1728 | bool result; |
b6a8c27b PA |
1729 | fprintf_unfiltered (gdb_stdlog, "-> %s->thread_alive (...)\n", this->beneath ()->shortname ()); |
1730 | result = this->beneath ()->thread_alive (arg0); | |
1731 | fprintf_unfiltered (gdb_stdlog, "<- %s->thread_alive (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1732 | target_debug_print_ptid_t (arg0); |
a7068b60 | 1733 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 1734 | target_debug_print_bool (result); |
a7068b60 TT |
1735 | fputs_unfiltered ("\n", gdb_stdlog); |
1736 | return result; | |
1737 | } | |
1738 | ||
f6ac5f3d PA |
1739 | void |
1740 | target_ops::update_thread_list () | |
09b0dc2b | 1741 | { |
b6a8c27b | 1742 | this->beneath ()->update_thread_list (); |
09b0dc2b TT |
1743 | } |
1744 | ||
f6ac5f3d PA |
1745 | void |
1746 | dummy_target::update_thread_list () | |
09b0dc2b TT |
1747 | { |
1748 | } | |
1749 | ||
f6ac5f3d PA |
1750 | void |
1751 | debug_target::update_thread_list () | |
a7068b60 | 1752 | { |
b6a8c27b PA |
1753 | fprintf_unfiltered (gdb_stdlog, "-> %s->update_thread_list (...)\n", this->beneath ()->shortname ()); |
1754 | this->beneath ()->update_thread_list (); | |
1755 | fprintf_unfiltered (gdb_stdlog, "<- %s->update_thread_list (", this->beneath ()->shortname ()); | |
a7068b60 TT |
1756 | fputs_unfiltered (")\n", gdb_stdlog); |
1757 | } | |
1758 | ||
a068643d | 1759 | std::string |
f6ac5f3d PA |
1760 | target_ops::pid_to_str (ptid_t arg0) |
1761 | { | |
b6a8c27b | 1762 | return this->beneath ()->pid_to_str (arg0); |
f6ac5f3d PA |
1763 | } |
1764 | ||
a068643d | 1765 | std::string |
f6ac5f3d | 1766 | dummy_target::pid_to_str (ptid_t arg0) |
770234d3 | 1767 | { |
f6ac5f3d | 1768 | return default_pid_to_str (this, arg0); |
770234d3 TT |
1769 | } |
1770 | ||
a068643d | 1771 | std::string |
f6ac5f3d | 1772 | debug_target::pid_to_str (ptid_t arg0) |
a7068b60 | 1773 | { |
a068643d | 1774 | std::string result; |
b6a8c27b PA |
1775 | fprintf_unfiltered (gdb_stdlog, "-> %s->pid_to_str (...)\n", this->beneath ()->shortname ()); |
1776 | result = this->beneath ()->pid_to_str (arg0); | |
1777 | fprintf_unfiltered (gdb_stdlog, "<- %s->pid_to_str (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1778 | target_debug_print_ptid_t (arg0); |
a7068b60 | 1779 | fputs_unfiltered (") = ", gdb_stdlog); |
a068643d | 1780 | target_debug_print_std_string (result); |
a7068b60 TT |
1781 | fputs_unfiltered ("\n", gdb_stdlog); |
1782 | return result; | |
1783 | } | |
1784 | ||
f6ac5f3d PA |
1785 | const char * |
1786 | target_ops::extra_thread_info (thread_info *arg0) | |
4a7e6dda | 1787 | { |
b6a8c27b | 1788 | return this->beneath ()->extra_thread_info (arg0); |
4a7e6dda TT |
1789 | } |
1790 | ||
f6ac5f3d PA |
1791 | const char * |
1792 | dummy_target::extra_thread_info (thread_info *arg0) | |
4a7e6dda | 1793 | { |
9b144037 | 1794 | return NULL; |
4a7e6dda TT |
1795 | } |
1796 | ||
f6ac5f3d PA |
1797 | const char * |
1798 | debug_target::extra_thread_info (thread_info *arg0) | |
a7068b60 | 1799 | { |
7a114964 | 1800 | const char * result; |
b6a8c27b PA |
1801 | fprintf_unfiltered (gdb_stdlog, "-> %s->extra_thread_info (...)\n", this->beneath ()->shortname ()); |
1802 | result = this->beneath ()->extra_thread_info (arg0); | |
1803 | fprintf_unfiltered (gdb_stdlog, "<- %s->extra_thread_info (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1804 | target_debug_print_thread_info_p (arg0); |
a7068b60 | 1805 | fputs_unfiltered (") = ", gdb_stdlog); |
7a114964 | 1806 | target_debug_print_const_char_p (result); |
a7068b60 TT |
1807 | fputs_unfiltered ("\n", gdb_stdlog); |
1808 | return result; | |
1809 | } | |
1810 | ||
f6ac5f3d PA |
1811 | const char * |
1812 | target_ops::thread_name (thread_info *arg0) | |
825828fc | 1813 | { |
b6a8c27b | 1814 | return this->beneath ()->thread_name (arg0); |
825828fc TT |
1815 | } |
1816 | ||
f6ac5f3d PA |
1817 | const char * |
1818 | dummy_target::thread_name (thread_info *arg0) | |
825828fc | 1819 | { |
9b144037 | 1820 | return NULL; |
825828fc TT |
1821 | } |
1822 | ||
f6ac5f3d PA |
1823 | const char * |
1824 | debug_target::thread_name (thread_info *arg0) | |
a7068b60 | 1825 | { |
73ede765 | 1826 | const char * result; |
b6a8c27b PA |
1827 | fprintf_unfiltered (gdb_stdlog, "-> %s->thread_name (...)\n", this->beneath ()->shortname ()); |
1828 | result = this->beneath ()->thread_name (arg0); | |
1829 | fprintf_unfiltered (gdb_stdlog, "<- %s->thread_name (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1830 | target_debug_print_thread_info_p (arg0); |
a7068b60 | 1831 | fputs_unfiltered (") = ", gdb_stdlog); |
73ede765 | 1832 | target_debug_print_const_char_p (result); |
a7068b60 TT |
1833 | fputs_unfiltered ("\n", gdb_stdlog); |
1834 | return result; | |
1835 | } | |
1836 | ||
f6ac5f3d PA |
1837 | thread_info * |
1838 | target_ops::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2) | |
e04ee09e | 1839 | { |
b6a8c27b | 1840 | return this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2); |
e04ee09e KB |
1841 | } |
1842 | ||
f6ac5f3d PA |
1843 | thread_info * |
1844 | dummy_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2) | |
e04ee09e KB |
1845 | { |
1846 | return NULL; | |
1847 | } | |
1848 | ||
f6ac5f3d PA |
1849 | thread_info * |
1850 | debug_target::thread_handle_to_thread_info (const gdb_byte *arg0, int arg1, inferior *arg2) | |
e04ee09e | 1851 | { |
f6ac5f3d | 1852 | thread_info * result; |
b6a8c27b PA |
1853 | fprintf_unfiltered (gdb_stdlog, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath ()->shortname ()); |
1854 | result = this->beneath ()->thread_handle_to_thread_info (arg0, arg1, arg2); | |
1855 | fprintf_unfiltered (gdb_stdlog, "<- %s->thread_handle_to_thread_info (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1856 | target_debug_print_const_gdb_byte_p (arg0); |
e04ee09e | 1857 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 1858 | target_debug_print_int (arg1); |
e04ee09e | 1859 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 1860 | target_debug_print_inferior_p (arg2); |
e04ee09e | 1861 | fputs_unfiltered (") = ", gdb_stdlog); |
f6ac5f3d | 1862 | target_debug_print_thread_info_p (result); |
e04ee09e KB |
1863 | fputs_unfiltered ("\n", gdb_stdlog); |
1864 | return result; | |
1865 | } | |
1866 | ||
3d6c6204 KB |
1867 | gdb::byte_vector |
1868 | target_ops::thread_info_to_thread_handle (struct thread_info *arg0) | |
1869 | { | |
1870 | return this->beneath ()->thread_info_to_thread_handle (arg0); | |
1871 | } | |
1872 | ||
1873 | gdb::byte_vector | |
1874 | dummy_target::thread_info_to_thread_handle (struct thread_info *arg0) | |
1875 | { | |
1876 | return gdb::byte_vector (); | |
1877 | } | |
1878 | ||
1879 | gdb::byte_vector | |
1880 | debug_target::thread_info_to_thread_handle (struct thread_info *arg0) | |
1881 | { | |
1882 | gdb::byte_vector result; | |
1883 | fprintf_unfiltered (gdb_stdlog, "-> %s->thread_info_to_thread_handle (...)\n", this->beneath ()->shortname ()); | |
1884 | result = this->beneath ()->thread_info_to_thread_handle (arg0); | |
1885 | fprintf_unfiltered (gdb_stdlog, "<- %s->thread_info_to_thread_handle (", this->beneath ()->shortname ()); | |
1886 | target_debug_print_struct_thread_info_p (arg0); | |
1887 | fputs_unfiltered (") = ", gdb_stdlog); | |
1888 | target_debug_print_gdb_byte_vector (result); | |
1889 | fputs_unfiltered ("\n", gdb_stdlog); | |
1890 | return result; | |
1891 | } | |
1892 | ||
f6ac5f3d PA |
1893 | void |
1894 | target_ops::stop (ptid_t arg0) | |
46ee7e8d | 1895 | { |
b6a8c27b | 1896 | this->beneath ()->stop (arg0); |
46ee7e8d TT |
1897 | } |
1898 | ||
f6ac5f3d PA |
1899 | void |
1900 | dummy_target::stop (ptid_t arg0) | |
46ee7e8d TT |
1901 | { |
1902 | } | |
1903 | ||
f6ac5f3d PA |
1904 | void |
1905 | debug_target::stop (ptid_t arg0) | |
a7068b60 | 1906 | { |
b6a8c27b PA |
1907 | fprintf_unfiltered (gdb_stdlog, "-> %s->stop (...)\n", this->beneath ()->shortname ()); |
1908 | this->beneath ()->stop (arg0); | |
1909 | fprintf_unfiltered (gdb_stdlog, "<- %s->stop (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1910 | target_debug_print_ptid_t (arg0); |
a7068b60 TT |
1911 | fputs_unfiltered (")\n", gdb_stdlog); |
1912 | } | |
1913 | ||
f6ac5f3d PA |
1914 | void |
1915 | target_ops::interrupt () | |
bfedc46a | 1916 | { |
b6a8c27b | 1917 | this->beneath ()->interrupt (); |
bfedc46a PA |
1918 | } |
1919 | ||
f6ac5f3d PA |
1920 | void |
1921 | dummy_target::interrupt () | |
bfedc46a PA |
1922 | { |
1923 | } | |
1924 | ||
f6ac5f3d PA |
1925 | void |
1926 | debug_target::interrupt () | |
bfedc46a | 1927 | { |
b6a8c27b PA |
1928 | fprintf_unfiltered (gdb_stdlog, "-> %s->interrupt (...)\n", this->beneath ()->shortname ()); |
1929 | this->beneath ()->interrupt (); | |
1930 | fprintf_unfiltered (gdb_stdlog, "<- %s->interrupt (", this->beneath ()->shortname ()); | |
bfedc46a PA |
1931 | fputs_unfiltered (")\n", gdb_stdlog); |
1932 | } | |
1933 | ||
f6ac5f3d PA |
1934 | void |
1935 | target_ops::pass_ctrlc () | |
93692b58 | 1936 | { |
b6a8c27b | 1937 | this->beneath ()->pass_ctrlc (); |
93692b58 PA |
1938 | } |
1939 | ||
f6ac5f3d PA |
1940 | void |
1941 | dummy_target::pass_ctrlc () | |
93692b58 | 1942 | { |
f6ac5f3d PA |
1943 | default_target_pass_ctrlc (this); |
1944 | } | |
1945 | ||
1946 | void | |
1947 | debug_target::pass_ctrlc () | |
1948 | { | |
b6a8c27b PA |
1949 | fprintf_unfiltered (gdb_stdlog, "-> %s->pass_ctrlc (...)\n", this->beneath ()->shortname ()); |
1950 | this->beneath ()->pass_ctrlc (); | |
1951 | fprintf_unfiltered (gdb_stdlog, "<- %s->pass_ctrlc (", this->beneath ()->shortname ()); | |
93692b58 PA |
1952 | fputs_unfiltered (")\n", gdb_stdlog); |
1953 | } | |
1954 | ||
f6ac5f3d PA |
1955 | void |
1956 | target_ops::rcmd (const char *arg0, struct ui_file *arg1) | |
a53f3625 | 1957 | { |
b6a8c27b | 1958 | this->beneath ()->rcmd (arg0, arg1); |
a53f3625 TT |
1959 | } |
1960 | ||
f6ac5f3d PA |
1961 | void |
1962 | dummy_target::rcmd (const char *arg0, struct ui_file *arg1) | |
a7068b60 | 1963 | { |
f6ac5f3d PA |
1964 | default_rcmd (this, arg0, arg1); |
1965 | } | |
1966 | ||
1967 | void | |
1968 | debug_target::rcmd (const char *arg0, struct ui_file *arg1) | |
1969 | { | |
b6a8c27b PA |
1970 | fprintf_unfiltered (gdb_stdlog, "-> %s->rcmd (...)\n", this->beneath ()->shortname ()); |
1971 | this->beneath ()->rcmd (arg0, arg1); | |
1972 | fprintf_unfiltered (gdb_stdlog, "<- %s->rcmd (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1973 | target_debug_print_const_char_p (arg0); |
a7068b60 | 1974 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 1975 | target_debug_print_struct_ui_file_p (arg1); |
a7068b60 TT |
1976 | fputs_unfiltered (")\n", gdb_stdlog); |
1977 | } | |
1978 | ||
f6ac5f3d PA |
1979 | char * |
1980 | target_ops::pid_to_exec_file (int arg0) | |
830ca330 | 1981 | { |
b6a8c27b | 1982 | return this->beneath ()->pid_to_exec_file (arg0); |
830ca330 TT |
1983 | } |
1984 | ||
f6ac5f3d PA |
1985 | char * |
1986 | dummy_target::pid_to_exec_file (int arg0) | |
830ca330 | 1987 | { |
9b144037 | 1988 | return NULL; |
830ca330 TT |
1989 | } |
1990 | ||
f6ac5f3d PA |
1991 | char * |
1992 | debug_target::pid_to_exec_file (int arg0) | |
a7068b60 TT |
1993 | { |
1994 | char * result; | |
b6a8c27b PA |
1995 | fprintf_unfiltered (gdb_stdlog, "-> %s->pid_to_exec_file (...)\n", this->beneath ()->shortname ()); |
1996 | result = this->beneath ()->pid_to_exec_file (arg0); | |
1997 | fprintf_unfiltered (gdb_stdlog, "<- %s->pid_to_exec_file (", this->beneath ()->shortname ()); | |
f6ac5f3d | 1998 | target_debug_print_int (arg0); |
a7068b60 TT |
1999 | fputs_unfiltered (") = ", gdb_stdlog); |
2000 | target_debug_print_char_p (result); | |
2001 | fputs_unfiltered ("\n", gdb_stdlog); | |
2002 | return result; | |
2003 | } | |
2004 | ||
f6ac5f3d PA |
2005 | void |
2006 | target_ops::log_command (const char *arg0) | |
d9cb0195 | 2007 | { |
b6a8c27b | 2008 | this->beneath ()->log_command (arg0); |
d9cb0195 TT |
2009 | } |
2010 | ||
f6ac5f3d PA |
2011 | void |
2012 | dummy_target::log_command (const char *arg0) | |
d9cb0195 TT |
2013 | { |
2014 | } | |
2015 | ||
f6ac5f3d PA |
2016 | void |
2017 | debug_target::log_command (const char *arg0) | |
a7068b60 | 2018 | { |
b6a8c27b PA |
2019 | fprintf_unfiltered (gdb_stdlog, "-> %s->log_command (...)\n", this->beneath ()->shortname ()); |
2020 | this->beneath ()->log_command (arg0); | |
2021 | fprintf_unfiltered (gdb_stdlog, "<- %s->log_command (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2022 | target_debug_print_const_char_p (arg0); |
a7068b60 TT |
2023 | fputs_unfiltered (")\n", gdb_stdlog); |
2024 | } | |
2025 | ||
f6ac5f3d PA |
2026 | struct target_section_table * |
2027 | target_ops::get_section_table () | |
7e35c012 | 2028 | { |
b6a8c27b | 2029 | return this->beneath ()->get_section_table (); |
7e35c012 TT |
2030 | } |
2031 | ||
f6ac5f3d PA |
2032 | struct target_section_table * |
2033 | dummy_target::get_section_table () | |
7e35c012 | 2034 | { |
9b144037 | 2035 | return NULL; |
7e35c012 TT |
2036 | } |
2037 | ||
f6ac5f3d PA |
2038 | struct target_section_table * |
2039 | debug_target::get_section_table () | |
a7068b60 TT |
2040 | { |
2041 | struct target_section_table * result; | |
b6a8c27b PA |
2042 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_section_table (...)\n", this->beneath ()->shortname ()); |
2043 | result = this->beneath ()->get_section_table (); | |
2044 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_section_table (", this->beneath ()->shortname ()); | |
a7068b60 TT |
2045 | fputs_unfiltered (") = ", gdb_stdlog); |
2046 | target_debug_print_struct_target_section_table_p (result); | |
2047 | fputs_unfiltered ("\n", gdb_stdlog); | |
2048 | return result; | |
2049 | } | |
2050 | ||
f6ac5f3d PA |
2051 | thread_control_capabilities |
2052 | target_ops::get_thread_control_capabilities () | |
2053 | { | |
b6a8c27b | 2054 | return this->beneath ()->get_thread_control_capabilities (); |
f6ac5f3d PA |
2055 | } |
2056 | ||
2057 | thread_control_capabilities | |
2058 | dummy_target::get_thread_control_capabilities () | |
2059 | { | |
2060 | return tc_none; | |
2061 | } | |
2062 | ||
2063 | thread_control_capabilities | |
2064 | debug_target::get_thread_control_capabilities () | |
2065 | { | |
2066 | thread_control_capabilities result; | |
b6a8c27b PA |
2067 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_thread_control_capabilities (...)\n", this->beneath ()->shortname ()); |
2068 | result = this->beneath ()->get_thread_control_capabilities (); | |
2069 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_thread_control_capabilities (", this->beneath ()->shortname ()); | |
f6ac5f3d PA |
2070 | fputs_unfiltered (") = ", gdb_stdlog); |
2071 | target_debug_print_thread_control_capabilities (result); | |
2072 | fputs_unfiltered ("\n", gdb_stdlog); | |
2073 | return result; | |
2074 | } | |
2075 | ||
2076 | bool | |
2077 | target_ops::attach_no_wait () | |
6b84065d | 2078 | { |
b6a8c27b | 2079 | return this->beneath ()->attach_no_wait (); |
6b84065d TT |
2080 | } |
2081 | ||
f6ac5f3d PA |
2082 | bool |
2083 | dummy_target::attach_no_wait () | |
b3ccfe11 TT |
2084 | { |
2085 | return 0; | |
2086 | } | |
2087 | ||
f6ac5f3d PA |
2088 | bool |
2089 | debug_target::attach_no_wait () | |
2090 | { | |
2091 | bool result; | |
b6a8c27b PA |
2092 | fprintf_unfiltered (gdb_stdlog, "-> %s->attach_no_wait (...)\n", this->beneath ()->shortname ()); |
2093 | result = this->beneath ()->attach_no_wait (); | |
2094 | fprintf_unfiltered (gdb_stdlog, "<- %s->attach_no_wait (", this->beneath ()->shortname ()); | |
f6ac5f3d PA |
2095 | fputs_unfiltered (") = ", gdb_stdlog); |
2096 | target_debug_print_bool (result); | |
2097 | fputs_unfiltered ("\n", gdb_stdlog); | |
2098 | return result; | |
2099 | } | |
2100 | ||
57810aa7 | 2101 | bool |
f6ac5f3d PA |
2102 | target_ops::can_async_p () |
2103 | { | |
b6a8c27b | 2104 | return this->beneath ()->can_async_p (); |
f6ac5f3d PA |
2105 | } |
2106 | ||
57810aa7 | 2107 | bool |
f6ac5f3d PA |
2108 | dummy_target::can_async_p () |
2109 | { | |
57810aa7 | 2110 | return false; |
f6ac5f3d PA |
2111 | } |
2112 | ||
57810aa7 | 2113 | bool |
f6ac5f3d | 2114 | debug_target::can_async_p () |
a7068b60 | 2115 | { |
57810aa7 | 2116 | bool result; |
b6a8c27b PA |
2117 | fprintf_unfiltered (gdb_stdlog, "-> %s->can_async_p (...)\n", this->beneath ()->shortname ()); |
2118 | result = this->beneath ()->can_async_p (); | |
2119 | fprintf_unfiltered (gdb_stdlog, "<- %s->can_async_p (", this->beneath ()->shortname ()); | |
a7068b60 | 2120 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2121 | target_debug_print_bool (result); |
a7068b60 TT |
2122 | fputs_unfiltered ("\n", gdb_stdlog); |
2123 | return result; | |
2124 | } | |
2125 | ||
57810aa7 | 2126 | bool |
f6ac5f3d | 2127 | target_ops::is_async_p () |
6b84065d | 2128 | { |
b6a8c27b | 2129 | return this->beneath ()->is_async_p (); |
6b84065d TT |
2130 | } |
2131 | ||
57810aa7 | 2132 | bool |
f6ac5f3d | 2133 | dummy_target::is_async_p () |
b3ccfe11 | 2134 | { |
57810aa7 | 2135 | return false; |
b3ccfe11 TT |
2136 | } |
2137 | ||
57810aa7 | 2138 | bool |
f6ac5f3d | 2139 | debug_target::is_async_p () |
a7068b60 | 2140 | { |
57810aa7 | 2141 | bool result; |
b6a8c27b PA |
2142 | fprintf_unfiltered (gdb_stdlog, "-> %s->is_async_p (...)\n", this->beneath ()->shortname ()); |
2143 | result = this->beneath ()->is_async_p (); | |
2144 | fprintf_unfiltered (gdb_stdlog, "<- %s->is_async_p (", this->beneath ()->shortname ()); | |
a7068b60 | 2145 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2146 | target_debug_print_bool (result); |
a7068b60 TT |
2147 | fputs_unfiltered ("\n", gdb_stdlog); |
2148 | return result; | |
2149 | } | |
2150 | ||
f6ac5f3d PA |
2151 | void |
2152 | target_ops::async (int arg0) | |
6b84065d | 2153 | { |
b6a8c27b | 2154 | this->beneath ()->async (arg0); |
6b84065d TT |
2155 | } |
2156 | ||
f6ac5f3d PA |
2157 | void |
2158 | dummy_target::async (int arg0) | |
6b84065d TT |
2159 | { |
2160 | tcomplain (); | |
2161 | } | |
2162 | ||
f6ac5f3d PA |
2163 | void |
2164 | debug_target::async (int arg0) | |
a7068b60 | 2165 | { |
b6a8c27b PA |
2166 | fprintf_unfiltered (gdb_stdlog, "-> %s->async (...)\n", this->beneath ()->shortname ()); |
2167 | this->beneath ()->async (arg0); | |
2168 | fprintf_unfiltered (gdb_stdlog, "<- %s->async (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2169 | target_debug_print_int (arg0); |
a7068b60 TT |
2170 | fputs_unfiltered (")\n", gdb_stdlog); |
2171 | } | |
2172 | ||
5b6d1e4f PA |
2173 | int |
2174 | target_ops::async_wait_fd () | |
2175 | { | |
2176 | return this->beneath ()->async_wait_fd (); | |
2177 | } | |
2178 | ||
2179 | int | |
2180 | dummy_target::async_wait_fd () | |
2181 | { | |
2182 | noprocess (); | |
2183 | } | |
2184 | ||
2185 | int | |
2186 | debug_target::async_wait_fd () | |
2187 | { | |
2188 | int result; | |
2189 | fprintf_unfiltered (gdb_stdlog, "-> %s->async_wait_fd (...)\n", this->beneath ()->shortname ()); | |
2190 | result = this->beneath ()->async_wait_fd (); | |
2191 | fprintf_unfiltered (gdb_stdlog, "<- %s->async_wait_fd (", this->beneath ()->shortname ()); | |
2192 | fputs_unfiltered (") = ", gdb_stdlog); | |
2193 | target_debug_print_int (result); | |
2194 | fputs_unfiltered ("\n", gdb_stdlog); | |
2195 | return result; | |
2196 | } | |
2197 | ||
f6ac5f3d PA |
2198 | void |
2199 | target_ops::thread_events (int arg0) | |
65706a29 | 2200 | { |
b6a8c27b | 2201 | this->beneath ()->thread_events (arg0); |
65706a29 PA |
2202 | } |
2203 | ||
f6ac5f3d PA |
2204 | void |
2205 | dummy_target::thread_events (int arg0) | |
65706a29 PA |
2206 | { |
2207 | } | |
2208 | ||
f6ac5f3d PA |
2209 | void |
2210 | debug_target::thread_events (int arg0) | |
65706a29 | 2211 | { |
b6a8c27b PA |
2212 | fprintf_unfiltered (gdb_stdlog, "-> %s->thread_events (...)\n", this->beneath ()->shortname ()); |
2213 | this->beneath ()->thread_events (arg0); | |
2214 | fprintf_unfiltered (gdb_stdlog, "<- %s->thread_events (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2215 | target_debug_print_int (arg0); |
65706a29 PA |
2216 | fputs_unfiltered (")\n", gdb_stdlog); |
2217 | } | |
2218 | ||
57810aa7 | 2219 | bool |
f6ac5f3d | 2220 | target_ops::supports_non_stop () |
b3ccfe11 | 2221 | { |
b6a8c27b | 2222 | return this->beneath ()->supports_non_stop (); |
b3ccfe11 TT |
2223 | } |
2224 | ||
57810aa7 | 2225 | bool |
f6ac5f3d | 2226 | dummy_target::supports_non_stop () |
b3ccfe11 | 2227 | { |
57810aa7 | 2228 | return false; |
b3ccfe11 TT |
2229 | } |
2230 | ||
57810aa7 | 2231 | bool |
f6ac5f3d | 2232 | debug_target::supports_non_stop () |
a7068b60 | 2233 | { |
57810aa7 | 2234 | bool result; |
b6a8c27b PA |
2235 | fprintf_unfiltered (gdb_stdlog, "-> %s->supports_non_stop (...)\n", this->beneath ()->shortname ()); |
2236 | result = this->beneath ()->supports_non_stop (); | |
2237 | fprintf_unfiltered (gdb_stdlog, "<- %s->supports_non_stop (", this->beneath ()->shortname ()); | |
a7068b60 | 2238 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2239 | target_debug_print_bool (result); |
a7068b60 TT |
2240 | fputs_unfiltered ("\n", gdb_stdlog); |
2241 | return result; | |
2242 | } | |
2243 | ||
57810aa7 | 2244 | bool |
f6ac5f3d | 2245 | target_ops::always_non_stop_p () |
fbea99ea | 2246 | { |
b6a8c27b | 2247 | return this->beneath ()->always_non_stop_p (); |
fbea99ea PA |
2248 | } |
2249 | ||
57810aa7 | 2250 | bool |
f6ac5f3d | 2251 | dummy_target::always_non_stop_p () |
fbea99ea | 2252 | { |
57810aa7 | 2253 | return false; |
fbea99ea PA |
2254 | } |
2255 | ||
57810aa7 | 2256 | bool |
f6ac5f3d | 2257 | debug_target::always_non_stop_p () |
fbea99ea | 2258 | { |
57810aa7 | 2259 | bool result; |
b6a8c27b PA |
2260 | fprintf_unfiltered (gdb_stdlog, "-> %s->always_non_stop_p (...)\n", this->beneath ()->shortname ()); |
2261 | result = this->beneath ()->always_non_stop_p (); | |
2262 | fprintf_unfiltered (gdb_stdlog, "<- %s->always_non_stop_p (", this->beneath ()->shortname ()); | |
fbea99ea | 2263 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2264 | target_debug_print_bool (result); |
fbea99ea PA |
2265 | fputs_unfiltered ("\n", gdb_stdlog); |
2266 | return result; | |
2267 | } | |
2268 | ||
f6ac5f3d PA |
2269 | int |
2270 | target_ops::find_memory_regions (find_memory_region_ftype arg0, void *arg1) | |
2271 | { | |
b6a8c27b | 2272 | return this->beneath ()->find_memory_regions (arg0, arg1); |
f6ac5f3d PA |
2273 | } |
2274 | ||
2275 | int | |
2276 | dummy_target::find_memory_regions (find_memory_region_ftype arg0, void *arg1) | |
0b5a2719 | 2277 | { |
f6ac5f3d | 2278 | return dummy_find_memory_regions (this, arg0, arg1); |
0b5a2719 TT |
2279 | } |
2280 | ||
f6ac5f3d PA |
2281 | int |
2282 | debug_target::find_memory_regions (find_memory_region_ftype arg0, void *arg1) | |
a7068b60 TT |
2283 | { |
2284 | int result; | |
b6a8c27b PA |
2285 | fprintf_unfiltered (gdb_stdlog, "-> %s->find_memory_regions (...)\n", this->beneath ()->shortname ()); |
2286 | result = this->beneath ()->find_memory_regions (arg0, arg1); | |
2287 | fprintf_unfiltered (gdb_stdlog, "<- %s->find_memory_regions (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2288 | target_debug_print_find_memory_region_ftype (arg0); |
a7068b60 | 2289 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2290 | target_debug_print_void_p (arg1); |
a7068b60 TT |
2291 | fputs_unfiltered (") = ", gdb_stdlog); |
2292 | target_debug_print_int (result); | |
2293 | fputs_unfiltered ("\n", gdb_stdlog); | |
2294 | return result; | |
2295 | } | |
2296 | ||
f6ac5f3d PA |
2297 | char * |
2298 | target_ops::make_corefile_notes (bfd *arg0, int *arg1) | |
16f796b1 | 2299 | { |
b6a8c27b | 2300 | return this->beneath ()->make_corefile_notes (arg0, arg1); |
16f796b1 TT |
2301 | } |
2302 | ||
f6ac5f3d PA |
2303 | char * |
2304 | dummy_target::make_corefile_notes (bfd *arg0, int *arg1) | |
2305 | { | |
2306 | return dummy_make_corefile_notes (this, arg0, arg1); | |
2307 | } | |
2308 | ||
2309 | char * | |
2310 | debug_target::make_corefile_notes (bfd *arg0, int *arg1) | |
a7068b60 TT |
2311 | { |
2312 | char * result; | |
b6a8c27b PA |
2313 | fprintf_unfiltered (gdb_stdlog, "-> %s->make_corefile_notes (...)\n", this->beneath ()->shortname ()); |
2314 | result = this->beneath ()->make_corefile_notes (arg0, arg1); | |
2315 | fprintf_unfiltered (gdb_stdlog, "<- %s->make_corefile_notes (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2316 | target_debug_print_bfd_p (arg0); |
a7068b60 | 2317 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2318 | target_debug_print_int_p (arg1); |
a7068b60 TT |
2319 | fputs_unfiltered (") = ", gdb_stdlog); |
2320 | target_debug_print_char_p (result); | |
2321 | fputs_unfiltered ("\n", gdb_stdlog); | |
2322 | return result; | |
2323 | } | |
2324 | ||
f6ac5f3d PA |
2325 | gdb_byte * |
2326 | target_ops::get_bookmark (const char *arg0, int arg1) | |
3dbafbbb | 2327 | { |
b6a8c27b | 2328 | return this->beneath ()->get_bookmark (arg0, arg1); |
3dbafbbb TT |
2329 | } |
2330 | ||
f6ac5f3d PA |
2331 | gdb_byte * |
2332 | dummy_target::get_bookmark (const char *arg0, int arg1) | |
3dbafbbb TT |
2333 | { |
2334 | tcomplain (); | |
2335 | } | |
2336 | ||
f6ac5f3d PA |
2337 | gdb_byte * |
2338 | debug_target::get_bookmark (const char *arg0, int arg1) | |
a7068b60 TT |
2339 | { |
2340 | gdb_byte * result; | |
b6a8c27b PA |
2341 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_bookmark (...)\n", this->beneath ()->shortname ()); |
2342 | result = this->beneath ()->get_bookmark (arg0, arg1); | |
2343 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_bookmark (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2344 | target_debug_print_const_char_p (arg0); |
a7068b60 | 2345 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2346 | target_debug_print_int (arg1); |
a7068b60 TT |
2347 | fputs_unfiltered (") = ", gdb_stdlog); |
2348 | target_debug_print_gdb_byte_p (result); | |
2349 | fputs_unfiltered ("\n", gdb_stdlog); | |
2350 | return result; | |
2351 | } | |
2352 | ||
f6ac5f3d PA |
2353 | void |
2354 | target_ops::goto_bookmark (const gdb_byte *arg0, int arg1) | |
9bb9d61d | 2355 | { |
b6a8c27b | 2356 | this->beneath ()->goto_bookmark (arg0, arg1); |
9bb9d61d TT |
2357 | } |
2358 | ||
f6ac5f3d PA |
2359 | void |
2360 | dummy_target::goto_bookmark (const gdb_byte *arg0, int arg1) | |
9bb9d61d TT |
2361 | { |
2362 | tcomplain (); | |
2363 | } | |
2364 | ||
f6ac5f3d PA |
2365 | void |
2366 | debug_target::goto_bookmark (const gdb_byte *arg0, int arg1) | |
a7068b60 | 2367 | { |
b6a8c27b PA |
2368 | fprintf_unfiltered (gdb_stdlog, "-> %s->goto_bookmark (...)\n", this->beneath ()->shortname ()); |
2369 | this->beneath ()->goto_bookmark (arg0, arg1); | |
2370 | fprintf_unfiltered (gdb_stdlog, "<- %s->goto_bookmark (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2371 | target_debug_print_const_gdb_byte_p (arg0); |
a7068b60 | 2372 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2373 | target_debug_print_int (arg1); |
a7068b60 TT |
2374 | fputs_unfiltered (")\n", gdb_stdlog); |
2375 | } | |
2376 | ||
f6ac5f3d PA |
2377 | CORE_ADDR |
2378 | target_ops::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) | |
f0f9ff95 | 2379 | { |
b6a8c27b | 2380 | return this->beneath ()->get_thread_local_address (arg0, arg1, arg2); |
f0f9ff95 TT |
2381 | } |
2382 | ||
f6ac5f3d PA |
2383 | CORE_ADDR |
2384 | dummy_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) | |
f0f9ff95 TT |
2385 | { |
2386 | generic_tls_error (); | |
2387 | } | |
2388 | ||
f6ac5f3d PA |
2389 | CORE_ADDR |
2390 | debug_target::get_thread_local_address (ptid_t arg0, CORE_ADDR arg1, CORE_ADDR arg2) | |
a7068b60 TT |
2391 | { |
2392 | CORE_ADDR result; | |
b6a8c27b PA |
2393 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_thread_local_address (...)\n", this->beneath ()->shortname ()); |
2394 | result = this->beneath ()->get_thread_local_address (arg0, arg1, arg2); | |
2395 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_thread_local_address (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2396 | target_debug_print_ptid_t (arg0); |
a7068b60 | 2397 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2398 | target_debug_print_CORE_ADDR (arg1); |
a7068b60 TT |
2399 | fputs_unfiltered (", ", gdb_stdlog); |
2400 | target_debug_print_CORE_ADDR (arg2); | |
a7068b60 TT |
2401 | fputs_unfiltered (") = ", gdb_stdlog); |
2402 | target_debug_print_CORE_ADDR (result); | |
2403 | fputs_unfiltered ("\n", gdb_stdlog); | |
2404 | return result; | |
2405 | } | |
2406 | ||
f6ac5f3d PA |
2407 | enum target_xfer_status |
2408 | target_ops::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6) | |
6b84065d | 2409 | { |
b6a8c27b | 2410 | return this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6); |
6b84065d TT |
2411 | } |
2412 | ||
f6ac5f3d PA |
2413 | enum target_xfer_status |
2414 | dummy_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6) | |
6b84065d TT |
2415 | { |
2416 | return TARGET_XFER_E_IO; | |
2417 | } | |
2418 | ||
f6ac5f3d PA |
2419 | enum target_xfer_status |
2420 | debug_target::xfer_partial (enum target_object arg0, const char *arg1, gdb_byte *arg2, const gdb_byte *arg3, ULONGEST arg4, ULONGEST arg5, ULONGEST *arg6) | |
a7068b60 TT |
2421 | { |
2422 | enum target_xfer_status result; | |
b6a8c27b PA |
2423 | fprintf_unfiltered (gdb_stdlog, "-> %s->xfer_partial (...)\n", this->beneath ()->shortname ()); |
2424 | result = this->beneath ()->xfer_partial (arg0, arg1, arg2, arg3, arg4, arg5, arg6); | |
2425 | fprintf_unfiltered (gdb_stdlog, "<- %s->xfer_partial (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2426 | target_debug_print_enum_target_object (arg0); |
a7068b60 | 2427 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2428 | target_debug_print_const_char_p (arg1); |
a7068b60 | 2429 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2430 | target_debug_print_gdb_byte_p (arg2); |
a7068b60 | 2431 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2432 | target_debug_print_const_gdb_byte_p (arg3); |
a7068b60 | 2433 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2434 | target_debug_print_ULONGEST (arg4); |
a7068b60 TT |
2435 | fputs_unfiltered (", ", gdb_stdlog); |
2436 | target_debug_print_ULONGEST (arg5); | |
2437 | fputs_unfiltered (", ", gdb_stdlog); | |
f6ac5f3d | 2438 | target_debug_print_ULONGEST_p (arg6); |
a7068b60 TT |
2439 | fputs_unfiltered (") = ", gdb_stdlog); |
2440 | target_debug_print_enum_target_xfer_status (result); | |
2441 | fputs_unfiltered ("\n", gdb_stdlog); | |
2442 | return result; | |
2443 | } | |
2444 | ||
f6ac5f3d PA |
2445 | ULONGEST |
2446 | target_ops::get_memory_xfer_limit () | |
09c98b44 | 2447 | { |
b6a8c27b | 2448 | return this->beneath ()->get_memory_xfer_limit (); |
09c98b44 DB |
2449 | } |
2450 | ||
f6ac5f3d PA |
2451 | ULONGEST |
2452 | dummy_target::get_memory_xfer_limit () | |
09c98b44 DB |
2453 | { |
2454 | return ULONGEST_MAX; | |
2455 | } | |
2456 | ||
f6ac5f3d PA |
2457 | ULONGEST |
2458 | debug_target::get_memory_xfer_limit () | |
09c98b44 DB |
2459 | { |
2460 | ULONGEST result; | |
b6a8c27b PA |
2461 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_memory_xfer_limit (...)\n", this->beneath ()->shortname ()); |
2462 | result = this->beneath ()->get_memory_xfer_limit (); | |
2463 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_memory_xfer_limit (", this->beneath ()->shortname ()); | |
09c98b44 DB |
2464 | fputs_unfiltered (") = ", gdb_stdlog); |
2465 | target_debug_print_ULONGEST (result); | |
2466 | fputs_unfiltered ("\n", gdb_stdlog); | |
2467 | return result; | |
2468 | } | |
2469 | ||
f6ac5f3d PA |
2470 | std::vector<mem_region> |
2471 | target_ops::memory_map () | |
6b2c5a57 | 2472 | { |
b6a8c27b | 2473 | return this->beneath ()->memory_map (); |
6b2c5a57 TT |
2474 | } |
2475 | ||
f6ac5f3d PA |
2476 | std::vector<mem_region> |
2477 | dummy_target::memory_map () | |
6b2c5a57 | 2478 | { |
a664f67e | 2479 | return std::vector<mem_region> (); |
6b2c5a57 TT |
2480 | } |
2481 | ||
f6ac5f3d PA |
2482 | std::vector<mem_region> |
2483 | debug_target::memory_map () | |
a7068b60 | 2484 | { |
1e97a227 | 2485 | std::vector<mem_region> result; |
b6a8c27b PA |
2486 | fprintf_unfiltered (gdb_stdlog, "-> %s->memory_map (...)\n", this->beneath ()->shortname ()); |
2487 | result = this->beneath ()->memory_map (); | |
2488 | fprintf_unfiltered (gdb_stdlog, "<- %s->memory_map (", this->beneath ()->shortname ()); | |
a7068b60 | 2489 | fputs_unfiltered (") = ", gdb_stdlog); |
1e97a227 | 2490 | target_debug_print_std_vector_mem_region (result); |
a7068b60 TT |
2491 | fputs_unfiltered ("\n", gdb_stdlog); |
2492 | return result; | |
2493 | } | |
2494 | ||
f6ac5f3d PA |
2495 | void |
2496 | target_ops::flash_erase (ULONGEST arg0, LONGEST arg1) | |
e8a6c6ac | 2497 | { |
b6a8c27b | 2498 | this->beneath ()->flash_erase (arg0, arg1); |
e8a6c6ac TT |
2499 | } |
2500 | ||
f6ac5f3d PA |
2501 | void |
2502 | dummy_target::flash_erase (ULONGEST arg0, LONGEST arg1) | |
e8a6c6ac TT |
2503 | { |
2504 | tcomplain (); | |
2505 | } | |
2506 | ||
f6ac5f3d PA |
2507 | void |
2508 | debug_target::flash_erase (ULONGEST arg0, LONGEST arg1) | |
a7068b60 | 2509 | { |
b6a8c27b PA |
2510 | fprintf_unfiltered (gdb_stdlog, "-> %s->flash_erase (...)\n", this->beneath ()->shortname ()); |
2511 | this->beneath ()->flash_erase (arg0, arg1); | |
2512 | fprintf_unfiltered (gdb_stdlog, "<- %s->flash_erase (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2513 | target_debug_print_ULONGEST (arg0); |
a7068b60 | 2514 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2515 | target_debug_print_LONGEST (arg1); |
a7068b60 TT |
2516 | fputs_unfiltered (")\n", gdb_stdlog); |
2517 | } | |
2518 | ||
f6ac5f3d PA |
2519 | void |
2520 | target_ops::flash_done () | |
f6fb2925 | 2521 | { |
b6a8c27b | 2522 | this->beneath ()->flash_done (); |
f6fb2925 TT |
2523 | } |
2524 | ||
f6ac5f3d PA |
2525 | void |
2526 | dummy_target::flash_done () | |
f6fb2925 TT |
2527 | { |
2528 | tcomplain (); | |
2529 | } | |
2530 | ||
f6ac5f3d PA |
2531 | void |
2532 | debug_target::flash_done () | |
a7068b60 | 2533 | { |
b6a8c27b PA |
2534 | fprintf_unfiltered (gdb_stdlog, "-> %s->flash_done (...)\n", this->beneath ()->shortname ()); |
2535 | this->beneath ()->flash_done (); | |
2536 | fprintf_unfiltered (gdb_stdlog, "<- %s->flash_done (", this->beneath ()->shortname ()); | |
a7068b60 TT |
2537 | fputs_unfiltered (")\n", gdb_stdlog); |
2538 | } | |
2539 | ||
f6ac5f3d PA |
2540 | const struct target_desc * |
2541 | target_ops::read_description () | |
2117c711 | 2542 | { |
b6a8c27b | 2543 | return this->beneath ()->read_description (); |
2117c711 TT |
2544 | } |
2545 | ||
f6ac5f3d PA |
2546 | const struct target_desc * |
2547 | dummy_target::read_description () | |
2117c711 | 2548 | { |
9b144037 | 2549 | return NULL; |
2117c711 TT |
2550 | } |
2551 | ||
f6ac5f3d PA |
2552 | const struct target_desc * |
2553 | debug_target::read_description () | |
a7068b60 TT |
2554 | { |
2555 | const struct target_desc * result; | |
b6a8c27b PA |
2556 | fprintf_unfiltered (gdb_stdlog, "-> %s->read_description (...)\n", this->beneath ()->shortname ()); |
2557 | result = this->beneath ()->read_description (); | |
2558 | fprintf_unfiltered (gdb_stdlog, "<- %s->read_description (", this->beneath ()->shortname ()); | |
a7068b60 TT |
2559 | fputs_unfiltered (") = ", gdb_stdlog); |
2560 | target_debug_print_const_struct_target_desc_p (result); | |
2561 | fputs_unfiltered ("\n", gdb_stdlog); | |
2562 | return result; | |
2563 | } | |
2564 | ||
f6ac5f3d PA |
2565 | ptid_t |
2566 | target_ops::get_ada_task_ptid (long arg0, long arg1) | |
2567 | { | |
b6a8c27b | 2568 | return this->beneath ()->get_ada_task_ptid (arg0, arg1); |
f6ac5f3d PA |
2569 | } |
2570 | ||
2571 | ptid_t | |
2572 | dummy_target::get_ada_task_ptid (long arg0, long arg1) | |
4229b31d | 2573 | { |
f6ac5f3d | 2574 | return default_get_ada_task_ptid (this, arg0, arg1); |
4229b31d TT |
2575 | } |
2576 | ||
f6ac5f3d PA |
2577 | ptid_t |
2578 | debug_target::get_ada_task_ptid (long arg0, long arg1) | |
a7068b60 TT |
2579 | { |
2580 | ptid_t result; | |
b6a8c27b PA |
2581 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_ada_task_ptid (...)\n", this->beneath ()->shortname ()); |
2582 | result = this->beneath ()->get_ada_task_ptid (arg0, arg1); | |
2583 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_ada_task_ptid (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2584 | target_debug_print_long (arg0); |
a7068b60 TT |
2585 | fputs_unfiltered (", ", gdb_stdlog); |
2586 | target_debug_print_long (arg1); | |
a7068b60 TT |
2587 | fputs_unfiltered (") = ", gdb_stdlog); |
2588 | target_debug_print_ptid_t (result); | |
2589 | fputs_unfiltered ("\n", gdb_stdlog); | |
2590 | return result; | |
2591 | } | |
2592 | ||
f6ac5f3d PA |
2593 | int |
2594 | target_ops::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) | |
8de71aab | 2595 | { |
b6a8c27b | 2596 | return this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3); |
8de71aab TT |
2597 | } |
2598 | ||
f6ac5f3d PA |
2599 | int |
2600 | dummy_target::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) | |
2601 | { | |
2602 | return default_auxv_parse (this, arg0, arg1, arg2, arg3); | |
2603 | } | |
2604 | ||
2605 | int | |
2606 | debug_target::auxv_parse (gdb_byte **arg0, gdb_byte *arg1, CORE_ADDR *arg2, CORE_ADDR *arg3) | |
a7068b60 TT |
2607 | { |
2608 | int result; | |
b6a8c27b PA |
2609 | fprintf_unfiltered (gdb_stdlog, "-> %s->auxv_parse (...)\n", this->beneath ()->shortname ()); |
2610 | result = this->beneath ()->auxv_parse (arg0, arg1, arg2, arg3); | |
2611 | fprintf_unfiltered (gdb_stdlog, "<- %s->auxv_parse (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2612 | target_debug_print_gdb_byte_pp (arg0); |
a7068b60 | 2613 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2614 | target_debug_print_gdb_byte_p (arg1); |
a7068b60 | 2615 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2616 | target_debug_print_CORE_ADDR_p (arg2); |
a7068b60 TT |
2617 | fputs_unfiltered (", ", gdb_stdlog); |
2618 | target_debug_print_CORE_ADDR_p (arg3); | |
a7068b60 TT |
2619 | fputs_unfiltered (") = ", gdb_stdlog); |
2620 | target_debug_print_int (result); | |
2621 | fputs_unfiltered ("\n", gdb_stdlog); | |
2622 | return result; | |
2623 | } | |
2624 | ||
f6ac5f3d PA |
2625 | int |
2626 | target_ops::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) | |
58a5184e | 2627 | { |
b6a8c27b | 2628 | return this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4); |
58a5184e TT |
2629 | } |
2630 | ||
f6ac5f3d PA |
2631 | int |
2632 | dummy_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) | |
2633 | { | |
2634 | return default_search_memory (this, arg0, arg1, arg2, arg3, arg4); | |
2635 | } | |
2636 | ||
2637 | int | |
2638 | debug_target::search_memory (CORE_ADDR arg0, ULONGEST arg1, const gdb_byte *arg2, ULONGEST arg3, CORE_ADDR *arg4) | |
a7068b60 TT |
2639 | { |
2640 | int result; | |
b6a8c27b PA |
2641 | fprintf_unfiltered (gdb_stdlog, "-> %s->search_memory (...)\n", this->beneath ()->shortname ()); |
2642 | result = this->beneath ()->search_memory (arg0, arg1, arg2, arg3, arg4); | |
2643 | fprintf_unfiltered (gdb_stdlog, "<- %s->search_memory (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2644 | target_debug_print_CORE_ADDR (arg0); |
a7068b60 | 2645 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2646 | target_debug_print_ULONGEST (arg1); |
a7068b60 | 2647 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2648 | target_debug_print_const_gdb_byte_p (arg2); |
a7068b60 | 2649 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2650 | target_debug_print_ULONGEST (arg3); |
a7068b60 | 2651 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 2652 | target_debug_print_CORE_ADDR_p (arg4); |
a7068b60 TT |
2653 | fputs_unfiltered (") = ", gdb_stdlog); |
2654 | target_debug_print_int (result); | |
2655 | fputs_unfiltered ("\n", gdb_stdlog); | |
2656 | return result; | |
2657 | } | |
2658 | ||
57810aa7 | 2659 | bool |
f6ac5f3d | 2660 | target_ops::can_execute_reverse () |
53e1cfc7 | 2661 | { |
b6a8c27b | 2662 | return this->beneath ()->can_execute_reverse (); |
53e1cfc7 TT |
2663 | } |
2664 | ||
57810aa7 | 2665 | bool |
f6ac5f3d | 2666 | dummy_target::can_execute_reverse () |
53e1cfc7 | 2667 | { |
57810aa7 | 2668 | return false; |
53e1cfc7 TT |
2669 | } |
2670 | ||
57810aa7 | 2671 | bool |
f6ac5f3d | 2672 | debug_target::can_execute_reverse () |
a7068b60 | 2673 | { |
57810aa7 | 2674 | bool result; |
b6a8c27b PA |
2675 | fprintf_unfiltered (gdb_stdlog, "-> %s->can_execute_reverse (...)\n", this->beneath ()->shortname ()); |
2676 | result = this->beneath ()->can_execute_reverse (); | |
2677 | fprintf_unfiltered (gdb_stdlog, "<- %s->can_execute_reverse (", this->beneath ()->shortname ()); | |
a7068b60 | 2678 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2679 | target_debug_print_bool (result); |
a7068b60 TT |
2680 | fputs_unfiltered ("\n", gdb_stdlog); |
2681 | return result; | |
2682 | } | |
2683 | ||
f6ac5f3d PA |
2684 | enum exec_direction_kind |
2685 | target_ops::execution_direction () | |
2686 | { | |
b6a8c27b | 2687 | return this->beneath ()->execution_direction (); |
f6ac5f3d PA |
2688 | } |
2689 | ||
2690 | enum exec_direction_kind | |
2691 | dummy_target::execution_direction () | |
fe31bf5b | 2692 | { |
f6ac5f3d | 2693 | return default_execution_direction (this); |
fe31bf5b TT |
2694 | } |
2695 | ||
f6ac5f3d PA |
2696 | enum exec_direction_kind |
2697 | debug_target::execution_direction () | |
a7068b60 TT |
2698 | { |
2699 | enum exec_direction_kind result; | |
b6a8c27b PA |
2700 | fprintf_unfiltered (gdb_stdlog, "-> %s->execution_direction (...)\n", this->beneath ()->shortname ()); |
2701 | result = this->beneath ()->execution_direction (); | |
2702 | fprintf_unfiltered (gdb_stdlog, "<- %s->execution_direction (", this->beneath ()->shortname ()); | |
a7068b60 TT |
2703 | fputs_unfiltered (") = ", gdb_stdlog); |
2704 | target_debug_print_enum_exec_direction_kind (result); | |
2705 | fputs_unfiltered ("\n", gdb_stdlog); | |
2706 | return result; | |
2707 | } | |
2708 | ||
57810aa7 | 2709 | bool |
f6ac5f3d | 2710 | target_ops::supports_multi_process () |
a7304748 | 2711 | { |
b6a8c27b | 2712 | return this->beneath ()->supports_multi_process (); |
a7304748 TT |
2713 | } |
2714 | ||
57810aa7 | 2715 | bool |
f6ac5f3d | 2716 | dummy_target::supports_multi_process () |
a7304748 | 2717 | { |
57810aa7 | 2718 | return false; |
a7304748 TT |
2719 | } |
2720 | ||
57810aa7 | 2721 | bool |
f6ac5f3d | 2722 | debug_target::supports_multi_process () |
a7068b60 | 2723 | { |
57810aa7 | 2724 | bool result; |
b6a8c27b PA |
2725 | fprintf_unfiltered (gdb_stdlog, "-> %s->supports_multi_process (...)\n", this->beneath ()->shortname ()); |
2726 | result = this->beneath ()->supports_multi_process (); | |
2727 | fprintf_unfiltered (gdb_stdlog, "<- %s->supports_multi_process (", this->beneath ()->shortname ()); | |
a7068b60 | 2728 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2729 | target_debug_print_bool (result); |
a7068b60 TT |
2730 | fputs_unfiltered ("\n", gdb_stdlog); |
2731 | return result; | |
2732 | } | |
2733 | ||
57810aa7 | 2734 | bool |
f6ac5f3d | 2735 | target_ops::supports_enable_disable_tracepoint () |
aab1b22d | 2736 | { |
b6a8c27b | 2737 | return this->beneath ()->supports_enable_disable_tracepoint (); |
aab1b22d TT |
2738 | } |
2739 | ||
57810aa7 | 2740 | bool |
f6ac5f3d | 2741 | dummy_target::supports_enable_disable_tracepoint () |
aab1b22d | 2742 | { |
57810aa7 | 2743 | return false; |
aab1b22d TT |
2744 | } |
2745 | ||
57810aa7 | 2746 | bool |
f6ac5f3d | 2747 | debug_target::supports_enable_disable_tracepoint () |
a7068b60 | 2748 | { |
57810aa7 | 2749 | bool result; |
b6a8c27b PA |
2750 | fprintf_unfiltered (gdb_stdlog, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath ()->shortname ()); |
2751 | result = this->beneath ()->supports_enable_disable_tracepoint (); | |
2752 | fprintf_unfiltered (gdb_stdlog, "<- %s->supports_enable_disable_tracepoint (", this->beneath ()->shortname ()); | |
a7068b60 | 2753 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2754 | target_debug_print_bool (result); |
a7068b60 TT |
2755 | fputs_unfiltered ("\n", gdb_stdlog); |
2756 | return result; | |
2757 | } | |
2758 | ||
57810aa7 | 2759 | bool |
f6ac5f3d | 2760 | target_ops::supports_disable_randomization () |
9409d39e | 2761 | { |
b6a8c27b | 2762 | return this->beneath ()->supports_disable_randomization (); |
f6ac5f3d PA |
2763 | } |
2764 | ||
57810aa7 | 2765 | bool |
f6ac5f3d PA |
2766 | dummy_target::supports_disable_randomization () |
2767 | { | |
2768 | return find_default_supports_disable_randomization (this); | |
2769 | } | |
2770 | ||
57810aa7 | 2771 | bool |
f6ac5f3d PA |
2772 | debug_target::supports_disable_randomization () |
2773 | { | |
57810aa7 | 2774 | bool result; |
b6a8c27b PA |
2775 | fprintf_unfiltered (gdb_stdlog, "-> %s->supports_disable_randomization (...)\n", this->beneath ()->shortname ()); |
2776 | result = this->beneath ()->supports_disable_randomization (); | |
2777 | fprintf_unfiltered (gdb_stdlog, "<- %s->supports_disable_randomization (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2778 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2779 | target_debug_print_bool (result); |
f6ac5f3d PA |
2780 | fputs_unfiltered ("\n", gdb_stdlog); |
2781 | return result; | |
9409d39e TT |
2782 | } |
2783 | ||
57810aa7 | 2784 | bool |
f6ac5f3d PA |
2785 | target_ops::supports_string_tracing () |
2786 | { | |
b6a8c27b | 2787 | return this->beneath ()->supports_string_tracing (); |
f6ac5f3d PA |
2788 | } |
2789 | ||
57810aa7 | 2790 | bool |
f6ac5f3d | 2791 | dummy_target::supports_string_tracing () |
9409d39e | 2792 | { |
57810aa7 | 2793 | return false; |
9409d39e TT |
2794 | } |
2795 | ||
57810aa7 | 2796 | bool |
f6ac5f3d | 2797 | debug_target::supports_string_tracing () |
a7068b60 | 2798 | { |
57810aa7 | 2799 | bool result; |
b6a8c27b PA |
2800 | fprintf_unfiltered (gdb_stdlog, "-> %s->supports_string_tracing (...)\n", this->beneath ()->shortname ()); |
2801 | result = this->beneath ()->supports_string_tracing (); | |
2802 | fprintf_unfiltered (gdb_stdlog, "<- %s->supports_string_tracing (", this->beneath ()->shortname ()); | |
a7068b60 | 2803 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2804 | target_debug_print_bool (result); |
a7068b60 TT |
2805 | fputs_unfiltered ("\n", gdb_stdlog); |
2806 | return result; | |
2807 | } | |
2808 | ||
57810aa7 | 2809 | bool |
f6ac5f3d | 2810 | target_ops::supports_evaluation_of_breakpoint_conditions () |
ccfde2a0 | 2811 | { |
b6a8c27b | 2812 | return this->beneath ()->supports_evaluation_of_breakpoint_conditions (); |
ccfde2a0 TT |
2813 | } |
2814 | ||
57810aa7 | 2815 | bool |
f6ac5f3d | 2816 | dummy_target::supports_evaluation_of_breakpoint_conditions () |
ccfde2a0 | 2817 | { |
57810aa7 | 2818 | return false; |
ccfde2a0 TT |
2819 | } |
2820 | ||
57810aa7 | 2821 | bool |
f6ac5f3d | 2822 | debug_target::supports_evaluation_of_breakpoint_conditions () |
a7068b60 | 2823 | { |
57810aa7 | 2824 | bool result; |
b6a8c27b PA |
2825 | fprintf_unfiltered (gdb_stdlog, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath ()->shortname ()); |
2826 | result = this->beneath ()->supports_evaluation_of_breakpoint_conditions (); | |
2827 | fprintf_unfiltered (gdb_stdlog, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath ()->shortname ()); | |
a7068b60 | 2828 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2829 | target_debug_print_bool (result); |
a7068b60 TT |
2830 | fputs_unfiltered ("\n", gdb_stdlog); |
2831 | return result; | |
2832 | } | |
2833 | ||
57810aa7 | 2834 | bool |
f6ac5f3d | 2835 | target_ops::can_run_breakpoint_commands () |
843f59ed | 2836 | { |
b6a8c27b | 2837 | return this->beneath ()->can_run_breakpoint_commands (); |
843f59ed TT |
2838 | } |
2839 | ||
57810aa7 | 2840 | bool |
f6ac5f3d | 2841 | dummy_target::can_run_breakpoint_commands () |
843f59ed | 2842 | { |
57810aa7 | 2843 | return false; |
843f59ed TT |
2844 | } |
2845 | ||
57810aa7 | 2846 | bool |
f6ac5f3d | 2847 | debug_target::can_run_breakpoint_commands () |
a7068b60 | 2848 | { |
57810aa7 | 2849 | bool result; |
b6a8c27b PA |
2850 | fprintf_unfiltered (gdb_stdlog, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath ()->shortname ()); |
2851 | result = this->beneath ()->can_run_breakpoint_commands (); | |
2852 | fprintf_unfiltered (gdb_stdlog, "<- %s->can_run_breakpoint_commands (", this->beneath ()->shortname ()); | |
a7068b60 | 2853 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2854 | target_debug_print_bool (result); |
a7068b60 TT |
2855 | fputs_unfiltered ("\n", gdb_stdlog); |
2856 | return result; | |
2857 | } | |
2858 | ||
f6ac5f3d PA |
2859 | struct gdbarch * |
2860 | target_ops::thread_architecture (ptid_t arg0) | |
2861 | { | |
b6a8c27b | 2862 | return this->beneath ()->thread_architecture (arg0); |
f6ac5f3d PA |
2863 | } |
2864 | ||
2865 | struct gdbarch * | |
2866 | dummy_target::thread_architecture (ptid_t arg0) | |
43eba180 | 2867 | { |
3b3dac9b | 2868 | return NULL; |
43eba180 TT |
2869 | } |
2870 | ||
f6ac5f3d PA |
2871 | struct gdbarch * |
2872 | debug_target::thread_architecture (ptid_t arg0) | |
a7068b60 TT |
2873 | { |
2874 | struct gdbarch * result; | |
b6a8c27b PA |
2875 | fprintf_unfiltered (gdb_stdlog, "-> %s->thread_architecture (...)\n", this->beneath ()->shortname ()); |
2876 | result = this->beneath ()->thread_architecture (arg0); | |
2877 | fprintf_unfiltered (gdb_stdlog, "<- %s->thread_architecture (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2878 | target_debug_print_ptid_t (arg0); |
a7068b60 TT |
2879 | fputs_unfiltered (") = ", gdb_stdlog); |
2880 | target_debug_print_struct_gdbarch_p (result); | |
2881 | fputs_unfiltered ("\n", gdb_stdlog); | |
2882 | return result; | |
2883 | } | |
2884 | ||
f6ac5f3d PA |
2885 | struct address_space * |
2886 | target_ops::thread_address_space (ptid_t arg0) | |
2887 | { | |
b6a8c27b | 2888 | return this->beneath ()->thread_address_space (arg0); |
f6ac5f3d PA |
2889 | } |
2890 | ||
2891 | struct address_space * | |
2892 | dummy_target::thread_address_space (ptid_t arg0) | |
8eaff7cd | 2893 | { |
3b3dac9b | 2894 | return NULL; |
8eaff7cd TT |
2895 | } |
2896 | ||
f6ac5f3d PA |
2897 | struct address_space * |
2898 | debug_target::thread_address_space (ptid_t arg0) | |
a7068b60 TT |
2899 | { |
2900 | struct address_space * result; | |
b6a8c27b PA |
2901 | fprintf_unfiltered (gdb_stdlog, "-> %s->thread_address_space (...)\n", this->beneath ()->shortname ()); |
2902 | result = this->beneath ()->thread_address_space (arg0); | |
2903 | fprintf_unfiltered (gdb_stdlog, "<- %s->thread_address_space (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2904 | target_debug_print_ptid_t (arg0); |
a7068b60 TT |
2905 | fputs_unfiltered (") = ", gdb_stdlog); |
2906 | target_debug_print_struct_address_space_p (result); | |
2907 | fputs_unfiltered ("\n", gdb_stdlog); | |
2908 | return result; | |
2909 | } | |
2910 | ||
57810aa7 | 2911 | bool |
f6ac5f3d | 2912 | target_ops::filesystem_is_local () |
4bd7dc42 | 2913 | { |
b6a8c27b | 2914 | return this->beneath ()->filesystem_is_local (); |
4bd7dc42 GB |
2915 | } |
2916 | ||
57810aa7 | 2917 | bool |
f6ac5f3d | 2918 | dummy_target::filesystem_is_local () |
4bd7dc42 | 2919 | { |
57810aa7 | 2920 | return true; |
4bd7dc42 GB |
2921 | } |
2922 | ||
57810aa7 | 2923 | bool |
f6ac5f3d | 2924 | debug_target::filesystem_is_local () |
4bd7dc42 | 2925 | { |
57810aa7 | 2926 | bool result; |
b6a8c27b PA |
2927 | fprintf_unfiltered (gdb_stdlog, "-> %s->filesystem_is_local (...)\n", this->beneath ()->shortname ()); |
2928 | result = this->beneath ()->filesystem_is_local (); | |
2929 | fprintf_unfiltered (gdb_stdlog, "<- %s->filesystem_is_local (", this->beneath ()->shortname ()); | |
4bd7dc42 | 2930 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2931 | target_debug_print_bool (result); |
4bd7dc42 GB |
2932 | fputs_unfiltered ("\n", gdb_stdlog); |
2933 | return result; | |
2934 | } | |
2935 | ||
f6ac5f3d PA |
2936 | void |
2937 | target_ops::trace_init () | |
5536135b | 2938 | { |
b6a8c27b | 2939 | this->beneath ()->trace_init (); |
5536135b TT |
2940 | } |
2941 | ||
f6ac5f3d PA |
2942 | void |
2943 | dummy_target::trace_init () | |
5536135b TT |
2944 | { |
2945 | tcomplain (); | |
2946 | } | |
2947 | ||
f6ac5f3d PA |
2948 | void |
2949 | debug_target::trace_init () | |
a7068b60 | 2950 | { |
b6a8c27b PA |
2951 | fprintf_unfiltered (gdb_stdlog, "-> %s->trace_init (...)\n", this->beneath ()->shortname ()); |
2952 | this->beneath ()->trace_init (); | |
2953 | fprintf_unfiltered (gdb_stdlog, "<- %s->trace_init (", this->beneath ()->shortname ()); | |
a7068b60 TT |
2954 | fputs_unfiltered (")\n", gdb_stdlog); |
2955 | } | |
2956 | ||
f6ac5f3d PA |
2957 | void |
2958 | target_ops::download_tracepoint (struct bp_location *arg0) | |
9a980a22 | 2959 | { |
b6a8c27b | 2960 | this->beneath ()->download_tracepoint (arg0); |
9a980a22 TT |
2961 | } |
2962 | ||
f6ac5f3d PA |
2963 | void |
2964 | dummy_target::download_tracepoint (struct bp_location *arg0) | |
9a980a22 TT |
2965 | { |
2966 | tcomplain (); | |
2967 | } | |
2968 | ||
f6ac5f3d PA |
2969 | void |
2970 | debug_target::download_tracepoint (struct bp_location *arg0) | |
a7068b60 | 2971 | { |
b6a8c27b PA |
2972 | fprintf_unfiltered (gdb_stdlog, "-> %s->download_tracepoint (...)\n", this->beneath ()->shortname ()); |
2973 | this->beneath ()->download_tracepoint (arg0); | |
2974 | fprintf_unfiltered (gdb_stdlog, "<- %s->download_tracepoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 2975 | target_debug_print_struct_bp_location_p (arg0); |
a7068b60 TT |
2976 | fputs_unfiltered (")\n", gdb_stdlog); |
2977 | } | |
2978 | ||
57810aa7 | 2979 | bool |
f6ac5f3d | 2980 | target_ops::can_download_tracepoint () |
719acc4a | 2981 | { |
b6a8c27b | 2982 | return this->beneath ()->can_download_tracepoint (); |
719acc4a TT |
2983 | } |
2984 | ||
57810aa7 | 2985 | bool |
f6ac5f3d | 2986 | dummy_target::can_download_tracepoint () |
719acc4a | 2987 | { |
57810aa7 | 2988 | return false; |
719acc4a TT |
2989 | } |
2990 | ||
57810aa7 | 2991 | bool |
f6ac5f3d | 2992 | debug_target::can_download_tracepoint () |
a7068b60 | 2993 | { |
57810aa7 | 2994 | bool result; |
b6a8c27b PA |
2995 | fprintf_unfiltered (gdb_stdlog, "-> %s->can_download_tracepoint (...)\n", this->beneath ()->shortname ()); |
2996 | result = this->beneath ()->can_download_tracepoint (); | |
2997 | fprintf_unfiltered (gdb_stdlog, "<- %s->can_download_tracepoint (", this->beneath ()->shortname ()); | |
a7068b60 | 2998 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 2999 | target_debug_print_bool (result); |
a7068b60 TT |
3000 | fputs_unfiltered ("\n", gdb_stdlog); |
3001 | return result; | |
3002 | } | |
3003 | ||
f6ac5f3d PA |
3004 | void |
3005 | target_ops::download_trace_state_variable (const trace_state_variable &arg0) | |
94eb98b9 | 3006 | { |
b6a8c27b | 3007 | this->beneath ()->download_trace_state_variable (arg0); |
94eb98b9 TT |
3008 | } |
3009 | ||
f6ac5f3d PA |
3010 | void |
3011 | dummy_target::download_trace_state_variable (const trace_state_variable &arg0) | |
94eb98b9 TT |
3012 | { |
3013 | tcomplain (); | |
3014 | } | |
3015 | ||
f6ac5f3d PA |
3016 | void |
3017 | debug_target::download_trace_state_variable (const trace_state_variable &arg0) | |
a7068b60 | 3018 | { |
b6a8c27b PA |
3019 | fprintf_unfiltered (gdb_stdlog, "-> %s->download_trace_state_variable (...)\n", this->beneath ()->shortname ()); |
3020 | this->beneath ()->download_trace_state_variable (arg0); | |
3021 | fprintf_unfiltered (gdb_stdlog, "<- %s->download_trace_state_variable (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3022 | target_debug_print_const_trace_state_variable_r (arg0); |
a7068b60 TT |
3023 | fputs_unfiltered (")\n", gdb_stdlog); |
3024 | } | |
3025 | ||
f6ac5f3d PA |
3026 | void |
3027 | target_ops::enable_tracepoint (struct bp_location *arg0) | |
151f70f1 | 3028 | { |
b6a8c27b | 3029 | this->beneath ()->enable_tracepoint (arg0); |
151f70f1 TT |
3030 | } |
3031 | ||
f6ac5f3d PA |
3032 | void |
3033 | dummy_target::enable_tracepoint (struct bp_location *arg0) | |
151f70f1 TT |
3034 | { |
3035 | tcomplain (); | |
3036 | } | |
3037 | ||
f6ac5f3d PA |
3038 | void |
3039 | debug_target::enable_tracepoint (struct bp_location *arg0) | |
a7068b60 | 3040 | { |
b6a8c27b PA |
3041 | fprintf_unfiltered (gdb_stdlog, "-> %s->enable_tracepoint (...)\n", this->beneath ()->shortname ()); |
3042 | this->beneath ()->enable_tracepoint (arg0); | |
3043 | fprintf_unfiltered (gdb_stdlog, "<- %s->enable_tracepoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3044 | target_debug_print_struct_bp_location_p (arg0); |
a7068b60 TT |
3045 | fputs_unfiltered (")\n", gdb_stdlog); |
3046 | } | |
3047 | ||
f6ac5f3d PA |
3048 | void |
3049 | target_ops::disable_tracepoint (struct bp_location *arg0) | |
05c41993 | 3050 | { |
b6a8c27b | 3051 | this->beneath ()->disable_tracepoint (arg0); |
05c41993 TT |
3052 | } |
3053 | ||
f6ac5f3d PA |
3054 | void |
3055 | dummy_target::disable_tracepoint (struct bp_location *arg0) | |
05c41993 TT |
3056 | { |
3057 | tcomplain (); | |
3058 | } | |
3059 | ||
f6ac5f3d PA |
3060 | void |
3061 | debug_target::disable_tracepoint (struct bp_location *arg0) | |
a7068b60 | 3062 | { |
b6a8c27b PA |
3063 | fprintf_unfiltered (gdb_stdlog, "-> %s->disable_tracepoint (...)\n", this->beneath ()->shortname ()); |
3064 | this->beneath ()->disable_tracepoint (arg0); | |
3065 | fprintf_unfiltered (gdb_stdlog, "<- %s->disable_tracepoint (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3066 | target_debug_print_struct_bp_location_p (arg0); |
a7068b60 TT |
3067 | fputs_unfiltered (")\n", gdb_stdlog); |
3068 | } | |
3069 | ||
f6ac5f3d PA |
3070 | void |
3071 | target_ops::trace_set_readonly_regions () | |
86dd181d | 3072 | { |
b6a8c27b | 3073 | this->beneath ()->trace_set_readonly_regions (); |
86dd181d TT |
3074 | } |
3075 | ||
f6ac5f3d PA |
3076 | void |
3077 | dummy_target::trace_set_readonly_regions () | |
86dd181d TT |
3078 | { |
3079 | tcomplain (); | |
3080 | } | |
3081 | ||
f6ac5f3d PA |
3082 | void |
3083 | debug_target::trace_set_readonly_regions () | |
a7068b60 | 3084 | { |
b6a8c27b PA |
3085 | fprintf_unfiltered (gdb_stdlog, "-> %s->trace_set_readonly_regions (...)\n", this->beneath ()->shortname ()); |
3086 | this->beneath ()->trace_set_readonly_regions (); | |
3087 | fprintf_unfiltered (gdb_stdlog, "<- %s->trace_set_readonly_regions (", this->beneath ()->shortname ()); | |
a7068b60 TT |
3088 | fputs_unfiltered (")\n", gdb_stdlog); |
3089 | } | |
3090 | ||
f6ac5f3d PA |
3091 | void |
3092 | target_ops::trace_start () | |
25da2e80 | 3093 | { |
b6a8c27b | 3094 | this->beneath ()->trace_start (); |
25da2e80 TT |
3095 | } |
3096 | ||
f6ac5f3d PA |
3097 | void |
3098 | dummy_target::trace_start () | |
25da2e80 TT |
3099 | { |
3100 | tcomplain (); | |
3101 | } | |
3102 | ||
f6ac5f3d PA |
3103 | void |
3104 | debug_target::trace_start () | |
a7068b60 | 3105 | { |
b6a8c27b PA |
3106 | fprintf_unfiltered (gdb_stdlog, "-> %s->trace_start (...)\n", this->beneath ()->shortname ()); |
3107 | this->beneath ()->trace_start (); | |
3108 | fprintf_unfiltered (gdb_stdlog, "<- %s->trace_start (", this->beneath ()->shortname ()); | |
a7068b60 TT |
3109 | fputs_unfiltered (")\n", gdb_stdlog); |
3110 | } | |
3111 | ||
f6ac5f3d PA |
3112 | int |
3113 | target_ops::get_trace_status (struct trace_status *arg0) | |
4072d4ff | 3114 | { |
b6a8c27b | 3115 | return this->beneath ()->get_trace_status (arg0); |
4072d4ff TT |
3116 | } |
3117 | ||
f6ac5f3d PA |
3118 | int |
3119 | dummy_target::get_trace_status (struct trace_status *arg0) | |
4072d4ff TT |
3120 | { |
3121 | return -1; | |
3122 | } | |
3123 | ||
f6ac5f3d PA |
3124 | int |
3125 | debug_target::get_trace_status (struct trace_status *arg0) | |
a7068b60 TT |
3126 | { |
3127 | int result; | |
b6a8c27b PA |
3128 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_trace_status (...)\n", this->beneath ()->shortname ()); |
3129 | result = this->beneath ()->get_trace_status (arg0); | |
3130 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_trace_status (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3131 | target_debug_print_struct_trace_status_p (arg0); |
a7068b60 TT |
3132 | fputs_unfiltered (") = ", gdb_stdlog); |
3133 | target_debug_print_int (result); | |
3134 | fputs_unfiltered ("\n", gdb_stdlog); | |
3135 | return result; | |
3136 | } | |
3137 | ||
f6ac5f3d PA |
3138 | void |
3139 | target_ops::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1) | |
6fea14cd | 3140 | { |
b6a8c27b | 3141 | this->beneath ()->get_tracepoint_status (arg0, arg1); |
6fea14cd TT |
3142 | } |
3143 | ||
f6ac5f3d PA |
3144 | void |
3145 | dummy_target::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1) | |
6fea14cd TT |
3146 | { |
3147 | tcomplain (); | |
3148 | } | |
3149 | ||
f6ac5f3d PA |
3150 | void |
3151 | debug_target::get_tracepoint_status (struct breakpoint *arg0, struct uploaded_tp *arg1) | |
a7068b60 | 3152 | { |
b6a8c27b PA |
3153 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_tracepoint_status (...)\n", this->beneath ()->shortname ()); |
3154 | this->beneath ()->get_tracepoint_status (arg0, arg1); | |
3155 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_tracepoint_status (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3156 | target_debug_print_struct_breakpoint_p (arg0); |
a7068b60 | 3157 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3158 | target_debug_print_struct_uploaded_tp_p (arg1); |
a7068b60 TT |
3159 | fputs_unfiltered (")\n", gdb_stdlog); |
3160 | } | |
3161 | ||
f6ac5f3d PA |
3162 | void |
3163 | target_ops::trace_stop () | |
e51c07ea | 3164 | { |
b6a8c27b | 3165 | this->beneath ()->trace_stop (); |
e51c07ea TT |
3166 | } |
3167 | ||
f6ac5f3d PA |
3168 | void |
3169 | dummy_target::trace_stop () | |
e51c07ea TT |
3170 | { |
3171 | tcomplain (); | |
3172 | } | |
3173 | ||
f6ac5f3d PA |
3174 | void |
3175 | debug_target::trace_stop () | |
a7068b60 | 3176 | { |
b6a8c27b PA |
3177 | fprintf_unfiltered (gdb_stdlog, "-> %s->trace_stop (...)\n", this->beneath ()->shortname ()); |
3178 | this->beneath ()->trace_stop (); | |
3179 | fprintf_unfiltered (gdb_stdlog, "<- %s->trace_stop (", this->beneath ()->shortname ()); | |
a7068b60 TT |
3180 | fputs_unfiltered (")\n", gdb_stdlog); |
3181 | } | |
3182 | ||
f6ac5f3d PA |
3183 | int |
3184 | target_ops::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) | |
afc94e66 | 3185 | { |
b6a8c27b | 3186 | return this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4); |
afc94e66 TT |
3187 | } |
3188 | ||
f6ac5f3d PA |
3189 | int |
3190 | dummy_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) | |
afc94e66 TT |
3191 | { |
3192 | return -1; | |
3193 | } | |
3194 | ||
f6ac5f3d PA |
3195 | int |
3196 | debug_target::trace_find (enum trace_find_type arg0, int arg1, CORE_ADDR arg2, CORE_ADDR arg3, int *arg4) | |
a7068b60 TT |
3197 | { |
3198 | int result; | |
b6a8c27b PA |
3199 | fprintf_unfiltered (gdb_stdlog, "-> %s->trace_find (...)\n", this->beneath ()->shortname ()); |
3200 | result = this->beneath ()->trace_find (arg0, arg1, arg2, arg3, arg4); | |
3201 | fprintf_unfiltered (gdb_stdlog, "<- %s->trace_find (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3202 | target_debug_print_enum_trace_find_type (arg0); |
a7068b60 | 3203 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3204 | target_debug_print_int (arg1); |
a7068b60 | 3205 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3206 | target_debug_print_CORE_ADDR (arg2); |
a7068b60 TT |
3207 | fputs_unfiltered (", ", gdb_stdlog); |
3208 | target_debug_print_CORE_ADDR (arg3); | |
3209 | fputs_unfiltered (", ", gdb_stdlog); | |
f6ac5f3d | 3210 | target_debug_print_int_p (arg4); |
a7068b60 TT |
3211 | fputs_unfiltered (") = ", gdb_stdlog); |
3212 | target_debug_print_int (result); | |
3213 | fputs_unfiltered ("\n", gdb_stdlog); | |
3214 | return result; | |
3215 | } | |
3216 | ||
57810aa7 | 3217 | bool |
f6ac5f3d | 3218 | target_ops::get_trace_state_variable_value (int arg0, LONGEST *arg1) |
959bcd0b | 3219 | { |
b6a8c27b | 3220 | return this->beneath ()->get_trace_state_variable_value (arg0, arg1); |
959bcd0b TT |
3221 | } |
3222 | ||
57810aa7 | 3223 | bool |
f6ac5f3d | 3224 | dummy_target::get_trace_state_variable_value (int arg0, LONGEST *arg1) |
959bcd0b | 3225 | { |
57810aa7 | 3226 | return false; |
959bcd0b TT |
3227 | } |
3228 | ||
57810aa7 | 3229 | bool |
f6ac5f3d | 3230 | debug_target::get_trace_state_variable_value (int arg0, LONGEST *arg1) |
a7068b60 | 3231 | { |
57810aa7 | 3232 | bool result; |
b6a8c27b PA |
3233 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_trace_state_variable_value (...)\n", this->beneath ()->shortname ()); |
3234 | result = this->beneath ()->get_trace_state_variable_value (arg0, arg1); | |
3235 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_trace_state_variable_value (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3236 | target_debug_print_int (arg0); |
a7068b60 | 3237 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3238 | target_debug_print_LONGEST_p (arg1); |
a7068b60 | 3239 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 3240 | target_debug_print_bool (result); |
a7068b60 TT |
3241 | fputs_unfiltered ("\n", gdb_stdlog); |
3242 | return result; | |
3243 | } | |
3244 | ||
f6ac5f3d PA |
3245 | int |
3246 | target_ops::save_trace_data (const char *arg0) | |
a2e6c147 | 3247 | { |
b6a8c27b | 3248 | return this->beneath ()->save_trace_data (arg0); |
a2e6c147 TT |
3249 | } |
3250 | ||
f6ac5f3d PA |
3251 | int |
3252 | dummy_target::save_trace_data (const char *arg0) | |
a2e6c147 TT |
3253 | { |
3254 | tcomplain (); | |
3255 | } | |
3256 | ||
f6ac5f3d PA |
3257 | int |
3258 | debug_target::save_trace_data (const char *arg0) | |
a7068b60 TT |
3259 | { |
3260 | int result; | |
b6a8c27b PA |
3261 | fprintf_unfiltered (gdb_stdlog, "-> %s->save_trace_data (...)\n", this->beneath ()->shortname ()); |
3262 | result = this->beneath ()->save_trace_data (arg0); | |
3263 | fprintf_unfiltered (gdb_stdlog, "<- %s->save_trace_data (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3264 | target_debug_print_const_char_p (arg0); |
a7068b60 TT |
3265 | fputs_unfiltered (") = ", gdb_stdlog); |
3266 | target_debug_print_int (result); | |
3267 | fputs_unfiltered ("\n", gdb_stdlog); | |
3268 | return result; | |
3269 | } | |
3270 | ||
f6ac5f3d PA |
3271 | int |
3272 | target_ops::upload_tracepoints (struct uploaded_tp **arg0) | |
1e949b00 | 3273 | { |
b6a8c27b | 3274 | return this->beneath ()->upload_tracepoints (arg0); |
1e949b00 TT |
3275 | } |
3276 | ||
f6ac5f3d PA |
3277 | int |
3278 | dummy_target::upload_tracepoints (struct uploaded_tp **arg0) | |
1e949b00 TT |
3279 | { |
3280 | return 0; | |
3281 | } | |
3282 | ||
f6ac5f3d PA |
3283 | int |
3284 | debug_target::upload_tracepoints (struct uploaded_tp **arg0) | |
a7068b60 TT |
3285 | { |
3286 | int result; | |
b6a8c27b PA |
3287 | fprintf_unfiltered (gdb_stdlog, "-> %s->upload_tracepoints (...)\n", this->beneath ()->shortname ()); |
3288 | result = this->beneath ()->upload_tracepoints (arg0); | |
3289 | fprintf_unfiltered (gdb_stdlog, "<- %s->upload_tracepoints (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3290 | target_debug_print_struct_uploaded_tp_pp (arg0); |
a7068b60 TT |
3291 | fputs_unfiltered (") = ", gdb_stdlog); |
3292 | target_debug_print_int (result); | |
3293 | fputs_unfiltered ("\n", gdb_stdlog); | |
3294 | return result; | |
3295 | } | |
3296 | ||
f6ac5f3d PA |
3297 | int |
3298 | target_ops::upload_trace_state_variables (struct uploaded_tsv **arg0) | |
08120467 | 3299 | { |
b6a8c27b | 3300 | return this->beneath ()->upload_trace_state_variables (arg0); |
08120467 TT |
3301 | } |
3302 | ||
f6ac5f3d PA |
3303 | int |
3304 | dummy_target::upload_trace_state_variables (struct uploaded_tsv **arg0) | |
08120467 TT |
3305 | { |
3306 | return 0; | |
3307 | } | |
3308 | ||
f6ac5f3d PA |
3309 | int |
3310 | debug_target::upload_trace_state_variables (struct uploaded_tsv **arg0) | |
a7068b60 TT |
3311 | { |
3312 | int result; | |
b6a8c27b PA |
3313 | fprintf_unfiltered (gdb_stdlog, "-> %s->upload_trace_state_variables (...)\n", this->beneath ()->shortname ()); |
3314 | result = this->beneath ()->upload_trace_state_variables (arg0); | |
3315 | fprintf_unfiltered (gdb_stdlog, "<- %s->upload_trace_state_variables (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3316 | target_debug_print_struct_uploaded_tsv_pp (arg0); |
a7068b60 TT |
3317 | fputs_unfiltered (") = ", gdb_stdlog); |
3318 | target_debug_print_int (result); | |
3319 | fputs_unfiltered ("\n", gdb_stdlog); | |
3320 | return result; | |
3321 | } | |
3322 | ||
f6ac5f3d PA |
3323 | LONGEST |
3324 | target_ops::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) | |
ace92e7d | 3325 | { |
b6a8c27b | 3326 | return this->beneath ()->get_raw_trace_data (arg0, arg1, arg2); |
ace92e7d TT |
3327 | } |
3328 | ||
f6ac5f3d PA |
3329 | LONGEST |
3330 | dummy_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) | |
ace92e7d TT |
3331 | { |
3332 | tcomplain (); | |
3333 | } | |
3334 | ||
f6ac5f3d PA |
3335 | LONGEST |
3336 | debug_target::get_raw_trace_data (gdb_byte *arg0, ULONGEST arg1, LONGEST arg2) | |
a7068b60 TT |
3337 | { |
3338 | LONGEST result; | |
b6a8c27b PA |
3339 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_raw_trace_data (...)\n", this->beneath ()->shortname ()); |
3340 | result = this->beneath ()->get_raw_trace_data (arg0, arg1, arg2); | |
3341 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_raw_trace_data (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3342 | target_debug_print_gdb_byte_p (arg0); |
a7068b60 | 3343 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3344 | target_debug_print_ULONGEST (arg1); |
a7068b60 | 3345 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3346 | target_debug_print_LONGEST (arg2); |
a7068b60 TT |
3347 | fputs_unfiltered (") = ", gdb_stdlog); |
3348 | target_debug_print_LONGEST (result); | |
3349 | fputs_unfiltered ("\n", gdb_stdlog); | |
3350 | return result; | |
3351 | } | |
3352 | ||
f6ac5f3d PA |
3353 | int |
3354 | target_ops::get_min_fast_tracepoint_insn_len () | |
9249843f | 3355 | { |
b6a8c27b | 3356 | return this->beneath ()->get_min_fast_tracepoint_insn_len (); |
9249843f TT |
3357 | } |
3358 | ||
f6ac5f3d PA |
3359 | int |
3360 | dummy_target::get_min_fast_tracepoint_insn_len () | |
9249843f TT |
3361 | { |
3362 | return -1; | |
3363 | } | |
3364 | ||
f6ac5f3d PA |
3365 | int |
3366 | debug_target::get_min_fast_tracepoint_insn_len () | |
a7068b60 TT |
3367 | { |
3368 | int result; | |
b6a8c27b PA |
3369 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath ()->shortname ()); |
3370 | result = this->beneath ()->get_min_fast_tracepoint_insn_len (); | |
3371 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath ()->shortname ()); | |
a7068b60 TT |
3372 | fputs_unfiltered (") = ", gdb_stdlog); |
3373 | target_debug_print_int (result); | |
3374 | fputs_unfiltered ("\n", gdb_stdlog); | |
3375 | return result; | |
3376 | } | |
3377 | ||
f6ac5f3d PA |
3378 | void |
3379 | target_ops::set_disconnected_tracing (int arg0) | |
0bcfeddf | 3380 | { |
b6a8c27b | 3381 | this->beneath ()->set_disconnected_tracing (arg0); |
0bcfeddf TT |
3382 | } |
3383 | ||
f6ac5f3d PA |
3384 | void |
3385 | dummy_target::set_disconnected_tracing (int arg0) | |
0bcfeddf TT |
3386 | { |
3387 | } | |
3388 | ||
f6ac5f3d PA |
3389 | void |
3390 | debug_target::set_disconnected_tracing (int arg0) | |
a7068b60 | 3391 | { |
b6a8c27b PA |
3392 | fprintf_unfiltered (gdb_stdlog, "-> %s->set_disconnected_tracing (...)\n", this->beneath ()->shortname ()); |
3393 | this->beneath ()->set_disconnected_tracing (arg0); | |
3394 | fprintf_unfiltered (gdb_stdlog, "<- %s->set_disconnected_tracing (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3395 | target_debug_print_int (arg0); |
a7068b60 TT |
3396 | fputs_unfiltered (")\n", gdb_stdlog); |
3397 | } | |
3398 | ||
f6ac5f3d PA |
3399 | void |
3400 | target_ops::set_circular_trace_buffer (int arg0) | |
8d526939 | 3401 | { |
b6a8c27b | 3402 | this->beneath ()->set_circular_trace_buffer (arg0); |
8d526939 TT |
3403 | } |
3404 | ||
f6ac5f3d PA |
3405 | void |
3406 | dummy_target::set_circular_trace_buffer (int arg0) | |
8d526939 TT |
3407 | { |
3408 | } | |
3409 | ||
f6ac5f3d PA |
3410 | void |
3411 | debug_target::set_circular_trace_buffer (int arg0) | |
a7068b60 | 3412 | { |
b6a8c27b PA |
3413 | fprintf_unfiltered (gdb_stdlog, "-> %s->set_circular_trace_buffer (...)\n", this->beneath ()->shortname ()); |
3414 | this->beneath ()->set_circular_trace_buffer (arg0); | |
3415 | fprintf_unfiltered (gdb_stdlog, "<- %s->set_circular_trace_buffer (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3416 | target_debug_print_int (arg0); |
a7068b60 TT |
3417 | fputs_unfiltered (")\n", gdb_stdlog); |
3418 | } | |
3419 | ||
f6ac5f3d PA |
3420 | void |
3421 | target_ops::set_trace_buffer_size (LONGEST arg0) | |
91df8d1d | 3422 | { |
b6a8c27b | 3423 | this->beneath ()->set_trace_buffer_size (arg0); |
91df8d1d TT |
3424 | } |
3425 | ||
f6ac5f3d PA |
3426 | void |
3427 | dummy_target::set_trace_buffer_size (LONGEST arg0) | |
91df8d1d TT |
3428 | { |
3429 | } | |
3430 | ||
f6ac5f3d PA |
3431 | void |
3432 | debug_target::set_trace_buffer_size (LONGEST arg0) | |
a7068b60 | 3433 | { |
b6a8c27b PA |
3434 | fprintf_unfiltered (gdb_stdlog, "-> %s->set_trace_buffer_size (...)\n", this->beneath ()->shortname ()); |
3435 | this->beneath ()->set_trace_buffer_size (arg0); | |
3436 | fprintf_unfiltered (gdb_stdlog, "<- %s->set_trace_buffer_size (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3437 | target_debug_print_LONGEST (arg0); |
a7068b60 TT |
3438 | fputs_unfiltered (")\n", gdb_stdlog); |
3439 | } | |
3440 | ||
57810aa7 | 3441 | bool |
f6ac5f3d | 3442 | target_ops::set_trace_notes (const char *arg0, const char *arg1, const char *arg2) |
8586ccaa | 3443 | { |
b6a8c27b | 3444 | return this->beneath ()->set_trace_notes (arg0, arg1, arg2); |
8586ccaa TT |
3445 | } |
3446 | ||
57810aa7 | 3447 | bool |
f6ac5f3d | 3448 | dummy_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2) |
8586ccaa | 3449 | { |
57810aa7 | 3450 | return false; |
8586ccaa TT |
3451 | } |
3452 | ||
57810aa7 | 3453 | bool |
f6ac5f3d | 3454 | debug_target::set_trace_notes (const char *arg0, const char *arg1, const char *arg2) |
a7068b60 | 3455 | { |
57810aa7 | 3456 | bool result; |
b6a8c27b PA |
3457 | fprintf_unfiltered (gdb_stdlog, "-> %s->set_trace_notes (...)\n", this->beneath ()->shortname ()); |
3458 | result = this->beneath ()->set_trace_notes (arg0, arg1, arg2); | |
3459 | fprintf_unfiltered (gdb_stdlog, "<- %s->set_trace_notes (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3460 | target_debug_print_const_char_p (arg0); |
a7068b60 TT |
3461 | fputs_unfiltered (", ", gdb_stdlog); |
3462 | target_debug_print_const_char_p (arg1); | |
3463 | fputs_unfiltered (", ", gdb_stdlog); | |
3464 | target_debug_print_const_char_p (arg2); | |
a7068b60 | 3465 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 3466 | target_debug_print_bool (result); |
a7068b60 TT |
3467 | fputs_unfiltered ("\n", gdb_stdlog); |
3468 | return result; | |
3469 | } | |
3470 | ||
f6ac5f3d PA |
3471 | int |
3472 | target_ops::core_of_thread (ptid_t arg0) | |
9e538d0d | 3473 | { |
b6a8c27b | 3474 | return this->beneath ()->core_of_thread (arg0); |
9e538d0d TT |
3475 | } |
3476 | ||
f6ac5f3d PA |
3477 | int |
3478 | dummy_target::core_of_thread (ptid_t arg0) | |
9e538d0d TT |
3479 | { |
3480 | return -1; | |
3481 | } | |
3482 | ||
f6ac5f3d PA |
3483 | int |
3484 | debug_target::core_of_thread (ptid_t arg0) | |
a7068b60 TT |
3485 | { |
3486 | int result; | |
b6a8c27b PA |
3487 | fprintf_unfiltered (gdb_stdlog, "-> %s->core_of_thread (...)\n", this->beneath ()->shortname ()); |
3488 | result = this->beneath ()->core_of_thread (arg0); | |
3489 | fprintf_unfiltered (gdb_stdlog, "<- %s->core_of_thread (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3490 | target_debug_print_ptid_t (arg0); |
a7068b60 TT |
3491 | fputs_unfiltered (") = ", gdb_stdlog); |
3492 | target_debug_print_int (result); | |
3493 | fputs_unfiltered ("\n", gdb_stdlog); | |
3494 | return result; | |
3495 | } | |
3496 | ||
f6ac5f3d PA |
3497 | int |
3498 | target_ops::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) | |
eb276a6b | 3499 | { |
b6a8c27b | 3500 | return this->beneath ()->verify_memory (arg0, arg1, arg2); |
eb276a6b TT |
3501 | } |
3502 | ||
f6ac5f3d PA |
3503 | int |
3504 | dummy_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) | |
3505 | { | |
3506 | return default_verify_memory (this, arg0, arg1, arg2); | |
3507 | } | |
3508 | ||
3509 | int | |
3510 | debug_target::verify_memory (const gdb_byte *arg0, CORE_ADDR arg1, ULONGEST arg2) | |
a7068b60 TT |
3511 | { |
3512 | int result; | |
b6a8c27b PA |
3513 | fprintf_unfiltered (gdb_stdlog, "-> %s->verify_memory (...)\n", this->beneath ()->shortname ()); |
3514 | result = this->beneath ()->verify_memory (arg0, arg1, arg2); | |
3515 | fprintf_unfiltered (gdb_stdlog, "<- %s->verify_memory (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3516 | target_debug_print_const_gdb_byte_p (arg0); |
a7068b60 | 3517 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3518 | target_debug_print_CORE_ADDR (arg1); |
a7068b60 | 3519 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3520 | target_debug_print_ULONGEST (arg2); |
a7068b60 TT |
3521 | fputs_unfiltered (") = ", gdb_stdlog); |
3522 | target_debug_print_int (result); | |
3523 | fputs_unfiltered ("\n", gdb_stdlog); | |
3524 | return result; | |
3525 | } | |
3526 | ||
57810aa7 | 3527 | bool |
f6ac5f3d | 3528 | target_ops::get_tib_address (ptid_t arg0, CORE_ADDR *arg1) |
22bcceee | 3529 | { |
b6a8c27b | 3530 | return this->beneath ()->get_tib_address (arg0, arg1); |
22bcceee TT |
3531 | } |
3532 | ||
57810aa7 | 3533 | bool |
f6ac5f3d | 3534 | dummy_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1) |
22bcceee TT |
3535 | { |
3536 | tcomplain (); | |
3537 | } | |
3538 | ||
57810aa7 | 3539 | bool |
f6ac5f3d | 3540 | debug_target::get_tib_address (ptid_t arg0, CORE_ADDR *arg1) |
a7068b60 | 3541 | { |
57810aa7 | 3542 | bool result; |
b6a8c27b PA |
3543 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_tib_address (...)\n", this->beneath ()->shortname ()); |
3544 | result = this->beneath ()->get_tib_address (arg0, arg1); | |
3545 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_tib_address (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3546 | target_debug_print_ptid_t (arg0); |
a7068b60 | 3547 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3548 | target_debug_print_CORE_ADDR_p (arg1); |
a7068b60 | 3549 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 3550 | target_debug_print_bool (result); |
a7068b60 TT |
3551 | fputs_unfiltered ("\n", gdb_stdlog); |
3552 | return result; | |
3553 | } | |
3554 | ||
f6ac5f3d PA |
3555 | void |
3556 | target_ops::set_permissions () | |
dcd6917f | 3557 | { |
b6a8c27b | 3558 | this->beneath ()->set_permissions (); |
dcd6917f TT |
3559 | } |
3560 | ||
f6ac5f3d PA |
3561 | void |
3562 | dummy_target::set_permissions () | |
dcd6917f TT |
3563 | { |
3564 | } | |
3565 | ||
f6ac5f3d PA |
3566 | void |
3567 | debug_target::set_permissions () | |
a7068b60 | 3568 | { |
b6a8c27b PA |
3569 | fprintf_unfiltered (gdb_stdlog, "-> %s->set_permissions (...)\n", this->beneath ()->shortname ()); |
3570 | this->beneath ()->set_permissions (); | |
3571 | fprintf_unfiltered (gdb_stdlog, "<- %s->set_permissions (", this->beneath ()->shortname ()); | |
a7068b60 TT |
3572 | fputs_unfiltered (")\n", gdb_stdlog); |
3573 | } | |
3574 | ||
f6ac5f3d PA |
3575 | bool |
3576 | target_ops::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) | |
4c3e4425 | 3577 | { |
b6a8c27b | 3578 | return this->beneath ()->static_tracepoint_marker_at (arg0, arg1); |
4c3e4425 TT |
3579 | } |
3580 | ||
f6ac5f3d PA |
3581 | bool |
3582 | dummy_target::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) | |
4c3e4425 | 3583 | { |
5d9310c4 | 3584 | return false; |
4c3e4425 TT |
3585 | } |
3586 | ||
f6ac5f3d PA |
3587 | bool |
3588 | debug_target::static_tracepoint_marker_at (CORE_ADDR arg0, static_tracepoint_marker *arg1) | |
a7068b60 | 3589 | { |
5d9310c4 | 3590 | bool result; |
b6a8c27b PA |
3591 | fprintf_unfiltered (gdb_stdlog, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath ()->shortname ()); |
3592 | result = this->beneath ()->static_tracepoint_marker_at (arg0, arg1); | |
3593 | fprintf_unfiltered (gdb_stdlog, "<- %s->static_tracepoint_marker_at (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3594 | target_debug_print_CORE_ADDR (arg0); |
a7068b60 | 3595 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3596 | target_debug_print_static_tracepoint_marker_p (arg1); |
a7068b60 | 3597 | fputs_unfiltered (") = ", gdb_stdlog); |
5d9310c4 | 3598 | target_debug_print_bool (result); |
a7068b60 TT |
3599 | fputs_unfiltered ("\n", gdb_stdlog); |
3600 | return result; | |
3601 | } | |
3602 | ||
f6ac5f3d PA |
3603 | std::vector<static_tracepoint_marker> |
3604 | target_ops::static_tracepoint_markers_by_strid (const char *arg0) | |
d6522a22 | 3605 | { |
b6a8c27b | 3606 | return this->beneath ()->static_tracepoint_markers_by_strid (arg0); |
d6522a22 TT |
3607 | } |
3608 | ||
f6ac5f3d PA |
3609 | std::vector<static_tracepoint_marker> |
3610 | dummy_target::static_tracepoint_markers_by_strid (const char *arg0) | |
d6522a22 TT |
3611 | { |
3612 | tcomplain (); | |
3613 | } | |
3614 | ||
f6ac5f3d PA |
3615 | std::vector<static_tracepoint_marker> |
3616 | debug_target::static_tracepoint_markers_by_strid (const char *arg0) | |
a7068b60 | 3617 | { |
5d9310c4 | 3618 | std::vector<static_tracepoint_marker> result; |
b6a8c27b PA |
3619 | fprintf_unfiltered (gdb_stdlog, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath ()->shortname ()); |
3620 | result = this->beneath ()->static_tracepoint_markers_by_strid (arg0); | |
3621 | fprintf_unfiltered (gdb_stdlog, "<- %s->static_tracepoint_markers_by_strid (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3622 | target_debug_print_const_char_p (arg0); |
a7068b60 | 3623 | fputs_unfiltered (") = ", gdb_stdlog); |
5d9310c4 | 3624 | target_debug_print_std_vector_static_tracepoint_marker (result); |
a7068b60 TT |
3625 | fputs_unfiltered ("\n", gdb_stdlog); |
3626 | return result; | |
3627 | } | |
3628 | ||
f6ac5f3d PA |
3629 | traceframe_info_up |
3630 | target_ops::traceframe_info () | |
92155eeb | 3631 | { |
b6a8c27b | 3632 | return this->beneath ()->traceframe_info (); |
92155eeb TT |
3633 | } |
3634 | ||
f6ac5f3d PA |
3635 | traceframe_info_up |
3636 | dummy_target::traceframe_info () | |
92155eeb | 3637 | { |
6a5f844b | 3638 | tcomplain (); |
92155eeb TT |
3639 | } |
3640 | ||
f6ac5f3d PA |
3641 | traceframe_info_up |
3642 | debug_target::traceframe_info () | |
a7068b60 | 3643 | { |
2098b393 | 3644 | traceframe_info_up result; |
b6a8c27b PA |
3645 | fprintf_unfiltered (gdb_stdlog, "-> %s->traceframe_info (...)\n", this->beneath ()->shortname ()); |
3646 | result = this->beneath ()->traceframe_info (); | |
3647 | fprintf_unfiltered (gdb_stdlog, "<- %s->traceframe_info (", this->beneath ()->shortname ()); | |
a7068b60 | 3648 | fputs_unfiltered (") = ", gdb_stdlog); |
2098b393 | 3649 | target_debug_print_traceframe_info_up (result); |
a7068b60 TT |
3650 | fputs_unfiltered ("\n", gdb_stdlog); |
3651 | return result; | |
3652 | } | |
3653 | ||
57810aa7 PA |
3654 | bool |
3655 | target_ops::use_agent (bool arg0) | |
d9db5b21 | 3656 | { |
b6a8c27b | 3657 | return this->beneath ()->use_agent (arg0); |
d9db5b21 TT |
3658 | } |
3659 | ||
57810aa7 PA |
3660 | bool |
3661 | dummy_target::use_agent (bool arg0) | |
d9db5b21 TT |
3662 | { |
3663 | tcomplain (); | |
3664 | } | |
3665 | ||
57810aa7 PA |
3666 | bool |
3667 | debug_target::use_agent (bool arg0) | |
a7068b60 | 3668 | { |
57810aa7 | 3669 | bool result; |
b6a8c27b PA |
3670 | fprintf_unfiltered (gdb_stdlog, "-> %s->use_agent (...)\n", this->beneath ()->shortname ()); |
3671 | result = this->beneath ()->use_agent (arg0); | |
3672 | fprintf_unfiltered (gdb_stdlog, "<- %s->use_agent (", this->beneath ()->shortname ()); | |
57810aa7 | 3673 | target_debug_print_bool (arg0); |
a7068b60 | 3674 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 3675 | target_debug_print_bool (result); |
a7068b60 TT |
3676 | fputs_unfiltered ("\n", gdb_stdlog); |
3677 | return result; | |
3678 | } | |
3679 | ||
57810aa7 | 3680 | bool |
f6ac5f3d | 3681 | target_ops::can_use_agent () |
9a7d8b48 | 3682 | { |
b6a8c27b | 3683 | return this->beneath ()->can_use_agent (); |
9a7d8b48 TT |
3684 | } |
3685 | ||
57810aa7 | 3686 | bool |
f6ac5f3d | 3687 | dummy_target::can_use_agent () |
9a7d8b48 | 3688 | { |
57810aa7 | 3689 | return false; |
9a7d8b48 TT |
3690 | } |
3691 | ||
57810aa7 | 3692 | bool |
f6ac5f3d | 3693 | debug_target::can_use_agent () |
a7068b60 | 3694 | { |
57810aa7 | 3695 | bool result; |
b6a8c27b PA |
3696 | fprintf_unfiltered (gdb_stdlog, "-> %s->can_use_agent (...)\n", this->beneath ()->shortname ()); |
3697 | result = this->beneath ()->can_use_agent (); | |
3698 | fprintf_unfiltered (gdb_stdlog, "<- %s->can_use_agent (", this->beneath ()->shortname ()); | |
a7068b60 | 3699 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 3700 | target_debug_print_bool (result); |
a7068b60 TT |
3701 | fputs_unfiltered ("\n", gdb_stdlog); |
3702 | return result; | |
3703 | } | |
3704 | ||
f6ac5f3d PA |
3705 | struct btrace_target_info * |
3706 | target_ops::enable_btrace (ptid_t arg0, const struct btrace_config *arg1) | |
6dc7fcf4 | 3707 | { |
b6a8c27b | 3708 | return this->beneath ()->enable_btrace (arg0, arg1); |
6dc7fcf4 TT |
3709 | } |
3710 | ||
f6ac5f3d PA |
3711 | struct btrace_target_info * |
3712 | dummy_target::enable_btrace (ptid_t arg0, const struct btrace_config *arg1) | |
6dc7fcf4 TT |
3713 | { |
3714 | tcomplain (); | |
3715 | } | |
3716 | ||
f6ac5f3d PA |
3717 | struct btrace_target_info * |
3718 | debug_target::enable_btrace (ptid_t arg0, const struct btrace_config *arg1) | |
a7068b60 TT |
3719 | { |
3720 | struct btrace_target_info * result; | |
b6a8c27b PA |
3721 | fprintf_unfiltered (gdb_stdlog, "-> %s->enable_btrace (...)\n", this->beneath ()->shortname ()); |
3722 | result = this->beneath ()->enable_btrace (arg0, arg1); | |
3723 | fprintf_unfiltered (gdb_stdlog, "<- %s->enable_btrace (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3724 | target_debug_print_ptid_t (arg0); |
f4abbc16 | 3725 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3726 | target_debug_print_const_struct_btrace_config_p (arg1); |
a7068b60 TT |
3727 | fputs_unfiltered (") = ", gdb_stdlog); |
3728 | target_debug_print_struct_btrace_target_info_p (result); | |
3729 | fputs_unfiltered ("\n", gdb_stdlog); | |
3730 | return result; | |
3731 | } | |
3732 | ||
f6ac5f3d PA |
3733 | void |
3734 | target_ops::disable_btrace (struct btrace_target_info *arg0) | |
8dc292d3 | 3735 | { |
b6a8c27b | 3736 | this->beneath ()->disable_btrace (arg0); |
8dc292d3 TT |
3737 | } |
3738 | ||
f6ac5f3d PA |
3739 | void |
3740 | dummy_target::disable_btrace (struct btrace_target_info *arg0) | |
8dc292d3 TT |
3741 | { |
3742 | tcomplain (); | |
3743 | } | |
3744 | ||
f6ac5f3d PA |
3745 | void |
3746 | debug_target::disable_btrace (struct btrace_target_info *arg0) | |
a7068b60 | 3747 | { |
b6a8c27b PA |
3748 | fprintf_unfiltered (gdb_stdlog, "-> %s->disable_btrace (...)\n", this->beneath ()->shortname ()); |
3749 | this->beneath ()->disable_btrace (arg0); | |
3750 | fprintf_unfiltered (gdb_stdlog, "<- %s->disable_btrace (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3751 | target_debug_print_struct_btrace_target_info_p (arg0); |
a7068b60 TT |
3752 | fputs_unfiltered (")\n", gdb_stdlog); |
3753 | } | |
3754 | ||
f6ac5f3d PA |
3755 | void |
3756 | target_ops::teardown_btrace (struct btrace_target_info *arg0) | |
9ace480d | 3757 | { |
b6a8c27b | 3758 | this->beneath ()->teardown_btrace (arg0); |
9ace480d TT |
3759 | } |
3760 | ||
f6ac5f3d PA |
3761 | void |
3762 | dummy_target::teardown_btrace (struct btrace_target_info *arg0) | |
9ace480d TT |
3763 | { |
3764 | tcomplain (); | |
3765 | } | |
3766 | ||
f6ac5f3d PA |
3767 | void |
3768 | debug_target::teardown_btrace (struct btrace_target_info *arg0) | |
a7068b60 | 3769 | { |
b6a8c27b PA |
3770 | fprintf_unfiltered (gdb_stdlog, "-> %s->teardown_btrace (...)\n", this->beneath ()->shortname ()); |
3771 | this->beneath ()->teardown_btrace (arg0); | |
3772 | fprintf_unfiltered (gdb_stdlog, "<- %s->teardown_btrace (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3773 | target_debug_print_struct_btrace_target_info_p (arg0); |
a7068b60 TT |
3774 | fputs_unfiltered (")\n", gdb_stdlog); |
3775 | } | |
3776 | ||
f6ac5f3d PA |
3777 | enum btrace_error |
3778 | target_ops::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) | |
eb5b20d4 | 3779 | { |
b6a8c27b | 3780 | return this->beneath ()->read_btrace (arg0, arg1, arg2); |
eb5b20d4 TT |
3781 | } |
3782 | ||
f6ac5f3d PA |
3783 | enum btrace_error |
3784 | dummy_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) | |
eb5b20d4 TT |
3785 | { |
3786 | tcomplain (); | |
3787 | } | |
3788 | ||
f6ac5f3d PA |
3789 | enum btrace_error |
3790 | debug_target::read_btrace (struct btrace_data *arg0, struct btrace_target_info *arg1, enum btrace_read_type arg2) | |
a7068b60 TT |
3791 | { |
3792 | enum btrace_error result; | |
b6a8c27b PA |
3793 | fprintf_unfiltered (gdb_stdlog, "-> %s->read_btrace (...)\n", this->beneath ()->shortname ()); |
3794 | result = this->beneath ()->read_btrace (arg0, arg1, arg2); | |
3795 | fprintf_unfiltered (gdb_stdlog, "<- %s->read_btrace (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3796 | target_debug_print_struct_btrace_data_p (arg0); |
a7068b60 | 3797 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3798 | target_debug_print_struct_btrace_target_info_p (arg1); |
a7068b60 | 3799 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 3800 | target_debug_print_enum_btrace_read_type (arg2); |
a7068b60 TT |
3801 | fputs_unfiltered (") = ", gdb_stdlog); |
3802 | target_debug_print_enum_btrace_error (result); | |
3803 | fputs_unfiltered ("\n", gdb_stdlog); | |
3804 | return result; | |
3805 | } | |
3806 | ||
f6ac5f3d PA |
3807 | const struct btrace_config * |
3808 | target_ops::btrace_conf (const struct btrace_target_info *arg0) | |
f4abbc16 | 3809 | { |
b6a8c27b | 3810 | return this->beneath ()->btrace_conf (arg0); |
f4abbc16 MM |
3811 | } |
3812 | ||
f6ac5f3d PA |
3813 | const struct btrace_config * |
3814 | dummy_target::btrace_conf (const struct btrace_target_info *arg0) | |
f4abbc16 MM |
3815 | { |
3816 | return NULL; | |
3817 | } | |
3818 | ||
f6ac5f3d PA |
3819 | const struct btrace_config * |
3820 | debug_target::btrace_conf (const struct btrace_target_info *arg0) | |
f4abbc16 MM |
3821 | { |
3822 | const struct btrace_config * result; | |
b6a8c27b PA |
3823 | fprintf_unfiltered (gdb_stdlog, "-> %s->btrace_conf (...)\n", this->beneath ()->shortname ()); |
3824 | result = this->beneath ()->btrace_conf (arg0); | |
3825 | fprintf_unfiltered (gdb_stdlog, "<- %s->btrace_conf (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3826 | target_debug_print_const_struct_btrace_target_info_p (arg0); |
f4abbc16 MM |
3827 | fputs_unfiltered (") = ", gdb_stdlog); |
3828 | target_debug_print_const_struct_btrace_config_p (result); | |
3829 | fputs_unfiltered ("\n", gdb_stdlog); | |
3830 | return result; | |
3831 | } | |
3832 | ||
f6ac5f3d PA |
3833 | enum record_method |
3834 | target_ops::record_method (ptid_t arg0) | |
b158a20f | 3835 | { |
b6a8c27b | 3836 | return this->beneath ()->record_method (arg0); |
b158a20f TW |
3837 | } |
3838 | ||
f6ac5f3d PA |
3839 | enum record_method |
3840 | dummy_target::record_method (ptid_t arg0) | |
b158a20f TW |
3841 | { |
3842 | return RECORD_METHOD_NONE; | |
3843 | } | |
3844 | ||
f6ac5f3d PA |
3845 | enum record_method |
3846 | debug_target::record_method (ptid_t arg0) | |
b158a20f TW |
3847 | { |
3848 | enum record_method result; | |
b6a8c27b PA |
3849 | fprintf_unfiltered (gdb_stdlog, "-> %s->record_method (...)\n", this->beneath ()->shortname ()); |
3850 | result = this->beneath ()->record_method (arg0); | |
3851 | fprintf_unfiltered (gdb_stdlog, "<- %s->record_method (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3852 | target_debug_print_ptid_t (arg0); |
b158a20f TW |
3853 | fputs_unfiltered (") = ", gdb_stdlog); |
3854 | target_debug_print_enum_record_method (result); | |
3855 | fputs_unfiltered ("\n", gdb_stdlog); | |
3856 | return result; | |
3857 | } | |
3858 | ||
f6ac5f3d PA |
3859 | void |
3860 | target_ops::stop_recording () | |
ee97f592 | 3861 | { |
b6a8c27b | 3862 | this->beneath ()->stop_recording (); |
ee97f592 TT |
3863 | } |
3864 | ||
f6ac5f3d PA |
3865 | void |
3866 | dummy_target::stop_recording () | |
ee97f592 TT |
3867 | { |
3868 | } | |
3869 | ||
f6ac5f3d PA |
3870 | void |
3871 | debug_target::stop_recording () | |
a7068b60 | 3872 | { |
b6a8c27b PA |
3873 | fprintf_unfiltered (gdb_stdlog, "-> %s->stop_recording (...)\n", this->beneath ()->shortname ()); |
3874 | this->beneath ()->stop_recording (); | |
3875 | fprintf_unfiltered (gdb_stdlog, "<- %s->stop_recording (", this->beneath ()->shortname ()); | |
a7068b60 TT |
3876 | fputs_unfiltered (")\n", gdb_stdlog); |
3877 | } | |
3878 | ||
f6ac5f3d PA |
3879 | void |
3880 | target_ops::info_record () | |
a432721e | 3881 | { |
b6a8c27b | 3882 | this->beneath ()->info_record (); |
a432721e TT |
3883 | } |
3884 | ||
f6ac5f3d PA |
3885 | void |
3886 | dummy_target::info_record () | |
a432721e TT |
3887 | { |
3888 | } | |
3889 | ||
f6ac5f3d PA |
3890 | void |
3891 | debug_target::info_record () | |
a7068b60 | 3892 | { |
b6a8c27b PA |
3893 | fprintf_unfiltered (gdb_stdlog, "-> %s->info_record (...)\n", this->beneath ()->shortname ()); |
3894 | this->beneath ()->info_record (); | |
3895 | fprintf_unfiltered (gdb_stdlog, "<- %s->info_record (", this->beneath ()->shortname ()); | |
a7068b60 TT |
3896 | fputs_unfiltered (")\n", gdb_stdlog); |
3897 | } | |
3898 | ||
f6ac5f3d PA |
3899 | void |
3900 | target_ops::save_record (const char *arg0) | |
f09e2107 | 3901 | { |
b6a8c27b | 3902 | this->beneath ()->save_record (arg0); |
f09e2107 TT |
3903 | } |
3904 | ||
f6ac5f3d PA |
3905 | void |
3906 | dummy_target::save_record (const char *arg0) | |
f09e2107 TT |
3907 | { |
3908 | tcomplain (); | |
3909 | } | |
3910 | ||
f6ac5f3d PA |
3911 | void |
3912 | debug_target::save_record (const char *arg0) | |
a7068b60 | 3913 | { |
b6a8c27b PA |
3914 | fprintf_unfiltered (gdb_stdlog, "-> %s->save_record (...)\n", this->beneath ()->shortname ()); |
3915 | this->beneath ()->save_record (arg0); | |
3916 | fprintf_unfiltered (gdb_stdlog, "<- %s->save_record (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3917 | target_debug_print_const_char_p (arg0); |
a7068b60 TT |
3918 | fputs_unfiltered (")\n", gdb_stdlog); |
3919 | } | |
3920 | ||
f6ac5f3d PA |
3921 | bool |
3922 | target_ops::supports_delete_record () | |
07366925 | 3923 | { |
b6a8c27b | 3924 | return this->beneath ()->supports_delete_record (); |
07366925 TT |
3925 | } |
3926 | ||
f6ac5f3d PA |
3927 | bool |
3928 | dummy_target::supports_delete_record () | |
3929 | { | |
3930 | return false; | |
3931 | } | |
3932 | ||
3933 | bool | |
3934 | debug_target::supports_delete_record () | |
3935 | { | |
3936 | bool result; | |
b6a8c27b PA |
3937 | fprintf_unfiltered (gdb_stdlog, "-> %s->supports_delete_record (...)\n", this->beneath ()->shortname ()); |
3938 | result = this->beneath ()->supports_delete_record (); | |
3939 | fprintf_unfiltered (gdb_stdlog, "<- %s->supports_delete_record (", this->beneath ()->shortname ()); | |
f6ac5f3d PA |
3940 | fputs_unfiltered (") = ", gdb_stdlog); |
3941 | target_debug_print_bool (result); | |
3942 | fputs_unfiltered ("\n", gdb_stdlog); | |
3943 | return result; | |
3944 | } | |
3945 | ||
3946 | void | |
3947 | target_ops::delete_record () | |
3948 | { | |
b6a8c27b | 3949 | this->beneath ()->delete_record (); |
f6ac5f3d PA |
3950 | } |
3951 | ||
3952 | void | |
3953 | dummy_target::delete_record () | |
07366925 TT |
3954 | { |
3955 | tcomplain (); | |
3956 | } | |
3957 | ||
f6ac5f3d PA |
3958 | void |
3959 | debug_target::delete_record () | |
a7068b60 | 3960 | { |
b6a8c27b PA |
3961 | fprintf_unfiltered (gdb_stdlog, "-> %s->delete_record (...)\n", this->beneath ()->shortname ()); |
3962 | this->beneath ()->delete_record (); | |
3963 | fprintf_unfiltered (gdb_stdlog, "<- %s->delete_record (", this->beneath ()->shortname ()); | |
a7068b60 TT |
3964 | fputs_unfiltered (")\n", gdb_stdlog); |
3965 | } | |
3966 | ||
57810aa7 | 3967 | bool |
f6ac5f3d | 3968 | target_ops::record_is_replaying (ptid_t arg0) |
dd2e9d25 | 3969 | { |
b6a8c27b | 3970 | return this->beneath ()->record_is_replaying (arg0); |
dd2e9d25 TT |
3971 | } |
3972 | ||
57810aa7 | 3973 | bool |
f6ac5f3d | 3974 | dummy_target::record_is_replaying (ptid_t arg0) |
dd2e9d25 | 3975 | { |
57810aa7 | 3976 | return false; |
dd2e9d25 TT |
3977 | } |
3978 | ||
57810aa7 | 3979 | bool |
f6ac5f3d | 3980 | debug_target::record_is_replaying (ptid_t arg0) |
a7068b60 | 3981 | { |
57810aa7 | 3982 | bool result; |
b6a8c27b PA |
3983 | fprintf_unfiltered (gdb_stdlog, "-> %s->record_is_replaying (...)\n", this->beneath ()->shortname ()); |
3984 | result = this->beneath ()->record_is_replaying (arg0); | |
3985 | fprintf_unfiltered (gdb_stdlog, "<- %s->record_is_replaying (", this->beneath ()->shortname ()); | |
f6ac5f3d | 3986 | target_debug_print_ptid_t (arg0); |
a7068b60 | 3987 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 3988 | target_debug_print_bool (result); |
a7068b60 TT |
3989 | fputs_unfiltered ("\n", gdb_stdlog); |
3990 | return result; | |
3991 | } | |
3992 | ||
57810aa7 | 3993 | bool |
f6ac5f3d | 3994 | target_ops::record_will_replay (ptid_t arg0, int arg1) |
7ff27e9b | 3995 | { |
b6a8c27b | 3996 | return this->beneath ()->record_will_replay (arg0, arg1); |
7ff27e9b MM |
3997 | } |
3998 | ||
57810aa7 | 3999 | bool |
f6ac5f3d | 4000 | dummy_target::record_will_replay (ptid_t arg0, int arg1) |
7ff27e9b | 4001 | { |
57810aa7 | 4002 | return false; |
7ff27e9b MM |
4003 | } |
4004 | ||
57810aa7 | 4005 | bool |
f6ac5f3d | 4006 | debug_target::record_will_replay (ptid_t arg0, int arg1) |
7ff27e9b | 4007 | { |
57810aa7 | 4008 | bool result; |
b6a8c27b PA |
4009 | fprintf_unfiltered (gdb_stdlog, "-> %s->record_will_replay (...)\n", this->beneath ()->shortname ()); |
4010 | result = this->beneath ()->record_will_replay (arg0, arg1); | |
4011 | fprintf_unfiltered (gdb_stdlog, "<- %s->record_will_replay (", this->beneath ()->shortname ()); | |
f6ac5f3d | 4012 | target_debug_print_ptid_t (arg0); |
7ff27e9b | 4013 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 4014 | target_debug_print_int (arg1); |
7ff27e9b | 4015 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 4016 | target_debug_print_bool (result); |
7ff27e9b MM |
4017 | fputs_unfiltered ("\n", gdb_stdlog); |
4018 | return result; | |
4019 | } | |
4020 | ||
f6ac5f3d PA |
4021 | void |
4022 | target_ops::record_stop_replaying () | |
797094dd | 4023 | { |
b6a8c27b | 4024 | this->beneath ()->record_stop_replaying (); |
797094dd MM |
4025 | } |
4026 | ||
f6ac5f3d PA |
4027 | void |
4028 | dummy_target::record_stop_replaying () | |
797094dd MM |
4029 | { |
4030 | } | |
4031 | ||
f6ac5f3d PA |
4032 | void |
4033 | debug_target::record_stop_replaying () | |
797094dd | 4034 | { |
b6a8c27b PA |
4035 | fprintf_unfiltered (gdb_stdlog, "-> %s->record_stop_replaying (...)\n", this->beneath ()->shortname ()); |
4036 | this->beneath ()->record_stop_replaying (); | |
4037 | fprintf_unfiltered (gdb_stdlog, "<- %s->record_stop_replaying (", this->beneath ()->shortname ()); | |
797094dd MM |
4038 | fputs_unfiltered (")\n", gdb_stdlog); |
4039 | } | |
4040 | ||
f6ac5f3d PA |
4041 | void |
4042 | target_ops::goto_record_begin () | |
671e76cc | 4043 | { |
b6a8c27b | 4044 | this->beneath ()->goto_record_begin (); |
671e76cc TT |
4045 | } |
4046 | ||
f6ac5f3d PA |
4047 | void |
4048 | dummy_target::goto_record_begin () | |
671e76cc TT |
4049 | { |
4050 | tcomplain (); | |
4051 | } | |
4052 | ||
f6ac5f3d PA |
4053 | void |
4054 | debug_target::goto_record_begin () | |
a7068b60 | 4055 | { |
b6a8c27b PA |
4056 | fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record_begin (...)\n", this->beneath ()->shortname ()); |
4057 | this->beneath ()->goto_record_begin (); | |
4058 | fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record_begin (", this->beneath ()->shortname ()); | |
a7068b60 TT |
4059 | fputs_unfiltered (")\n", gdb_stdlog); |
4060 | } | |
4061 | ||
f6ac5f3d PA |
4062 | void |
4063 | target_ops::goto_record_end () | |
e9179bb3 | 4064 | { |
b6a8c27b | 4065 | this->beneath ()->goto_record_end (); |
e9179bb3 TT |
4066 | } |
4067 | ||
f6ac5f3d PA |
4068 | void |
4069 | dummy_target::goto_record_end () | |
e9179bb3 TT |
4070 | { |
4071 | tcomplain (); | |
4072 | } | |
4073 | ||
f6ac5f3d PA |
4074 | void |
4075 | debug_target::goto_record_end () | |
a7068b60 | 4076 | { |
b6a8c27b PA |
4077 | fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record_end (...)\n", this->beneath ()->shortname ()); |
4078 | this->beneath ()->goto_record_end (); | |
4079 | fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record_end (", this->beneath ()->shortname ()); | |
a7068b60 TT |
4080 | fputs_unfiltered (")\n", gdb_stdlog); |
4081 | } | |
4082 | ||
f6ac5f3d PA |
4083 | void |
4084 | target_ops::goto_record (ULONGEST arg0) | |
05969c84 | 4085 | { |
b6a8c27b | 4086 | this->beneath ()->goto_record (arg0); |
05969c84 TT |
4087 | } |
4088 | ||
f6ac5f3d PA |
4089 | void |
4090 | dummy_target::goto_record (ULONGEST arg0) | |
05969c84 TT |
4091 | { |
4092 | tcomplain (); | |
4093 | } | |
4094 | ||
f6ac5f3d PA |
4095 | void |
4096 | debug_target::goto_record (ULONGEST arg0) | |
a7068b60 | 4097 | { |
b6a8c27b PA |
4098 | fprintf_unfiltered (gdb_stdlog, "-> %s->goto_record (...)\n", this->beneath ()->shortname ()); |
4099 | this->beneath ()->goto_record (arg0); | |
4100 | fprintf_unfiltered (gdb_stdlog, "<- %s->goto_record (", this->beneath ()->shortname ()); | |
f6ac5f3d | 4101 | target_debug_print_ULONGEST (arg0); |
a7068b60 TT |
4102 | fputs_unfiltered (")\n", gdb_stdlog); |
4103 | } | |
4104 | ||
f6ac5f3d PA |
4105 | void |
4106 | target_ops::insn_history (int arg0, gdb_disassembly_flags arg1) | |
3679abfa | 4107 | { |
b6a8c27b | 4108 | this->beneath ()->insn_history (arg0, arg1); |
3679abfa TT |
4109 | } |
4110 | ||
f6ac5f3d PA |
4111 | void |
4112 | dummy_target::insn_history (int arg0, gdb_disassembly_flags arg1) | |
3679abfa TT |
4113 | { |
4114 | tcomplain (); | |
4115 | } | |
4116 | ||
f6ac5f3d PA |
4117 | void |
4118 | debug_target::insn_history (int arg0, gdb_disassembly_flags arg1) | |
a7068b60 | 4119 | { |
b6a8c27b PA |
4120 | fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history (...)\n", this->beneath ()->shortname ()); |
4121 | this->beneath ()->insn_history (arg0, arg1); | |
4122 | fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history (", this->beneath ()->shortname ()); | |
f6ac5f3d | 4123 | target_debug_print_int (arg0); |
a7068b60 | 4124 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 4125 | target_debug_print_gdb_disassembly_flags (arg1); |
a7068b60 TT |
4126 | fputs_unfiltered (")\n", gdb_stdlog); |
4127 | } | |
4128 | ||
f6ac5f3d PA |
4129 | void |
4130 | target_ops::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) | |
8444ab58 | 4131 | { |
b6a8c27b | 4132 | this->beneath ()->insn_history_from (arg0, arg1, arg2); |
8444ab58 TT |
4133 | } |
4134 | ||
f6ac5f3d PA |
4135 | void |
4136 | dummy_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) | |
8444ab58 TT |
4137 | { |
4138 | tcomplain (); | |
4139 | } | |
4140 | ||
f6ac5f3d PA |
4141 | void |
4142 | debug_target::insn_history_from (ULONGEST arg0, int arg1, gdb_disassembly_flags arg2) | |
a7068b60 | 4143 | { |
b6a8c27b PA |
4144 | fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history_from (...)\n", this->beneath ()->shortname ()); |
4145 | this->beneath ()->insn_history_from (arg0, arg1, arg2); | |
4146 | fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history_from (", this->beneath ()->shortname ()); | |
f6ac5f3d | 4147 | target_debug_print_ULONGEST (arg0); |
a7068b60 | 4148 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 4149 | target_debug_print_int (arg1); |
a7068b60 | 4150 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 4151 | target_debug_print_gdb_disassembly_flags (arg2); |
a7068b60 TT |
4152 | fputs_unfiltered (")\n", gdb_stdlog); |
4153 | } | |
4154 | ||
f6ac5f3d PA |
4155 | void |
4156 | target_ops::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) | |
c29302cc | 4157 | { |
b6a8c27b | 4158 | this->beneath ()->insn_history_range (arg0, arg1, arg2); |
c29302cc TT |
4159 | } |
4160 | ||
f6ac5f3d PA |
4161 | void |
4162 | dummy_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) | |
c29302cc TT |
4163 | { |
4164 | tcomplain (); | |
4165 | } | |
4166 | ||
f6ac5f3d PA |
4167 | void |
4168 | debug_target::insn_history_range (ULONGEST arg0, ULONGEST arg1, gdb_disassembly_flags arg2) | |
a7068b60 | 4169 | { |
b6a8c27b PA |
4170 | fprintf_unfiltered (gdb_stdlog, "-> %s->insn_history_range (...)\n", this->beneath ()->shortname ()); |
4171 | this->beneath ()->insn_history_range (arg0, arg1, arg2); | |
4172 | fprintf_unfiltered (gdb_stdlog, "<- %s->insn_history_range (", this->beneath ()->shortname ()); | |
f6ac5f3d | 4173 | target_debug_print_ULONGEST (arg0); |
a7068b60 TT |
4174 | fputs_unfiltered (", ", gdb_stdlog); |
4175 | target_debug_print_ULONGEST (arg1); | |
4176 | fputs_unfiltered (", ", gdb_stdlog); | |
f6ac5f3d | 4177 | target_debug_print_gdb_disassembly_flags (arg2); |
a7068b60 TT |
4178 | fputs_unfiltered (")\n", gdb_stdlog); |
4179 | } | |
4180 | ||
f6ac5f3d PA |
4181 | void |
4182 | target_ops::call_history (int arg0, record_print_flags arg1) | |
170049d4 | 4183 | { |
b6a8c27b | 4184 | this->beneath ()->call_history (arg0, arg1); |
170049d4 TT |
4185 | } |
4186 | ||
f6ac5f3d PA |
4187 | void |
4188 | dummy_target::call_history (int arg0, record_print_flags arg1) | |
170049d4 TT |
4189 | { |
4190 | tcomplain (); | |
4191 | } | |
4192 | ||
f6ac5f3d PA |
4193 | void |
4194 | debug_target::call_history (int arg0, record_print_flags arg1) | |
a7068b60 | 4195 | { |
b6a8c27b PA |
4196 | fprintf_unfiltered (gdb_stdlog, "-> %s->call_history (...)\n", this->beneath ()->shortname ()); |
4197 | this->beneath ()->call_history (arg0, arg1); | |
4198 | fprintf_unfiltered (gdb_stdlog, "<- %s->call_history (", this->beneath ()->shortname ()); | |
f6ac5f3d | 4199 | target_debug_print_int (arg0); |
a7068b60 | 4200 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 4201 | target_debug_print_record_print_flags (arg1); |
a7068b60 TT |
4202 | fputs_unfiltered (")\n", gdb_stdlog); |
4203 | } | |
4204 | ||
f6ac5f3d PA |
4205 | void |
4206 | target_ops::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) | |
16fc27d6 | 4207 | { |
b6a8c27b | 4208 | this->beneath ()->call_history_from (arg0, arg1, arg2); |
16fc27d6 TT |
4209 | } |
4210 | ||
f6ac5f3d PA |
4211 | void |
4212 | dummy_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) | |
16fc27d6 TT |
4213 | { |
4214 | tcomplain (); | |
4215 | } | |
4216 | ||
f6ac5f3d PA |
4217 | void |
4218 | debug_target::call_history_from (ULONGEST arg0, int arg1, record_print_flags arg2) | |
a7068b60 | 4219 | { |
b6a8c27b PA |
4220 | fprintf_unfiltered (gdb_stdlog, "-> %s->call_history_from (...)\n", this->beneath ()->shortname ()); |
4221 | this->beneath ()->call_history_from (arg0, arg1, arg2); | |
4222 | fprintf_unfiltered (gdb_stdlog, "<- %s->call_history_from (", this->beneath ()->shortname ()); | |
f6ac5f3d | 4223 | target_debug_print_ULONGEST (arg0); |
a7068b60 | 4224 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 4225 | target_debug_print_int (arg1); |
a7068b60 | 4226 | fputs_unfiltered (", ", gdb_stdlog); |
f6ac5f3d | 4227 | target_debug_print_record_print_flags (arg2); |
a7068b60 TT |
4228 | fputs_unfiltered (")\n", gdb_stdlog); |
4229 | } | |
4230 | ||
f6ac5f3d PA |
4231 | void |
4232 | target_ops::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) | |
115d9817 | 4233 | { |
b6a8c27b | 4234 | this->beneath ()->call_history_range (arg0, arg1, arg2); |
115d9817 TT |
4235 | } |
4236 | ||
f6ac5f3d PA |
4237 | void |
4238 | dummy_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) | |
115d9817 TT |
4239 | { |
4240 | tcomplain (); | |
4241 | } | |
4242 | ||
f6ac5f3d PA |
4243 | void |
4244 | debug_target::call_history_range (ULONGEST arg0, ULONGEST arg1, record_print_flags arg2) | |
a7068b60 | 4245 | { |
b6a8c27b PA |
4246 | fprintf_unfiltered (gdb_stdlog, "-> %s->call_history_range (...)\n", this->beneath ()->shortname ()); |
4247 | this->beneath ()->call_history_range (arg0, arg1, arg2); | |
4248 | fprintf_unfiltered (gdb_stdlog, "<- %s->call_history_range (", this->beneath ()->shortname ()); | |
f6ac5f3d | 4249 | target_debug_print_ULONGEST (arg0); |
a7068b60 TT |
4250 | fputs_unfiltered (", ", gdb_stdlog); |
4251 | target_debug_print_ULONGEST (arg1); | |
4252 | fputs_unfiltered (", ", gdb_stdlog); | |
f6ac5f3d | 4253 | target_debug_print_record_print_flags (arg2); |
a7068b60 TT |
4254 | fputs_unfiltered (")\n", gdb_stdlog); |
4255 | } | |
4256 | ||
57810aa7 | 4257 | bool |
f6ac5f3d | 4258 | target_ops::augmented_libraries_svr4_read () |
0de91722 | 4259 | { |
b6a8c27b | 4260 | return this->beneath ()->augmented_libraries_svr4_read (); |
0de91722 TT |
4261 | } |
4262 | ||
57810aa7 | 4263 | bool |
f6ac5f3d | 4264 | dummy_target::augmented_libraries_svr4_read () |
0de91722 | 4265 | { |
57810aa7 | 4266 | return false; |
0de91722 TT |
4267 | } |
4268 | ||
57810aa7 | 4269 | bool |
f6ac5f3d | 4270 | debug_target::augmented_libraries_svr4_read () |
a7068b60 | 4271 | { |
57810aa7 | 4272 | bool result; |
b6a8c27b PA |
4273 | fprintf_unfiltered (gdb_stdlog, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath ()->shortname ()); |
4274 | result = this->beneath ()->augmented_libraries_svr4_read (); | |
4275 | fprintf_unfiltered (gdb_stdlog, "<- %s->augmented_libraries_svr4_read (", this->beneath ()->shortname ()); | |
a7068b60 | 4276 | fputs_unfiltered (") = ", gdb_stdlog); |
57810aa7 | 4277 | target_debug_print_bool (result); |
a7068b60 TT |
4278 | fputs_unfiltered ("\n", gdb_stdlog); |
4279 | return result; | |
4280 | } | |
4281 | ||
f6ac5f3d PA |
4282 | const struct frame_unwind * |
4283 | target_ops::get_unwinder () | |
ac01945b | 4284 | { |
b6a8c27b | 4285 | return this->beneath ()->get_unwinder (); |
ac01945b TT |
4286 | } |
4287 | ||
f6ac5f3d PA |
4288 | const struct frame_unwind * |
4289 | dummy_target::get_unwinder () | |
ac01945b TT |
4290 | { |
4291 | return NULL; | |
4292 | } | |
4293 | ||
f6ac5f3d PA |
4294 | const struct frame_unwind * |
4295 | debug_target::get_unwinder () | |
a7068b60 TT |
4296 | { |
4297 | const struct frame_unwind * result; | |
b6a8c27b PA |
4298 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_unwinder (...)\n", this->beneath ()->shortname ()); |
4299 | result = this->beneath ()->get_unwinder (); | |
4300 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_unwinder (", this->beneath ()->shortname ()); | |
a7068b60 TT |
4301 | fputs_unfiltered (") = ", gdb_stdlog); |
4302 | target_debug_print_const_struct_frame_unwind_p (result); | |
4303 | fputs_unfiltered ("\n", gdb_stdlog); | |
4304 | return result; | |
4305 | } | |
4306 | ||
f6ac5f3d PA |
4307 | const struct frame_unwind * |
4308 | target_ops::get_tailcall_unwinder () | |
ac01945b | 4309 | { |
b6a8c27b | 4310 | return this->beneath ()->get_tailcall_unwinder (); |
ac01945b TT |
4311 | } |
4312 | ||
f6ac5f3d PA |
4313 | const struct frame_unwind * |
4314 | dummy_target::get_tailcall_unwinder () | |
ac01945b TT |
4315 | { |
4316 | return NULL; | |
4317 | } | |
4318 | ||
f6ac5f3d PA |
4319 | const struct frame_unwind * |
4320 | debug_target::get_tailcall_unwinder () | |
a7068b60 TT |
4321 | { |
4322 | const struct frame_unwind * result; | |
b6a8c27b PA |
4323 | fprintf_unfiltered (gdb_stdlog, "-> %s->get_tailcall_unwinder (...)\n", this->beneath ()->shortname ()); |
4324 | result = this->beneath ()->get_tailcall_unwinder (); | |
4325 | fprintf_unfiltered (gdb_stdlog, "<- %s->get_tailcall_unwinder (", this->beneath ()->shortname ()); | |
a7068b60 TT |
4326 | fputs_unfiltered (") = ", gdb_stdlog); |
4327 | target_debug_print_const_struct_frame_unwind_p (result); | |
4328 | fputs_unfiltered ("\n", gdb_stdlog); | |
4329 | return result; | |
4330 | } | |
4331 | ||
f6ac5f3d PA |
4332 | void |
4333 | target_ops::prepare_to_generate_core () | |
5fff78c4 | 4334 | { |
b6a8c27b | 4335 | this->beneath ()->prepare_to_generate_core (); |
5fff78c4 MM |
4336 | } |
4337 | ||
f6ac5f3d PA |
4338 | void |
4339 | dummy_target::prepare_to_generate_core () | |
5fff78c4 MM |
4340 | { |
4341 | } | |
4342 | ||
f6ac5f3d PA |
4343 | void |
4344 | debug_target::prepare_to_generate_core () | |
a7068b60 | 4345 | { |
b6a8c27b PA |
4346 | fprintf_unfiltered (gdb_stdlog, "-> %s->prepare_to_generate_core (...)\n", this->beneath ()->shortname ()); |
4347 | this->beneath ()->prepare_to_generate_core (); | |
4348 | fprintf_unfiltered (gdb_stdlog, "<- %s->prepare_to_generate_core (", this->beneath ()->shortname ()); | |
a7068b60 TT |
4349 | fputs_unfiltered (")\n", gdb_stdlog); |
4350 | } | |
4351 | ||
f6ac5f3d PA |
4352 | void |
4353 | target_ops::done_generating_core () | |
5fff78c4 | 4354 | { |
b6a8c27b | 4355 | this->beneath ()->done_generating_core (); |
5fff78c4 MM |
4356 | } |
4357 | ||
f6ac5f3d PA |
4358 | void |
4359 | dummy_target::done_generating_core () | |
5fff78c4 MM |
4360 | { |
4361 | } | |
4362 | ||
f6ac5f3d PA |
4363 | void |
4364 | debug_target::done_generating_core () | |
a7068b60 | 4365 | { |
b6a8c27b PA |
4366 | fprintf_unfiltered (gdb_stdlog, "-> %s->done_generating_core (...)\n", this->beneath ()->shortname ()); |
4367 | this->beneath ()->done_generating_core (); | |
4368 | fprintf_unfiltered (gdb_stdlog, "<- %s->done_generating_core (", this->beneath ()->shortname ()); | |
a7068b60 TT |
4369 | fputs_unfiltered (")\n", gdb_stdlog); |
4370 | } | |
4371 | ||
65a7e4d6 SM |
4372 | bool |
4373 | target_ops::supports_displaced_step (thread_info *arg0) | |
4374 | { | |
4375 | return this->beneath ()->supports_displaced_step (arg0); | |
4376 | } | |
4377 | ||
4378 | bool | |
4379 | dummy_target::supports_displaced_step (thread_info *arg0) | |
4380 | { | |
4381 | return default_supports_displaced_step (this, arg0); | |
4382 | } | |
4383 | ||
4384 | bool | |
4385 | debug_target::supports_displaced_step (thread_info *arg0) | |
4386 | { | |
4387 | bool result; | |
4388 | fprintf_unfiltered (gdb_stdlog, "-> %s->supports_displaced_step (...)\n", this->beneath ()->shortname ()); | |
4389 | result = this->beneath ()->supports_displaced_step (arg0); | |
4390 | fprintf_unfiltered (gdb_stdlog, "<- %s->supports_displaced_step (", this->beneath ()->shortname ()); | |
4391 | target_debug_print_thread_info_p (arg0); | |
4392 | fputs_unfiltered (") = ", gdb_stdlog); | |
4393 | target_debug_print_bool (result); | |
4394 | fputs_unfiltered ("\n", gdb_stdlog); | |
4395 | return result; | |
4396 | } | |
4397 | ||
348a832d SM |
4398 | displaced_step_prepare_status |
4399 | target_ops::displaced_step_prepare (thread_info *arg0) | |
4400 | { | |
4401 | return this->beneath ()->displaced_step_prepare (arg0); | |
4402 | } | |
4403 | ||
4404 | displaced_step_prepare_status | |
4405 | dummy_target::displaced_step_prepare (thread_info *arg0) | |
4406 | { | |
4407 | return default_displaced_step_prepare (this, arg0); | |
4408 | } | |
4409 | ||
4410 | displaced_step_prepare_status | |
4411 | debug_target::displaced_step_prepare (thread_info *arg0) | |
4412 | { | |
4413 | displaced_step_prepare_status result; | |
4414 | fprintf_unfiltered (gdb_stdlog, "-> %s->displaced_step_prepare (...)\n", this->beneath ()->shortname ()); | |
4415 | result = this->beneath ()->displaced_step_prepare (arg0); | |
4416 | fprintf_unfiltered (gdb_stdlog, "<- %s->displaced_step_prepare (", this->beneath ()->shortname ()); | |
4417 | target_debug_print_thread_info_p (arg0); | |
4418 | fputs_unfiltered (") = ", gdb_stdlog); | |
4419 | target_debug_print_displaced_step_prepare_status (result); | |
4420 | fputs_unfiltered ("\n", gdb_stdlog); | |
4421 | return result; | |
4422 | } | |
4423 | ||
4424 | displaced_step_finish_status | |
4425 | target_ops::displaced_step_finish (thread_info *arg0, gdb_signal arg1) | |
4426 | { | |
4427 | return this->beneath ()->displaced_step_finish (arg0, arg1); | |
4428 | } | |
4429 | ||
4430 | displaced_step_finish_status | |
4431 | dummy_target::displaced_step_finish (thread_info *arg0, gdb_signal arg1) | |
4432 | { | |
4433 | return default_displaced_step_finish (this, arg0, arg1); | |
4434 | } | |
4435 | ||
4436 | displaced_step_finish_status | |
4437 | debug_target::displaced_step_finish (thread_info *arg0, gdb_signal arg1) | |
4438 | { | |
4439 | displaced_step_finish_status result; | |
4440 | fprintf_unfiltered (gdb_stdlog, "-> %s->displaced_step_finish (...)\n", this->beneath ()->shortname ()); | |
4441 | result = this->beneath ()->displaced_step_finish (arg0, arg1); | |
4442 | fprintf_unfiltered (gdb_stdlog, "<- %s->displaced_step_finish (", this->beneath ()->shortname ()); | |
4443 | target_debug_print_thread_info_p (arg0); | |
4444 | fputs_unfiltered (", ", gdb_stdlog); | |
4445 | target_debug_print_gdb_signal (arg1); | |
4446 | fputs_unfiltered (") = ", gdb_stdlog); | |
4447 | target_debug_print_displaced_step_finish_status (result); | |
4448 | fputs_unfiltered ("\n", gdb_stdlog); | |
4449 | return result; | |
4450 | } | |
4451 |