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