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