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