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