1 /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */
4 /* Boilerplate target methods for GDB
6 Copyright (C) 2013-2024 Free Software Foundation, Inc.
8 This file is part of GDB.
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>. */
23 /* To regenerate this file, run:
24 ./make-target-delegates.py
27 struct dummy_target
: public target_ops
29 const target_info
&info () const override
;
31 strata
stratum () const override
;
33 void post_attach (int arg0
) override
;
34 void detach (inferior
*arg0
, int arg1
) override
;
35 void disconnect (const char *arg0
, int arg1
) override
;
36 void resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
) override
;
37 void commit_resumed () override
;
38 ptid_t
wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
) override
;
39 void fetch_registers (struct regcache
*arg0
, int arg1
) override
;
40 void store_registers (struct regcache
*arg0
, int arg1
) override
;
41 void prepare_to_store (struct regcache
*arg0
) override
;
42 void files_info () override
;
43 int insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
44 int remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
) override
;
45 bool stopped_by_sw_breakpoint () override
;
46 bool supports_stopped_by_sw_breakpoint () override
;
47 bool stopped_by_hw_breakpoint () override
;
48 bool supports_stopped_by_hw_breakpoint () override
;
49 int can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
) override
;
50 int ranged_break_num_registers () override
;
51 int insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
52 int remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
53 int remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
54 int insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
55 int insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
56 int remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
57 bool stopped_by_watchpoint () override
;
58 bool have_steppable_watchpoint () override
;
59 bool stopped_data_address (CORE_ADDR
*arg0
) override
;
60 bool watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
) override
;
61 int region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
) override
;
62 bool can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
) override
;
63 int masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
) override
;
64 int can_do_single_step () override
;
65 bool supports_terminal_ours () override
;
66 void terminal_init () override
;
67 void terminal_inferior () override
;
68 void terminal_save_inferior () override
;
69 void terminal_ours_for_output () override
;
70 void terminal_ours () override
;
71 void terminal_info (const char *arg0
, int arg1
) override
;
72 void kill () override
;
73 void load (const char *arg0
, int arg1
) override
;
74 int insert_fork_catchpoint (int arg0
) override
;
75 int remove_fork_catchpoint (int arg0
) override
;
76 int insert_vfork_catchpoint (int arg0
) override
;
77 int remove_vfork_catchpoint (int arg0
) override
;
78 void follow_fork (inferior
*arg0
, ptid_t arg1
, target_waitkind arg2
, bool arg3
, bool arg4
) override
;
79 void follow_clone (ptid_t arg0
) override
;
80 int insert_exec_catchpoint (int arg0
) override
;
81 int remove_exec_catchpoint (int arg0
) override
;
82 void follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
) override
;
83 int set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
) override
;
84 void mourn_inferior () override
;
85 void pass_signals (gdb::array_view
<const unsigned char> arg0
) override
;
86 void program_signals (gdb::array_view
<const unsigned char> arg0
) override
;
87 bool thread_alive (ptid_t arg0
) override
;
88 void update_thread_list () override
;
89 std::string
pid_to_str (ptid_t arg0
) override
;
90 const char *extra_thread_info (thread_info
*arg0
) override
;
91 const char *thread_name (thread_info
*arg0
) override
;
92 thread_info
*thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
) override
;
93 gdb::array_view
<const_gdb_byte
> thread_info_to_thread_handle (struct thread_info
*arg0
) override
;
94 void stop (ptid_t arg0
) override
;
95 void interrupt () override
;
96 void pass_ctrlc () override
;
97 void rcmd (const char *arg0
, struct ui_file
*arg1
) override
;
98 const char *pid_to_exec_file (int arg0
) override
;
99 void log_command (const char *arg0
) override
;
100 const std::vector
<target_section
> *get_section_table () override
;
101 thread_control_capabilities
get_thread_control_capabilities () override
;
102 bool attach_no_wait () override
;
103 bool can_async_p () override
;
104 bool is_async_p () override
;
105 void async (bool arg0
) override
;
106 int async_wait_fd () override
;
107 bool has_pending_events () override
;
108 void thread_events (int arg0
) override
;
109 bool supports_set_thread_options (gdb_thread_options arg0
) override
;
110 bool supports_non_stop () override
;
111 bool always_non_stop_p () override
;
112 int find_memory_regions (find_memory_region_ftype arg0
, void *arg1
) override
;
113 gdb::unique_xmalloc_ptr
<char> make_corefile_notes (bfd
*arg0
, int *arg1
) override
;
114 gdb_byte
*get_bookmark (const char *arg0
, int arg1
) override
;
115 void goto_bookmark (const gdb_byte
*arg0
, int arg1
) override
;
116 CORE_ADDR
get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
) override
;
117 enum target_xfer_status
xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
) override
;
118 ULONGEST
get_memory_xfer_limit () override
;
119 std::vector
<mem_region
> memory_map () override
;
120 void flash_erase (ULONGEST arg0
, LONGEST arg1
) override
;
121 void flash_done () override
;
122 const struct target_desc
*read_description () override
;
123 ptid_t
get_ada_task_ptid (long arg0
, ULONGEST arg1
) override
;
124 int auxv_parse (const gdb_byte
**arg0
, const gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
) override
;
125 int search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
) override
;
126 bool can_execute_reverse () override
;
127 enum exec_direction_kind
execution_direction () override
;
128 bool supports_multi_process () override
;
129 bool supports_enable_disable_tracepoint () override
;
130 bool supports_disable_randomization () override
;
131 bool supports_string_tracing () override
;
132 bool supports_evaluation_of_breakpoint_conditions () override
;
133 bool supports_dumpcore () override
;
134 void dumpcore (const char *arg0
) override
;
135 bool can_run_breakpoint_commands () override
;
136 struct gdbarch
*thread_architecture (ptid_t arg0
) override
;
137 bool filesystem_is_local () override
;
138 void trace_init () override
;
139 void download_tracepoint (struct bp_location
*arg0
) override
;
140 bool can_download_tracepoint () override
;
141 void download_trace_state_variable (const trace_state_variable
&arg0
) override
;
142 void enable_tracepoint (struct bp_location
*arg0
) override
;
143 void disable_tracepoint (struct bp_location
*arg0
) override
;
144 void trace_set_readonly_regions () override
;
145 void trace_start () override
;
146 int get_trace_status (struct trace_status
*arg0
) override
;
147 void get_tracepoint_status (tracepoint
*arg0
, struct uploaded_tp
*arg1
) override
;
148 void trace_stop () override
;
149 int trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
) override
;
150 bool get_trace_state_variable_value (int arg0
, LONGEST
*arg1
) override
;
151 int save_trace_data (const char *arg0
) override
;
152 int upload_tracepoints (struct uploaded_tp
**arg0
) override
;
153 int upload_trace_state_variables (struct uploaded_tsv
**arg0
) override
;
154 LONGEST
get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
) override
;
155 int get_min_fast_tracepoint_insn_len () override
;
156 void set_disconnected_tracing (int arg0
) override
;
157 void set_circular_trace_buffer (int arg0
) override
;
158 void set_trace_buffer_size (LONGEST arg0
) override
;
159 bool set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
) override
;
160 int core_of_thread (ptid_t arg0
) override
;
161 int verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
) override
;
162 bool get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
) override
;
163 void set_permissions () override
;
164 bool static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
) override
;
165 std::vector
<static_tracepoint_marker
> static_tracepoint_markers_by_strid (const char *arg0
) override
;
166 traceframe_info_up
traceframe_info () override
;
167 bool use_agent (bool arg0
) override
;
168 bool can_use_agent () override
;
169 struct btrace_target_info
*enable_btrace (thread_info
*arg0
, const struct btrace_config
*arg1
) override
;
170 void disable_btrace (struct btrace_target_info
*arg0
) override
;
171 void teardown_btrace (struct btrace_target_info
*arg0
) override
;
172 enum btrace_error
read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
) override
;
173 const struct btrace_config
*btrace_conf (const struct btrace_target_info
*arg0
) override
;
174 enum record_method
record_method (ptid_t arg0
) override
;
175 void stop_recording () override
;
176 void info_record () override
;
177 void save_record (const char *arg0
) override
;
178 bool supports_delete_record () override
;
179 void delete_record () override
;
180 bool record_is_replaying (ptid_t arg0
) override
;
181 bool record_will_replay (ptid_t arg0
, int arg1
) override
;
182 void record_stop_replaying () override
;
183 void goto_record_begin () override
;
184 void goto_record_end () override
;
185 void goto_record (ULONGEST arg0
) override
;
186 void insn_history (int arg0
, gdb_disassembly_flags arg1
) override
;
187 void insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
) override
;
188 void insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
) override
;
189 void call_history (int arg0
, record_print_flags arg1
) override
;
190 void call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
) override
;
191 void call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
) override
;
192 bool augmented_libraries_svr4_read () override
;
193 const struct frame_unwind
*get_unwinder () override
;
194 const struct frame_unwind
*get_tailcall_unwinder () override
;
195 void prepare_to_generate_core () override
;
196 void done_generating_core () override
;
197 bool supports_memory_tagging () override
;
198 bool fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
) override
;
199 bool store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
) override
;
200 x86_xsave_layout
fetch_x86_xsave_layout () override
;
203 struct debug_target
: public target_ops
205 const target_info
&info () const override
;
207 strata
stratum () const override
;
209 void post_attach (int arg0
) override
;
210 void detach (inferior
*arg0
, int arg1
) override
;
211 void disconnect (const char *arg0
, int arg1
) override
;
212 void resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
) override
;
213 void commit_resumed () override
;
214 ptid_t
wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
) override
;
215 void fetch_registers (struct regcache
*arg0
, int arg1
) override
;
216 void store_registers (struct regcache
*arg0
, int arg1
) override
;
217 void prepare_to_store (struct regcache
*arg0
) override
;
218 void files_info () override
;
219 int insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
220 int remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
) override
;
221 bool stopped_by_sw_breakpoint () override
;
222 bool supports_stopped_by_sw_breakpoint () override
;
223 bool stopped_by_hw_breakpoint () override
;
224 bool supports_stopped_by_hw_breakpoint () override
;
225 int can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
) override
;
226 int ranged_break_num_registers () override
;
227 int insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
228 int remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
) override
;
229 int remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
230 int insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
) override
;
231 int insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
232 int remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
) override
;
233 bool stopped_by_watchpoint () override
;
234 bool have_steppable_watchpoint () override
;
235 bool stopped_data_address (CORE_ADDR
*arg0
) override
;
236 bool watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
) override
;
237 int region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
) override
;
238 bool can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
) override
;
239 int masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
) override
;
240 int can_do_single_step () override
;
241 bool supports_terminal_ours () override
;
242 void terminal_init () override
;
243 void terminal_inferior () override
;
244 void terminal_save_inferior () override
;
245 void terminal_ours_for_output () override
;
246 void terminal_ours () override
;
247 void terminal_info (const char *arg0
, int arg1
) override
;
248 void kill () override
;
249 void load (const char *arg0
, int arg1
) override
;
250 int insert_fork_catchpoint (int arg0
) override
;
251 int remove_fork_catchpoint (int arg0
) override
;
252 int insert_vfork_catchpoint (int arg0
) override
;
253 int remove_vfork_catchpoint (int arg0
) override
;
254 void follow_fork (inferior
*arg0
, ptid_t arg1
, target_waitkind arg2
, bool arg3
, bool arg4
) override
;
255 void follow_clone (ptid_t arg0
) override
;
256 int insert_exec_catchpoint (int arg0
) override
;
257 int remove_exec_catchpoint (int arg0
) override
;
258 void follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
) override
;
259 int set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
) override
;
260 void mourn_inferior () override
;
261 void pass_signals (gdb::array_view
<const unsigned char> arg0
) override
;
262 void program_signals (gdb::array_view
<const unsigned char> arg0
) override
;
263 bool thread_alive (ptid_t arg0
) override
;
264 void update_thread_list () override
;
265 std::string
pid_to_str (ptid_t arg0
) override
;
266 const char *extra_thread_info (thread_info
*arg0
) override
;
267 const char *thread_name (thread_info
*arg0
) override
;
268 thread_info
*thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
) override
;
269 gdb::array_view
<const_gdb_byte
> thread_info_to_thread_handle (struct thread_info
*arg0
) override
;
270 void stop (ptid_t arg0
) override
;
271 void interrupt () override
;
272 void pass_ctrlc () override
;
273 void rcmd (const char *arg0
, struct ui_file
*arg1
) override
;
274 const char *pid_to_exec_file (int arg0
) override
;
275 void log_command (const char *arg0
) override
;
276 const std::vector
<target_section
> *get_section_table () override
;
277 thread_control_capabilities
get_thread_control_capabilities () override
;
278 bool attach_no_wait () override
;
279 bool can_async_p () override
;
280 bool is_async_p () override
;
281 void async (bool arg0
) override
;
282 int async_wait_fd () override
;
283 bool has_pending_events () override
;
284 void thread_events (int arg0
) override
;
285 bool supports_set_thread_options (gdb_thread_options arg0
) override
;
286 bool supports_non_stop () override
;
287 bool always_non_stop_p () override
;
288 int find_memory_regions (find_memory_region_ftype arg0
, void *arg1
) override
;
289 gdb::unique_xmalloc_ptr
<char> make_corefile_notes (bfd
*arg0
, int *arg1
) override
;
290 gdb_byte
*get_bookmark (const char *arg0
, int arg1
) override
;
291 void goto_bookmark (const gdb_byte
*arg0
, int arg1
) override
;
292 CORE_ADDR
get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
) override
;
293 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
;
294 ULONGEST
get_memory_xfer_limit () override
;
295 std::vector
<mem_region
> memory_map () override
;
296 void flash_erase (ULONGEST arg0
, LONGEST arg1
) override
;
297 void flash_done () override
;
298 const struct target_desc
*read_description () override
;
299 ptid_t
get_ada_task_ptid (long arg0
, ULONGEST arg1
) override
;
300 int auxv_parse (const gdb_byte
**arg0
, const gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
) override
;
301 int search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
) override
;
302 bool can_execute_reverse () override
;
303 enum exec_direction_kind
execution_direction () override
;
304 bool supports_multi_process () override
;
305 bool supports_enable_disable_tracepoint () override
;
306 bool supports_disable_randomization () override
;
307 bool supports_string_tracing () override
;
308 bool supports_evaluation_of_breakpoint_conditions () override
;
309 bool supports_dumpcore () override
;
310 void dumpcore (const char *arg0
) override
;
311 bool can_run_breakpoint_commands () override
;
312 struct gdbarch
*thread_architecture (ptid_t arg0
) override
;
313 bool filesystem_is_local () override
;
314 void trace_init () override
;
315 void download_tracepoint (struct bp_location
*arg0
) override
;
316 bool can_download_tracepoint () override
;
317 void download_trace_state_variable (const trace_state_variable
&arg0
) override
;
318 void enable_tracepoint (struct bp_location
*arg0
) override
;
319 void disable_tracepoint (struct bp_location
*arg0
) override
;
320 void trace_set_readonly_regions () override
;
321 void trace_start () override
;
322 int get_trace_status (struct trace_status
*arg0
) override
;
323 void get_tracepoint_status (tracepoint
*arg0
, struct uploaded_tp
*arg1
) override
;
324 void trace_stop () override
;
325 int trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
) override
;
326 bool get_trace_state_variable_value (int arg0
, LONGEST
*arg1
) override
;
327 int save_trace_data (const char *arg0
) override
;
328 int upload_tracepoints (struct uploaded_tp
**arg0
) override
;
329 int upload_trace_state_variables (struct uploaded_tsv
**arg0
) override
;
330 LONGEST
get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
) override
;
331 int get_min_fast_tracepoint_insn_len () override
;
332 void set_disconnected_tracing (int arg0
) override
;
333 void set_circular_trace_buffer (int arg0
) override
;
334 void set_trace_buffer_size (LONGEST arg0
) override
;
335 bool set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
) override
;
336 int core_of_thread (ptid_t arg0
) override
;
337 int verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
) override
;
338 bool get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
) override
;
339 void set_permissions () override
;
340 bool static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
) override
;
341 std::vector
<static_tracepoint_marker
> static_tracepoint_markers_by_strid (const char *arg0
) override
;
342 traceframe_info_up
traceframe_info () override
;
343 bool use_agent (bool arg0
) override
;
344 bool can_use_agent () override
;
345 struct btrace_target_info
*enable_btrace (thread_info
*arg0
, const struct btrace_config
*arg1
) override
;
346 void disable_btrace (struct btrace_target_info
*arg0
) override
;
347 void teardown_btrace (struct btrace_target_info
*arg0
) override
;
348 enum btrace_error
read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
) override
;
349 const struct btrace_config
*btrace_conf (const struct btrace_target_info
*arg0
) override
;
350 enum record_method
record_method (ptid_t arg0
) override
;
351 void stop_recording () override
;
352 void info_record () override
;
353 void save_record (const char *arg0
) override
;
354 bool supports_delete_record () override
;
355 void delete_record () override
;
356 bool record_is_replaying (ptid_t arg0
) override
;
357 bool record_will_replay (ptid_t arg0
, int arg1
) override
;
358 void record_stop_replaying () override
;
359 void goto_record_begin () override
;
360 void goto_record_end () override
;
361 void goto_record (ULONGEST arg0
) override
;
362 void insn_history (int arg0
, gdb_disassembly_flags arg1
) override
;
363 void insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
) override
;
364 void insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
) override
;
365 void call_history (int arg0
, record_print_flags arg1
) override
;
366 void call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
) override
;
367 void call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
) override
;
368 bool augmented_libraries_svr4_read () override
;
369 const struct frame_unwind
*get_unwinder () override
;
370 const struct frame_unwind
*get_tailcall_unwinder () override
;
371 void prepare_to_generate_core () override
;
372 void done_generating_core () override
;
373 bool supports_memory_tagging () override
;
374 bool fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
) override
;
375 bool store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
) override
;
376 x86_xsave_layout
fetch_x86_xsave_layout () override
;
380 target_ops::post_attach (int arg0
)
382 this->beneath ()->post_attach (arg0
);
386 dummy_target::post_attach (int arg0
)
391 debug_target::post_attach (int arg0
)
393 gdb_printf (gdb_stdlog
, "-> %s->post_attach (...)\n", this->beneath ()->shortname ());
394 this->beneath ()->post_attach (arg0
);
395 gdb_printf (gdb_stdlog
, "<- %s->post_attach (", this->beneath ()->shortname ());
396 target_debug_print_int (arg0
);
397 gdb_puts (")\n", gdb_stdlog
);
401 target_ops::detach (inferior
*arg0
, int arg1
)
403 this->beneath ()->detach (arg0
, arg1
);
407 dummy_target::detach (inferior
*arg0
, int arg1
)
412 debug_target::detach (inferior
*arg0
, int arg1
)
414 gdb_printf (gdb_stdlog
, "-> %s->detach (...)\n", this->beneath ()->shortname ());
415 this->beneath ()->detach (arg0
, arg1
);
416 gdb_printf (gdb_stdlog
, "<- %s->detach (", this->beneath ()->shortname ());
417 target_debug_print_inferior_p (arg0
);
418 gdb_puts (", ", gdb_stdlog
);
419 target_debug_print_int (arg1
);
420 gdb_puts (")\n", gdb_stdlog
);
424 target_ops::disconnect (const char *arg0
, int arg1
)
426 this->beneath ()->disconnect (arg0
, arg1
);
430 dummy_target::disconnect (const char *arg0
, int arg1
)
436 debug_target::disconnect (const char *arg0
, int arg1
)
438 gdb_printf (gdb_stdlog
, "-> %s->disconnect (...)\n", this->beneath ()->shortname ());
439 this->beneath ()->disconnect (arg0
, arg1
);
440 gdb_printf (gdb_stdlog
, "<- %s->disconnect (", this->beneath ()->shortname ());
441 target_debug_print_const_char_p (arg0
);
442 gdb_puts (", ", gdb_stdlog
);
443 target_debug_print_int (arg1
);
444 gdb_puts (")\n", gdb_stdlog
);
448 target_ops::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
450 this->beneath ()->resume (arg0
, arg1
, arg2
);
454 dummy_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
460 debug_target::resume (ptid_t arg0
, int arg1
, enum gdb_signal arg2
)
462 gdb_printf (gdb_stdlog
, "-> %s->resume (...)\n", this->beneath ()->shortname ());
463 this->beneath ()->resume (arg0
, arg1
, arg2
);
464 gdb_printf (gdb_stdlog
, "<- %s->resume (", this->beneath ()->shortname ());
465 target_debug_print_ptid_t (arg0
);
466 gdb_puts (", ", gdb_stdlog
);
467 target_debug_print_step (arg1
);
468 gdb_puts (", ", gdb_stdlog
);
469 target_debug_print_gdb_signal (arg2
);
470 gdb_puts (")\n", gdb_stdlog
);
474 target_ops::commit_resumed ()
476 this->beneath ()->commit_resumed ();
480 dummy_target::commit_resumed ()
485 debug_target::commit_resumed ()
487 gdb_printf (gdb_stdlog
, "-> %s->commit_resumed (...)\n", this->beneath ()->shortname ());
488 this->beneath ()->commit_resumed ();
489 gdb_printf (gdb_stdlog
, "<- %s->commit_resumed (", this->beneath ()->shortname ());
490 gdb_puts (")\n", gdb_stdlog
);
494 target_ops::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
)
496 return this->beneath ()->wait (arg0
, arg1
, arg2
);
500 dummy_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
)
502 return default_target_wait (this, arg0
, arg1
, arg2
);
506 debug_target::wait (ptid_t arg0
, struct target_waitstatus
*arg1
, target_wait_flags arg2
)
508 gdb_printf (gdb_stdlog
, "-> %s->wait (...)\n", this->beneath ()->shortname ());
510 = this->beneath ()->wait (arg0
, arg1
, arg2
);
511 gdb_printf (gdb_stdlog
, "<- %s->wait (", this->beneath ()->shortname ());
512 target_debug_print_ptid_t (arg0
);
513 gdb_puts (", ", gdb_stdlog
);
514 target_debug_print_target_waitstatus_p (arg1
);
515 gdb_puts (", ", gdb_stdlog
);
516 target_debug_print_target_wait_flags (arg2
);
517 gdb_puts (") = ", gdb_stdlog
);
518 target_debug_print_ptid_t (result
);
519 gdb_puts ("\n", gdb_stdlog
);
524 target_ops::fetch_registers (struct regcache
*arg0
, int arg1
)
526 this->beneath ()->fetch_registers (arg0
, arg1
);
530 dummy_target::fetch_registers (struct regcache
*arg0
, int arg1
)
535 debug_target::fetch_registers (struct regcache
*arg0
, int arg1
)
537 gdb_printf (gdb_stdlog
, "-> %s->fetch_registers (...)\n", this->beneath ()->shortname ());
538 this->beneath ()->fetch_registers (arg0
, arg1
);
539 gdb_printf (gdb_stdlog
, "<- %s->fetch_registers (", this->beneath ()->shortname ());
540 target_debug_print_regcache_p (arg0
);
541 gdb_puts (", ", gdb_stdlog
);
542 target_debug_print_int (arg1
);
543 gdb_puts (")\n", gdb_stdlog
);
547 target_ops::store_registers (struct regcache
*arg0
, int arg1
)
549 this->beneath ()->store_registers (arg0
, arg1
);
553 dummy_target::store_registers (struct regcache
*arg0
, int arg1
)
559 debug_target::store_registers (struct regcache
*arg0
, int arg1
)
561 gdb_printf (gdb_stdlog
, "-> %s->store_registers (...)\n", this->beneath ()->shortname ());
562 this->beneath ()->store_registers (arg0
, arg1
);
563 gdb_printf (gdb_stdlog
, "<- %s->store_registers (", this->beneath ()->shortname ());
564 target_debug_print_regcache_p (arg0
);
565 gdb_puts (", ", gdb_stdlog
);
566 target_debug_print_int (arg1
);
567 gdb_puts (")\n", gdb_stdlog
);
571 target_ops::prepare_to_store (struct regcache
*arg0
)
573 this->beneath ()->prepare_to_store (arg0
);
577 dummy_target::prepare_to_store (struct regcache
*arg0
)
583 debug_target::prepare_to_store (struct regcache
*arg0
)
585 gdb_printf (gdb_stdlog
, "-> %s->prepare_to_store (...)\n", this->beneath ()->shortname ());
586 this->beneath ()->prepare_to_store (arg0
);
587 gdb_printf (gdb_stdlog
, "<- %s->prepare_to_store (", this->beneath ()->shortname ());
588 target_debug_print_regcache_p (arg0
);
589 gdb_puts (")\n", gdb_stdlog
);
593 target_ops::files_info ()
595 this->beneath ()->files_info ();
599 dummy_target::files_info ()
604 debug_target::files_info ()
606 gdb_printf (gdb_stdlog
, "-> %s->files_info (...)\n", this->beneath ()->shortname ());
607 this->beneath ()->files_info ();
608 gdb_printf (gdb_stdlog
, "<- %s->files_info (", this->beneath ()->shortname ());
609 gdb_puts (")\n", gdb_stdlog
);
613 target_ops::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
615 return this->beneath ()->insert_breakpoint (arg0
, arg1
);
619 dummy_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
625 debug_target::insert_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
627 gdb_printf (gdb_stdlog
, "-> %s->insert_breakpoint (...)\n", this->beneath ()->shortname ());
629 = this->beneath ()->insert_breakpoint (arg0
, arg1
);
630 gdb_printf (gdb_stdlog
, "<- %s->insert_breakpoint (", this->beneath ()->shortname ());
631 target_debug_print_gdbarch_p (arg0
);
632 gdb_puts (", ", gdb_stdlog
);
633 target_debug_print_bp_target_info_p (arg1
);
634 gdb_puts (") = ", gdb_stdlog
);
635 target_debug_print_int (result
);
636 gdb_puts ("\n", gdb_stdlog
);
641 target_ops::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
643 return this->beneath ()->remove_breakpoint (arg0
, arg1
, arg2
);
647 dummy_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
653 debug_target::remove_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
, enum remove_bp_reason arg2
)
655 gdb_printf (gdb_stdlog
, "-> %s->remove_breakpoint (...)\n", this->beneath ()->shortname ());
657 = this->beneath ()->remove_breakpoint (arg0
, arg1
, arg2
);
658 gdb_printf (gdb_stdlog
, "<- %s->remove_breakpoint (", this->beneath ()->shortname ());
659 target_debug_print_gdbarch_p (arg0
);
660 gdb_puts (", ", gdb_stdlog
);
661 target_debug_print_bp_target_info_p (arg1
);
662 gdb_puts (", ", gdb_stdlog
);
663 target_debug_print_remove_bp_reason (arg2
);
664 gdb_puts (") = ", gdb_stdlog
);
665 target_debug_print_int (result
);
666 gdb_puts ("\n", gdb_stdlog
);
671 target_ops::stopped_by_sw_breakpoint ()
673 return this->beneath ()->stopped_by_sw_breakpoint ();
677 dummy_target::stopped_by_sw_breakpoint ()
683 debug_target::stopped_by_sw_breakpoint ()
685 gdb_printf (gdb_stdlog
, "-> %s->stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
687 = this->beneath ()->stopped_by_sw_breakpoint ();
688 gdb_printf (gdb_stdlog
, "<- %s->stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
689 gdb_puts (") = ", gdb_stdlog
);
690 target_debug_print_bool (result
);
691 gdb_puts ("\n", gdb_stdlog
);
696 target_ops::supports_stopped_by_sw_breakpoint ()
698 return this->beneath ()->supports_stopped_by_sw_breakpoint ();
702 dummy_target::supports_stopped_by_sw_breakpoint ()
708 debug_target::supports_stopped_by_sw_breakpoint ()
710 gdb_printf (gdb_stdlog
, "-> %s->supports_stopped_by_sw_breakpoint (...)\n", this->beneath ()->shortname ());
712 = this->beneath ()->supports_stopped_by_sw_breakpoint ();
713 gdb_printf (gdb_stdlog
, "<- %s->supports_stopped_by_sw_breakpoint (", this->beneath ()->shortname ());
714 gdb_puts (") = ", gdb_stdlog
);
715 target_debug_print_bool (result
);
716 gdb_puts ("\n", gdb_stdlog
);
721 target_ops::stopped_by_hw_breakpoint ()
723 return this->beneath ()->stopped_by_hw_breakpoint ();
727 dummy_target::stopped_by_hw_breakpoint ()
733 debug_target::stopped_by_hw_breakpoint ()
735 gdb_printf (gdb_stdlog
, "-> %s->stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
737 = this->beneath ()->stopped_by_hw_breakpoint ();
738 gdb_printf (gdb_stdlog
, "<- %s->stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
739 gdb_puts (") = ", gdb_stdlog
);
740 target_debug_print_bool (result
);
741 gdb_puts ("\n", gdb_stdlog
);
746 target_ops::supports_stopped_by_hw_breakpoint ()
748 return this->beneath ()->supports_stopped_by_hw_breakpoint ();
752 dummy_target::supports_stopped_by_hw_breakpoint ()
758 debug_target::supports_stopped_by_hw_breakpoint ()
760 gdb_printf (gdb_stdlog
, "-> %s->supports_stopped_by_hw_breakpoint (...)\n", this->beneath ()->shortname ());
762 = this->beneath ()->supports_stopped_by_hw_breakpoint ();
763 gdb_printf (gdb_stdlog
, "<- %s->supports_stopped_by_hw_breakpoint (", this->beneath ()->shortname ());
764 gdb_puts (") = ", gdb_stdlog
);
765 target_debug_print_bool (result
);
766 gdb_puts ("\n", gdb_stdlog
);
771 target_ops::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
773 return this->beneath ()->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
777 dummy_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
783 debug_target::can_use_hw_breakpoint (enum bptype arg0
, int arg1
, int arg2
)
785 gdb_printf (gdb_stdlog
, "-> %s->can_use_hw_breakpoint (...)\n", this->beneath ()->shortname ());
787 = this->beneath ()->can_use_hw_breakpoint (arg0
, arg1
, arg2
);
788 gdb_printf (gdb_stdlog
, "<- %s->can_use_hw_breakpoint (", this->beneath ()->shortname ());
789 target_debug_print_bptype (arg0
);
790 gdb_puts (", ", gdb_stdlog
);
791 target_debug_print_int (arg1
);
792 gdb_puts (", ", gdb_stdlog
);
793 target_debug_print_int (arg2
);
794 gdb_puts (") = ", gdb_stdlog
);
795 target_debug_print_int (result
);
796 gdb_puts ("\n", gdb_stdlog
);
801 target_ops::ranged_break_num_registers ()
803 return this->beneath ()->ranged_break_num_registers ();
807 dummy_target::ranged_break_num_registers ()
813 debug_target::ranged_break_num_registers ()
815 gdb_printf (gdb_stdlog
, "-> %s->ranged_break_num_registers (...)\n", this->beneath ()->shortname ());
817 = this->beneath ()->ranged_break_num_registers ();
818 gdb_printf (gdb_stdlog
, "<- %s->ranged_break_num_registers (", this->beneath ()->shortname ());
819 gdb_puts (") = ", gdb_stdlog
);
820 target_debug_print_int (result
);
821 gdb_puts ("\n", gdb_stdlog
);
826 target_ops::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
828 return this->beneath ()->insert_hw_breakpoint (arg0
, arg1
);
832 dummy_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
838 debug_target::insert_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
840 gdb_printf (gdb_stdlog
, "-> %s->insert_hw_breakpoint (...)\n", this->beneath ()->shortname ());
842 = this->beneath ()->insert_hw_breakpoint (arg0
, arg1
);
843 gdb_printf (gdb_stdlog
, "<- %s->insert_hw_breakpoint (", this->beneath ()->shortname ());
844 target_debug_print_gdbarch_p (arg0
);
845 gdb_puts (", ", gdb_stdlog
);
846 target_debug_print_bp_target_info_p (arg1
);
847 gdb_puts (") = ", gdb_stdlog
);
848 target_debug_print_int (result
);
849 gdb_puts ("\n", gdb_stdlog
);
854 target_ops::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
856 return this->beneath ()->remove_hw_breakpoint (arg0
, arg1
);
860 dummy_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
866 debug_target::remove_hw_breakpoint (struct gdbarch
*arg0
, struct bp_target_info
*arg1
)
868 gdb_printf (gdb_stdlog
, "-> %s->remove_hw_breakpoint (...)\n", this->beneath ()->shortname ());
870 = this->beneath ()->remove_hw_breakpoint (arg0
, arg1
);
871 gdb_printf (gdb_stdlog
, "<- %s->remove_hw_breakpoint (", this->beneath ()->shortname ());
872 target_debug_print_gdbarch_p (arg0
);
873 gdb_puts (", ", gdb_stdlog
);
874 target_debug_print_bp_target_info_p (arg1
);
875 gdb_puts (") = ", gdb_stdlog
);
876 target_debug_print_int (result
);
877 gdb_puts ("\n", gdb_stdlog
);
882 target_ops::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
884 return this->beneath ()->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
888 dummy_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
894 debug_target::remove_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
896 gdb_printf (gdb_stdlog
, "-> %s->remove_watchpoint (...)\n", this->beneath ()->shortname ());
898 = this->beneath ()->remove_watchpoint (arg0
, arg1
, arg2
, arg3
);
899 gdb_printf (gdb_stdlog
, "<- %s->remove_watchpoint (", this->beneath ()->shortname ());
900 target_debug_print_CORE_ADDR (arg0
);
901 gdb_puts (", ", gdb_stdlog
);
902 target_debug_print_int (arg1
);
903 gdb_puts (", ", gdb_stdlog
);
904 target_debug_print_target_hw_bp_type (arg2
);
905 gdb_puts (", ", gdb_stdlog
);
906 target_debug_print_expression_p (arg3
);
907 gdb_puts (") = ", gdb_stdlog
);
908 target_debug_print_int (result
);
909 gdb_puts ("\n", gdb_stdlog
);
914 target_ops::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
916 return this->beneath ()->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
920 dummy_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
926 debug_target::insert_watchpoint (CORE_ADDR arg0
, int arg1
, enum target_hw_bp_type arg2
, struct expression
*arg3
)
928 gdb_printf (gdb_stdlog
, "-> %s->insert_watchpoint (...)\n", this->beneath ()->shortname ());
930 = this->beneath ()->insert_watchpoint (arg0
, arg1
, arg2
, arg3
);
931 gdb_printf (gdb_stdlog
, "<- %s->insert_watchpoint (", this->beneath ()->shortname ());
932 target_debug_print_CORE_ADDR (arg0
);
933 gdb_puts (", ", gdb_stdlog
);
934 target_debug_print_int (arg1
);
935 gdb_puts (", ", gdb_stdlog
);
936 target_debug_print_target_hw_bp_type (arg2
);
937 gdb_puts (", ", gdb_stdlog
);
938 target_debug_print_expression_p (arg3
);
939 gdb_puts (") = ", gdb_stdlog
);
940 target_debug_print_int (result
);
941 gdb_puts ("\n", gdb_stdlog
);
946 target_ops::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
948 return this->beneath ()->insert_mask_watchpoint (arg0
, arg1
, arg2
);
952 dummy_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
958 debug_target::insert_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
960 gdb_printf (gdb_stdlog
, "-> %s->insert_mask_watchpoint (...)\n", this->beneath ()->shortname ());
962 = this->beneath ()->insert_mask_watchpoint (arg0
, arg1
, arg2
);
963 gdb_printf (gdb_stdlog
, "<- %s->insert_mask_watchpoint (", this->beneath ()->shortname ());
964 target_debug_print_CORE_ADDR (arg0
);
965 gdb_puts (", ", gdb_stdlog
);
966 target_debug_print_CORE_ADDR (arg1
);
967 gdb_puts (", ", gdb_stdlog
);
968 target_debug_print_target_hw_bp_type (arg2
);
969 gdb_puts (") = ", gdb_stdlog
);
970 target_debug_print_int (result
);
971 gdb_puts ("\n", gdb_stdlog
);
976 target_ops::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
978 return this->beneath ()->remove_mask_watchpoint (arg0
, arg1
, arg2
);
982 dummy_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
988 debug_target::remove_mask_watchpoint (CORE_ADDR arg0
, CORE_ADDR arg1
, enum target_hw_bp_type arg2
)
990 gdb_printf (gdb_stdlog
, "-> %s->remove_mask_watchpoint (...)\n", this->beneath ()->shortname ());
992 = this->beneath ()->remove_mask_watchpoint (arg0
, arg1
, arg2
);
993 gdb_printf (gdb_stdlog
, "<- %s->remove_mask_watchpoint (", this->beneath ()->shortname ());
994 target_debug_print_CORE_ADDR (arg0
);
995 gdb_puts (", ", gdb_stdlog
);
996 target_debug_print_CORE_ADDR (arg1
);
997 gdb_puts (", ", gdb_stdlog
);
998 target_debug_print_target_hw_bp_type (arg2
);
999 gdb_puts (") = ", gdb_stdlog
);
1000 target_debug_print_int (result
);
1001 gdb_puts ("\n", gdb_stdlog
);
1006 target_ops::stopped_by_watchpoint ()
1008 return this->beneath ()->stopped_by_watchpoint ();
1012 dummy_target::stopped_by_watchpoint ()
1018 debug_target::stopped_by_watchpoint ()
1020 gdb_printf (gdb_stdlog
, "-> %s->stopped_by_watchpoint (...)\n", this->beneath ()->shortname ());
1022 = this->beneath ()->stopped_by_watchpoint ();
1023 gdb_printf (gdb_stdlog
, "<- %s->stopped_by_watchpoint (", this->beneath ()->shortname ());
1024 gdb_puts (") = ", gdb_stdlog
);
1025 target_debug_print_bool (result
);
1026 gdb_puts ("\n", gdb_stdlog
);
1031 target_ops::have_steppable_watchpoint ()
1033 return this->beneath ()->have_steppable_watchpoint ();
1037 dummy_target::have_steppable_watchpoint ()
1043 debug_target::have_steppable_watchpoint ()
1045 gdb_printf (gdb_stdlog
, "-> %s->have_steppable_watchpoint (...)\n", this->beneath ()->shortname ());
1047 = this->beneath ()->have_steppable_watchpoint ();
1048 gdb_printf (gdb_stdlog
, "<- %s->have_steppable_watchpoint (", this->beneath ()->shortname ());
1049 gdb_puts (") = ", gdb_stdlog
);
1050 target_debug_print_bool (result
);
1051 gdb_puts ("\n", gdb_stdlog
);
1056 target_ops::stopped_data_address (CORE_ADDR
*arg0
)
1058 return this->beneath ()->stopped_data_address (arg0
);
1062 dummy_target::stopped_data_address (CORE_ADDR
*arg0
)
1068 debug_target::stopped_data_address (CORE_ADDR
*arg0
)
1070 gdb_printf (gdb_stdlog
, "-> %s->stopped_data_address (...)\n", this->beneath ()->shortname ());
1072 = this->beneath ()->stopped_data_address (arg0
);
1073 gdb_printf (gdb_stdlog
, "<- %s->stopped_data_address (", this->beneath ()->shortname ());
1074 target_debug_print_CORE_ADDR_p (arg0
);
1075 gdb_puts (") = ", gdb_stdlog
);
1076 target_debug_print_bool (result
);
1077 gdb_puts ("\n", gdb_stdlog
);
1082 target_ops::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1084 return this->beneath ()->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1088 dummy_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1090 return default_watchpoint_addr_within_range (this, arg0
, arg1
, arg2
);
1094 debug_target::watchpoint_addr_within_range (CORE_ADDR arg0
, CORE_ADDR arg1
, int arg2
)
1096 gdb_printf (gdb_stdlog
, "-> %s->watchpoint_addr_within_range (...)\n", this->beneath ()->shortname ());
1098 = this->beneath ()->watchpoint_addr_within_range (arg0
, arg1
, arg2
);
1099 gdb_printf (gdb_stdlog
, "<- %s->watchpoint_addr_within_range (", this->beneath ()->shortname ());
1100 target_debug_print_CORE_ADDR (arg0
);
1101 gdb_puts (", ", gdb_stdlog
);
1102 target_debug_print_CORE_ADDR (arg1
);
1103 gdb_puts (", ", gdb_stdlog
);
1104 target_debug_print_int (arg2
);
1105 gdb_puts (") = ", gdb_stdlog
);
1106 target_debug_print_bool (result
);
1107 gdb_puts ("\n", gdb_stdlog
);
1112 target_ops::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1114 return this->beneath ()->region_ok_for_hw_watchpoint (arg0
, arg1
);
1118 dummy_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1120 return default_region_ok_for_hw_watchpoint (this, arg0
, arg1
);
1124 debug_target::region_ok_for_hw_watchpoint (CORE_ADDR arg0
, int arg1
)
1126 gdb_printf (gdb_stdlog
, "-> %s->region_ok_for_hw_watchpoint (...)\n", this->beneath ()->shortname ());
1128 = this->beneath ()->region_ok_for_hw_watchpoint (arg0
, arg1
);
1129 gdb_printf (gdb_stdlog
, "<- %s->region_ok_for_hw_watchpoint (", this->beneath ()->shortname ());
1130 target_debug_print_CORE_ADDR (arg0
);
1131 gdb_puts (", ", gdb_stdlog
);
1132 target_debug_print_int (arg1
);
1133 gdb_puts (") = ", gdb_stdlog
);
1134 target_debug_print_int (result
);
1135 gdb_puts ("\n", gdb_stdlog
);
1140 target_ops::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1142 return this->beneath ()->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1146 dummy_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1152 debug_target::can_accel_watchpoint_condition (CORE_ADDR arg0
, int arg1
, int arg2
, struct expression
*arg3
)
1154 gdb_printf (gdb_stdlog
, "-> %s->can_accel_watchpoint_condition (...)\n", this->beneath ()->shortname ());
1156 = this->beneath ()->can_accel_watchpoint_condition (arg0
, arg1
, arg2
, arg3
);
1157 gdb_printf (gdb_stdlog
, "<- %s->can_accel_watchpoint_condition (", this->beneath ()->shortname ());
1158 target_debug_print_CORE_ADDR (arg0
);
1159 gdb_puts (", ", gdb_stdlog
);
1160 target_debug_print_int (arg1
);
1161 gdb_puts (", ", gdb_stdlog
);
1162 target_debug_print_int (arg2
);
1163 gdb_puts (", ", gdb_stdlog
);
1164 target_debug_print_expression_p (arg3
);
1165 gdb_puts (") = ", gdb_stdlog
);
1166 target_debug_print_bool (result
);
1167 gdb_puts ("\n", gdb_stdlog
);
1172 target_ops::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1174 return this->beneath ()->masked_watch_num_registers (arg0
, arg1
);
1178 dummy_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1184 debug_target::masked_watch_num_registers (CORE_ADDR arg0
, CORE_ADDR arg1
)
1186 gdb_printf (gdb_stdlog
, "-> %s->masked_watch_num_registers (...)\n", this->beneath ()->shortname ());
1188 = this->beneath ()->masked_watch_num_registers (arg0
, arg1
);
1189 gdb_printf (gdb_stdlog
, "<- %s->masked_watch_num_registers (", this->beneath ()->shortname ());
1190 target_debug_print_CORE_ADDR (arg0
);
1191 gdb_puts (", ", gdb_stdlog
);
1192 target_debug_print_CORE_ADDR (arg1
);
1193 gdb_puts (") = ", gdb_stdlog
);
1194 target_debug_print_int (result
);
1195 gdb_puts ("\n", gdb_stdlog
);
1200 target_ops::can_do_single_step ()
1202 return this->beneath ()->can_do_single_step ();
1206 dummy_target::can_do_single_step ()
1212 debug_target::can_do_single_step ()
1214 gdb_printf (gdb_stdlog
, "-> %s->can_do_single_step (...)\n", this->beneath ()->shortname ());
1216 = this->beneath ()->can_do_single_step ();
1217 gdb_printf (gdb_stdlog
, "<- %s->can_do_single_step (", this->beneath ()->shortname ());
1218 gdb_puts (") = ", gdb_stdlog
);
1219 target_debug_print_int (result
);
1220 gdb_puts ("\n", gdb_stdlog
);
1225 target_ops::supports_terminal_ours ()
1227 return this->beneath ()->supports_terminal_ours ();
1231 dummy_target::supports_terminal_ours ()
1237 debug_target::supports_terminal_ours ()
1239 gdb_printf (gdb_stdlog
, "-> %s->supports_terminal_ours (...)\n", this->beneath ()->shortname ());
1241 = this->beneath ()->supports_terminal_ours ();
1242 gdb_printf (gdb_stdlog
, "<- %s->supports_terminal_ours (", this->beneath ()->shortname ());
1243 gdb_puts (") = ", gdb_stdlog
);
1244 target_debug_print_bool (result
);
1245 gdb_puts ("\n", gdb_stdlog
);
1250 target_ops::terminal_init ()
1252 this->beneath ()->terminal_init ();
1256 dummy_target::terminal_init ()
1261 debug_target::terminal_init ()
1263 gdb_printf (gdb_stdlog
, "-> %s->terminal_init (...)\n", this->beneath ()->shortname ());
1264 this->beneath ()->terminal_init ();
1265 gdb_printf (gdb_stdlog
, "<- %s->terminal_init (", this->beneath ()->shortname ());
1266 gdb_puts (")\n", gdb_stdlog
);
1270 target_ops::terminal_inferior ()
1272 this->beneath ()->terminal_inferior ();
1276 dummy_target::terminal_inferior ()
1281 debug_target::terminal_inferior ()
1283 gdb_printf (gdb_stdlog
, "-> %s->terminal_inferior (...)\n", this->beneath ()->shortname ());
1284 this->beneath ()->terminal_inferior ();
1285 gdb_printf (gdb_stdlog
, "<- %s->terminal_inferior (", this->beneath ()->shortname ());
1286 gdb_puts (")\n", gdb_stdlog
);
1290 target_ops::terminal_save_inferior ()
1292 this->beneath ()->terminal_save_inferior ();
1296 dummy_target::terminal_save_inferior ()
1301 debug_target::terminal_save_inferior ()
1303 gdb_printf (gdb_stdlog
, "-> %s->terminal_save_inferior (...)\n", this->beneath ()->shortname ());
1304 this->beneath ()->terminal_save_inferior ();
1305 gdb_printf (gdb_stdlog
, "<- %s->terminal_save_inferior (", this->beneath ()->shortname ());
1306 gdb_puts (")\n", gdb_stdlog
);
1310 target_ops::terminal_ours_for_output ()
1312 this->beneath ()->terminal_ours_for_output ();
1316 dummy_target::terminal_ours_for_output ()
1321 debug_target::terminal_ours_for_output ()
1323 gdb_printf (gdb_stdlog
, "-> %s->terminal_ours_for_output (...)\n", this->beneath ()->shortname ());
1324 this->beneath ()->terminal_ours_for_output ();
1325 gdb_printf (gdb_stdlog
, "<- %s->terminal_ours_for_output (", this->beneath ()->shortname ());
1326 gdb_puts (")\n", gdb_stdlog
);
1330 target_ops::terminal_ours ()
1332 this->beneath ()->terminal_ours ();
1336 dummy_target::terminal_ours ()
1341 debug_target::terminal_ours ()
1343 gdb_printf (gdb_stdlog
, "-> %s->terminal_ours (...)\n", this->beneath ()->shortname ());
1344 this->beneath ()->terminal_ours ();
1345 gdb_printf (gdb_stdlog
, "<- %s->terminal_ours (", this->beneath ()->shortname ());
1346 gdb_puts (")\n", gdb_stdlog
);
1350 target_ops::terminal_info (const char *arg0
, int arg1
)
1352 this->beneath ()->terminal_info (arg0
, arg1
);
1356 dummy_target::terminal_info (const char *arg0
, int arg1
)
1358 default_terminal_info (this, arg0
, arg1
);
1362 debug_target::terminal_info (const char *arg0
, int arg1
)
1364 gdb_printf (gdb_stdlog
, "-> %s->terminal_info (...)\n", this->beneath ()->shortname ());
1365 this->beneath ()->terminal_info (arg0
, arg1
);
1366 gdb_printf (gdb_stdlog
, "<- %s->terminal_info (", this->beneath ()->shortname ());
1367 target_debug_print_const_char_p (arg0
);
1368 gdb_puts (", ", gdb_stdlog
);
1369 target_debug_print_int (arg1
);
1370 gdb_puts (")\n", gdb_stdlog
);
1376 this->beneath ()->kill ();
1380 dummy_target::kill ()
1386 debug_target::kill ()
1388 gdb_printf (gdb_stdlog
, "-> %s->kill (...)\n", this->beneath ()->shortname ());
1389 this->beneath ()->kill ();
1390 gdb_printf (gdb_stdlog
, "<- %s->kill (", this->beneath ()->shortname ());
1391 gdb_puts (")\n", gdb_stdlog
);
1395 target_ops::load (const char *arg0
, int arg1
)
1397 this->beneath ()->load (arg0
, arg1
);
1401 dummy_target::load (const char *arg0
, int arg1
)
1407 debug_target::load (const char *arg0
, int arg1
)
1409 gdb_printf (gdb_stdlog
, "-> %s->load (...)\n", this->beneath ()->shortname ());
1410 this->beneath ()->load (arg0
, arg1
);
1411 gdb_printf (gdb_stdlog
, "<- %s->load (", this->beneath ()->shortname ());
1412 target_debug_print_const_char_p (arg0
);
1413 gdb_puts (", ", gdb_stdlog
);
1414 target_debug_print_int (arg1
);
1415 gdb_puts (")\n", gdb_stdlog
);
1419 target_ops::insert_fork_catchpoint (int arg0
)
1421 return this->beneath ()->insert_fork_catchpoint (arg0
);
1425 dummy_target::insert_fork_catchpoint (int arg0
)
1431 debug_target::insert_fork_catchpoint (int arg0
)
1433 gdb_printf (gdb_stdlog
, "-> %s->insert_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1435 = this->beneath ()->insert_fork_catchpoint (arg0
);
1436 gdb_printf (gdb_stdlog
, "<- %s->insert_fork_catchpoint (", this->beneath ()->shortname ());
1437 target_debug_print_int (arg0
);
1438 gdb_puts (") = ", gdb_stdlog
);
1439 target_debug_print_int (result
);
1440 gdb_puts ("\n", gdb_stdlog
);
1445 target_ops::remove_fork_catchpoint (int arg0
)
1447 return this->beneath ()->remove_fork_catchpoint (arg0
);
1451 dummy_target::remove_fork_catchpoint (int arg0
)
1457 debug_target::remove_fork_catchpoint (int arg0
)
1459 gdb_printf (gdb_stdlog
, "-> %s->remove_fork_catchpoint (...)\n", this->beneath ()->shortname ());
1461 = this->beneath ()->remove_fork_catchpoint (arg0
);
1462 gdb_printf (gdb_stdlog
, "<- %s->remove_fork_catchpoint (", this->beneath ()->shortname ());
1463 target_debug_print_int (arg0
);
1464 gdb_puts (") = ", gdb_stdlog
);
1465 target_debug_print_int (result
);
1466 gdb_puts ("\n", gdb_stdlog
);
1471 target_ops::insert_vfork_catchpoint (int arg0
)
1473 return this->beneath ()->insert_vfork_catchpoint (arg0
);
1477 dummy_target::insert_vfork_catchpoint (int arg0
)
1483 debug_target::insert_vfork_catchpoint (int arg0
)
1485 gdb_printf (gdb_stdlog
, "-> %s->insert_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1487 = this->beneath ()->insert_vfork_catchpoint (arg0
);
1488 gdb_printf (gdb_stdlog
, "<- %s->insert_vfork_catchpoint (", this->beneath ()->shortname ());
1489 target_debug_print_int (arg0
);
1490 gdb_puts (") = ", gdb_stdlog
);
1491 target_debug_print_int (result
);
1492 gdb_puts ("\n", gdb_stdlog
);
1497 target_ops::remove_vfork_catchpoint (int arg0
)
1499 return this->beneath ()->remove_vfork_catchpoint (arg0
);
1503 dummy_target::remove_vfork_catchpoint (int arg0
)
1509 debug_target::remove_vfork_catchpoint (int arg0
)
1511 gdb_printf (gdb_stdlog
, "-> %s->remove_vfork_catchpoint (...)\n", this->beneath ()->shortname ());
1513 = this->beneath ()->remove_vfork_catchpoint (arg0
);
1514 gdb_printf (gdb_stdlog
, "<- %s->remove_vfork_catchpoint (", this->beneath ()->shortname ());
1515 target_debug_print_int (arg0
);
1516 gdb_puts (") = ", gdb_stdlog
);
1517 target_debug_print_int (result
);
1518 gdb_puts ("\n", gdb_stdlog
);
1523 target_ops::follow_fork (inferior
*arg0
, ptid_t arg1
, target_waitkind arg2
, bool arg3
, bool arg4
)
1525 this->beneath ()->follow_fork (arg0
, arg1
, arg2
, arg3
, arg4
);
1529 dummy_target::follow_fork (inferior
*arg0
, ptid_t arg1
, target_waitkind arg2
, bool arg3
, bool arg4
)
1531 default_follow_fork (this, arg0
, arg1
, arg2
, arg3
, arg4
);
1535 debug_target::follow_fork (inferior
*arg0
, ptid_t arg1
, target_waitkind arg2
, bool arg3
, bool arg4
)
1537 gdb_printf (gdb_stdlog
, "-> %s->follow_fork (...)\n", this->beneath ()->shortname ());
1538 this->beneath ()->follow_fork (arg0
, arg1
, arg2
, arg3
, arg4
);
1539 gdb_printf (gdb_stdlog
, "<- %s->follow_fork (", this->beneath ()->shortname ());
1540 target_debug_print_inferior_p (arg0
);
1541 gdb_puts (", ", gdb_stdlog
);
1542 target_debug_print_ptid_t (arg1
);
1543 gdb_puts (", ", gdb_stdlog
);
1544 target_debug_print_target_waitkind (arg2
);
1545 gdb_puts (", ", gdb_stdlog
);
1546 target_debug_print_bool (arg3
);
1547 gdb_puts (", ", gdb_stdlog
);
1548 target_debug_print_bool (arg4
);
1549 gdb_puts (")\n", gdb_stdlog
);
1553 target_ops::follow_clone (ptid_t arg0
)
1555 this->beneath ()->follow_clone (arg0
);
1559 dummy_target::follow_clone (ptid_t arg0
)
1561 default_follow_clone (this, arg0
);
1565 debug_target::follow_clone (ptid_t arg0
)
1567 gdb_printf (gdb_stdlog
, "-> %s->follow_clone (...)\n", this->beneath ()->shortname ());
1568 this->beneath ()->follow_clone (arg0
);
1569 gdb_printf (gdb_stdlog
, "<- %s->follow_clone (", this->beneath ()->shortname ());
1570 target_debug_print_ptid_t (arg0
);
1571 gdb_puts (")\n", gdb_stdlog
);
1575 target_ops::insert_exec_catchpoint (int arg0
)
1577 return this->beneath ()->insert_exec_catchpoint (arg0
);
1581 dummy_target::insert_exec_catchpoint (int arg0
)
1587 debug_target::insert_exec_catchpoint (int arg0
)
1589 gdb_printf (gdb_stdlog
, "-> %s->insert_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1591 = this->beneath ()->insert_exec_catchpoint (arg0
);
1592 gdb_printf (gdb_stdlog
, "<- %s->insert_exec_catchpoint (", this->beneath ()->shortname ());
1593 target_debug_print_int (arg0
);
1594 gdb_puts (") = ", gdb_stdlog
);
1595 target_debug_print_int (result
);
1596 gdb_puts ("\n", gdb_stdlog
);
1601 target_ops::remove_exec_catchpoint (int arg0
)
1603 return this->beneath ()->remove_exec_catchpoint (arg0
);
1607 dummy_target::remove_exec_catchpoint (int arg0
)
1613 debug_target::remove_exec_catchpoint (int arg0
)
1615 gdb_printf (gdb_stdlog
, "-> %s->remove_exec_catchpoint (...)\n", this->beneath ()->shortname ());
1617 = this->beneath ()->remove_exec_catchpoint (arg0
);
1618 gdb_printf (gdb_stdlog
, "<- %s->remove_exec_catchpoint (", this->beneath ()->shortname ());
1619 target_debug_print_int (arg0
);
1620 gdb_puts (") = ", gdb_stdlog
);
1621 target_debug_print_int (result
);
1622 gdb_puts ("\n", gdb_stdlog
);
1627 target_ops::follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
)
1629 this->beneath ()->follow_exec (arg0
, arg1
, arg2
);
1633 dummy_target::follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
)
1638 debug_target::follow_exec (inferior
*arg0
, ptid_t arg1
, const char *arg2
)
1640 gdb_printf (gdb_stdlog
, "-> %s->follow_exec (...)\n", this->beneath ()->shortname ());
1641 this->beneath ()->follow_exec (arg0
, arg1
, arg2
);
1642 gdb_printf (gdb_stdlog
, "<- %s->follow_exec (", this->beneath ()->shortname ());
1643 target_debug_print_inferior_p (arg0
);
1644 gdb_puts (", ", gdb_stdlog
);
1645 target_debug_print_ptid_t (arg1
);
1646 gdb_puts (", ", gdb_stdlog
);
1647 target_debug_print_const_char_p (arg2
);
1648 gdb_puts (")\n", gdb_stdlog
);
1652 target_ops::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1654 return this->beneath ()->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1658 dummy_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1664 debug_target::set_syscall_catchpoint (int arg0
, bool arg1
, int arg2
, gdb::array_view
<const int> arg3
)
1666 gdb_printf (gdb_stdlog
, "-> %s->set_syscall_catchpoint (...)\n", this->beneath ()->shortname ());
1668 = this->beneath ()->set_syscall_catchpoint (arg0
, arg1
, arg2
, arg3
);
1669 gdb_printf (gdb_stdlog
, "<- %s->set_syscall_catchpoint (", this->beneath ()->shortname ());
1670 target_debug_print_int (arg0
);
1671 gdb_puts (", ", gdb_stdlog
);
1672 target_debug_print_bool (arg1
);
1673 gdb_puts (", ", gdb_stdlog
);
1674 target_debug_print_int (arg2
);
1675 gdb_puts (", ", gdb_stdlog
);
1676 target_debug_print_gdb_array_view_const_int (arg3
);
1677 gdb_puts (") = ", gdb_stdlog
);
1678 target_debug_print_int (result
);
1679 gdb_puts ("\n", gdb_stdlog
);
1684 target_ops::mourn_inferior ()
1686 this->beneath ()->mourn_inferior ();
1690 dummy_target::mourn_inferior ()
1692 default_mourn_inferior (this);
1696 debug_target::mourn_inferior ()
1698 gdb_printf (gdb_stdlog
, "-> %s->mourn_inferior (...)\n", this->beneath ()->shortname ());
1699 this->beneath ()->mourn_inferior ();
1700 gdb_printf (gdb_stdlog
, "<- %s->mourn_inferior (", this->beneath ()->shortname ());
1701 gdb_puts (")\n", gdb_stdlog
);
1705 target_ops::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1707 this->beneath ()->pass_signals (arg0
);
1711 dummy_target::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1716 debug_target::pass_signals (gdb::array_view
<const unsigned char> arg0
)
1718 gdb_printf (gdb_stdlog
, "-> %s->pass_signals (...)\n", this->beneath ()->shortname ());
1719 this->beneath ()->pass_signals (arg0
);
1720 gdb_printf (gdb_stdlog
, "<- %s->pass_signals (", this->beneath ()->shortname ());
1721 target_debug_print_signals (arg0
);
1722 gdb_puts (")\n", gdb_stdlog
);
1726 target_ops::program_signals (gdb::array_view
<const unsigned char> arg0
)
1728 this->beneath ()->program_signals (arg0
);
1732 dummy_target::program_signals (gdb::array_view
<const unsigned char> arg0
)
1737 debug_target::program_signals (gdb::array_view
<const unsigned char> arg0
)
1739 gdb_printf (gdb_stdlog
, "-> %s->program_signals (...)\n", this->beneath ()->shortname ());
1740 this->beneath ()->program_signals (arg0
);
1741 gdb_printf (gdb_stdlog
, "<- %s->program_signals (", this->beneath ()->shortname ());
1742 target_debug_print_signals (arg0
);
1743 gdb_puts (")\n", gdb_stdlog
);
1747 target_ops::thread_alive (ptid_t arg0
)
1749 return this->beneath ()->thread_alive (arg0
);
1753 dummy_target::thread_alive (ptid_t arg0
)
1759 debug_target::thread_alive (ptid_t arg0
)
1761 gdb_printf (gdb_stdlog
, "-> %s->thread_alive (...)\n", this->beneath ()->shortname ());
1763 = this->beneath ()->thread_alive (arg0
);
1764 gdb_printf (gdb_stdlog
, "<- %s->thread_alive (", this->beneath ()->shortname ());
1765 target_debug_print_ptid_t (arg0
);
1766 gdb_puts (") = ", gdb_stdlog
);
1767 target_debug_print_bool (result
);
1768 gdb_puts ("\n", gdb_stdlog
);
1773 target_ops::update_thread_list ()
1775 this->beneath ()->update_thread_list ();
1779 dummy_target::update_thread_list ()
1784 debug_target::update_thread_list ()
1786 gdb_printf (gdb_stdlog
, "-> %s->update_thread_list (...)\n", this->beneath ()->shortname ());
1787 this->beneath ()->update_thread_list ();
1788 gdb_printf (gdb_stdlog
, "<- %s->update_thread_list (", this->beneath ()->shortname ());
1789 gdb_puts (")\n", gdb_stdlog
);
1793 target_ops::pid_to_str (ptid_t arg0
)
1795 return this->beneath ()->pid_to_str (arg0
);
1799 dummy_target::pid_to_str (ptid_t arg0
)
1801 return default_pid_to_str (this, arg0
);
1805 debug_target::pid_to_str (ptid_t arg0
)
1807 gdb_printf (gdb_stdlog
, "-> %s->pid_to_str (...)\n", this->beneath ()->shortname ());
1809 = this->beneath ()->pid_to_str (arg0
);
1810 gdb_printf (gdb_stdlog
, "<- %s->pid_to_str (", this->beneath ()->shortname ());
1811 target_debug_print_ptid_t (arg0
);
1812 gdb_puts (") = ", gdb_stdlog
);
1813 target_debug_print_std_string (result
);
1814 gdb_puts ("\n", gdb_stdlog
);
1819 target_ops::extra_thread_info (thread_info
*arg0
)
1821 return this->beneath ()->extra_thread_info (arg0
);
1825 dummy_target::extra_thread_info (thread_info
*arg0
)
1831 debug_target::extra_thread_info (thread_info
*arg0
)
1833 gdb_printf (gdb_stdlog
, "-> %s->extra_thread_info (...)\n", this->beneath ()->shortname ());
1835 = this->beneath ()->extra_thread_info (arg0
);
1836 gdb_printf (gdb_stdlog
, "<- %s->extra_thread_info (", this->beneath ()->shortname ());
1837 target_debug_print_thread_info_p (arg0
);
1838 gdb_puts (") = ", gdb_stdlog
);
1839 target_debug_print_const_char_p (result
);
1840 gdb_puts ("\n", gdb_stdlog
);
1845 target_ops::thread_name (thread_info
*arg0
)
1847 return this->beneath ()->thread_name (arg0
);
1851 dummy_target::thread_name (thread_info
*arg0
)
1857 debug_target::thread_name (thread_info
*arg0
)
1859 gdb_printf (gdb_stdlog
, "-> %s->thread_name (...)\n", this->beneath ()->shortname ());
1861 = this->beneath ()->thread_name (arg0
);
1862 gdb_printf (gdb_stdlog
, "<- %s->thread_name (", this->beneath ()->shortname ());
1863 target_debug_print_thread_info_p (arg0
);
1864 gdb_puts (") = ", gdb_stdlog
);
1865 target_debug_print_const_char_p (result
);
1866 gdb_puts ("\n", gdb_stdlog
);
1871 target_ops::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1873 return this->beneath ()->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1877 dummy_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1883 debug_target::thread_handle_to_thread_info (const gdb_byte
*arg0
, int arg1
, inferior
*arg2
)
1885 gdb_printf (gdb_stdlog
, "-> %s->thread_handle_to_thread_info (...)\n", this->beneath ()->shortname ());
1886 thread_info
* result
1887 = this->beneath ()->thread_handle_to_thread_info (arg0
, arg1
, arg2
);
1888 gdb_printf (gdb_stdlog
, "<- %s->thread_handle_to_thread_info (", this->beneath ()->shortname ());
1889 target_debug_print_const_gdb_byte_p (arg0
);
1890 gdb_puts (", ", gdb_stdlog
);
1891 target_debug_print_int (arg1
);
1892 gdb_puts (", ", gdb_stdlog
);
1893 target_debug_print_inferior_p (arg2
);
1894 gdb_puts (") = ", gdb_stdlog
);
1895 target_debug_print_thread_info_p (result
);
1896 gdb_puts ("\n", gdb_stdlog
);
1900 gdb::array_view
<const_gdb_byte
>
1901 target_ops::thread_info_to_thread_handle (struct thread_info
*arg0
)
1903 return this->beneath ()->thread_info_to_thread_handle (arg0
);
1906 gdb::array_view
<const_gdb_byte
>
1907 dummy_target::thread_info_to_thread_handle (struct thread_info
*arg0
)
1909 return gdb::array_view
<const gdb_byte
> ();
1912 gdb::array_view
<const_gdb_byte
>
1913 debug_target::thread_info_to_thread_handle (struct thread_info
*arg0
)
1915 gdb_printf (gdb_stdlog
, "-> %s->thread_info_to_thread_handle (...)\n", this->beneath ()->shortname ());
1916 gdb::array_view
<const_gdb_byte
> result
1917 = this->beneath ()->thread_info_to_thread_handle (arg0
);
1918 gdb_printf (gdb_stdlog
, "<- %s->thread_info_to_thread_handle (", this->beneath ()->shortname ());
1919 target_debug_print_thread_info_p (arg0
);
1920 gdb_puts (") = ", gdb_stdlog
);
1921 target_debug_print_gdb_array_view_const_gdb_byte (result
);
1922 gdb_puts ("\n", gdb_stdlog
);
1927 target_ops::stop (ptid_t arg0
)
1929 this->beneath ()->stop (arg0
);
1933 dummy_target::stop (ptid_t arg0
)
1938 debug_target::stop (ptid_t arg0
)
1940 gdb_printf (gdb_stdlog
, "-> %s->stop (...)\n", this->beneath ()->shortname ());
1941 this->beneath ()->stop (arg0
);
1942 gdb_printf (gdb_stdlog
, "<- %s->stop (", this->beneath ()->shortname ());
1943 target_debug_print_ptid_t (arg0
);
1944 gdb_puts (")\n", gdb_stdlog
);
1948 target_ops::interrupt ()
1950 this->beneath ()->interrupt ();
1954 dummy_target::interrupt ()
1959 debug_target::interrupt ()
1961 gdb_printf (gdb_stdlog
, "-> %s->interrupt (...)\n", this->beneath ()->shortname ());
1962 this->beneath ()->interrupt ();
1963 gdb_printf (gdb_stdlog
, "<- %s->interrupt (", this->beneath ()->shortname ());
1964 gdb_puts (")\n", gdb_stdlog
);
1968 target_ops::pass_ctrlc ()
1970 this->beneath ()->pass_ctrlc ();
1974 dummy_target::pass_ctrlc ()
1976 default_target_pass_ctrlc (this);
1980 debug_target::pass_ctrlc ()
1982 gdb_printf (gdb_stdlog
, "-> %s->pass_ctrlc (...)\n", this->beneath ()->shortname ());
1983 this->beneath ()->pass_ctrlc ();
1984 gdb_printf (gdb_stdlog
, "<- %s->pass_ctrlc (", this->beneath ()->shortname ());
1985 gdb_puts (")\n", gdb_stdlog
);
1989 target_ops::rcmd (const char *arg0
, struct ui_file
*arg1
)
1991 this->beneath ()->rcmd (arg0
, arg1
);
1995 dummy_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
1997 default_rcmd (this, arg0
, arg1
);
2001 debug_target::rcmd (const char *arg0
, struct ui_file
*arg1
)
2003 gdb_printf (gdb_stdlog
, "-> %s->rcmd (...)\n", this->beneath ()->shortname ());
2004 this->beneath ()->rcmd (arg0
, arg1
);
2005 gdb_printf (gdb_stdlog
, "<- %s->rcmd (", this->beneath ()->shortname ());
2006 target_debug_print_const_char_p (arg0
);
2007 gdb_puts (", ", gdb_stdlog
);
2008 target_debug_print_ui_file_p (arg1
);
2009 gdb_puts (")\n", gdb_stdlog
);
2013 target_ops::pid_to_exec_file (int arg0
)
2015 return this->beneath ()->pid_to_exec_file (arg0
);
2019 dummy_target::pid_to_exec_file (int arg0
)
2025 debug_target::pid_to_exec_file (int arg0
)
2027 gdb_printf (gdb_stdlog
, "-> %s->pid_to_exec_file (...)\n", this->beneath ()->shortname ());
2029 = this->beneath ()->pid_to_exec_file (arg0
);
2030 gdb_printf (gdb_stdlog
, "<- %s->pid_to_exec_file (", this->beneath ()->shortname ());
2031 target_debug_print_int (arg0
);
2032 gdb_puts (") = ", gdb_stdlog
);
2033 target_debug_print_const_char_p (result
);
2034 gdb_puts ("\n", gdb_stdlog
);
2039 target_ops::log_command (const char *arg0
)
2041 this->beneath ()->log_command (arg0
);
2045 dummy_target::log_command (const char *arg0
)
2050 debug_target::log_command (const char *arg0
)
2052 gdb_printf (gdb_stdlog
, "-> %s->log_command (...)\n", this->beneath ()->shortname ());
2053 this->beneath ()->log_command (arg0
);
2054 gdb_printf (gdb_stdlog
, "<- %s->log_command (", this->beneath ()->shortname ());
2055 target_debug_print_const_char_p (arg0
);
2056 gdb_puts (")\n", gdb_stdlog
);
2059 const std::vector
<target_section
> *
2060 target_ops::get_section_table ()
2062 return this->beneath ()->get_section_table ();
2065 const std::vector
<target_section
> *
2066 dummy_target::get_section_table ()
2068 return default_get_section_table ();
2071 const std::vector
<target_section
> *
2072 debug_target::get_section_table ()
2074 gdb_printf (gdb_stdlog
, "-> %s->get_section_table (...)\n", this->beneath ()->shortname ());
2075 const std::vector
<target_section
> * result
2076 = this->beneath ()->get_section_table ();
2077 gdb_printf (gdb_stdlog
, "<- %s->get_section_table (", this->beneath ()->shortname ());
2078 gdb_puts (") = ", gdb_stdlog
);
2079 target_debug_print_const_std_vector_target_section_p (result
);
2080 gdb_puts ("\n", gdb_stdlog
);
2084 thread_control_capabilities
2085 target_ops::get_thread_control_capabilities ()
2087 return this->beneath ()->get_thread_control_capabilities ();
2090 thread_control_capabilities
2091 dummy_target::get_thread_control_capabilities ()
2096 thread_control_capabilities
2097 debug_target::get_thread_control_capabilities ()
2099 gdb_printf (gdb_stdlog
, "-> %s->get_thread_control_capabilities (...)\n", this->beneath ()->shortname ());
2100 thread_control_capabilities result
2101 = this->beneath ()->get_thread_control_capabilities ();
2102 gdb_printf (gdb_stdlog
, "<- %s->get_thread_control_capabilities (", this->beneath ()->shortname ());
2103 gdb_puts (") = ", gdb_stdlog
);
2104 target_debug_print_thread_control_capabilities (result
);
2105 gdb_puts ("\n", gdb_stdlog
);
2110 target_ops::attach_no_wait ()
2112 return this->beneath ()->attach_no_wait ();
2116 dummy_target::attach_no_wait ()
2122 debug_target::attach_no_wait ()
2124 gdb_printf (gdb_stdlog
, "-> %s->attach_no_wait (...)\n", this->beneath ()->shortname ());
2126 = this->beneath ()->attach_no_wait ();
2127 gdb_printf (gdb_stdlog
, "<- %s->attach_no_wait (", this->beneath ()->shortname ());
2128 gdb_puts (") = ", gdb_stdlog
);
2129 target_debug_print_bool (result
);
2130 gdb_puts ("\n", gdb_stdlog
);
2135 target_ops::can_async_p ()
2137 return this->beneath ()->can_async_p ();
2141 dummy_target::can_async_p ()
2147 debug_target::can_async_p ()
2149 gdb_printf (gdb_stdlog
, "-> %s->can_async_p (...)\n", this->beneath ()->shortname ());
2151 = this->beneath ()->can_async_p ();
2152 gdb_printf (gdb_stdlog
, "<- %s->can_async_p (", this->beneath ()->shortname ());
2153 gdb_puts (") = ", gdb_stdlog
);
2154 target_debug_print_bool (result
);
2155 gdb_puts ("\n", gdb_stdlog
);
2160 target_ops::is_async_p ()
2162 return this->beneath ()->is_async_p ();
2166 dummy_target::is_async_p ()
2172 debug_target::is_async_p ()
2174 gdb_printf (gdb_stdlog
, "-> %s->is_async_p (...)\n", this->beneath ()->shortname ());
2176 = this->beneath ()->is_async_p ();
2177 gdb_printf (gdb_stdlog
, "<- %s->is_async_p (", this->beneath ()->shortname ());
2178 gdb_puts (") = ", gdb_stdlog
);
2179 target_debug_print_bool (result
);
2180 gdb_puts ("\n", gdb_stdlog
);
2185 target_ops::async (bool arg0
)
2187 this->beneath ()->async (arg0
);
2191 dummy_target::async (bool arg0
)
2197 debug_target::async (bool arg0
)
2199 gdb_printf (gdb_stdlog
, "-> %s->async (...)\n", this->beneath ()->shortname ());
2200 this->beneath ()->async (arg0
);
2201 gdb_printf (gdb_stdlog
, "<- %s->async (", this->beneath ()->shortname ());
2202 target_debug_print_bool (arg0
);
2203 gdb_puts (")\n", gdb_stdlog
);
2207 target_ops::async_wait_fd ()
2209 return this->beneath ()->async_wait_fd ();
2213 dummy_target::async_wait_fd ()
2219 debug_target::async_wait_fd ()
2221 gdb_printf (gdb_stdlog
, "-> %s->async_wait_fd (...)\n", this->beneath ()->shortname ());
2223 = this->beneath ()->async_wait_fd ();
2224 gdb_printf (gdb_stdlog
, "<- %s->async_wait_fd (", this->beneath ()->shortname ());
2225 gdb_puts (") = ", gdb_stdlog
);
2226 target_debug_print_int (result
);
2227 gdb_puts ("\n", gdb_stdlog
);
2232 target_ops::has_pending_events ()
2234 return this->beneath ()->has_pending_events ();
2238 dummy_target::has_pending_events ()
2244 debug_target::has_pending_events ()
2246 gdb_printf (gdb_stdlog
, "-> %s->has_pending_events (...)\n", this->beneath ()->shortname ());
2248 = this->beneath ()->has_pending_events ();
2249 gdb_printf (gdb_stdlog
, "<- %s->has_pending_events (", this->beneath ()->shortname ());
2250 gdb_puts (") = ", gdb_stdlog
);
2251 target_debug_print_bool (result
);
2252 gdb_puts ("\n", gdb_stdlog
);
2257 target_ops::thread_events (int arg0
)
2259 this->beneath ()->thread_events (arg0
);
2263 dummy_target::thread_events (int arg0
)
2268 debug_target::thread_events (int arg0
)
2270 gdb_printf (gdb_stdlog
, "-> %s->thread_events (...)\n", this->beneath ()->shortname ());
2271 this->beneath ()->thread_events (arg0
);
2272 gdb_printf (gdb_stdlog
, "<- %s->thread_events (", this->beneath ()->shortname ());
2273 target_debug_print_int (arg0
);
2274 gdb_puts (")\n", gdb_stdlog
);
2278 target_ops::supports_set_thread_options (gdb_thread_options arg0
)
2280 return this->beneath ()->supports_set_thread_options (arg0
);
2284 dummy_target::supports_set_thread_options (gdb_thread_options arg0
)
2290 debug_target::supports_set_thread_options (gdb_thread_options arg0
)
2292 gdb_printf (gdb_stdlog
, "-> %s->supports_set_thread_options (...)\n", this->beneath ()->shortname ());
2294 = this->beneath ()->supports_set_thread_options (arg0
);
2295 gdb_printf (gdb_stdlog
, "<- %s->supports_set_thread_options (", this->beneath ()->shortname ());
2296 target_debug_print_gdb_thread_options (arg0
);
2297 gdb_puts (") = ", gdb_stdlog
);
2298 target_debug_print_bool (result
);
2299 gdb_puts ("\n", gdb_stdlog
);
2304 target_ops::supports_non_stop ()
2306 return this->beneath ()->supports_non_stop ();
2310 dummy_target::supports_non_stop ()
2316 debug_target::supports_non_stop ()
2318 gdb_printf (gdb_stdlog
, "-> %s->supports_non_stop (...)\n", this->beneath ()->shortname ());
2320 = this->beneath ()->supports_non_stop ();
2321 gdb_printf (gdb_stdlog
, "<- %s->supports_non_stop (", this->beneath ()->shortname ());
2322 gdb_puts (") = ", gdb_stdlog
);
2323 target_debug_print_bool (result
);
2324 gdb_puts ("\n", gdb_stdlog
);
2329 target_ops::always_non_stop_p ()
2331 return this->beneath ()->always_non_stop_p ();
2335 dummy_target::always_non_stop_p ()
2341 debug_target::always_non_stop_p ()
2343 gdb_printf (gdb_stdlog
, "-> %s->always_non_stop_p (...)\n", this->beneath ()->shortname ());
2345 = this->beneath ()->always_non_stop_p ();
2346 gdb_printf (gdb_stdlog
, "<- %s->always_non_stop_p (", this->beneath ()->shortname ());
2347 gdb_puts (") = ", gdb_stdlog
);
2348 target_debug_print_bool (result
);
2349 gdb_puts ("\n", gdb_stdlog
);
2354 target_ops::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2356 return this->beneath ()->find_memory_regions (arg0
, arg1
);
2360 dummy_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2362 return dummy_find_memory_regions (this, arg0
, arg1
);
2366 debug_target::find_memory_regions (find_memory_region_ftype arg0
, void *arg1
)
2368 gdb_printf (gdb_stdlog
, "-> %s->find_memory_regions (...)\n", this->beneath ()->shortname ());
2370 = this->beneath ()->find_memory_regions (arg0
, arg1
);
2371 gdb_printf (gdb_stdlog
, "<- %s->find_memory_regions (", this->beneath ()->shortname ());
2372 target_debug_print_find_memory_region_ftype (arg0
);
2373 gdb_puts (", ", gdb_stdlog
);
2374 target_debug_print_void_p (arg1
);
2375 gdb_puts (") = ", gdb_stdlog
);
2376 target_debug_print_int (result
);
2377 gdb_puts ("\n", gdb_stdlog
);
2381 gdb::unique_xmalloc_ptr
<char>
2382 target_ops::make_corefile_notes (bfd
*arg0
, int *arg1
)
2384 return this->beneath ()->make_corefile_notes (arg0
, arg1
);
2387 gdb::unique_xmalloc_ptr
<char>
2388 dummy_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2390 return dummy_make_corefile_notes (this, arg0
, arg1
);
2393 gdb::unique_xmalloc_ptr
<char>
2394 debug_target::make_corefile_notes (bfd
*arg0
, int *arg1
)
2396 gdb_printf (gdb_stdlog
, "-> %s->make_corefile_notes (...)\n", this->beneath ()->shortname ());
2397 gdb::unique_xmalloc_ptr
<char> result
2398 = this->beneath ()->make_corefile_notes (arg0
, arg1
);
2399 gdb_printf (gdb_stdlog
, "<- %s->make_corefile_notes (", this->beneath ()->shortname ());
2400 target_debug_print_bfd_p (arg0
);
2401 gdb_puts (", ", gdb_stdlog
);
2402 target_debug_print_int_p (arg1
);
2403 gdb_puts (") = ", gdb_stdlog
);
2404 target_debug_print_gdb_unique_xmalloc_ptr_char (result
);
2405 gdb_puts ("\n", gdb_stdlog
);
2410 target_ops::get_bookmark (const char *arg0
, int arg1
)
2412 return this->beneath ()->get_bookmark (arg0
, arg1
);
2416 dummy_target::get_bookmark (const char *arg0
, int arg1
)
2422 debug_target::get_bookmark (const char *arg0
, int arg1
)
2424 gdb_printf (gdb_stdlog
, "-> %s->get_bookmark (...)\n", this->beneath ()->shortname ());
2426 = this->beneath ()->get_bookmark (arg0
, arg1
);
2427 gdb_printf (gdb_stdlog
, "<- %s->get_bookmark (", this->beneath ()->shortname ());
2428 target_debug_print_const_char_p (arg0
);
2429 gdb_puts (", ", gdb_stdlog
);
2430 target_debug_print_int (arg1
);
2431 gdb_puts (") = ", gdb_stdlog
);
2432 target_debug_print_gdb_byte_p (result
);
2433 gdb_puts ("\n", gdb_stdlog
);
2438 target_ops::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2440 this->beneath ()->goto_bookmark (arg0
, arg1
);
2444 dummy_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2450 debug_target::goto_bookmark (const gdb_byte
*arg0
, int arg1
)
2452 gdb_printf (gdb_stdlog
, "-> %s->goto_bookmark (...)\n", this->beneath ()->shortname ());
2453 this->beneath ()->goto_bookmark (arg0
, arg1
);
2454 gdb_printf (gdb_stdlog
, "<- %s->goto_bookmark (", this->beneath ()->shortname ());
2455 target_debug_print_const_gdb_byte_p (arg0
);
2456 gdb_puts (", ", gdb_stdlog
);
2457 target_debug_print_int (arg1
);
2458 gdb_puts (")\n", gdb_stdlog
);
2462 target_ops::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2464 return this->beneath ()->get_thread_local_address (arg0
, arg1
, arg2
);
2468 dummy_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2470 generic_tls_error ();
2474 debug_target::get_thread_local_address (ptid_t arg0
, CORE_ADDR arg1
, CORE_ADDR arg2
)
2476 gdb_printf (gdb_stdlog
, "-> %s->get_thread_local_address (...)\n", this->beneath ()->shortname ());
2478 = this->beneath ()->get_thread_local_address (arg0
, arg1
, arg2
);
2479 gdb_printf (gdb_stdlog
, "<- %s->get_thread_local_address (", this->beneath ()->shortname ());
2480 target_debug_print_ptid_t (arg0
);
2481 gdb_puts (", ", gdb_stdlog
);
2482 target_debug_print_CORE_ADDR (arg1
);
2483 gdb_puts (", ", gdb_stdlog
);
2484 target_debug_print_CORE_ADDR (arg2
);
2485 gdb_puts (") = ", gdb_stdlog
);
2486 target_debug_print_CORE_ADDR (result
);
2487 gdb_puts ("\n", gdb_stdlog
);
2491 enum target_xfer_status
2492 target_ops::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2494 return this->beneath ()->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2497 enum target_xfer_status
2498 dummy_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2500 return TARGET_XFER_E_IO
;
2503 enum target_xfer_status
2504 debug_target::xfer_partial (enum target_object arg0
, const char *arg1
, gdb_byte
*arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, ULONGEST arg5
, ULONGEST
*arg6
)
2506 gdb_printf (gdb_stdlog
, "-> %s->xfer_partial (...)\n", this->beneath ()->shortname ());
2507 enum target_xfer_status result
2508 = this->beneath ()->xfer_partial (arg0
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
2509 gdb_printf (gdb_stdlog
, "<- %s->xfer_partial (", this->beneath ()->shortname ());
2510 target_debug_print_target_object (arg0
);
2511 gdb_puts (", ", gdb_stdlog
);
2512 target_debug_print_const_char_p (arg1
);
2513 gdb_puts (", ", gdb_stdlog
);
2514 target_debug_print_gdb_byte_p (arg2
);
2515 gdb_puts (", ", gdb_stdlog
);
2516 target_debug_print_const_gdb_byte_p (arg3
);
2517 gdb_puts (", ", gdb_stdlog
);
2518 target_debug_print_ULONGEST (arg4
);
2519 gdb_puts (", ", gdb_stdlog
);
2520 target_debug_print_ULONGEST (arg5
);
2521 gdb_puts (", ", gdb_stdlog
);
2522 target_debug_print_ULONGEST_p (arg6
);
2523 gdb_puts (") = ", gdb_stdlog
);
2524 target_debug_print_target_xfer_status (result
);
2525 gdb_puts ("\n", gdb_stdlog
);
2530 target_ops::get_memory_xfer_limit ()
2532 return this->beneath ()->get_memory_xfer_limit ();
2536 dummy_target::get_memory_xfer_limit ()
2538 return ULONGEST_MAX
;
2542 debug_target::get_memory_xfer_limit ()
2544 gdb_printf (gdb_stdlog
, "-> %s->get_memory_xfer_limit (...)\n", this->beneath ()->shortname ());
2546 = this->beneath ()->get_memory_xfer_limit ();
2547 gdb_printf (gdb_stdlog
, "<- %s->get_memory_xfer_limit (", this->beneath ()->shortname ());
2548 gdb_puts (") = ", gdb_stdlog
);
2549 target_debug_print_ULONGEST (result
);
2550 gdb_puts ("\n", gdb_stdlog
);
2554 std::vector
<mem_region
>
2555 target_ops::memory_map ()
2557 return this->beneath ()->memory_map ();
2560 std::vector
<mem_region
>
2561 dummy_target::memory_map ()
2563 return std::vector
<mem_region
> ();
2566 std::vector
<mem_region
>
2567 debug_target::memory_map ()
2569 gdb_printf (gdb_stdlog
, "-> %s->memory_map (...)\n", this->beneath ()->shortname ());
2570 std::vector
<mem_region
> result
2571 = this->beneath ()->memory_map ();
2572 gdb_printf (gdb_stdlog
, "<- %s->memory_map (", this->beneath ()->shortname ());
2573 gdb_puts (") = ", gdb_stdlog
);
2574 target_debug_print_std_vector_mem_region (result
);
2575 gdb_puts ("\n", gdb_stdlog
);
2580 target_ops::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2582 this->beneath ()->flash_erase (arg0
, arg1
);
2586 dummy_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2592 debug_target::flash_erase (ULONGEST arg0
, LONGEST arg1
)
2594 gdb_printf (gdb_stdlog
, "-> %s->flash_erase (...)\n", this->beneath ()->shortname ());
2595 this->beneath ()->flash_erase (arg0
, arg1
);
2596 gdb_printf (gdb_stdlog
, "<- %s->flash_erase (", this->beneath ()->shortname ());
2597 target_debug_print_ULONGEST (arg0
);
2598 gdb_puts (", ", gdb_stdlog
);
2599 target_debug_print_LONGEST (arg1
);
2600 gdb_puts (")\n", gdb_stdlog
);
2604 target_ops::flash_done ()
2606 this->beneath ()->flash_done ();
2610 dummy_target::flash_done ()
2616 debug_target::flash_done ()
2618 gdb_printf (gdb_stdlog
, "-> %s->flash_done (...)\n", this->beneath ()->shortname ());
2619 this->beneath ()->flash_done ();
2620 gdb_printf (gdb_stdlog
, "<- %s->flash_done (", this->beneath ()->shortname ());
2621 gdb_puts (")\n", gdb_stdlog
);
2624 const struct target_desc
*
2625 target_ops::read_description ()
2627 return this->beneath ()->read_description ();
2630 const struct target_desc
*
2631 dummy_target::read_description ()
2636 const struct target_desc
*
2637 debug_target::read_description ()
2639 gdb_printf (gdb_stdlog
, "-> %s->read_description (...)\n", this->beneath ()->shortname ());
2640 const struct target_desc
* result
2641 = this->beneath ()->read_description ();
2642 gdb_printf (gdb_stdlog
, "<- %s->read_description (", this->beneath ()->shortname ());
2643 gdb_puts (") = ", gdb_stdlog
);
2644 target_debug_print_const_target_desc_p (result
);
2645 gdb_puts ("\n", gdb_stdlog
);
2650 target_ops::get_ada_task_ptid (long arg0
, ULONGEST arg1
)
2652 return this->beneath ()->get_ada_task_ptid (arg0
, arg1
);
2656 dummy_target::get_ada_task_ptid (long arg0
, ULONGEST arg1
)
2658 return default_get_ada_task_ptid (this, arg0
, arg1
);
2662 debug_target::get_ada_task_ptid (long arg0
, ULONGEST arg1
)
2664 gdb_printf (gdb_stdlog
, "-> %s->get_ada_task_ptid (...)\n", this->beneath ()->shortname ());
2666 = this->beneath ()->get_ada_task_ptid (arg0
, arg1
);
2667 gdb_printf (gdb_stdlog
, "<- %s->get_ada_task_ptid (", this->beneath ()->shortname ());
2668 target_debug_print_long (arg0
);
2669 gdb_puts (", ", gdb_stdlog
);
2670 target_debug_print_ULONGEST (arg1
);
2671 gdb_puts (") = ", gdb_stdlog
);
2672 target_debug_print_ptid_t (result
);
2673 gdb_puts ("\n", gdb_stdlog
);
2678 target_ops::auxv_parse (const gdb_byte
**arg0
, const gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2680 return this->beneath ()->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2684 dummy_target::auxv_parse (const gdb_byte
**arg0
, const gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2686 return default_auxv_parse (this, arg0
, arg1
, arg2
, arg3
);
2690 debug_target::auxv_parse (const gdb_byte
**arg0
, const gdb_byte
*arg1
, CORE_ADDR
*arg2
, CORE_ADDR
*arg3
)
2692 gdb_printf (gdb_stdlog
, "-> %s->auxv_parse (...)\n", this->beneath ()->shortname ());
2694 = this->beneath ()->auxv_parse (arg0
, arg1
, arg2
, arg3
);
2695 gdb_printf (gdb_stdlog
, "<- %s->auxv_parse (", this->beneath ()->shortname ());
2696 target_debug_print_const_gdb_byte_pp (arg0
);
2697 gdb_puts (", ", gdb_stdlog
);
2698 target_debug_print_const_gdb_byte_p (arg1
);
2699 gdb_puts (", ", gdb_stdlog
);
2700 target_debug_print_CORE_ADDR_p (arg2
);
2701 gdb_puts (", ", gdb_stdlog
);
2702 target_debug_print_CORE_ADDR_p (arg3
);
2703 gdb_puts (") = ", gdb_stdlog
);
2704 target_debug_print_int (result
);
2705 gdb_puts ("\n", gdb_stdlog
);
2710 target_ops::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2712 return this->beneath ()->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2716 dummy_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2718 return default_search_memory (this, arg0
, arg1
, arg2
, arg3
, arg4
);
2722 debug_target::search_memory (CORE_ADDR arg0
, ULONGEST arg1
, const gdb_byte
*arg2
, ULONGEST arg3
, CORE_ADDR
*arg4
)
2724 gdb_printf (gdb_stdlog
, "-> %s->search_memory (...)\n", this->beneath ()->shortname ());
2726 = this->beneath ()->search_memory (arg0
, arg1
, arg2
, arg3
, arg4
);
2727 gdb_printf (gdb_stdlog
, "<- %s->search_memory (", this->beneath ()->shortname ());
2728 target_debug_print_CORE_ADDR (arg0
);
2729 gdb_puts (", ", gdb_stdlog
);
2730 target_debug_print_ULONGEST (arg1
);
2731 gdb_puts (", ", gdb_stdlog
);
2732 target_debug_print_const_gdb_byte_p (arg2
);
2733 gdb_puts (", ", gdb_stdlog
);
2734 target_debug_print_ULONGEST (arg3
);
2735 gdb_puts (", ", gdb_stdlog
);
2736 target_debug_print_CORE_ADDR_p (arg4
);
2737 gdb_puts (") = ", gdb_stdlog
);
2738 target_debug_print_int (result
);
2739 gdb_puts ("\n", gdb_stdlog
);
2744 target_ops::can_execute_reverse ()
2746 return this->beneath ()->can_execute_reverse ();
2750 dummy_target::can_execute_reverse ()
2756 debug_target::can_execute_reverse ()
2758 gdb_printf (gdb_stdlog
, "-> %s->can_execute_reverse (...)\n", this->beneath ()->shortname ());
2760 = this->beneath ()->can_execute_reverse ();
2761 gdb_printf (gdb_stdlog
, "<- %s->can_execute_reverse (", this->beneath ()->shortname ());
2762 gdb_puts (") = ", gdb_stdlog
);
2763 target_debug_print_bool (result
);
2764 gdb_puts ("\n", gdb_stdlog
);
2768 enum exec_direction_kind
2769 target_ops::execution_direction ()
2771 return this->beneath ()->execution_direction ();
2774 enum exec_direction_kind
2775 dummy_target::execution_direction ()
2777 return default_execution_direction (this);
2780 enum exec_direction_kind
2781 debug_target::execution_direction ()
2783 gdb_printf (gdb_stdlog
, "-> %s->execution_direction (...)\n", this->beneath ()->shortname ());
2784 enum exec_direction_kind result
2785 = this->beneath ()->execution_direction ();
2786 gdb_printf (gdb_stdlog
, "<- %s->execution_direction (", this->beneath ()->shortname ());
2787 gdb_puts (") = ", gdb_stdlog
);
2788 target_debug_print_exec_direction_kind (result
);
2789 gdb_puts ("\n", gdb_stdlog
);
2794 target_ops::supports_multi_process ()
2796 return this->beneath ()->supports_multi_process ();
2800 dummy_target::supports_multi_process ()
2806 debug_target::supports_multi_process ()
2808 gdb_printf (gdb_stdlog
, "-> %s->supports_multi_process (...)\n", this->beneath ()->shortname ());
2810 = this->beneath ()->supports_multi_process ();
2811 gdb_printf (gdb_stdlog
, "<- %s->supports_multi_process (", this->beneath ()->shortname ());
2812 gdb_puts (") = ", gdb_stdlog
);
2813 target_debug_print_bool (result
);
2814 gdb_puts ("\n", gdb_stdlog
);
2819 target_ops::supports_enable_disable_tracepoint ()
2821 return this->beneath ()->supports_enable_disable_tracepoint ();
2825 dummy_target::supports_enable_disable_tracepoint ()
2831 debug_target::supports_enable_disable_tracepoint ()
2833 gdb_printf (gdb_stdlog
, "-> %s->supports_enable_disable_tracepoint (...)\n", this->beneath ()->shortname ());
2835 = this->beneath ()->supports_enable_disable_tracepoint ();
2836 gdb_printf (gdb_stdlog
, "<- %s->supports_enable_disable_tracepoint (", this->beneath ()->shortname ());
2837 gdb_puts (") = ", gdb_stdlog
);
2838 target_debug_print_bool (result
);
2839 gdb_puts ("\n", gdb_stdlog
);
2844 target_ops::supports_disable_randomization ()
2846 return this->beneath ()->supports_disable_randomization ();
2850 dummy_target::supports_disable_randomization ()
2852 return find_default_supports_disable_randomization (this);
2856 debug_target::supports_disable_randomization ()
2858 gdb_printf (gdb_stdlog
, "-> %s->supports_disable_randomization (...)\n", this->beneath ()->shortname ());
2860 = this->beneath ()->supports_disable_randomization ();
2861 gdb_printf (gdb_stdlog
, "<- %s->supports_disable_randomization (", this->beneath ()->shortname ());
2862 gdb_puts (") = ", gdb_stdlog
);
2863 target_debug_print_bool (result
);
2864 gdb_puts ("\n", gdb_stdlog
);
2869 target_ops::supports_string_tracing ()
2871 return this->beneath ()->supports_string_tracing ();
2875 dummy_target::supports_string_tracing ()
2881 debug_target::supports_string_tracing ()
2883 gdb_printf (gdb_stdlog
, "-> %s->supports_string_tracing (...)\n", this->beneath ()->shortname ());
2885 = this->beneath ()->supports_string_tracing ();
2886 gdb_printf (gdb_stdlog
, "<- %s->supports_string_tracing (", this->beneath ()->shortname ());
2887 gdb_puts (") = ", gdb_stdlog
);
2888 target_debug_print_bool (result
);
2889 gdb_puts ("\n", gdb_stdlog
);
2894 target_ops::supports_evaluation_of_breakpoint_conditions ()
2896 return this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2900 dummy_target::supports_evaluation_of_breakpoint_conditions ()
2906 debug_target::supports_evaluation_of_breakpoint_conditions ()
2908 gdb_printf (gdb_stdlog
, "-> %s->supports_evaluation_of_breakpoint_conditions (...)\n", this->beneath ()->shortname ());
2910 = this->beneath ()->supports_evaluation_of_breakpoint_conditions ();
2911 gdb_printf (gdb_stdlog
, "<- %s->supports_evaluation_of_breakpoint_conditions (", this->beneath ()->shortname ());
2912 gdb_puts (") = ", gdb_stdlog
);
2913 target_debug_print_bool (result
);
2914 gdb_puts ("\n", gdb_stdlog
);
2919 target_ops::supports_dumpcore ()
2921 return this->beneath ()->supports_dumpcore ();
2925 dummy_target::supports_dumpcore ()
2931 debug_target::supports_dumpcore ()
2933 gdb_printf (gdb_stdlog
, "-> %s->supports_dumpcore (...)\n", this->beneath ()->shortname ());
2935 = this->beneath ()->supports_dumpcore ();
2936 gdb_printf (gdb_stdlog
, "<- %s->supports_dumpcore (", this->beneath ()->shortname ());
2937 gdb_puts (") = ", gdb_stdlog
);
2938 target_debug_print_bool (result
);
2939 gdb_puts ("\n", gdb_stdlog
);
2944 target_ops::dumpcore (const char *arg0
)
2946 this->beneath ()->dumpcore (arg0
);
2950 dummy_target::dumpcore (const char *arg0
)
2955 debug_target::dumpcore (const char *arg0
)
2957 gdb_printf (gdb_stdlog
, "-> %s->dumpcore (...)\n", this->beneath ()->shortname ());
2958 this->beneath ()->dumpcore (arg0
);
2959 gdb_printf (gdb_stdlog
, "<- %s->dumpcore (", this->beneath ()->shortname ());
2960 target_debug_print_const_char_p (arg0
);
2961 gdb_puts (")\n", gdb_stdlog
);
2965 target_ops::can_run_breakpoint_commands ()
2967 return this->beneath ()->can_run_breakpoint_commands ();
2971 dummy_target::can_run_breakpoint_commands ()
2977 debug_target::can_run_breakpoint_commands ()
2979 gdb_printf (gdb_stdlog
, "-> %s->can_run_breakpoint_commands (...)\n", this->beneath ()->shortname ());
2981 = this->beneath ()->can_run_breakpoint_commands ();
2982 gdb_printf (gdb_stdlog
, "<- %s->can_run_breakpoint_commands (", this->beneath ()->shortname ());
2983 gdb_puts (") = ", gdb_stdlog
);
2984 target_debug_print_bool (result
);
2985 gdb_puts ("\n", gdb_stdlog
);
2990 target_ops::thread_architecture (ptid_t arg0
)
2992 return this->beneath ()->thread_architecture (arg0
);
2996 dummy_target::thread_architecture (ptid_t arg0
)
3002 debug_target::thread_architecture (ptid_t arg0
)
3004 gdb_printf (gdb_stdlog
, "-> %s->thread_architecture (...)\n", this->beneath ()->shortname ());
3005 struct gdbarch
* result
3006 = this->beneath ()->thread_architecture (arg0
);
3007 gdb_printf (gdb_stdlog
, "<- %s->thread_architecture (", this->beneath ()->shortname ());
3008 target_debug_print_ptid_t (arg0
);
3009 gdb_puts (") = ", gdb_stdlog
);
3010 target_debug_print_gdbarch_p (result
);
3011 gdb_puts ("\n", gdb_stdlog
);
3016 target_ops::filesystem_is_local ()
3018 return this->beneath ()->filesystem_is_local ();
3022 dummy_target::filesystem_is_local ()
3028 debug_target::filesystem_is_local ()
3030 gdb_printf (gdb_stdlog
, "-> %s->filesystem_is_local (...)\n", this->beneath ()->shortname ());
3032 = this->beneath ()->filesystem_is_local ();
3033 gdb_printf (gdb_stdlog
, "<- %s->filesystem_is_local (", this->beneath ()->shortname ());
3034 gdb_puts (") = ", gdb_stdlog
);
3035 target_debug_print_bool (result
);
3036 gdb_puts ("\n", gdb_stdlog
);
3041 target_ops::trace_init ()
3043 this->beneath ()->trace_init ();
3047 dummy_target::trace_init ()
3053 debug_target::trace_init ()
3055 gdb_printf (gdb_stdlog
, "-> %s->trace_init (...)\n", this->beneath ()->shortname ());
3056 this->beneath ()->trace_init ();
3057 gdb_printf (gdb_stdlog
, "<- %s->trace_init (", this->beneath ()->shortname ());
3058 gdb_puts (")\n", gdb_stdlog
);
3062 target_ops::download_tracepoint (struct bp_location
*arg0
)
3064 this->beneath ()->download_tracepoint (arg0
);
3068 dummy_target::download_tracepoint (struct bp_location
*arg0
)
3074 debug_target::download_tracepoint (struct bp_location
*arg0
)
3076 gdb_printf (gdb_stdlog
, "-> %s->download_tracepoint (...)\n", this->beneath ()->shortname ());
3077 this->beneath ()->download_tracepoint (arg0
);
3078 gdb_printf (gdb_stdlog
, "<- %s->download_tracepoint (", this->beneath ()->shortname ());
3079 target_debug_print_bp_location_p (arg0
);
3080 gdb_puts (")\n", gdb_stdlog
);
3084 target_ops::can_download_tracepoint ()
3086 return this->beneath ()->can_download_tracepoint ();
3090 dummy_target::can_download_tracepoint ()
3096 debug_target::can_download_tracepoint ()
3098 gdb_printf (gdb_stdlog
, "-> %s->can_download_tracepoint (...)\n", this->beneath ()->shortname ());
3100 = this->beneath ()->can_download_tracepoint ();
3101 gdb_printf (gdb_stdlog
, "<- %s->can_download_tracepoint (", this->beneath ()->shortname ());
3102 gdb_puts (") = ", gdb_stdlog
);
3103 target_debug_print_bool (result
);
3104 gdb_puts ("\n", gdb_stdlog
);
3109 target_ops::download_trace_state_variable (const trace_state_variable
&arg0
)
3111 this->beneath ()->download_trace_state_variable (arg0
);
3115 dummy_target::download_trace_state_variable (const trace_state_variable
&arg0
)
3121 debug_target::download_trace_state_variable (const trace_state_variable
&arg0
)
3123 gdb_printf (gdb_stdlog
, "-> %s->download_trace_state_variable (...)\n", this->beneath ()->shortname ());
3124 this->beneath ()->download_trace_state_variable (arg0
);
3125 gdb_printf (gdb_stdlog
, "<- %s->download_trace_state_variable (", this->beneath ()->shortname ());
3126 target_debug_print_const_trace_state_variable_r (arg0
);
3127 gdb_puts (")\n", gdb_stdlog
);
3131 target_ops::enable_tracepoint (struct bp_location
*arg0
)
3133 this->beneath ()->enable_tracepoint (arg0
);
3137 dummy_target::enable_tracepoint (struct bp_location
*arg0
)
3143 debug_target::enable_tracepoint (struct bp_location
*arg0
)
3145 gdb_printf (gdb_stdlog
, "-> %s->enable_tracepoint (...)\n", this->beneath ()->shortname ());
3146 this->beneath ()->enable_tracepoint (arg0
);
3147 gdb_printf (gdb_stdlog
, "<- %s->enable_tracepoint (", this->beneath ()->shortname ());
3148 target_debug_print_bp_location_p (arg0
);
3149 gdb_puts (")\n", gdb_stdlog
);
3153 target_ops::disable_tracepoint (struct bp_location
*arg0
)
3155 this->beneath ()->disable_tracepoint (arg0
);
3159 dummy_target::disable_tracepoint (struct bp_location
*arg0
)
3165 debug_target::disable_tracepoint (struct bp_location
*arg0
)
3167 gdb_printf (gdb_stdlog
, "-> %s->disable_tracepoint (...)\n", this->beneath ()->shortname ());
3168 this->beneath ()->disable_tracepoint (arg0
);
3169 gdb_printf (gdb_stdlog
, "<- %s->disable_tracepoint (", this->beneath ()->shortname ());
3170 target_debug_print_bp_location_p (arg0
);
3171 gdb_puts (")\n", gdb_stdlog
);
3175 target_ops::trace_set_readonly_regions ()
3177 this->beneath ()->trace_set_readonly_regions ();
3181 dummy_target::trace_set_readonly_regions ()
3187 debug_target::trace_set_readonly_regions ()
3189 gdb_printf (gdb_stdlog
, "-> %s->trace_set_readonly_regions (...)\n", this->beneath ()->shortname ());
3190 this->beneath ()->trace_set_readonly_regions ();
3191 gdb_printf (gdb_stdlog
, "<- %s->trace_set_readonly_regions (", this->beneath ()->shortname ());
3192 gdb_puts (")\n", gdb_stdlog
);
3196 target_ops::trace_start ()
3198 this->beneath ()->trace_start ();
3202 dummy_target::trace_start ()
3208 debug_target::trace_start ()
3210 gdb_printf (gdb_stdlog
, "-> %s->trace_start (...)\n", this->beneath ()->shortname ());
3211 this->beneath ()->trace_start ();
3212 gdb_printf (gdb_stdlog
, "<- %s->trace_start (", this->beneath ()->shortname ());
3213 gdb_puts (")\n", gdb_stdlog
);
3217 target_ops::get_trace_status (struct trace_status
*arg0
)
3219 return this->beneath ()->get_trace_status (arg0
);
3223 dummy_target::get_trace_status (struct trace_status
*arg0
)
3229 debug_target::get_trace_status (struct trace_status
*arg0
)
3231 gdb_printf (gdb_stdlog
, "-> %s->get_trace_status (...)\n", this->beneath ()->shortname ());
3233 = this->beneath ()->get_trace_status (arg0
);
3234 gdb_printf (gdb_stdlog
, "<- %s->get_trace_status (", this->beneath ()->shortname ());
3235 target_debug_print_trace_status_p (arg0
);
3236 gdb_puts (") = ", gdb_stdlog
);
3237 target_debug_print_int (result
);
3238 gdb_puts ("\n", gdb_stdlog
);
3243 target_ops::get_tracepoint_status (tracepoint
*arg0
, struct uploaded_tp
*arg1
)
3245 this->beneath ()->get_tracepoint_status (arg0
, arg1
);
3249 dummy_target::get_tracepoint_status (tracepoint
*arg0
, struct uploaded_tp
*arg1
)
3255 debug_target::get_tracepoint_status (tracepoint
*arg0
, struct uploaded_tp
*arg1
)
3257 gdb_printf (gdb_stdlog
, "-> %s->get_tracepoint_status (...)\n", this->beneath ()->shortname ());
3258 this->beneath ()->get_tracepoint_status (arg0
, arg1
);
3259 gdb_printf (gdb_stdlog
, "<- %s->get_tracepoint_status (", this->beneath ()->shortname ());
3260 target_debug_print_tracepoint_p (arg0
);
3261 gdb_puts (", ", gdb_stdlog
);
3262 target_debug_print_uploaded_tp_p (arg1
);
3263 gdb_puts (")\n", gdb_stdlog
);
3267 target_ops::trace_stop ()
3269 this->beneath ()->trace_stop ();
3273 dummy_target::trace_stop ()
3279 debug_target::trace_stop ()
3281 gdb_printf (gdb_stdlog
, "-> %s->trace_stop (...)\n", this->beneath ()->shortname ());
3282 this->beneath ()->trace_stop ();
3283 gdb_printf (gdb_stdlog
, "<- %s->trace_stop (", this->beneath ()->shortname ());
3284 gdb_puts (")\n", gdb_stdlog
);
3288 target_ops::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3290 return this->beneath ()->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3294 dummy_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3300 debug_target::trace_find (enum trace_find_type arg0
, int arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
, int *arg4
)
3302 gdb_printf (gdb_stdlog
, "-> %s->trace_find (...)\n", this->beneath ()->shortname ());
3304 = this->beneath ()->trace_find (arg0
, arg1
, arg2
, arg3
, arg4
);
3305 gdb_printf (gdb_stdlog
, "<- %s->trace_find (", this->beneath ()->shortname ());
3306 target_debug_print_trace_find_type (arg0
);
3307 gdb_puts (", ", gdb_stdlog
);
3308 target_debug_print_int (arg1
);
3309 gdb_puts (", ", gdb_stdlog
);
3310 target_debug_print_CORE_ADDR (arg2
);
3311 gdb_puts (", ", gdb_stdlog
);
3312 target_debug_print_CORE_ADDR (arg3
);
3313 gdb_puts (", ", gdb_stdlog
);
3314 target_debug_print_int_p (arg4
);
3315 gdb_puts (") = ", gdb_stdlog
);
3316 target_debug_print_int (result
);
3317 gdb_puts ("\n", gdb_stdlog
);
3322 target_ops::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3324 return this->beneath ()->get_trace_state_variable_value (arg0
, arg1
);
3328 dummy_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3334 debug_target::get_trace_state_variable_value (int arg0
, LONGEST
*arg1
)
3336 gdb_printf (gdb_stdlog
, "-> %s->get_trace_state_variable_value (...)\n", this->beneath ()->shortname ());
3338 = this->beneath ()->get_trace_state_variable_value (arg0
, arg1
);
3339 gdb_printf (gdb_stdlog
, "<- %s->get_trace_state_variable_value (", this->beneath ()->shortname ());
3340 target_debug_print_int (arg0
);
3341 gdb_puts (", ", gdb_stdlog
);
3342 target_debug_print_LONGEST_p (arg1
);
3343 gdb_puts (") = ", gdb_stdlog
);
3344 target_debug_print_bool (result
);
3345 gdb_puts ("\n", gdb_stdlog
);
3350 target_ops::save_trace_data (const char *arg0
)
3352 return this->beneath ()->save_trace_data (arg0
);
3356 dummy_target::save_trace_data (const char *arg0
)
3362 debug_target::save_trace_data (const char *arg0
)
3364 gdb_printf (gdb_stdlog
, "-> %s->save_trace_data (...)\n", this->beneath ()->shortname ());
3366 = this->beneath ()->save_trace_data (arg0
);
3367 gdb_printf (gdb_stdlog
, "<- %s->save_trace_data (", this->beneath ()->shortname ());
3368 target_debug_print_const_char_p (arg0
);
3369 gdb_puts (") = ", gdb_stdlog
);
3370 target_debug_print_int (result
);
3371 gdb_puts ("\n", gdb_stdlog
);
3376 target_ops::upload_tracepoints (struct uploaded_tp
**arg0
)
3378 return this->beneath ()->upload_tracepoints (arg0
);
3382 dummy_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3388 debug_target::upload_tracepoints (struct uploaded_tp
**arg0
)
3390 gdb_printf (gdb_stdlog
, "-> %s->upload_tracepoints (...)\n", this->beneath ()->shortname ());
3392 = this->beneath ()->upload_tracepoints (arg0
);
3393 gdb_printf (gdb_stdlog
, "<- %s->upload_tracepoints (", this->beneath ()->shortname ());
3394 target_debug_print_uploaded_tp_pp (arg0
);
3395 gdb_puts (") = ", gdb_stdlog
);
3396 target_debug_print_int (result
);
3397 gdb_puts ("\n", gdb_stdlog
);
3402 target_ops::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3404 return this->beneath ()->upload_trace_state_variables (arg0
);
3408 dummy_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3414 debug_target::upload_trace_state_variables (struct uploaded_tsv
**arg0
)
3416 gdb_printf (gdb_stdlog
, "-> %s->upload_trace_state_variables (...)\n", this->beneath ()->shortname ());
3418 = this->beneath ()->upload_trace_state_variables (arg0
);
3419 gdb_printf (gdb_stdlog
, "<- %s->upload_trace_state_variables (", this->beneath ()->shortname ());
3420 target_debug_print_uploaded_tsv_pp (arg0
);
3421 gdb_puts (") = ", gdb_stdlog
);
3422 target_debug_print_int (result
);
3423 gdb_puts ("\n", gdb_stdlog
);
3428 target_ops::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3430 return this->beneath ()->get_raw_trace_data (arg0
, arg1
, arg2
);
3434 dummy_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3440 debug_target::get_raw_trace_data (gdb_byte
*arg0
, ULONGEST arg1
, LONGEST arg2
)
3442 gdb_printf (gdb_stdlog
, "-> %s->get_raw_trace_data (...)\n", this->beneath ()->shortname ());
3444 = this->beneath ()->get_raw_trace_data (arg0
, arg1
, arg2
);
3445 gdb_printf (gdb_stdlog
, "<- %s->get_raw_trace_data (", this->beneath ()->shortname ());
3446 target_debug_print_gdb_byte_p (arg0
);
3447 gdb_puts (", ", gdb_stdlog
);
3448 target_debug_print_ULONGEST (arg1
);
3449 gdb_puts (", ", gdb_stdlog
);
3450 target_debug_print_LONGEST (arg2
);
3451 gdb_puts (") = ", gdb_stdlog
);
3452 target_debug_print_LONGEST (result
);
3453 gdb_puts ("\n", gdb_stdlog
);
3458 target_ops::get_min_fast_tracepoint_insn_len ()
3460 return this->beneath ()->get_min_fast_tracepoint_insn_len ();
3464 dummy_target::get_min_fast_tracepoint_insn_len ()
3470 debug_target::get_min_fast_tracepoint_insn_len ()
3472 gdb_printf (gdb_stdlog
, "-> %s->get_min_fast_tracepoint_insn_len (...)\n", this->beneath ()->shortname ());
3474 = this->beneath ()->get_min_fast_tracepoint_insn_len ();
3475 gdb_printf (gdb_stdlog
, "<- %s->get_min_fast_tracepoint_insn_len (", this->beneath ()->shortname ());
3476 gdb_puts (") = ", gdb_stdlog
);
3477 target_debug_print_int (result
);
3478 gdb_puts ("\n", gdb_stdlog
);
3483 target_ops::set_disconnected_tracing (int arg0
)
3485 this->beneath ()->set_disconnected_tracing (arg0
);
3489 dummy_target::set_disconnected_tracing (int arg0
)
3494 debug_target::set_disconnected_tracing (int arg0
)
3496 gdb_printf (gdb_stdlog
, "-> %s->set_disconnected_tracing (...)\n", this->beneath ()->shortname ());
3497 this->beneath ()->set_disconnected_tracing (arg0
);
3498 gdb_printf (gdb_stdlog
, "<- %s->set_disconnected_tracing (", this->beneath ()->shortname ());
3499 target_debug_print_int (arg0
);
3500 gdb_puts (")\n", gdb_stdlog
);
3504 target_ops::set_circular_trace_buffer (int arg0
)
3506 this->beneath ()->set_circular_trace_buffer (arg0
);
3510 dummy_target::set_circular_trace_buffer (int arg0
)
3515 debug_target::set_circular_trace_buffer (int arg0
)
3517 gdb_printf (gdb_stdlog
, "-> %s->set_circular_trace_buffer (...)\n", this->beneath ()->shortname ());
3518 this->beneath ()->set_circular_trace_buffer (arg0
);
3519 gdb_printf (gdb_stdlog
, "<- %s->set_circular_trace_buffer (", this->beneath ()->shortname ());
3520 target_debug_print_int (arg0
);
3521 gdb_puts (")\n", gdb_stdlog
);
3525 target_ops::set_trace_buffer_size (LONGEST arg0
)
3527 this->beneath ()->set_trace_buffer_size (arg0
);
3531 dummy_target::set_trace_buffer_size (LONGEST arg0
)
3536 debug_target::set_trace_buffer_size (LONGEST arg0
)
3538 gdb_printf (gdb_stdlog
, "-> %s->set_trace_buffer_size (...)\n", this->beneath ()->shortname ());
3539 this->beneath ()->set_trace_buffer_size (arg0
);
3540 gdb_printf (gdb_stdlog
, "<- %s->set_trace_buffer_size (", this->beneath ()->shortname ());
3541 target_debug_print_LONGEST (arg0
);
3542 gdb_puts (")\n", gdb_stdlog
);
3546 target_ops::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3548 return this->beneath ()->set_trace_notes (arg0
, arg1
, arg2
);
3552 dummy_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3558 debug_target::set_trace_notes (const char *arg0
, const char *arg1
, const char *arg2
)
3560 gdb_printf (gdb_stdlog
, "-> %s->set_trace_notes (...)\n", this->beneath ()->shortname ());
3562 = this->beneath ()->set_trace_notes (arg0
, arg1
, arg2
);
3563 gdb_printf (gdb_stdlog
, "<- %s->set_trace_notes (", this->beneath ()->shortname ());
3564 target_debug_print_const_char_p (arg0
);
3565 gdb_puts (", ", gdb_stdlog
);
3566 target_debug_print_const_char_p (arg1
);
3567 gdb_puts (", ", gdb_stdlog
);
3568 target_debug_print_const_char_p (arg2
);
3569 gdb_puts (") = ", gdb_stdlog
);
3570 target_debug_print_bool (result
);
3571 gdb_puts ("\n", gdb_stdlog
);
3576 target_ops::core_of_thread (ptid_t arg0
)
3578 return this->beneath ()->core_of_thread (arg0
);
3582 dummy_target::core_of_thread (ptid_t arg0
)
3588 debug_target::core_of_thread (ptid_t arg0
)
3590 gdb_printf (gdb_stdlog
, "-> %s->core_of_thread (...)\n", this->beneath ()->shortname ());
3592 = this->beneath ()->core_of_thread (arg0
);
3593 gdb_printf (gdb_stdlog
, "<- %s->core_of_thread (", this->beneath ()->shortname ());
3594 target_debug_print_ptid_t (arg0
);
3595 gdb_puts (") = ", gdb_stdlog
);
3596 target_debug_print_int (result
);
3597 gdb_puts ("\n", gdb_stdlog
);
3602 target_ops::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3604 return this->beneath ()->verify_memory (arg0
, arg1
, arg2
);
3608 dummy_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3610 return default_verify_memory (this, arg0
, arg1
, arg2
);
3614 debug_target::verify_memory (const gdb_byte
*arg0
, CORE_ADDR arg1
, ULONGEST arg2
)
3616 gdb_printf (gdb_stdlog
, "-> %s->verify_memory (...)\n", this->beneath ()->shortname ());
3618 = this->beneath ()->verify_memory (arg0
, arg1
, arg2
);
3619 gdb_printf (gdb_stdlog
, "<- %s->verify_memory (", this->beneath ()->shortname ());
3620 target_debug_print_const_gdb_byte_p (arg0
);
3621 gdb_puts (", ", gdb_stdlog
);
3622 target_debug_print_CORE_ADDR (arg1
);
3623 gdb_puts (", ", gdb_stdlog
);
3624 target_debug_print_ULONGEST (arg2
);
3625 gdb_puts (") = ", gdb_stdlog
);
3626 target_debug_print_int (result
);
3627 gdb_puts ("\n", gdb_stdlog
);
3632 target_ops::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3634 return this->beneath ()->get_tib_address (arg0
, arg1
);
3638 dummy_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3644 debug_target::get_tib_address (ptid_t arg0
, CORE_ADDR
*arg1
)
3646 gdb_printf (gdb_stdlog
, "-> %s->get_tib_address (...)\n", this->beneath ()->shortname ());
3648 = this->beneath ()->get_tib_address (arg0
, arg1
);
3649 gdb_printf (gdb_stdlog
, "<- %s->get_tib_address (", this->beneath ()->shortname ());
3650 target_debug_print_ptid_t (arg0
);
3651 gdb_puts (", ", gdb_stdlog
);
3652 target_debug_print_CORE_ADDR_p (arg1
);
3653 gdb_puts (") = ", gdb_stdlog
);
3654 target_debug_print_bool (result
);
3655 gdb_puts ("\n", gdb_stdlog
);
3660 target_ops::set_permissions ()
3662 this->beneath ()->set_permissions ();
3666 dummy_target::set_permissions ()
3671 debug_target::set_permissions ()
3673 gdb_printf (gdb_stdlog
, "-> %s->set_permissions (...)\n", this->beneath ()->shortname ());
3674 this->beneath ()->set_permissions ();
3675 gdb_printf (gdb_stdlog
, "<- %s->set_permissions (", this->beneath ()->shortname ());
3676 gdb_puts (")\n", gdb_stdlog
);
3680 target_ops::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3682 return this->beneath ()->static_tracepoint_marker_at (arg0
, arg1
);
3686 dummy_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3692 debug_target::static_tracepoint_marker_at (CORE_ADDR arg0
, static_tracepoint_marker
*arg1
)
3694 gdb_printf (gdb_stdlog
, "-> %s->static_tracepoint_marker_at (...)\n", this->beneath ()->shortname ());
3696 = this->beneath ()->static_tracepoint_marker_at (arg0
, arg1
);
3697 gdb_printf (gdb_stdlog
, "<- %s->static_tracepoint_marker_at (", this->beneath ()->shortname ());
3698 target_debug_print_CORE_ADDR (arg0
);
3699 gdb_puts (", ", gdb_stdlog
);
3700 target_debug_print_static_tracepoint_marker_p (arg1
);
3701 gdb_puts (") = ", gdb_stdlog
);
3702 target_debug_print_bool (result
);
3703 gdb_puts ("\n", gdb_stdlog
);
3707 std::vector
<static_tracepoint_marker
>
3708 target_ops::static_tracepoint_markers_by_strid (const char *arg0
)
3710 return this->beneath ()->static_tracepoint_markers_by_strid (arg0
);
3713 std::vector
<static_tracepoint_marker
>
3714 dummy_target::static_tracepoint_markers_by_strid (const char *arg0
)
3719 std::vector
<static_tracepoint_marker
>
3720 debug_target::static_tracepoint_markers_by_strid (const char *arg0
)
3722 gdb_printf (gdb_stdlog
, "-> %s->static_tracepoint_markers_by_strid (...)\n", this->beneath ()->shortname ());
3723 std::vector
<static_tracepoint_marker
> result
3724 = this->beneath ()->static_tracepoint_markers_by_strid (arg0
);
3725 gdb_printf (gdb_stdlog
, "<- %s->static_tracepoint_markers_by_strid (", this->beneath ()->shortname ());
3726 target_debug_print_const_char_p (arg0
);
3727 gdb_puts (") = ", gdb_stdlog
);
3728 target_debug_print_std_vector_static_tracepoint_marker (result
);
3729 gdb_puts ("\n", gdb_stdlog
);
3734 target_ops::traceframe_info ()
3736 return this->beneath ()->traceframe_info ();
3740 dummy_target::traceframe_info ()
3746 debug_target::traceframe_info ()
3748 gdb_printf (gdb_stdlog
, "-> %s->traceframe_info (...)\n", this->beneath ()->shortname ());
3749 traceframe_info_up result
3750 = this->beneath ()->traceframe_info ();
3751 gdb_printf (gdb_stdlog
, "<- %s->traceframe_info (", this->beneath ()->shortname ());
3752 gdb_puts (") = ", gdb_stdlog
);
3753 target_debug_print_traceframe_info_up (result
);
3754 gdb_puts ("\n", gdb_stdlog
);
3759 target_ops::use_agent (bool arg0
)
3761 return this->beneath ()->use_agent (arg0
);
3765 dummy_target::use_agent (bool arg0
)
3771 debug_target::use_agent (bool arg0
)
3773 gdb_printf (gdb_stdlog
, "-> %s->use_agent (...)\n", this->beneath ()->shortname ());
3775 = this->beneath ()->use_agent (arg0
);
3776 gdb_printf (gdb_stdlog
, "<- %s->use_agent (", this->beneath ()->shortname ());
3777 target_debug_print_bool (arg0
);
3778 gdb_puts (") = ", gdb_stdlog
);
3779 target_debug_print_bool (result
);
3780 gdb_puts ("\n", gdb_stdlog
);
3785 target_ops::can_use_agent ()
3787 return this->beneath ()->can_use_agent ();
3791 dummy_target::can_use_agent ()
3797 debug_target::can_use_agent ()
3799 gdb_printf (gdb_stdlog
, "-> %s->can_use_agent (...)\n", this->beneath ()->shortname ());
3801 = this->beneath ()->can_use_agent ();
3802 gdb_printf (gdb_stdlog
, "<- %s->can_use_agent (", this->beneath ()->shortname ());
3803 gdb_puts (") = ", gdb_stdlog
);
3804 target_debug_print_bool (result
);
3805 gdb_puts ("\n", gdb_stdlog
);
3809 struct btrace_target_info
*
3810 target_ops::enable_btrace (thread_info
*arg0
, const struct btrace_config
*arg1
)
3812 return this->beneath ()->enable_btrace (arg0
, arg1
);
3815 struct btrace_target_info
*
3816 dummy_target::enable_btrace (thread_info
*arg0
, const struct btrace_config
*arg1
)
3821 struct btrace_target_info
*
3822 debug_target::enable_btrace (thread_info
*arg0
, const struct btrace_config
*arg1
)
3824 gdb_printf (gdb_stdlog
, "-> %s->enable_btrace (...)\n", this->beneath ()->shortname ());
3825 struct btrace_target_info
* result
3826 = this->beneath ()->enable_btrace (arg0
, arg1
);
3827 gdb_printf (gdb_stdlog
, "<- %s->enable_btrace (", this->beneath ()->shortname ());
3828 target_debug_print_thread_info_p (arg0
);
3829 gdb_puts (", ", gdb_stdlog
);
3830 target_debug_print_const_btrace_config_p (arg1
);
3831 gdb_puts (") = ", gdb_stdlog
);
3832 target_debug_print_btrace_target_info_p (result
);
3833 gdb_puts ("\n", gdb_stdlog
);
3838 target_ops::disable_btrace (struct btrace_target_info
*arg0
)
3840 this->beneath ()->disable_btrace (arg0
);
3844 dummy_target::disable_btrace (struct btrace_target_info
*arg0
)
3850 debug_target::disable_btrace (struct btrace_target_info
*arg0
)
3852 gdb_printf (gdb_stdlog
, "-> %s->disable_btrace (...)\n", this->beneath ()->shortname ());
3853 this->beneath ()->disable_btrace (arg0
);
3854 gdb_printf (gdb_stdlog
, "<- %s->disable_btrace (", this->beneath ()->shortname ());
3855 target_debug_print_btrace_target_info_p (arg0
);
3856 gdb_puts (")\n", gdb_stdlog
);
3860 target_ops::teardown_btrace (struct btrace_target_info
*arg0
)
3862 this->beneath ()->teardown_btrace (arg0
);
3866 dummy_target::teardown_btrace (struct btrace_target_info
*arg0
)
3872 debug_target::teardown_btrace (struct btrace_target_info
*arg0
)
3874 gdb_printf (gdb_stdlog
, "-> %s->teardown_btrace (...)\n", this->beneath ()->shortname ());
3875 this->beneath ()->teardown_btrace (arg0
);
3876 gdb_printf (gdb_stdlog
, "<- %s->teardown_btrace (", this->beneath ()->shortname ());
3877 target_debug_print_btrace_target_info_p (arg0
);
3878 gdb_puts (")\n", gdb_stdlog
);
3882 target_ops::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3884 return this->beneath ()->read_btrace (arg0
, arg1
, arg2
);
3888 dummy_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3894 debug_target::read_btrace (struct btrace_data
*arg0
, struct btrace_target_info
*arg1
, enum btrace_read_type arg2
)
3896 gdb_printf (gdb_stdlog
, "-> %s->read_btrace (...)\n", this->beneath ()->shortname ());
3897 enum btrace_error result
3898 = this->beneath ()->read_btrace (arg0
, arg1
, arg2
);
3899 gdb_printf (gdb_stdlog
, "<- %s->read_btrace (", this->beneath ()->shortname ());
3900 target_debug_print_btrace_data_p (arg0
);
3901 gdb_puts (", ", gdb_stdlog
);
3902 target_debug_print_btrace_target_info_p (arg1
);
3903 gdb_puts (", ", gdb_stdlog
);
3904 target_debug_print_btrace_read_type (arg2
);
3905 gdb_puts (") = ", gdb_stdlog
);
3906 target_debug_print_btrace_error (result
);
3907 gdb_puts ("\n", gdb_stdlog
);
3911 const struct btrace_config
*
3912 target_ops::btrace_conf (const struct btrace_target_info
*arg0
)
3914 return this->beneath ()->btrace_conf (arg0
);
3917 const struct btrace_config
*
3918 dummy_target::btrace_conf (const struct btrace_target_info
*arg0
)
3923 const struct btrace_config
*
3924 debug_target::btrace_conf (const struct btrace_target_info
*arg0
)
3926 gdb_printf (gdb_stdlog
, "-> %s->btrace_conf (...)\n", this->beneath ()->shortname ());
3927 const struct btrace_config
* result
3928 = this->beneath ()->btrace_conf (arg0
);
3929 gdb_printf (gdb_stdlog
, "<- %s->btrace_conf (", this->beneath ()->shortname ());
3930 target_debug_print_const_btrace_target_info_p (arg0
);
3931 gdb_puts (") = ", gdb_stdlog
);
3932 target_debug_print_const_btrace_config_p (result
);
3933 gdb_puts ("\n", gdb_stdlog
);
3938 target_ops::record_method (ptid_t arg0
)
3940 return this->beneath ()->record_method (arg0
);
3944 dummy_target::record_method (ptid_t arg0
)
3946 return RECORD_METHOD_NONE
;
3950 debug_target::record_method (ptid_t arg0
)
3952 gdb_printf (gdb_stdlog
, "-> %s->record_method (...)\n", this->beneath ()->shortname ());
3953 enum record_method result
3954 = this->beneath ()->record_method (arg0
);
3955 gdb_printf (gdb_stdlog
, "<- %s->record_method (", this->beneath ()->shortname ());
3956 target_debug_print_ptid_t (arg0
);
3957 gdb_puts (") = ", gdb_stdlog
);
3958 target_debug_print_record_method (result
);
3959 gdb_puts ("\n", gdb_stdlog
);
3964 target_ops::stop_recording ()
3966 this->beneath ()->stop_recording ();
3970 dummy_target::stop_recording ()
3975 debug_target::stop_recording ()
3977 gdb_printf (gdb_stdlog
, "-> %s->stop_recording (...)\n", this->beneath ()->shortname ());
3978 this->beneath ()->stop_recording ();
3979 gdb_printf (gdb_stdlog
, "<- %s->stop_recording (", this->beneath ()->shortname ());
3980 gdb_puts (")\n", gdb_stdlog
);
3984 target_ops::info_record ()
3986 this->beneath ()->info_record ();
3990 dummy_target::info_record ()
3995 debug_target::info_record ()
3997 gdb_printf (gdb_stdlog
, "-> %s->info_record (...)\n", this->beneath ()->shortname ());
3998 this->beneath ()->info_record ();
3999 gdb_printf (gdb_stdlog
, "<- %s->info_record (", this->beneath ()->shortname ());
4000 gdb_puts (")\n", gdb_stdlog
);
4004 target_ops::save_record (const char *arg0
)
4006 this->beneath ()->save_record (arg0
);
4010 dummy_target::save_record (const char *arg0
)
4016 debug_target::save_record (const char *arg0
)
4018 gdb_printf (gdb_stdlog
, "-> %s->save_record (...)\n", this->beneath ()->shortname ());
4019 this->beneath ()->save_record (arg0
);
4020 gdb_printf (gdb_stdlog
, "<- %s->save_record (", this->beneath ()->shortname ());
4021 target_debug_print_const_char_p (arg0
);
4022 gdb_puts (")\n", gdb_stdlog
);
4026 target_ops::supports_delete_record ()
4028 return this->beneath ()->supports_delete_record ();
4032 dummy_target::supports_delete_record ()
4038 debug_target::supports_delete_record ()
4040 gdb_printf (gdb_stdlog
, "-> %s->supports_delete_record (...)\n", this->beneath ()->shortname ());
4042 = this->beneath ()->supports_delete_record ();
4043 gdb_printf (gdb_stdlog
, "<- %s->supports_delete_record (", this->beneath ()->shortname ());
4044 gdb_puts (") = ", gdb_stdlog
);
4045 target_debug_print_bool (result
);
4046 gdb_puts ("\n", gdb_stdlog
);
4051 target_ops::delete_record ()
4053 this->beneath ()->delete_record ();
4057 dummy_target::delete_record ()
4063 debug_target::delete_record ()
4065 gdb_printf (gdb_stdlog
, "-> %s->delete_record (...)\n", this->beneath ()->shortname ());
4066 this->beneath ()->delete_record ();
4067 gdb_printf (gdb_stdlog
, "<- %s->delete_record (", this->beneath ()->shortname ());
4068 gdb_puts (")\n", gdb_stdlog
);
4072 target_ops::record_is_replaying (ptid_t arg0
)
4074 return this->beneath ()->record_is_replaying (arg0
);
4078 dummy_target::record_is_replaying (ptid_t arg0
)
4084 debug_target::record_is_replaying (ptid_t arg0
)
4086 gdb_printf (gdb_stdlog
, "-> %s->record_is_replaying (...)\n", this->beneath ()->shortname ());
4088 = this->beneath ()->record_is_replaying (arg0
);
4089 gdb_printf (gdb_stdlog
, "<- %s->record_is_replaying (", this->beneath ()->shortname ());
4090 target_debug_print_ptid_t (arg0
);
4091 gdb_puts (") = ", gdb_stdlog
);
4092 target_debug_print_bool (result
);
4093 gdb_puts ("\n", gdb_stdlog
);
4098 target_ops::record_will_replay (ptid_t arg0
, int arg1
)
4100 return this->beneath ()->record_will_replay (arg0
, arg1
);
4104 dummy_target::record_will_replay (ptid_t arg0
, int arg1
)
4110 debug_target::record_will_replay (ptid_t arg0
, int arg1
)
4112 gdb_printf (gdb_stdlog
, "-> %s->record_will_replay (...)\n", this->beneath ()->shortname ());
4114 = this->beneath ()->record_will_replay (arg0
, arg1
);
4115 gdb_printf (gdb_stdlog
, "<- %s->record_will_replay (", this->beneath ()->shortname ());
4116 target_debug_print_ptid_t (arg0
);
4117 gdb_puts (", ", gdb_stdlog
);
4118 target_debug_print_int (arg1
);
4119 gdb_puts (") = ", gdb_stdlog
);
4120 target_debug_print_bool (result
);
4121 gdb_puts ("\n", gdb_stdlog
);
4126 target_ops::record_stop_replaying ()
4128 this->beneath ()->record_stop_replaying ();
4132 dummy_target::record_stop_replaying ()
4137 debug_target::record_stop_replaying ()
4139 gdb_printf (gdb_stdlog
, "-> %s->record_stop_replaying (...)\n", this->beneath ()->shortname ());
4140 this->beneath ()->record_stop_replaying ();
4141 gdb_printf (gdb_stdlog
, "<- %s->record_stop_replaying (", this->beneath ()->shortname ());
4142 gdb_puts (")\n", gdb_stdlog
);
4146 target_ops::goto_record_begin ()
4148 this->beneath ()->goto_record_begin ();
4152 dummy_target::goto_record_begin ()
4158 debug_target::goto_record_begin ()
4160 gdb_printf (gdb_stdlog
, "-> %s->goto_record_begin (...)\n", this->beneath ()->shortname ());
4161 this->beneath ()->goto_record_begin ();
4162 gdb_printf (gdb_stdlog
, "<- %s->goto_record_begin (", this->beneath ()->shortname ());
4163 gdb_puts (")\n", gdb_stdlog
);
4167 target_ops::goto_record_end ()
4169 this->beneath ()->goto_record_end ();
4173 dummy_target::goto_record_end ()
4179 debug_target::goto_record_end ()
4181 gdb_printf (gdb_stdlog
, "-> %s->goto_record_end (...)\n", this->beneath ()->shortname ());
4182 this->beneath ()->goto_record_end ();
4183 gdb_printf (gdb_stdlog
, "<- %s->goto_record_end (", this->beneath ()->shortname ());
4184 gdb_puts (")\n", gdb_stdlog
);
4188 target_ops::goto_record (ULONGEST arg0
)
4190 this->beneath ()->goto_record (arg0
);
4194 dummy_target::goto_record (ULONGEST arg0
)
4200 debug_target::goto_record (ULONGEST arg0
)
4202 gdb_printf (gdb_stdlog
, "-> %s->goto_record (...)\n", this->beneath ()->shortname ());
4203 this->beneath ()->goto_record (arg0
);
4204 gdb_printf (gdb_stdlog
, "<- %s->goto_record (", this->beneath ()->shortname ());
4205 target_debug_print_ULONGEST (arg0
);
4206 gdb_puts (")\n", gdb_stdlog
);
4210 target_ops::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4212 this->beneath ()->insn_history (arg0
, arg1
);
4216 dummy_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4222 debug_target::insn_history (int arg0
, gdb_disassembly_flags arg1
)
4224 gdb_printf (gdb_stdlog
, "-> %s->insn_history (...)\n", this->beneath ()->shortname ());
4225 this->beneath ()->insn_history (arg0
, arg1
);
4226 gdb_printf (gdb_stdlog
, "<- %s->insn_history (", this->beneath ()->shortname ());
4227 target_debug_print_int (arg0
);
4228 gdb_puts (", ", gdb_stdlog
);
4229 target_debug_print_gdb_disassembly_flags (arg1
);
4230 gdb_puts (")\n", gdb_stdlog
);
4234 target_ops::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4236 this->beneath ()->insn_history_from (arg0
, arg1
, arg2
);
4240 dummy_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4246 debug_target::insn_history_from (ULONGEST arg0
, int arg1
, gdb_disassembly_flags arg2
)
4248 gdb_printf (gdb_stdlog
, "-> %s->insn_history_from (...)\n", this->beneath ()->shortname ());
4249 this->beneath ()->insn_history_from (arg0
, arg1
, arg2
);
4250 gdb_printf (gdb_stdlog
, "<- %s->insn_history_from (", this->beneath ()->shortname ());
4251 target_debug_print_ULONGEST (arg0
);
4252 gdb_puts (", ", gdb_stdlog
);
4253 target_debug_print_int (arg1
);
4254 gdb_puts (", ", gdb_stdlog
);
4255 target_debug_print_gdb_disassembly_flags (arg2
);
4256 gdb_puts (")\n", gdb_stdlog
);
4260 target_ops::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4262 this->beneath ()->insn_history_range (arg0
, arg1
, arg2
);
4266 dummy_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4272 debug_target::insn_history_range (ULONGEST arg0
, ULONGEST arg1
, gdb_disassembly_flags arg2
)
4274 gdb_printf (gdb_stdlog
, "-> %s->insn_history_range (...)\n", this->beneath ()->shortname ());
4275 this->beneath ()->insn_history_range (arg0
, arg1
, arg2
);
4276 gdb_printf (gdb_stdlog
, "<- %s->insn_history_range (", this->beneath ()->shortname ());
4277 target_debug_print_ULONGEST (arg0
);
4278 gdb_puts (", ", gdb_stdlog
);
4279 target_debug_print_ULONGEST (arg1
);
4280 gdb_puts (", ", gdb_stdlog
);
4281 target_debug_print_gdb_disassembly_flags (arg2
);
4282 gdb_puts (")\n", gdb_stdlog
);
4286 target_ops::call_history (int arg0
, record_print_flags arg1
)
4288 this->beneath ()->call_history (arg0
, arg1
);
4292 dummy_target::call_history (int arg0
, record_print_flags arg1
)
4298 debug_target::call_history (int arg0
, record_print_flags arg1
)
4300 gdb_printf (gdb_stdlog
, "-> %s->call_history (...)\n", this->beneath ()->shortname ());
4301 this->beneath ()->call_history (arg0
, arg1
);
4302 gdb_printf (gdb_stdlog
, "<- %s->call_history (", this->beneath ()->shortname ());
4303 target_debug_print_int (arg0
);
4304 gdb_puts (", ", gdb_stdlog
);
4305 target_debug_print_record_print_flags (arg1
);
4306 gdb_puts (")\n", gdb_stdlog
);
4310 target_ops::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4312 this->beneath ()->call_history_from (arg0
, arg1
, arg2
);
4316 dummy_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4322 debug_target::call_history_from (ULONGEST arg0
, int arg1
, record_print_flags arg2
)
4324 gdb_printf (gdb_stdlog
, "-> %s->call_history_from (...)\n", this->beneath ()->shortname ());
4325 this->beneath ()->call_history_from (arg0
, arg1
, arg2
);
4326 gdb_printf (gdb_stdlog
, "<- %s->call_history_from (", this->beneath ()->shortname ());
4327 target_debug_print_ULONGEST (arg0
);
4328 gdb_puts (", ", gdb_stdlog
);
4329 target_debug_print_int (arg1
);
4330 gdb_puts (", ", gdb_stdlog
);
4331 target_debug_print_record_print_flags (arg2
);
4332 gdb_puts (")\n", gdb_stdlog
);
4336 target_ops::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4338 this->beneath ()->call_history_range (arg0
, arg1
, arg2
);
4342 dummy_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4348 debug_target::call_history_range (ULONGEST arg0
, ULONGEST arg1
, record_print_flags arg2
)
4350 gdb_printf (gdb_stdlog
, "-> %s->call_history_range (...)\n", this->beneath ()->shortname ());
4351 this->beneath ()->call_history_range (arg0
, arg1
, arg2
);
4352 gdb_printf (gdb_stdlog
, "<- %s->call_history_range (", this->beneath ()->shortname ());
4353 target_debug_print_ULONGEST (arg0
);
4354 gdb_puts (", ", gdb_stdlog
);
4355 target_debug_print_ULONGEST (arg1
);
4356 gdb_puts (", ", gdb_stdlog
);
4357 target_debug_print_record_print_flags (arg2
);
4358 gdb_puts (")\n", gdb_stdlog
);
4362 target_ops::augmented_libraries_svr4_read ()
4364 return this->beneath ()->augmented_libraries_svr4_read ();
4368 dummy_target::augmented_libraries_svr4_read ()
4374 debug_target::augmented_libraries_svr4_read ()
4376 gdb_printf (gdb_stdlog
, "-> %s->augmented_libraries_svr4_read (...)\n", this->beneath ()->shortname ());
4378 = this->beneath ()->augmented_libraries_svr4_read ();
4379 gdb_printf (gdb_stdlog
, "<- %s->augmented_libraries_svr4_read (", this->beneath ()->shortname ());
4380 gdb_puts (") = ", gdb_stdlog
);
4381 target_debug_print_bool (result
);
4382 gdb_puts ("\n", gdb_stdlog
);
4386 const struct frame_unwind
*
4387 target_ops::get_unwinder ()
4389 return this->beneath ()->get_unwinder ();
4392 const struct frame_unwind
*
4393 dummy_target::get_unwinder ()
4398 const struct frame_unwind
*
4399 debug_target::get_unwinder ()
4401 gdb_printf (gdb_stdlog
, "-> %s->get_unwinder (...)\n", this->beneath ()->shortname ());
4402 const struct frame_unwind
* result
4403 = this->beneath ()->get_unwinder ();
4404 gdb_printf (gdb_stdlog
, "<- %s->get_unwinder (", this->beneath ()->shortname ());
4405 gdb_puts (") = ", gdb_stdlog
);
4406 target_debug_print_const_frame_unwind_p (result
);
4407 gdb_puts ("\n", gdb_stdlog
);
4411 const struct frame_unwind
*
4412 target_ops::get_tailcall_unwinder ()
4414 return this->beneath ()->get_tailcall_unwinder ();
4417 const struct frame_unwind
*
4418 dummy_target::get_tailcall_unwinder ()
4423 const struct frame_unwind
*
4424 debug_target::get_tailcall_unwinder ()
4426 gdb_printf (gdb_stdlog
, "-> %s->get_tailcall_unwinder (...)\n", this->beneath ()->shortname ());
4427 const struct frame_unwind
* result
4428 = this->beneath ()->get_tailcall_unwinder ();
4429 gdb_printf (gdb_stdlog
, "<- %s->get_tailcall_unwinder (", this->beneath ()->shortname ());
4430 gdb_puts (") = ", gdb_stdlog
);
4431 target_debug_print_const_frame_unwind_p (result
);
4432 gdb_puts ("\n", gdb_stdlog
);
4437 target_ops::prepare_to_generate_core ()
4439 this->beneath ()->prepare_to_generate_core ();
4443 dummy_target::prepare_to_generate_core ()
4448 debug_target::prepare_to_generate_core ()
4450 gdb_printf (gdb_stdlog
, "-> %s->prepare_to_generate_core (...)\n", this->beneath ()->shortname ());
4451 this->beneath ()->prepare_to_generate_core ();
4452 gdb_printf (gdb_stdlog
, "<- %s->prepare_to_generate_core (", this->beneath ()->shortname ());
4453 gdb_puts (")\n", gdb_stdlog
);
4457 target_ops::done_generating_core ()
4459 this->beneath ()->done_generating_core ();
4463 dummy_target::done_generating_core ()
4468 debug_target::done_generating_core ()
4470 gdb_printf (gdb_stdlog
, "-> %s->done_generating_core (...)\n", this->beneath ()->shortname ());
4471 this->beneath ()->done_generating_core ();
4472 gdb_printf (gdb_stdlog
, "<- %s->done_generating_core (", this->beneath ()->shortname ());
4473 gdb_puts (")\n", gdb_stdlog
);
4477 target_ops::supports_memory_tagging ()
4479 return this->beneath ()->supports_memory_tagging ();
4483 dummy_target::supports_memory_tagging ()
4489 debug_target::supports_memory_tagging ()
4491 gdb_printf (gdb_stdlog
, "-> %s->supports_memory_tagging (...)\n", this->beneath ()->shortname ());
4493 = this->beneath ()->supports_memory_tagging ();
4494 gdb_printf (gdb_stdlog
, "<- %s->supports_memory_tagging (", this->beneath ()->shortname ());
4495 gdb_puts (") = ", gdb_stdlog
);
4496 target_debug_print_bool (result
);
4497 gdb_puts ("\n", gdb_stdlog
);
4502 target_ops::fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
)
4504 return this->beneath ()->fetch_memtags (arg0
, arg1
, arg2
, arg3
);
4508 dummy_target::fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
)
4514 debug_target::fetch_memtags (CORE_ADDR arg0
, size_t arg1
, gdb::byte_vector
&arg2
, int arg3
)
4516 gdb_printf (gdb_stdlog
, "-> %s->fetch_memtags (...)\n", this->beneath ()->shortname ());
4518 = this->beneath ()->fetch_memtags (arg0
, arg1
, arg2
, arg3
);
4519 gdb_printf (gdb_stdlog
, "<- %s->fetch_memtags (", this->beneath ()->shortname ());
4520 target_debug_print_CORE_ADDR (arg0
);
4521 gdb_puts (", ", gdb_stdlog
);
4522 target_debug_print_size_t (arg1
);
4523 gdb_puts (", ", gdb_stdlog
);
4524 target_debug_print_gdb_byte_vector_r (arg2
);
4525 gdb_puts (", ", gdb_stdlog
);
4526 target_debug_print_int (arg3
);
4527 gdb_puts (") = ", gdb_stdlog
);
4528 target_debug_print_bool (result
);
4529 gdb_puts ("\n", gdb_stdlog
);
4534 target_ops::store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
)
4536 return this->beneath ()->store_memtags (arg0
, arg1
, arg2
, arg3
);
4540 dummy_target::store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
)
4546 debug_target::store_memtags (CORE_ADDR arg0
, size_t arg1
, const gdb::byte_vector
&arg2
, int arg3
)
4548 gdb_printf (gdb_stdlog
, "-> %s->store_memtags (...)\n", this->beneath ()->shortname ());
4550 = this->beneath ()->store_memtags (arg0
, arg1
, arg2
, arg3
);
4551 gdb_printf (gdb_stdlog
, "<- %s->store_memtags (", this->beneath ()->shortname ());
4552 target_debug_print_CORE_ADDR (arg0
);
4553 gdb_puts (", ", gdb_stdlog
);
4554 target_debug_print_size_t (arg1
);
4555 gdb_puts (", ", gdb_stdlog
);
4556 target_debug_print_const_gdb_byte_vector_r (arg2
);
4557 gdb_puts (", ", gdb_stdlog
);
4558 target_debug_print_int (arg3
);
4559 gdb_puts (") = ", gdb_stdlog
);
4560 target_debug_print_bool (result
);
4561 gdb_puts ("\n", gdb_stdlog
);
4566 target_ops::fetch_x86_xsave_layout ()
4568 return this->beneath ()->fetch_x86_xsave_layout ();
4572 dummy_target::fetch_x86_xsave_layout ()
4574 return x86_xsave_layout ();
4578 debug_target::fetch_x86_xsave_layout ()
4580 gdb_printf (gdb_stdlog
, "-> %s->fetch_x86_xsave_layout (...)\n", this->beneath ()->shortname ());
4581 x86_xsave_layout result
4582 = this->beneath ()->fetch_x86_xsave_layout ();
4583 gdb_printf (gdb_stdlog
, "<- %s->fetch_x86_xsave_layout (", this->beneath ()->shortname ());
4584 gdb_puts (") = ", gdb_stdlog
);
4585 target_debug_print_x86_xsave_layout (result
);
4586 gdb_puts ("\n", gdb_stdlog
);