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