1 /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */
4 /* To regenerate this file, run:*/
5 /* make-target-delegates target.h > target-delegates.c */
7 delegate_post_attach (struct target_ops
*self
, int arg1
)
10 self
->to_post_attach (self
, arg1
);
14 tdefault_post_attach (struct target_ops
*self
, int arg1
)
19 debug_post_attach (struct target_ops
*self
, int arg1
)
21 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_post_attach (...)\n", debug_target
.to_shortname
);
22 debug_target
.to_post_attach (&debug_target
, arg1
);
23 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_post_attach (", debug_target
.to_shortname
);
24 target_debug_print_struct_target_ops_p (&debug_target
);
25 fputs_unfiltered (", ", gdb_stdlog
);
26 target_debug_print_int (arg1
);
27 fputs_unfiltered (")\n", gdb_stdlog
);
31 delegate_detach (struct target_ops
*self
, const char *arg1
, int arg2
)
34 self
->to_detach (self
, arg1
, arg2
);
38 tdefault_detach (struct target_ops
*self
, const char *arg1
, int arg2
)
43 debug_detach (struct target_ops
*self
, const char *arg1
, int arg2
)
45 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_detach (...)\n", debug_target
.to_shortname
);
46 debug_target
.to_detach (&debug_target
, arg1
, arg2
);
47 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_detach (", debug_target
.to_shortname
);
48 target_debug_print_struct_target_ops_p (&debug_target
);
49 fputs_unfiltered (", ", gdb_stdlog
);
50 target_debug_print_const_char_p (arg1
);
51 fputs_unfiltered (", ", gdb_stdlog
);
52 target_debug_print_int (arg2
);
53 fputs_unfiltered (")\n", gdb_stdlog
);
57 delegate_disconnect (struct target_ops
*self
, const char *arg1
, int arg2
)
60 self
->to_disconnect (self
, arg1
, arg2
);
64 tdefault_disconnect (struct target_ops
*self
, const char *arg1
, int arg2
)
70 debug_disconnect (struct target_ops
*self
, const char *arg1
, int arg2
)
72 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_disconnect (...)\n", debug_target
.to_shortname
);
73 debug_target
.to_disconnect (&debug_target
, arg1
, arg2
);
74 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_disconnect (", debug_target
.to_shortname
);
75 target_debug_print_struct_target_ops_p (&debug_target
);
76 fputs_unfiltered (", ", gdb_stdlog
);
77 target_debug_print_const_char_p (arg1
);
78 fputs_unfiltered (", ", gdb_stdlog
);
79 target_debug_print_int (arg2
);
80 fputs_unfiltered (")\n", gdb_stdlog
);
84 delegate_resume (struct target_ops
*self
, ptid_t arg1
, int arg2
, enum gdb_signal arg3
)
87 self
->to_resume (self
, arg1
, arg2
, arg3
);
91 tdefault_resume (struct target_ops
*self
, ptid_t arg1
, int arg2
, enum gdb_signal arg3
)
97 debug_resume (struct target_ops
*self
, ptid_t arg1
, int arg2
, enum gdb_signal arg3
)
99 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_resume (...)\n", debug_target
.to_shortname
);
100 debug_target
.to_resume (&debug_target
, arg1
, arg2
, arg3
);
101 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_resume (", debug_target
.to_shortname
);
102 target_debug_print_struct_target_ops_p (&debug_target
);
103 fputs_unfiltered (", ", gdb_stdlog
);
104 target_debug_print_ptid_t (arg1
);
105 fputs_unfiltered (", ", gdb_stdlog
);
106 target_debug_print_step (arg2
);
107 fputs_unfiltered (", ", gdb_stdlog
);
108 target_debug_print_enum_gdb_signal (arg3
);
109 fputs_unfiltered (")\n", gdb_stdlog
);
113 delegate_wait (struct target_ops
*self
, ptid_t arg1
, struct target_waitstatus
*arg2
, int arg3
)
115 self
= self
->beneath
;
116 return self
->to_wait (self
, arg1
, arg2
, arg3
);
120 tdefault_wait (struct target_ops
*self
, ptid_t arg1
, struct target_waitstatus
*arg2
, int arg3
)
126 debug_wait (struct target_ops
*self
, ptid_t arg1
, struct target_waitstatus
*arg2
, int arg3
)
129 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_wait (...)\n", debug_target
.to_shortname
);
130 result
= debug_target
.to_wait (&debug_target
, arg1
, arg2
, arg3
);
131 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_wait (", debug_target
.to_shortname
);
132 target_debug_print_struct_target_ops_p (&debug_target
);
133 fputs_unfiltered (", ", gdb_stdlog
);
134 target_debug_print_ptid_t (arg1
);
135 fputs_unfiltered (", ", gdb_stdlog
);
136 target_debug_print_struct_target_waitstatus_p (arg2
);
137 fputs_unfiltered (", ", gdb_stdlog
);
138 target_debug_print_options (arg3
);
139 fputs_unfiltered (") = ", gdb_stdlog
);
140 target_debug_print_ptid_t (result
);
141 fputs_unfiltered ("\n", gdb_stdlog
);
146 delegate_fetch_registers (struct target_ops
*self
, struct regcache
*arg1
, int arg2
)
148 self
= self
->beneath
;
149 self
->to_fetch_registers (self
, arg1
, arg2
);
153 tdefault_fetch_registers (struct target_ops
*self
, struct regcache
*arg1
, int arg2
)
158 debug_fetch_registers (struct target_ops
*self
, struct regcache
*arg1
, int arg2
)
160 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_fetch_registers (...)\n", debug_target
.to_shortname
);
161 debug_target
.to_fetch_registers (&debug_target
, arg1
, arg2
);
162 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_fetch_registers (", debug_target
.to_shortname
);
163 target_debug_print_struct_target_ops_p (&debug_target
);
164 fputs_unfiltered (", ", gdb_stdlog
);
165 target_debug_print_struct_regcache_p (arg1
);
166 fputs_unfiltered (", ", gdb_stdlog
);
167 target_debug_print_int (arg2
);
168 fputs_unfiltered (")\n", gdb_stdlog
);
172 delegate_store_registers (struct target_ops
*self
, struct regcache
*arg1
, int arg2
)
174 self
= self
->beneath
;
175 self
->to_store_registers (self
, arg1
, arg2
);
179 tdefault_store_registers (struct target_ops
*self
, struct regcache
*arg1
, int arg2
)
185 debug_store_registers (struct target_ops
*self
, struct regcache
*arg1
, int arg2
)
187 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_store_registers (...)\n", debug_target
.to_shortname
);
188 debug_target
.to_store_registers (&debug_target
, arg1
, arg2
);
189 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_store_registers (", debug_target
.to_shortname
);
190 target_debug_print_struct_target_ops_p (&debug_target
);
191 fputs_unfiltered (", ", gdb_stdlog
);
192 target_debug_print_struct_regcache_p (arg1
);
193 fputs_unfiltered (", ", gdb_stdlog
);
194 target_debug_print_int (arg2
);
195 fputs_unfiltered (")\n", gdb_stdlog
);
199 delegate_prepare_to_store (struct target_ops
*self
, struct regcache
*arg1
)
201 self
= self
->beneath
;
202 self
->to_prepare_to_store (self
, arg1
);
206 tdefault_prepare_to_store (struct target_ops
*self
, struct regcache
*arg1
)
212 debug_prepare_to_store (struct target_ops
*self
, struct regcache
*arg1
)
214 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_prepare_to_store (...)\n", debug_target
.to_shortname
);
215 debug_target
.to_prepare_to_store (&debug_target
, arg1
);
216 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_prepare_to_store (", debug_target
.to_shortname
);
217 target_debug_print_struct_target_ops_p (&debug_target
);
218 fputs_unfiltered (", ", gdb_stdlog
);
219 target_debug_print_struct_regcache_p (arg1
);
220 fputs_unfiltered (")\n", gdb_stdlog
);
224 delegate_files_info (struct target_ops
*self
)
226 self
= self
->beneath
;
227 self
->to_files_info (self
);
231 tdefault_files_info (struct target_ops
*self
)
236 debug_files_info (struct target_ops
*self
)
238 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_files_info (...)\n", debug_target
.to_shortname
);
239 debug_target
.to_files_info (&debug_target
);
240 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_files_info (", debug_target
.to_shortname
);
241 target_debug_print_struct_target_ops_p (&debug_target
);
242 fputs_unfiltered (")\n", gdb_stdlog
);
246 delegate_insert_breakpoint (struct target_ops
*self
, struct gdbarch
*arg1
, struct bp_target_info
*arg2
)
248 self
= self
->beneath
;
249 return self
->to_insert_breakpoint (self
, arg1
, arg2
);
253 debug_insert_breakpoint (struct target_ops
*self
, struct gdbarch
*arg1
, struct bp_target_info
*arg2
)
256 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_insert_breakpoint (...)\n", debug_target
.to_shortname
);
257 result
= debug_target
.to_insert_breakpoint (&debug_target
, arg1
, arg2
);
258 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_insert_breakpoint (", debug_target
.to_shortname
);
259 target_debug_print_struct_target_ops_p (&debug_target
);
260 fputs_unfiltered (", ", gdb_stdlog
);
261 target_debug_print_struct_gdbarch_p (arg1
);
262 fputs_unfiltered (", ", gdb_stdlog
);
263 target_debug_print_struct_bp_target_info_p (arg2
);
264 fputs_unfiltered (") = ", gdb_stdlog
);
265 target_debug_print_int (result
);
266 fputs_unfiltered ("\n", gdb_stdlog
);
271 delegate_remove_breakpoint (struct target_ops
*self
, struct gdbarch
*arg1
, struct bp_target_info
*arg2
)
273 self
= self
->beneath
;
274 return self
->to_remove_breakpoint (self
, arg1
, arg2
);
278 debug_remove_breakpoint (struct target_ops
*self
, struct gdbarch
*arg1
, struct bp_target_info
*arg2
)
281 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_remove_breakpoint (...)\n", debug_target
.to_shortname
);
282 result
= debug_target
.to_remove_breakpoint (&debug_target
, arg1
, arg2
);
283 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_remove_breakpoint (", debug_target
.to_shortname
);
284 target_debug_print_struct_target_ops_p (&debug_target
);
285 fputs_unfiltered (", ", gdb_stdlog
);
286 target_debug_print_struct_gdbarch_p (arg1
);
287 fputs_unfiltered (", ", gdb_stdlog
);
288 target_debug_print_struct_bp_target_info_p (arg2
);
289 fputs_unfiltered (") = ", gdb_stdlog
);
290 target_debug_print_int (result
);
291 fputs_unfiltered ("\n", gdb_stdlog
);
296 delegate_stopped_by_sw_breakpoint (struct target_ops
*self
)
298 self
= self
->beneath
;
299 return self
->to_stopped_by_sw_breakpoint (self
);
303 tdefault_stopped_by_sw_breakpoint (struct target_ops
*self
)
309 debug_stopped_by_sw_breakpoint (struct target_ops
*self
)
312 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_stopped_by_sw_breakpoint (...)\n", debug_target
.to_shortname
);
313 result
= debug_target
.to_stopped_by_sw_breakpoint (&debug_target
);
314 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_stopped_by_sw_breakpoint (", debug_target
.to_shortname
);
315 target_debug_print_struct_target_ops_p (&debug_target
);
316 fputs_unfiltered (") = ", gdb_stdlog
);
317 target_debug_print_int (result
);
318 fputs_unfiltered ("\n", gdb_stdlog
);
323 delegate_supports_stopped_by_sw_breakpoint (struct target_ops
*self
)
325 self
= self
->beneath
;
326 return self
->to_supports_stopped_by_sw_breakpoint (self
);
330 tdefault_supports_stopped_by_sw_breakpoint (struct target_ops
*self
)
336 debug_supports_stopped_by_sw_breakpoint (struct target_ops
*self
)
339 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_supports_stopped_by_sw_breakpoint (...)\n", debug_target
.to_shortname
);
340 result
= debug_target
.to_supports_stopped_by_sw_breakpoint (&debug_target
);
341 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_supports_stopped_by_sw_breakpoint (", debug_target
.to_shortname
);
342 target_debug_print_struct_target_ops_p (&debug_target
);
343 fputs_unfiltered (") = ", gdb_stdlog
);
344 target_debug_print_int (result
);
345 fputs_unfiltered ("\n", gdb_stdlog
);
350 delegate_stopped_by_hw_breakpoint (struct target_ops
*self
)
352 self
= self
->beneath
;
353 return self
->to_stopped_by_hw_breakpoint (self
);
357 tdefault_stopped_by_hw_breakpoint (struct target_ops
*self
)
363 debug_stopped_by_hw_breakpoint (struct target_ops
*self
)
366 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_stopped_by_hw_breakpoint (...)\n", debug_target
.to_shortname
);
367 result
= debug_target
.to_stopped_by_hw_breakpoint (&debug_target
);
368 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_stopped_by_hw_breakpoint (", debug_target
.to_shortname
);
369 target_debug_print_struct_target_ops_p (&debug_target
);
370 fputs_unfiltered (") = ", gdb_stdlog
);
371 target_debug_print_int (result
);
372 fputs_unfiltered ("\n", gdb_stdlog
);
377 delegate_supports_stopped_by_hw_breakpoint (struct target_ops
*self
)
379 self
= self
->beneath
;
380 return self
->to_supports_stopped_by_hw_breakpoint (self
);
384 tdefault_supports_stopped_by_hw_breakpoint (struct target_ops
*self
)
390 debug_supports_stopped_by_hw_breakpoint (struct target_ops
*self
)
393 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_supports_stopped_by_hw_breakpoint (...)\n", debug_target
.to_shortname
);
394 result
= debug_target
.to_supports_stopped_by_hw_breakpoint (&debug_target
);
395 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_supports_stopped_by_hw_breakpoint (", debug_target
.to_shortname
);
396 target_debug_print_struct_target_ops_p (&debug_target
);
397 fputs_unfiltered (") = ", gdb_stdlog
);
398 target_debug_print_int (result
);
399 fputs_unfiltered ("\n", gdb_stdlog
);
404 delegate_can_use_hw_breakpoint (struct target_ops
*self
, enum bptype arg1
, int arg2
, int arg3
)
406 self
= self
->beneath
;
407 return self
->to_can_use_hw_breakpoint (self
, arg1
, arg2
, arg3
);
411 tdefault_can_use_hw_breakpoint (struct target_ops
*self
, enum bptype arg1
, int arg2
, int arg3
)
417 debug_can_use_hw_breakpoint (struct target_ops
*self
, enum bptype arg1
, int arg2
, int arg3
)
420 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_can_use_hw_breakpoint (...)\n", debug_target
.to_shortname
);
421 result
= debug_target
.to_can_use_hw_breakpoint (&debug_target
, arg1
, arg2
, arg3
);
422 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_can_use_hw_breakpoint (", debug_target
.to_shortname
);
423 target_debug_print_struct_target_ops_p (&debug_target
);
424 fputs_unfiltered (", ", gdb_stdlog
);
425 target_debug_print_enum_bptype (arg1
);
426 fputs_unfiltered (", ", gdb_stdlog
);
427 target_debug_print_int (arg2
);
428 fputs_unfiltered (", ", gdb_stdlog
);
429 target_debug_print_int (arg3
);
430 fputs_unfiltered (") = ", gdb_stdlog
);
431 target_debug_print_int (result
);
432 fputs_unfiltered ("\n", gdb_stdlog
);
437 delegate_ranged_break_num_registers (struct target_ops
*self
)
439 self
= self
->beneath
;
440 return self
->to_ranged_break_num_registers (self
);
444 tdefault_ranged_break_num_registers (struct target_ops
*self
)
450 debug_ranged_break_num_registers (struct target_ops
*self
)
453 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_ranged_break_num_registers (...)\n", debug_target
.to_shortname
);
454 result
= debug_target
.to_ranged_break_num_registers (&debug_target
);
455 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_ranged_break_num_registers (", debug_target
.to_shortname
);
456 target_debug_print_struct_target_ops_p (&debug_target
);
457 fputs_unfiltered (") = ", gdb_stdlog
);
458 target_debug_print_int (result
);
459 fputs_unfiltered ("\n", gdb_stdlog
);
464 delegate_insert_hw_breakpoint (struct target_ops
*self
, struct gdbarch
*arg1
, struct bp_target_info
*arg2
)
466 self
= self
->beneath
;
467 return self
->to_insert_hw_breakpoint (self
, arg1
, arg2
);
471 tdefault_insert_hw_breakpoint (struct target_ops
*self
, struct gdbarch
*arg1
, struct bp_target_info
*arg2
)
477 debug_insert_hw_breakpoint (struct target_ops
*self
, struct gdbarch
*arg1
, struct bp_target_info
*arg2
)
480 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_insert_hw_breakpoint (...)\n", debug_target
.to_shortname
);
481 result
= debug_target
.to_insert_hw_breakpoint (&debug_target
, arg1
, arg2
);
482 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_insert_hw_breakpoint (", debug_target
.to_shortname
);
483 target_debug_print_struct_target_ops_p (&debug_target
);
484 fputs_unfiltered (", ", gdb_stdlog
);
485 target_debug_print_struct_gdbarch_p (arg1
);
486 fputs_unfiltered (", ", gdb_stdlog
);
487 target_debug_print_struct_bp_target_info_p (arg2
);
488 fputs_unfiltered (") = ", gdb_stdlog
);
489 target_debug_print_int (result
);
490 fputs_unfiltered ("\n", gdb_stdlog
);
495 delegate_remove_hw_breakpoint (struct target_ops
*self
, struct gdbarch
*arg1
, struct bp_target_info
*arg2
)
497 self
= self
->beneath
;
498 return self
->to_remove_hw_breakpoint (self
, arg1
, arg2
);
502 tdefault_remove_hw_breakpoint (struct target_ops
*self
, struct gdbarch
*arg1
, struct bp_target_info
*arg2
)
508 debug_remove_hw_breakpoint (struct target_ops
*self
, struct gdbarch
*arg1
, struct bp_target_info
*arg2
)
511 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_remove_hw_breakpoint (...)\n", debug_target
.to_shortname
);
512 result
= debug_target
.to_remove_hw_breakpoint (&debug_target
, arg1
, arg2
);
513 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_remove_hw_breakpoint (", debug_target
.to_shortname
);
514 target_debug_print_struct_target_ops_p (&debug_target
);
515 fputs_unfiltered (", ", gdb_stdlog
);
516 target_debug_print_struct_gdbarch_p (arg1
);
517 fputs_unfiltered (", ", gdb_stdlog
);
518 target_debug_print_struct_bp_target_info_p (arg2
);
519 fputs_unfiltered (") = ", gdb_stdlog
);
520 target_debug_print_int (result
);
521 fputs_unfiltered ("\n", gdb_stdlog
);
526 delegate_remove_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, int arg2
, enum target_hw_bp_type arg3
, struct expression
*arg4
)
528 self
= self
->beneath
;
529 return self
->to_remove_watchpoint (self
, arg1
, arg2
, arg3
, arg4
);
533 tdefault_remove_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, int arg2
, enum target_hw_bp_type arg3
, struct expression
*arg4
)
539 debug_remove_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, int arg2
, enum target_hw_bp_type arg3
, struct expression
*arg4
)
542 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_remove_watchpoint (...)\n", debug_target
.to_shortname
);
543 result
= debug_target
.to_remove_watchpoint (&debug_target
, arg1
, arg2
, arg3
, arg4
);
544 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_remove_watchpoint (", debug_target
.to_shortname
);
545 target_debug_print_struct_target_ops_p (&debug_target
);
546 fputs_unfiltered (", ", gdb_stdlog
);
547 target_debug_print_CORE_ADDR (arg1
);
548 fputs_unfiltered (", ", gdb_stdlog
);
549 target_debug_print_int (arg2
);
550 fputs_unfiltered (", ", gdb_stdlog
);
551 target_debug_print_enum_target_hw_bp_type (arg3
);
552 fputs_unfiltered (", ", gdb_stdlog
);
553 target_debug_print_struct_expression_p (arg4
);
554 fputs_unfiltered (") = ", gdb_stdlog
);
555 target_debug_print_int (result
);
556 fputs_unfiltered ("\n", gdb_stdlog
);
561 delegate_insert_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, int arg2
, enum target_hw_bp_type arg3
, struct expression
*arg4
)
563 self
= self
->beneath
;
564 return self
->to_insert_watchpoint (self
, arg1
, arg2
, arg3
, arg4
);
568 tdefault_insert_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, int arg2
, enum target_hw_bp_type arg3
, struct expression
*arg4
)
574 debug_insert_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, int arg2
, enum target_hw_bp_type arg3
, struct expression
*arg4
)
577 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_insert_watchpoint (...)\n", debug_target
.to_shortname
);
578 result
= debug_target
.to_insert_watchpoint (&debug_target
, arg1
, arg2
, arg3
, arg4
);
579 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_insert_watchpoint (", debug_target
.to_shortname
);
580 target_debug_print_struct_target_ops_p (&debug_target
);
581 fputs_unfiltered (", ", gdb_stdlog
);
582 target_debug_print_CORE_ADDR (arg1
);
583 fputs_unfiltered (", ", gdb_stdlog
);
584 target_debug_print_int (arg2
);
585 fputs_unfiltered (", ", gdb_stdlog
);
586 target_debug_print_enum_target_hw_bp_type (arg3
);
587 fputs_unfiltered (", ", gdb_stdlog
);
588 target_debug_print_struct_expression_p (arg4
);
589 fputs_unfiltered (") = ", gdb_stdlog
);
590 target_debug_print_int (result
);
591 fputs_unfiltered ("\n", gdb_stdlog
);
596 delegate_insert_mask_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, CORE_ADDR arg2
, int arg3
)
598 self
= self
->beneath
;
599 return self
->to_insert_mask_watchpoint (self
, arg1
, arg2
, arg3
);
603 tdefault_insert_mask_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, CORE_ADDR arg2
, int arg3
)
609 debug_insert_mask_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, CORE_ADDR arg2
, int arg3
)
612 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_insert_mask_watchpoint (...)\n", debug_target
.to_shortname
);
613 result
= debug_target
.to_insert_mask_watchpoint (&debug_target
, arg1
, arg2
, arg3
);
614 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_insert_mask_watchpoint (", debug_target
.to_shortname
);
615 target_debug_print_struct_target_ops_p (&debug_target
);
616 fputs_unfiltered (", ", gdb_stdlog
);
617 target_debug_print_CORE_ADDR (arg1
);
618 fputs_unfiltered (", ", gdb_stdlog
);
619 target_debug_print_CORE_ADDR (arg2
);
620 fputs_unfiltered (", ", gdb_stdlog
);
621 target_debug_print_int (arg3
);
622 fputs_unfiltered (") = ", gdb_stdlog
);
623 target_debug_print_int (result
);
624 fputs_unfiltered ("\n", gdb_stdlog
);
629 delegate_remove_mask_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, CORE_ADDR arg2
, int arg3
)
631 self
= self
->beneath
;
632 return self
->to_remove_mask_watchpoint (self
, arg1
, arg2
, arg3
);
636 tdefault_remove_mask_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, CORE_ADDR arg2
, int arg3
)
642 debug_remove_mask_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, CORE_ADDR arg2
, int arg3
)
645 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_remove_mask_watchpoint (...)\n", debug_target
.to_shortname
);
646 result
= debug_target
.to_remove_mask_watchpoint (&debug_target
, arg1
, arg2
, arg3
);
647 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_remove_mask_watchpoint (", debug_target
.to_shortname
);
648 target_debug_print_struct_target_ops_p (&debug_target
);
649 fputs_unfiltered (", ", gdb_stdlog
);
650 target_debug_print_CORE_ADDR (arg1
);
651 fputs_unfiltered (", ", gdb_stdlog
);
652 target_debug_print_CORE_ADDR (arg2
);
653 fputs_unfiltered (", ", gdb_stdlog
);
654 target_debug_print_int (arg3
);
655 fputs_unfiltered (") = ", gdb_stdlog
);
656 target_debug_print_int (result
);
657 fputs_unfiltered ("\n", gdb_stdlog
);
662 delegate_stopped_by_watchpoint (struct target_ops
*self
)
664 self
= self
->beneath
;
665 return self
->to_stopped_by_watchpoint (self
);
669 tdefault_stopped_by_watchpoint (struct target_ops
*self
)
675 debug_stopped_by_watchpoint (struct target_ops
*self
)
678 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_stopped_by_watchpoint (...)\n", debug_target
.to_shortname
);
679 result
= debug_target
.to_stopped_by_watchpoint (&debug_target
);
680 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_stopped_by_watchpoint (", debug_target
.to_shortname
);
681 target_debug_print_struct_target_ops_p (&debug_target
);
682 fputs_unfiltered (") = ", gdb_stdlog
);
683 target_debug_print_int (result
);
684 fputs_unfiltered ("\n", gdb_stdlog
);
689 delegate_stopped_data_address (struct target_ops
*self
, CORE_ADDR
*arg1
)
691 self
= self
->beneath
;
692 return self
->to_stopped_data_address (self
, arg1
);
696 tdefault_stopped_data_address (struct target_ops
*self
, CORE_ADDR
*arg1
)
702 debug_stopped_data_address (struct target_ops
*self
, CORE_ADDR
*arg1
)
705 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_stopped_data_address (...)\n", debug_target
.to_shortname
);
706 result
= debug_target
.to_stopped_data_address (&debug_target
, arg1
);
707 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_stopped_data_address (", debug_target
.to_shortname
);
708 target_debug_print_struct_target_ops_p (&debug_target
);
709 fputs_unfiltered (", ", gdb_stdlog
);
710 target_debug_print_CORE_ADDR_p (arg1
);
711 fputs_unfiltered (") = ", gdb_stdlog
);
712 target_debug_print_int (result
);
713 fputs_unfiltered ("\n", gdb_stdlog
);
718 delegate_watchpoint_addr_within_range (struct target_ops
*self
, CORE_ADDR arg1
, CORE_ADDR arg2
, int arg3
)
720 self
= self
->beneath
;
721 return self
->to_watchpoint_addr_within_range (self
, arg1
, arg2
, arg3
);
725 debug_watchpoint_addr_within_range (struct target_ops
*self
, CORE_ADDR arg1
, CORE_ADDR arg2
, int arg3
)
728 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_watchpoint_addr_within_range (...)\n", debug_target
.to_shortname
);
729 result
= debug_target
.to_watchpoint_addr_within_range (&debug_target
, arg1
, arg2
, arg3
);
730 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_watchpoint_addr_within_range (", debug_target
.to_shortname
);
731 target_debug_print_struct_target_ops_p (&debug_target
);
732 fputs_unfiltered (", ", gdb_stdlog
);
733 target_debug_print_CORE_ADDR (arg1
);
734 fputs_unfiltered (", ", gdb_stdlog
);
735 target_debug_print_CORE_ADDR (arg2
);
736 fputs_unfiltered (", ", gdb_stdlog
);
737 target_debug_print_int (arg3
);
738 fputs_unfiltered (") = ", gdb_stdlog
);
739 target_debug_print_int (result
);
740 fputs_unfiltered ("\n", gdb_stdlog
);
745 delegate_region_ok_for_hw_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, int arg2
)
747 self
= self
->beneath
;
748 return self
->to_region_ok_for_hw_watchpoint (self
, arg1
, arg2
);
752 debug_region_ok_for_hw_watchpoint (struct target_ops
*self
, CORE_ADDR arg1
, int arg2
)
755 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_region_ok_for_hw_watchpoint (...)\n", debug_target
.to_shortname
);
756 result
= debug_target
.to_region_ok_for_hw_watchpoint (&debug_target
, arg1
, arg2
);
757 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_region_ok_for_hw_watchpoint (", debug_target
.to_shortname
);
758 target_debug_print_struct_target_ops_p (&debug_target
);
759 fputs_unfiltered (", ", gdb_stdlog
);
760 target_debug_print_CORE_ADDR (arg1
);
761 fputs_unfiltered (", ", gdb_stdlog
);
762 target_debug_print_int (arg2
);
763 fputs_unfiltered (") = ", gdb_stdlog
);
764 target_debug_print_int (result
);
765 fputs_unfiltered ("\n", gdb_stdlog
);
770 delegate_can_accel_watchpoint_condition (struct target_ops
*self
, CORE_ADDR arg1
, int arg2
, int arg3
, struct expression
*arg4
)
772 self
= self
->beneath
;
773 return self
->to_can_accel_watchpoint_condition (self
, arg1
, arg2
, arg3
, arg4
);
777 tdefault_can_accel_watchpoint_condition (struct target_ops
*self
, CORE_ADDR arg1
, int arg2
, int arg3
, struct expression
*arg4
)
783 debug_can_accel_watchpoint_condition (struct target_ops
*self
, CORE_ADDR arg1
, int arg2
, int arg3
, struct expression
*arg4
)
786 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_can_accel_watchpoint_condition (...)\n", debug_target
.to_shortname
);
787 result
= debug_target
.to_can_accel_watchpoint_condition (&debug_target
, arg1
, arg2
, arg3
, arg4
);
788 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_can_accel_watchpoint_condition (", debug_target
.to_shortname
);
789 target_debug_print_struct_target_ops_p (&debug_target
);
790 fputs_unfiltered (", ", gdb_stdlog
);
791 target_debug_print_CORE_ADDR (arg1
);
792 fputs_unfiltered (", ", gdb_stdlog
);
793 target_debug_print_int (arg2
);
794 fputs_unfiltered (", ", gdb_stdlog
);
795 target_debug_print_int (arg3
);
796 fputs_unfiltered (", ", gdb_stdlog
);
797 target_debug_print_struct_expression_p (arg4
);
798 fputs_unfiltered (") = ", gdb_stdlog
);
799 target_debug_print_int (result
);
800 fputs_unfiltered ("\n", gdb_stdlog
);
805 delegate_masked_watch_num_registers (struct target_ops
*self
, CORE_ADDR arg1
, CORE_ADDR arg2
)
807 self
= self
->beneath
;
808 return self
->to_masked_watch_num_registers (self
, arg1
, arg2
);
812 tdefault_masked_watch_num_registers (struct target_ops
*self
, CORE_ADDR arg1
, CORE_ADDR arg2
)
818 debug_masked_watch_num_registers (struct target_ops
*self
, CORE_ADDR arg1
, CORE_ADDR arg2
)
821 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_masked_watch_num_registers (...)\n", debug_target
.to_shortname
);
822 result
= debug_target
.to_masked_watch_num_registers (&debug_target
, arg1
, arg2
);
823 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_masked_watch_num_registers (", debug_target
.to_shortname
);
824 target_debug_print_struct_target_ops_p (&debug_target
);
825 fputs_unfiltered (", ", gdb_stdlog
);
826 target_debug_print_CORE_ADDR (arg1
);
827 fputs_unfiltered (", ", gdb_stdlog
);
828 target_debug_print_CORE_ADDR (arg2
);
829 fputs_unfiltered (") = ", gdb_stdlog
);
830 target_debug_print_int (result
);
831 fputs_unfiltered ("\n", gdb_stdlog
);
836 delegate_terminal_init (struct target_ops
*self
)
838 self
= self
->beneath
;
839 self
->to_terminal_init (self
);
843 tdefault_terminal_init (struct target_ops
*self
)
848 debug_terminal_init (struct target_ops
*self
)
850 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_terminal_init (...)\n", debug_target
.to_shortname
);
851 debug_target
.to_terminal_init (&debug_target
);
852 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_terminal_init (", debug_target
.to_shortname
);
853 target_debug_print_struct_target_ops_p (&debug_target
);
854 fputs_unfiltered (")\n", gdb_stdlog
);
858 delegate_terminal_inferior (struct target_ops
*self
)
860 self
= self
->beneath
;
861 self
->to_terminal_inferior (self
);
865 tdefault_terminal_inferior (struct target_ops
*self
)
870 debug_terminal_inferior (struct target_ops
*self
)
872 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_terminal_inferior (...)\n", debug_target
.to_shortname
);
873 debug_target
.to_terminal_inferior (&debug_target
);
874 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_terminal_inferior (", debug_target
.to_shortname
);
875 target_debug_print_struct_target_ops_p (&debug_target
);
876 fputs_unfiltered (")\n", gdb_stdlog
);
880 delegate_terminal_ours_for_output (struct target_ops
*self
)
882 self
= self
->beneath
;
883 self
->to_terminal_ours_for_output (self
);
887 tdefault_terminal_ours_for_output (struct target_ops
*self
)
892 debug_terminal_ours_for_output (struct target_ops
*self
)
894 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_terminal_ours_for_output (...)\n", debug_target
.to_shortname
);
895 debug_target
.to_terminal_ours_for_output (&debug_target
);
896 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_terminal_ours_for_output (", debug_target
.to_shortname
);
897 target_debug_print_struct_target_ops_p (&debug_target
);
898 fputs_unfiltered (")\n", gdb_stdlog
);
902 delegate_terminal_ours (struct target_ops
*self
)
904 self
= self
->beneath
;
905 self
->to_terminal_ours (self
);
909 tdefault_terminal_ours (struct target_ops
*self
)
914 debug_terminal_ours (struct target_ops
*self
)
916 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_terminal_ours (...)\n", debug_target
.to_shortname
);
917 debug_target
.to_terminal_ours (&debug_target
);
918 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_terminal_ours (", debug_target
.to_shortname
);
919 target_debug_print_struct_target_ops_p (&debug_target
);
920 fputs_unfiltered (")\n", gdb_stdlog
);
924 delegate_terminal_info (struct target_ops
*self
, const char *arg1
, int arg2
)
926 self
= self
->beneath
;
927 self
->to_terminal_info (self
, arg1
, arg2
);
931 debug_terminal_info (struct target_ops
*self
, const char *arg1
, int arg2
)
933 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_terminal_info (...)\n", debug_target
.to_shortname
);
934 debug_target
.to_terminal_info (&debug_target
, arg1
, arg2
);
935 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_terminal_info (", debug_target
.to_shortname
);
936 target_debug_print_struct_target_ops_p (&debug_target
);
937 fputs_unfiltered (", ", gdb_stdlog
);
938 target_debug_print_const_char_p (arg1
);
939 fputs_unfiltered (", ", gdb_stdlog
);
940 target_debug_print_int (arg2
);
941 fputs_unfiltered (")\n", gdb_stdlog
);
945 delegate_kill (struct target_ops
*self
)
947 self
= self
->beneath
;
948 self
->to_kill (self
);
952 tdefault_kill (struct target_ops
*self
)
958 debug_kill (struct target_ops
*self
)
960 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_kill (...)\n", debug_target
.to_shortname
);
961 debug_target
.to_kill (&debug_target
);
962 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_kill (", debug_target
.to_shortname
);
963 target_debug_print_struct_target_ops_p (&debug_target
);
964 fputs_unfiltered (")\n", gdb_stdlog
);
968 delegate_load (struct target_ops
*self
, const char *arg1
, int arg2
)
970 self
= self
->beneath
;
971 self
->to_load (self
, arg1
, arg2
);
975 tdefault_load (struct target_ops
*self
, const char *arg1
, int arg2
)
981 debug_load (struct target_ops
*self
, const char *arg1
, int arg2
)
983 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_load (...)\n", debug_target
.to_shortname
);
984 debug_target
.to_load (&debug_target
, arg1
, arg2
);
985 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_load (", debug_target
.to_shortname
);
986 target_debug_print_struct_target_ops_p (&debug_target
);
987 fputs_unfiltered (", ", gdb_stdlog
);
988 target_debug_print_const_char_p (arg1
);
989 fputs_unfiltered (", ", gdb_stdlog
);
990 target_debug_print_int (arg2
);
991 fputs_unfiltered (")\n", gdb_stdlog
);
995 delegate_post_startup_inferior (struct target_ops
*self
, ptid_t arg1
)
997 self
= self
->beneath
;
998 self
->to_post_startup_inferior (self
, arg1
);
1002 tdefault_post_startup_inferior (struct target_ops
*self
, ptid_t arg1
)
1007 debug_post_startup_inferior (struct target_ops
*self
, ptid_t arg1
)
1009 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_post_startup_inferior (...)\n", debug_target
.to_shortname
);
1010 debug_target
.to_post_startup_inferior (&debug_target
, arg1
);
1011 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_post_startup_inferior (", debug_target
.to_shortname
);
1012 target_debug_print_struct_target_ops_p (&debug_target
);
1013 fputs_unfiltered (", ", gdb_stdlog
);
1014 target_debug_print_ptid_t (arg1
);
1015 fputs_unfiltered (")\n", gdb_stdlog
);
1019 delegate_insert_fork_catchpoint (struct target_ops
*self
, int arg1
)
1021 self
= self
->beneath
;
1022 return self
->to_insert_fork_catchpoint (self
, arg1
);
1026 tdefault_insert_fork_catchpoint (struct target_ops
*self
, int arg1
)
1032 debug_insert_fork_catchpoint (struct target_ops
*self
, int arg1
)
1035 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_insert_fork_catchpoint (...)\n", debug_target
.to_shortname
);
1036 result
= debug_target
.to_insert_fork_catchpoint (&debug_target
, arg1
);
1037 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_insert_fork_catchpoint (", debug_target
.to_shortname
);
1038 target_debug_print_struct_target_ops_p (&debug_target
);
1039 fputs_unfiltered (", ", gdb_stdlog
);
1040 target_debug_print_int (arg1
);
1041 fputs_unfiltered (") = ", gdb_stdlog
);
1042 target_debug_print_int (result
);
1043 fputs_unfiltered ("\n", gdb_stdlog
);
1048 delegate_remove_fork_catchpoint (struct target_ops
*self
, int arg1
)
1050 self
= self
->beneath
;
1051 return self
->to_remove_fork_catchpoint (self
, arg1
);
1055 tdefault_remove_fork_catchpoint (struct target_ops
*self
, int arg1
)
1061 debug_remove_fork_catchpoint (struct target_ops
*self
, int arg1
)
1064 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_remove_fork_catchpoint (...)\n", debug_target
.to_shortname
);
1065 result
= debug_target
.to_remove_fork_catchpoint (&debug_target
, arg1
);
1066 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_remove_fork_catchpoint (", debug_target
.to_shortname
);
1067 target_debug_print_struct_target_ops_p (&debug_target
);
1068 fputs_unfiltered (", ", gdb_stdlog
);
1069 target_debug_print_int (arg1
);
1070 fputs_unfiltered (") = ", gdb_stdlog
);
1071 target_debug_print_int (result
);
1072 fputs_unfiltered ("\n", gdb_stdlog
);
1077 delegate_insert_vfork_catchpoint (struct target_ops
*self
, int arg1
)
1079 self
= self
->beneath
;
1080 return self
->to_insert_vfork_catchpoint (self
, arg1
);
1084 tdefault_insert_vfork_catchpoint (struct target_ops
*self
, int arg1
)
1090 debug_insert_vfork_catchpoint (struct target_ops
*self
, int arg1
)
1093 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_insert_vfork_catchpoint (...)\n", debug_target
.to_shortname
);
1094 result
= debug_target
.to_insert_vfork_catchpoint (&debug_target
, arg1
);
1095 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_insert_vfork_catchpoint (", debug_target
.to_shortname
);
1096 target_debug_print_struct_target_ops_p (&debug_target
);
1097 fputs_unfiltered (", ", gdb_stdlog
);
1098 target_debug_print_int (arg1
);
1099 fputs_unfiltered (") = ", gdb_stdlog
);
1100 target_debug_print_int (result
);
1101 fputs_unfiltered ("\n", gdb_stdlog
);
1106 delegate_remove_vfork_catchpoint (struct target_ops
*self
, int arg1
)
1108 self
= self
->beneath
;
1109 return self
->to_remove_vfork_catchpoint (self
, arg1
);
1113 tdefault_remove_vfork_catchpoint (struct target_ops
*self
, int arg1
)
1119 debug_remove_vfork_catchpoint (struct target_ops
*self
, int arg1
)
1122 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_remove_vfork_catchpoint (...)\n", debug_target
.to_shortname
);
1123 result
= debug_target
.to_remove_vfork_catchpoint (&debug_target
, arg1
);
1124 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_remove_vfork_catchpoint (", debug_target
.to_shortname
);
1125 target_debug_print_struct_target_ops_p (&debug_target
);
1126 fputs_unfiltered (", ", gdb_stdlog
);
1127 target_debug_print_int (arg1
);
1128 fputs_unfiltered (") = ", gdb_stdlog
);
1129 target_debug_print_int (result
);
1130 fputs_unfiltered ("\n", gdb_stdlog
);
1135 delegate_follow_fork (struct target_ops
*self
, int arg1
, int arg2
)
1137 self
= self
->beneath
;
1138 return self
->to_follow_fork (self
, arg1
, arg2
);
1142 debug_follow_fork (struct target_ops
*self
, int arg1
, int arg2
)
1145 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_follow_fork (...)\n", debug_target
.to_shortname
);
1146 result
= debug_target
.to_follow_fork (&debug_target
, arg1
, arg2
);
1147 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_follow_fork (", debug_target
.to_shortname
);
1148 target_debug_print_struct_target_ops_p (&debug_target
);
1149 fputs_unfiltered (", ", gdb_stdlog
);
1150 target_debug_print_int (arg1
);
1151 fputs_unfiltered (", ", gdb_stdlog
);
1152 target_debug_print_int (arg2
);
1153 fputs_unfiltered (") = ", gdb_stdlog
);
1154 target_debug_print_int (result
);
1155 fputs_unfiltered ("\n", gdb_stdlog
);
1160 delegate_insert_exec_catchpoint (struct target_ops
*self
, int arg1
)
1162 self
= self
->beneath
;
1163 return self
->to_insert_exec_catchpoint (self
, arg1
);
1167 tdefault_insert_exec_catchpoint (struct target_ops
*self
, int arg1
)
1173 debug_insert_exec_catchpoint (struct target_ops
*self
, int arg1
)
1176 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_insert_exec_catchpoint (...)\n", debug_target
.to_shortname
);
1177 result
= debug_target
.to_insert_exec_catchpoint (&debug_target
, arg1
);
1178 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_insert_exec_catchpoint (", debug_target
.to_shortname
);
1179 target_debug_print_struct_target_ops_p (&debug_target
);
1180 fputs_unfiltered (", ", gdb_stdlog
);
1181 target_debug_print_int (arg1
);
1182 fputs_unfiltered (") = ", gdb_stdlog
);
1183 target_debug_print_int (result
);
1184 fputs_unfiltered ("\n", gdb_stdlog
);
1189 delegate_remove_exec_catchpoint (struct target_ops
*self
, int arg1
)
1191 self
= self
->beneath
;
1192 return self
->to_remove_exec_catchpoint (self
, arg1
);
1196 tdefault_remove_exec_catchpoint (struct target_ops
*self
, int arg1
)
1202 debug_remove_exec_catchpoint (struct target_ops
*self
, int arg1
)
1205 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_remove_exec_catchpoint (...)\n", debug_target
.to_shortname
);
1206 result
= debug_target
.to_remove_exec_catchpoint (&debug_target
, arg1
);
1207 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_remove_exec_catchpoint (", debug_target
.to_shortname
);
1208 target_debug_print_struct_target_ops_p (&debug_target
);
1209 fputs_unfiltered (", ", gdb_stdlog
);
1210 target_debug_print_int (arg1
);
1211 fputs_unfiltered (") = ", gdb_stdlog
);
1212 target_debug_print_int (result
);
1213 fputs_unfiltered ("\n", gdb_stdlog
);
1218 delegate_set_syscall_catchpoint (struct target_ops
*self
, int arg1
, int arg2
, int arg3
, int arg4
, int *arg5
)
1220 self
= self
->beneath
;
1221 return self
->to_set_syscall_catchpoint (self
, arg1
, arg2
, arg3
, arg4
, arg5
);
1225 tdefault_set_syscall_catchpoint (struct target_ops
*self
, int arg1
, int arg2
, int arg3
, int arg4
, int *arg5
)
1231 debug_set_syscall_catchpoint (struct target_ops
*self
, int arg1
, int arg2
, int arg3
, int arg4
, int *arg5
)
1234 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_set_syscall_catchpoint (...)\n", debug_target
.to_shortname
);
1235 result
= debug_target
.to_set_syscall_catchpoint (&debug_target
, arg1
, arg2
, arg3
, arg4
, arg5
);
1236 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_set_syscall_catchpoint (", debug_target
.to_shortname
);
1237 target_debug_print_struct_target_ops_p (&debug_target
);
1238 fputs_unfiltered (", ", gdb_stdlog
);
1239 target_debug_print_int (arg1
);
1240 fputs_unfiltered (", ", gdb_stdlog
);
1241 target_debug_print_int (arg2
);
1242 fputs_unfiltered (", ", gdb_stdlog
);
1243 target_debug_print_int (arg3
);
1244 fputs_unfiltered (", ", gdb_stdlog
);
1245 target_debug_print_int (arg4
);
1246 fputs_unfiltered (", ", gdb_stdlog
);
1247 target_debug_print_int_p (arg5
);
1248 fputs_unfiltered (") = ", gdb_stdlog
);
1249 target_debug_print_int (result
);
1250 fputs_unfiltered ("\n", gdb_stdlog
);
1255 delegate_has_exited (struct target_ops
*self
, int arg1
, int arg2
, int *arg3
)
1257 self
= self
->beneath
;
1258 return self
->to_has_exited (self
, arg1
, arg2
, arg3
);
1262 tdefault_has_exited (struct target_ops
*self
, int arg1
, int arg2
, int *arg3
)
1268 debug_has_exited (struct target_ops
*self
, int arg1
, int arg2
, int *arg3
)
1271 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_has_exited (...)\n", debug_target
.to_shortname
);
1272 result
= debug_target
.to_has_exited (&debug_target
, arg1
, arg2
, arg3
);
1273 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_has_exited (", debug_target
.to_shortname
);
1274 target_debug_print_struct_target_ops_p (&debug_target
);
1275 fputs_unfiltered (", ", gdb_stdlog
);
1276 target_debug_print_int (arg1
);
1277 fputs_unfiltered (", ", gdb_stdlog
);
1278 target_debug_print_int (arg2
);
1279 fputs_unfiltered (", ", gdb_stdlog
);
1280 target_debug_print_int_p (arg3
);
1281 fputs_unfiltered (") = ", gdb_stdlog
);
1282 target_debug_print_int (result
);
1283 fputs_unfiltered ("\n", gdb_stdlog
);
1288 delegate_mourn_inferior (struct target_ops
*self
)
1290 self
= self
->beneath
;
1291 self
->to_mourn_inferior (self
);
1295 debug_mourn_inferior (struct target_ops
*self
)
1297 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_mourn_inferior (...)\n", debug_target
.to_shortname
);
1298 debug_target
.to_mourn_inferior (&debug_target
);
1299 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_mourn_inferior (", debug_target
.to_shortname
);
1300 target_debug_print_struct_target_ops_p (&debug_target
);
1301 fputs_unfiltered (")\n", gdb_stdlog
);
1305 delegate_can_run (struct target_ops
*self
)
1307 self
= self
->beneath
;
1308 return self
->to_can_run (self
);
1312 tdefault_can_run (struct target_ops
*self
)
1318 debug_can_run (struct target_ops
*self
)
1321 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_can_run (...)\n", debug_target
.to_shortname
);
1322 result
= debug_target
.to_can_run (&debug_target
);
1323 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_can_run (", debug_target
.to_shortname
);
1324 target_debug_print_struct_target_ops_p (&debug_target
);
1325 fputs_unfiltered (") = ", gdb_stdlog
);
1326 target_debug_print_int (result
);
1327 fputs_unfiltered ("\n", gdb_stdlog
);
1332 delegate_pass_signals (struct target_ops
*self
, int arg1
, unsigned char * arg2
)
1334 self
= self
->beneath
;
1335 self
->to_pass_signals (self
, arg1
, arg2
);
1339 tdefault_pass_signals (struct target_ops
*self
, int arg1
, unsigned char * arg2
)
1344 debug_pass_signals (struct target_ops
*self
, int arg1
, unsigned char * arg2
)
1346 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_pass_signals (...)\n", debug_target
.to_shortname
);
1347 debug_target
.to_pass_signals (&debug_target
, arg1
, arg2
);
1348 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_pass_signals (", debug_target
.to_shortname
);
1349 target_debug_print_struct_target_ops_p (&debug_target
);
1350 fputs_unfiltered (", ", gdb_stdlog
);
1351 target_debug_print_int (arg1
);
1352 fputs_unfiltered (", ", gdb_stdlog
);
1353 target_debug_print_signals (arg2
);
1354 fputs_unfiltered (")\n", gdb_stdlog
);
1358 delegate_program_signals (struct target_ops
*self
, int arg1
, unsigned char * arg2
)
1360 self
= self
->beneath
;
1361 self
->to_program_signals (self
, arg1
, arg2
);
1365 tdefault_program_signals (struct target_ops
*self
, int arg1
, unsigned char * arg2
)
1370 debug_program_signals (struct target_ops
*self
, int arg1
, unsigned char * arg2
)
1372 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_program_signals (...)\n", debug_target
.to_shortname
);
1373 debug_target
.to_program_signals (&debug_target
, arg1
, arg2
);
1374 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_program_signals (", debug_target
.to_shortname
);
1375 target_debug_print_struct_target_ops_p (&debug_target
);
1376 fputs_unfiltered (", ", gdb_stdlog
);
1377 target_debug_print_int (arg1
);
1378 fputs_unfiltered (", ", gdb_stdlog
);
1379 target_debug_print_signals (arg2
);
1380 fputs_unfiltered (")\n", gdb_stdlog
);
1384 delegate_thread_alive (struct target_ops
*self
, ptid_t arg1
)
1386 self
= self
->beneath
;
1387 return self
->to_thread_alive (self
, arg1
);
1391 tdefault_thread_alive (struct target_ops
*self
, ptid_t arg1
)
1397 debug_thread_alive (struct target_ops
*self
, ptid_t arg1
)
1400 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_thread_alive (...)\n", debug_target
.to_shortname
);
1401 result
= debug_target
.to_thread_alive (&debug_target
, arg1
);
1402 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_thread_alive (", debug_target
.to_shortname
);
1403 target_debug_print_struct_target_ops_p (&debug_target
);
1404 fputs_unfiltered (", ", gdb_stdlog
);
1405 target_debug_print_ptid_t (arg1
);
1406 fputs_unfiltered (") = ", gdb_stdlog
);
1407 target_debug_print_int (result
);
1408 fputs_unfiltered ("\n", gdb_stdlog
);
1413 delegate_update_thread_list (struct target_ops
*self
)
1415 self
= self
->beneath
;
1416 self
->to_update_thread_list (self
);
1420 tdefault_update_thread_list (struct target_ops
*self
)
1425 debug_update_thread_list (struct target_ops
*self
)
1427 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_update_thread_list (...)\n", debug_target
.to_shortname
);
1428 debug_target
.to_update_thread_list (&debug_target
);
1429 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_update_thread_list (", debug_target
.to_shortname
);
1430 target_debug_print_struct_target_ops_p (&debug_target
);
1431 fputs_unfiltered (")\n", gdb_stdlog
);
1435 delegate_pid_to_str (struct target_ops
*self
, ptid_t arg1
)
1437 self
= self
->beneath
;
1438 return self
->to_pid_to_str (self
, arg1
);
1442 debug_pid_to_str (struct target_ops
*self
, ptid_t arg1
)
1445 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_pid_to_str (...)\n", debug_target
.to_shortname
);
1446 result
= debug_target
.to_pid_to_str (&debug_target
, arg1
);
1447 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_pid_to_str (", debug_target
.to_shortname
);
1448 target_debug_print_struct_target_ops_p (&debug_target
);
1449 fputs_unfiltered (", ", gdb_stdlog
);
1450 target_debug_print_ptid_t (arg1
);
1451 fputs_unfiltered (") = ", gdb_stdlog
);
1452 target_debug_print_char_p (result
);
1453 fputs_unfiltered ("\n", gdb_stdlog
);
1458 delegate_extra_thread_info (struct target_ops
*self
, struct thread_info
*arg1
)
1460 self
= self
->beneath
;
1461 return self
->to_extra_thread_info (self
, arg1
);
1465 tdefault_extra_thread_info (struct target_ops
*self
, struct thread_info
*arg1
)
1471 debug_extra_thread_info (struct target_ops
*self
, struct thread_info
*arg1
)
1474 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_extra_thread_info (...)\n", debug_target
.to_shortname
);
1475 result
= debug_target
.to_extra_thread_info (&debug_target
, arg1
);
1476 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_extra_thread_info (", debug_target
.to_shortname
);
1477 target_debug_print_struct_target_ops_p (&debug_target
);
1478 fputs_unfiltered (", ", gdb_stdlog
);
1479 target_debug_print_struct_thread_info_p (arg1
);
1480 fputs_unfiltered (") = ", gdb_stdlog
);
1481 target_debug_print_char_p (result
);
1482 fputs_unfiltered ("\n", gdb_stdlog
);
1487 delegate_thread_name (struct target_ops
*self
, struct thread_info
*arg1
)
1489 self
= self
->beneath
;
1490 return self
->to_thread_name (self
, arg1
);
1494 tdefault_thread_name (struct target_ops
*self
, struct thread_info
*arg1
)
1500 debug_thread_name (struct target_ops
*self
, struct thread_info
*arg1
)
1503 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_thread_name (...)\n", debug_target
.to_shortname
);
1504 result
= debug_target
.to_thread_name (&debug_target
, arg1
);
1505 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_thread_name (", debug_target
.to_shortname
);
1506 target_debug_print_struct_target_ops_p (&debug_target
);
1507 fputs_unfiltered (", ", gdb_stdlog
);
1508 target_debug_print_struct_thread_info_p (arg1
);
1509 fputs_unfiltered (") = ", gdb_stdlog
);
1510 target_debug_print_char_p (result
);
1511 fputs_unfiltered ("\n", gdb_stdlog
);
1516 delegate_stop (struct target_ops
*self
, ptid_t arg1
)
1518 self
= self
->beneath
;
1519 self
->to_stop (self
, arg1
);
1523 tdefault_stop (struct target_ops
*self
, ptid_t arg1
)
1528 debug_stop (struct target_ops
*self
, ptid_t arg1
)
1530 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_stop (...)\n", debug_target
.to_shortname
);
1531 debug_target
.to_stop (&debug_target
, arg1
);
1532 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_stop (", debug_target
.to_shortname
);
1533 target_debug_print_struct_target_ops_p (&debug_target
);
1534 fputs_unfiltered (", ", gdb_stdlog
);
1535 target_debug_print_ptid_t (arg1
);
1536 fputs_unfiltered (")\n", gdb_stdlog
);
1540 delegate_rcmd (struct target_ops
*self
, const char *arg1
, struct ui_file
*arg2
)
1542 self
= self
->beneath
;
1543 self
->to_rcmd (self
, arg1
, arg2
);
1547 debug_rcmd (struct target_ops
*self
, const char *arg1
, struct ui_file
*arg2
)
1549 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_rcmd (...)\n", debug_target
.to_shortname
);
1550 debug_target
.to_rcmd (&debug_target
, arg1
, arg2
);
1551 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_rcmd (", debug_target
.to_shortname
);
1552 target_debug_print_struct_target_ops_p (&debug_target
);
1553 fputs_unfiltered (", ", gdb_stdlog
);
1554 target_debug_print_const_char_p (arg1
);
1555 fputs_unfiltered (", ", gdb_stdlog
);
1556 target_debug_print_struct_ui_file_p (arg2
);
1557 fputs_unfiltered (")\n", gdb_stdlog
);
1561 delegate_pid_to_exec_file (struct target_ops
*self
, int arg1
)
1563 self
= self
->beneath
;
1564 return self
->to_pid_to_exec_file (self
, arg1
);
1568 tdefault_pid_to_exec_file (struct target_ops
*self
, int arg1
)
1574 debug_pid_to_exec_file (struct target_ops
*self
, int arg1
)
1577 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_pid_to_exec_file (...)\n", debug_target
.to_shortname
);
1578 result
= debug_target
.to_pid_to_exec_file (&debug_target
, arg1
);
1579 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_pid_to_exec_file (", debug_target
.to_shortname
);
1580 target_debug_print_struct_target_ops_p (&debug_target
);
1581 fputs_unfiltered (", ", gdb_stdlog
);
1582 target_debug_print_int (arg1
);
1583 fputs_unfiltered (") = ", gdb_stdlog
);
1584 target_debug_print_char_p (result
);
1585 fputs_unfiltered ("\n", gdb_stdlog
);
1590 delegate_log_command (struct target_ops
*self
, const char *arg1
)
1592 self
= self
->beneath
;
1593 self
->to_log_command (self
, arg1
);
1597 tdefault_log_command (struct target_ops
*self
, const char *arg1
)
1602 debug_log_command (struct target_ops
*self
, const char *arg1
)
1604 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_log_command (...)\n", debug_target
.to_shortname
);
1605 debug_target
.to_log_command (&debug_target
, arg1
);
1606 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_log_command (", debug_target
.to_shortname
);
1607 target_debug_print_struct_target_ops_p (&debug_target
);
1608 fputs_unfiltered (", ", gdb_stdlog
);
1609 target_debug_print_const_char_p (arg1
);
1610 fputs_unfiltered (")\n", gdb_stdlog
);
1613 static struct target_section_table
*
1614 delegate_get_section_table (struct target_ops
*self
)
1616 self
= self
->beneath
;
1617 return self
->to_get_section_table (self
);
1620 static struct target_section_table
*
1621 tdefault_get_section_table (struct target_ops
*self
)
1626 static struct target_section_table
*
1627 debug_get_section_table (struct target_ops
*self
)
1629 struct target_section_table
* result
;
1630 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_section_table (...)\n", debug_target
.to_shortname
);
1631 result
= debug_target
.to_get_section_table (&debug_target
);
1632 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_section_table (", debug_target
.to_shortname
);
1633 target_debug_print_struct_target_ops_p (&debug_target
);
1634 fputs_unfiltered (") = ", gdb_stdlog
);
1635 target_debug_print_struct_target_section_table_p (result
);
1636 fputs_unfiltered ("\n", gdb_stdlog
);
1641 delegate_can_async_p (struct target_ops
*self
)
1643 self
= self
->beneath
;
1644 return self
->to_can_async_p (self
);
1648 tdefault_can_async_p (struct target_ops
*self
)
1654 debug_can_async_p (struct target_ops
*self
)
1657 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_can_async_p (...)\n", debug_target
.to_shortname
);
1658 result
= debug_target
.to_can_async_p (&debug_target
);
1659 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_can_async_p (", debug_target
.to_shortname
);
1660 target_debug_print_struct_target_ops_p (&debug_target
);
1661 fputs_unfiltered (") = ", gdb_stdlog
);
1662 target_debug_print_int (result
);
1663 fputs_unfiltered ("\n", gdb_stdlog
);
1668 delegate_is_async_p (struct target_ops
*self
)
1670 self
= self
->beneath
;
1671 return self
->to_is_async_p (self
);
1675 tdefault_is_async_p (struct target_ops
*self
)
1681 debug_is_async_p (struct target_ops
*self
)
1684 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_is_async_p (...)\n", debug_target
.to_shortname
);
1685 result
= debug_target
.to_is_async_p (&debug_target
);
1686 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_is_async_p (", debug_target
.to_shortname
);
1687 target_debug_print_struct_target_ops_p (&debug_target
);
1688 fputs_unfiltered (") = ", gdb_stdlog
);
1689 target_debug_print_int (result
);
1690 fputs_unfiltered ("\n", gdb_stdlog
);
1695 delegate_async (struct target_ops
*self
, int arg1
)
1697 self
= self
->beneath
;
1698 self
->to_async (self
, arg1
);
1702 tdefault_async (struct target_ops
*self
, int arg1
)
1708 debug_async (struct target_ops
*self
, int arg1
)
1710 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_async (...)\n", debug_target
.to_shortname
);
1711 debug_target
.to_async (&debug_target
, arg1
);
1712 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_async (", debug_target
.to_shortname
);
1713 target_debug_print_struct_target_ops_p (&debug_target
);
1714 fputs_unfiltered (", ", gdb_stdlog
);
1715 target_debug_print_int (arg1
);
1716 fputs_unfiltered (")\n", gdb_stdlog
);
1720 delegate_supports_non_stop (struct target_ops
*self
)
1722 self
= self
->beneath
;
1723 return self
->to_supports_non_stop (self
);
1727 tdefault_supports_non_stop (struct target_ops
*self
)
1733 debug_supports_non_stop (struct target_ops
*self
)
1736 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_supports_non_stop (...)\n", debug_target
.to_shortname
);
1737 result
= debug_target
.to_supports_non_stop (&debug_target
);
1738 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_supports_non_stop (", debug_target
.to_shortname
);
1739 target_debug_print_struct_target_ops_p (&debug_target
);
1740 fputs_unfiltered (") = ", gdb_stdlog
);
1741 target_debug_print_int (result
);
1742 fputs_unfiltered ("\n", gdb_stdlog
);
1747 delegate_always_non_stop_p (struct target_ops
*self
)
1749 self
= self
->beneath
;
1750 return self
->to_always_non_stop_p (self
);
1754 tdefault_always_non_stop_p (struct target_ops
*self
)
1760 debug_always_non_stop_p (struct target_ops
*self
)
1763 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_always_non_stop_p (...)\n", debug_target
.to_shortname
);
1764 result
= debug_target
.to_always_non_stop_p (&debug_target
);
1765 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_always_non_stop_p (", debug_target
.to_shortname
);
1766 target_debug_print_struct_target_ops_p (&debug_target
);
1767 fputs_unfiltered (") = ", gdb_stdlog
);
1768 target_debug_print_int (result
);
1769 fputs_unfiltered ("\n", gdb_stdlog
);
1774 delegate_find_memory_regions (struct target_ops
*self
, find_memory_region_ftype arg1
, void *arg2
)
1776 self
= self
->beneath
;
1777 return self
->to_find_memory_regions (self
, arg1
, arg2
);
1781 debug_find_memory_regions (struct target_ops
*self
, find_memory_region_ftype arg1
, void *arg2
)
1784 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_find_memory_regions (...)\n", debug_target
.to_shortname
);
1785 result
= debug_target
.to_find_memory_regions (&debug_target
, arg1
, arg2
);
1786 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_find_memory_regions (", debug_target
.to_shortname
);
1787 target_debug_print_struct_target_ops_p (&debug_target
);
1788 fputs_unfiltered (", ", gdb_stdlog
);
1789 target_debug_print_find_memory_region_ftype (arg1
);
1790 fputs_unfiltered (", ", gdb_stdlog
);
1791 target_debug_print_void_p (arg2
);
1792 fputs_unfiltered (") = ", gdb_stdlog
);
1793 target_debug_print_int (result
);
1794 fputs_unfiltered ("\n", gdb_stdlog
);
1799 delegate_make_corefile_notes (struct target_ops
*self
, bfd
*arg1
, int *arg2
)
1801 self
= self
->beneath
;
1802 return self
->to_make_corefile_notes (self
, arg1
, arg2
);
1806 debug_make_corefile_notes (struct target_ops
*self
, bfd
*arg1
, int *arg2
)
1809 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_make_corefile_notes (...)\n", debug_target
.to_shortname
);
1810 result
= debug_target
.to_make_corefile_notes (&debug_target
, arg1
, arg2
);
1811 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_make_corefile_notes (", debug_target
.to_shortname
);
1812 target_debug_print_struct_target_ops_p (&debug_target
);
1813 fputs_unfiltered (", ", gdb_stdlog
);
1814 target_debug_print_bfd_p (arg1
);
1815 fputs_unfiltered (", ", gdb_stdlog
);
1816 target_debug_print_int_p (arg2
);
1817 fputs_unfiltered (") = ", gdb_stdlog
);
1818 target_debug_print_char_p (result
);
1819 fputs_unfiltered ("\n", gdb_stdlog
);
1824 delegate_get_bookmark (struct target_ops
*self
, const char *arg1
, int arg2
)
1826 self
= self
->beneath
;
1827 return self
->to_get_bookmark (self
, arg1
, arg2
);
1831 tdefault_get_bookmark (struct target_ops
*self
, const char *arg1
, int arg2
)
1837 debug_get_bookmark (struct target_ops
*self
, const char *arg1
, int arg2
)
1840 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_bookmark (...)\n", debug_target
.to_shortname
);
1841 result
= debug_target
.to_get_bookmark (&debug_target
, arg1
, arg2
);
1842 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_bookmark (", debug_target
.to_shortname
);
1843 target_debug_print_struct_target_ops_p (&debug_target
);
1844 fputs_unfiltered (", ", gdb_stdlog
);
1845 target_debug_print_const_char_p (arg1
);
1846 fputs_unfiltered (", ", gdb_stdlog
);
1847 target_debug_print_int (arg2
);
1848 fputs_unfiltered (") = ", gdb_stdlog
);
1849 target_debug_print_gdb_byte_p (result
);
1850 fputs_unfiltered ("\n", gdb_stdlog
);
1855 delegate_goto_bookmark (struct target_ops
*self
, const gdb_byte
*arg1
, int arg2
)
1857 self
= self
->beneath
;
1858 self
->to_goto_bookmark (self
, arg1
, arg2
);
1862 tdefault_goto_bookmark (struct target_ops
*self
, const gdb_byte
*arg1
, int arg2
)
1868 debug_goto_bookmark (struct target_ops
*self
, const gdb_byte
*arg1
, int arg2
)
1870 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_goto_bookmark (...)\n", debug_target
.to_shortname
);
1871 debug_target
.to_goto_bookmark (&debug_target
, arg1
, arg2
);
1872 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_goto_bookmark (", debug_target
.to_shortname
);
1873 target_debug_print_struct_target_ops_p (&debug_target
);
1874 fputs_unfiltered (", ", gdb_stdlog
);
1875 target_debug_print_const_gdb_byte_p (arg1
);
1876 fputs_unfiltered (", ", gdb_stdlog
);
1877 target_debug_print_int (arg2
);
1878 fputs_unfiltered (")\n", gdb_stdlog
);
1882 delegate_get_thread_local_address (struct target_ops
*self
, ptid_t arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
)
1884 self
= self
->beneath
;
1885 return self
->to_get_thread_local_address (self
, arg1
, arg2
, arg3
);
1889 tdefault_get_thread_local_address (struct target_ops
*self
, ptid_t arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
)
1891 generic_tls_error ();
1895 debug_get_thread_local_address (struct target_ops
*self
, ptid_t arg1
, CORE_ADDR arg2
, CORE_ADDR arg3
)
1898 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_thread_local_address (...)\n", debug_target
.to_shortname
);
1899 result
= debug_target
.to_get_thread_local_address (&debug_target
, arg1
, arg2
, arg3
);
1900 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_thread_local_address (", debug_target
.to_shortname
);
1901 target_debug_print_struct_target_ops_p (&debug_target
);
1902 fputs_unfiltered (", ", gdb_stdlog
);
1903 target_debug_print_ptid_t (arg1
);
1904 fputs_unfiltered (", ", gdb_stdlog
);
1905 target_debug_print_CORE_ADDR (arg2
);
1906 fputs_unfiltered (", ", gdb_stdlog
);
1907 target_debug_print_CORE_ADDR (arg3
);
1908 fputs_unfiltered (") = ", gdb_stdlog
);
1909 target_debug_print_CORE_ADDR (result
);
1910 fputs_unfiltered ("\n", gdb_stdlog
);
1914 static enum target_xfer_status
1915 delegate_xfer_partial (struct target_ops
*self
, enum target_object arg1
, const char *arg2
, gdb_byte
*arg3
, const gdb_byte
*arg4
, ULONGEST arg5
, ULONGEST arg6
, ULONGEST
*arg7
)
1917 self
= self
->beneath
;
1918 return self
->to_xfer_partial (self
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
, arg7
);
1921 static enum target_xfer_status
1922 tdefault_xfer_partial (struct target_ops
*self
, enum target_object arg1
, const char *arg2
, gdb_byte
*arg3
, const gdb_byte
*arg4
, ULONGEST arg5
, ULONGEST arg6
, ULONGEST
*arg7
)
1924 return TARGET_XFER_E_IO
;
1927 static enum target_xfer_status
1928 debug_xfer_partial (struct target_ops
*self
, enum target_object arg1
, const char *arg2
, gdb_byte
*arg3
, const gdb_byte
*arg4
, ULONGEST arg5
, ULONGEST arg6
, ULONGEST
*arg7
)
1930 enum target_xfer_status result
;
1931 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_xfer_partial (...)\n", debug_target
.to_shortname
);
1932 result
= debug_target
.to_xfer_partial (&debug_target
, arg1
, arg2
, arg3
, arg4
, arg5
, arg6
, arg7
);
1933 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_xfer_partial (", debug_target
.to_shortname
);
1934 target_debug_print_struct_target_ops_p (&debug_target
);
1935 fputs_unfiltered (", ", gdb_stdlog
);
1936 target_debug_print_enum_target_object (arg1
);
1937 fputs_unfiltered (", ", gdb_stdlog
);
1938 target_debug_print_const_char_p (arg2
);
1939 fputs_unfiltered (", ", gdb_stdlog
);
1940 target_debug_print_gdb_byte_p (arg3
);
1941 fputs_unfiltered (", ", gdb_stdlog
);
1942 target_debug_print_const_gdb_byte_p (arg4
);
1943 fputs_unfiltered (", ", gdb_stdlog
);
1944 target_debug_print_ULONGEST (arg5
);
1945 fputs_unfiltered (", ", gdb_stdlog
);
1946 target_debug_print_ULONGEST (arg6
);
1947 fputs_unfiltered (", ", gdb_stdlog
);
1948 target_debug_print_ULONGEST_p (arg7
);
1949 fputs_unfiltered (") = ", gdb_stdlog
);
1950 target_debug_print_enum_target_xfer_status (result
);
1951 fputs_unfiltered ("\n", gdb_stdlog
);
1955 static VEC(mem_region_s
) *
1956 delegate_memory_map (struct target_ops
*self
)
1958 self
= self
->beneath
;
1959 return self
->to_memory_map (self
);
1962 static VEC(mem_region_s
) *
1963 tdefault_memory_map (struct target_ops
*self
)
1968 static VEC(mem_region_s
) *
1969 debug_memory_map (struct target_ops
*self
)
1971 VEC(mem_region_s
) * result
;
1972 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_memory_map (...)\n", debug_target
.to_shortname
);
1973 result
= debug_target
.to_memory_map (&debug_target
);
1974 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_memory_map (", debug_target
.to_shortname
);
1975 target_debug_print_struct_target_ops_p (&debug_target
);
1976 fputs_unfiltered (") = ", gdb_stdlog
);
1977 target_debug_print_VEC_mem_region_s__p (result
);
1978 fputs_unfiltered ("\n", gdb_stdlog
);
1983 delegate_flash_erase (struct target_ops
*self
, ULONGEST arg1
, LONGEST arg2
)
1985 self
= self
->beneath
;
1986 self
->to_flash_erase (self
, arg1
, arg2
);
1990 tdefault_flash_erase (struct target_ops
*self
, ULONGEST arg1
, LONGEST arg2
)
1996 debug_flash_erase (struct target_ops
*self
, ULONGEST arg1
, LONGEST arg2
)
1998 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_flash_erase (...)\n", debug_target
.to_shortname
);
1999 debug_target
.to_flash_erase (&debug_target
, arg1
, arg2
);
2000 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_flash_erase (", debug_target
.to_shortname
);
2001 target_debug_print_struct_target_ops_p (&debug_target
);
2002 fputs_unfiltered (", ", gdb_stdlog
);
2003 target_debug_print_ULONGEST (arg1
);
2004 fputs_unfiltered (", ", gdb_stdlog
);
2005 target_debug_print_LONGEST (arg2
);
2006 fputs_unfiltered (")\n", gdb_stdlog
);
2010 delegate_flash_done (struct target_ops
*self
)
2012 self
= self
->beneath
;
2013 self
->to_flash_done (self
);
2017 tdefault_flash_done (struct target_ops
*self
)
2023 debug_flash_done (struct target_ops
*self
)
2025 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_flash_done (...)\n", debug_target
.to_shortname
);
2026 debug_target
.to_flash_done (&debug_target
);
2027 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_flash_done (", debug_target
.to_shortname
);
2028 target_debug_print_struct_target_ops_p (&debug_target
);
2029 fputs_unfiltered (")\n", gdb_stdlog
);
2032 static const struct target_desc
*
2033 delegate_read_description (struct target_ops
*self
)
2035 self
= self
->beneath
;
2036 return self
->to_read_description (self
);
2039 static const struct target_desc
*
2040 tdefault_read_description (struct target_ops
*self
)
2045 static const struct target_desc
*
2046 debug_read_description (struct target_ops
*self
)
2048 const struct target_desc
* result
;
2049 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_read_description (...)\n", debug_target
.to_shortname
);
2050 result
= debug_target
.to_read_description (&debug_target
);
2051 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_read_description (", debug_target
.to_shortname
);
2052 target_debug_print_struct_target_ops_p (&debug_target
);
2053 fputs_unfiltered (") = ", gdb_stdlog
);
2054 target_debug_print_const_struct_target_desc_p (result
);
2055 fputs_unfiltered ("\n", gdb_stdlog
);
2060 delegate_get_ada_task_ptid (struct target_ops
*self
, long arg1
, long arg2
)
2062 self
= self
->beneath
;
2063 return self
->to_get_ada_task_ptid (self
, arg1
, arg2
);
2067 debug_get_ada_task_ptid (struct target_ops
*self
, long arg1
, long arg2
)
2070 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_ada_task_ptid (...)\n", debug_target
.to_shortname
);
2071 result
= debug_target
.to_get_ada_task_ptid (&debug_target
, arg1
, arg2
);
2072 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_ada_task_ptid (", debug_target
.to_shortname
);
2073 target_debug_print_struct_target_ops_p (&debug_target
);
2074 fputs_unfiltered (", ", gdb_stdlog
);
2075 target_debug_print_long (arg1
);
2076 fputs_unfiltered (", ", gdb_stdlog
);
2077 target_debug_print_long (arg2
);
2078 fputs_unfiltered (") = ", gdb_stdlog
);
2079 target_debug_print_ptid_t (result
);
2080 fputs_unfiltered ("\n", gdb_stdlog
);
2085 delegate_auxv_parse (struct target_ops
*self
, gdb_byte
**arg1
, gdb_byte
*arg2
, CORE_ADDR
*arg3
, CORE_ADDR
*arg4
)
2087 self
= self
->beneath
;
2088 return self
->to_auxv_parse (self
, arg1
, arg2
, arg3
, arg4
);
2092 debug_auxv_parse (struct target_ops
*self
, gdb_byte
**arg1
, gdb_byte
*arg2
, CORE_ADDR
*arg3
, CORE_ADDR
*arg4
)
2095 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_auxv_parse (...)\n", debug_target
.to_shortname
);
2096 result
= debug_target
.to_auxv_parse (&debug_target
, arg1
, arg2
, arg3
, arg4
);
2097 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_auxv_parse (", debug_target
.to_shortname
);
2098 target_debug_print_struct_target_ops_p (&debug_target
);
2099 fputs_unfiltered (", ", gdb_stdlog
);
2100 target_debug_print_gdb_byte_pp (arg1
);
2101 fputs_unfiltered (", ", gdb_stdlog
);
2102 target_debug_print_gdb_byte_p (arg2
);
2103 fputs_unfiltered (", ", gdb_stdlog
);
2104 target_debug_print_CORE_ADDR_p (arg3
);
2105 fputs_unfiltered (", ", gdb_stdlog
);
2106 target_debug_print_CORE_ADDR_p (arg4
);
2107 fputs_unfiltered (") = ", gdb_stdlog
);
2108 target_debug_print_int (result
);
2109 fputs_unfiltered ("\n", gdb_stdlog
);
2114 delegate_search_memory (struct target_ops
*self
, CORE_ADDR arg1
, ULONGEST arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, CORE_ADDR
*arg5
)
2116 self
= self
->beneath
;
2117 return self
->to_search_memory (self
, arg1
, arg2
, arg3
, arg4
, arg5
);
2121 debug_search_memory (struct target_ops
*self
, CORE_ADDR arg1
, ULONGEST arg2
, const gdb_byte
*arg3
, ULONGEST arg4
, CORE_ADDR
*arg5
)
2124 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_search_memory (...)\n", debug_target
.to_shortname
);
2125 result
= debug_target
.to_search_memory (&debug_target
, arg1
, arg2
, arg3
, arg4
, arg5
);
2126 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_search_memory (", debug_target
.to_shortname
);
2127 target_debug_print_struct_target_ops_p (&debug_target
);
2128 fputs_unfiltered (", ", gdb_stdlog
);
2129 target_debug_print_CORE_ADDR (arg1
);
2130 fputs_unfiltered (", ", gdb_stdlog
);
2131 target_debug_print_ULONGEST (arg2
);
2132 fputs_unfiltered (", ", gdb_stdlog
);
2133 target_debug_print_const_gdb_byte_p (arg3
);
2134 fputs_unfiltered (", ", gdb_stdlog
);
2135 target_debug_print_ULONGEST (arg4
);
2136 fputs_unfiltered (", ", gdb_stdlog
);
2137 target_debug_print_CORE_ADDR_p (arg5
);
2138 fputs_unfiltered (") = ", gdb_stdlog
);
2139 target_debug_print_int (result
);
2140 fputs_unfiltered ("\n", gdb_stdlog
);
2145 delegate_can_execute_reverse (struct target_ops
*self
)
2147 self
= self
->beneath
;
2148 return self
->to_can_execute_reverse (self
);
2152 tdefault_can_execute_reverse (struct target_ops
*self
)
2158 debug_can_execute_reverse (struct target_ops
*self
)
2161 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_can_execute_reverse (...)\n", debug_target
.to_shortname
);
2162 result
= debug_target
.to_can_execute_reverse (&debug_target
);
2163 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_can_execute_reverse (", debug_target
.to_shortname
);
2164 target_debug_print_struct_target_ops_p (&debug_target
);
2165 fputs_unfiltered (") = ", gdb_stdlog
);
2166 target_debug_print_int (result
);
2167 fputs_unfiltered ("\n", gdb_stdlog
);
2171 static enum exec_direction_kind
2172 delegate_execution_direction (struct target_ops
*self
)
2174 self
= self
->beneath
;
2175 return self
->to_execution_direction (self
);
2178 static enum exec_direction_kind
2179 debug_execution_direction (struct target_ops
*self
)
2181 enum exec_direction_kind result
;
2182 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_execution_direction (...)\n", debug_target
.to_shortname
);
2183 result
= debug_target
.to_execution_direction (&debug_target
);
2184 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_execution_direction (", debug_target
.to_shortname
);
2185 target_debug_print_struct_target_ops_p (&debug_target
);
2186 fputs_unfiltered (") = ", gdb_stdlog
);
2187 target_debug_print_enum_exec_direction_kind (result
);
2188 fputs_unfiltered ("\n", gdb_stdlog
);
2193 delegate_supports_multi_process (struct target_ops
*self
)
2195 self
= self
->beneath
;
2196 return self
->to_supports_multi_process (self
);
2200 tdefault_supports_multi_process (struct target_ops
*self
)
2206 debug_supports_multi_process (struct target_ops
*self
)
2209 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_supports_multi_process (...)\n", debug_target
.to_shortname
);
2210 result
= debug_target
.to_supports_multi_process (&debug_target
);
2211 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_supports_multi_process (", debug_target
.to_shortname
);
2212 target_debug_print_struct_target_ops_p (&debug_target
);
2213 fputs_unfiltered (") = ", gdb_stdlog
);
2214 target_debug_print_int (result
);
2215 fputs_unfiltered ("\n", gdb_stdlog
);
2220 delegate_supports_enable_disable_tracepoint (struct target_ops
*self
)
2222 self
= self
->beneath
;
2223 return self
->to_supports_enable_disable_tracepoint (self
);
2227 tdefault_supports_enable_disable_tracepoint (struct target_ops
*self
)
2233 debug_supports_enable_disable_tracepoint (struct target_ops
*self
)
2236 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_supports_enable_disable_tracepoint (...)\n", debug_target
.to_shortname
);
2237 result
= debug_target
.to_supports_enable_disable_tracepoint (&debug_target
);
2238 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_supports_enable_disable_tracepoint (", debug_target
.to_shortname
);
2239 target_debug_print_struct_target_ops_p (&debug_target
);
2240 fputs_unfiltered (") = ", gdb_stdlog
);
2241 target_debug_print_int (result
);
2242 fputs_unfiltered ("\n", gdb_stdlog
);
2247 delegate_supports_string_tracing (struct target_ops
*self
)
2249 self
= self
->beneath
;
2250 return self
->to_supports_string_tracing (self
);
2254 tdefault_supports_string_tracing (struct target_ops
*self
)
2260 debug_supports_string_tracing (struct target_ops
*self
)
2263 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_supports_string_tracing (...)\n", debug_target
.to_shortname
);
2264 result
= debug_target
.to_supports_string_tracing (&debug_target
);
2265 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_supports_string_tracing (", debug_target
.to_shortname
);
2266 target_debug_print_struct_target_ops_p (&debug_target
);
2267 fputs_unfiltered (") = ", gdb_stdlog
);
2268 target_debug_print_int (result
);
2269 fputs_unfiltered ("\n", gdb_stdlog
);
2274 delegate_supports_evaluation_of_breakpoint_conditions (struct target_ops
*self
)
2276 self
= self
->beneath
;
2277 return self
->to_supports_evaluation_of_breakpoint_conditions (self
);
2281 tdefault_supports_evaluation_of_breakpoint_conditions (struct target_ops
*self
)
2287 debug_supports_evaluation_of_breakpoint_conditions (struct target_ops
*self
)
2290 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_supports_evaluation_of_breakpoint_conditions (...)\n", debug_target
.to_shortname
);
2291 result
= debug_target
.to_supports_evaluation_of_breakpoint_conditions (&debug_target
);
2292 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_supports_evaluation_of_breakpoint_conditions (", debug_target
.to_shortname
);
2293 target_debug_print_struct_target_ops_p (&debug_target
);
2294 fputs_unfiltered (") = ", gdb_stdlog
);
2295 target_debug_print_int (result
);
2296 fputs_unfiltered ("\n", gdb_stdlog
);
2301 delegate_can_run_breakpoint_commands (struct target_ops
*self
)
2303 self
= self
->beneath
;
2304 return self
->to_can_run_breakpoint_commands (self
);
2308 tdefault_can_run_breakpoint_commands (struct target_ops
*self
)
2314 debug_can_run_breakpoint_commands (struct target_ops
*self
)
2317 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_can_run_breakpoint_commands (...)\n", debug_target
.to_shortname
);
2318 result
= debug_target
.to_can_run_breakpoint_commands (&debug_target
);
2319 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_can_run_breakpoint_commands (", debug_target
.to_shortname
);
2320 target_debug_print_struct_target_ops_p (&debug_target
);
2321 fputs_unfiltered (") = ", gdb_stdlog
);
2322 target_debug_print_int (result
);
2323 fputs_unfiltered ("\n", gdb_stdlog
);
2327 static struct gdbarch
*
2328 delegate_thread_architecture (struct target_ops
*self
, ptid_t arg1
)
2330 self
= self
->beneath
;
2331 return self
->to_thread_architecture (self
, arg1
);
2334 static struct gdbarch
*
2335 debug_thread_architecture (struct target_ops
*self
, ptid_t arg1
)
2337 struct gdbarch
* result
;
2338 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_thread_architecture (...)\n", debug_target
.to_shortname
);
2339 result
= debug_target
.to_thread_architecture (&debug_target
, arg1
);
2340 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_thread_architecture (", debug_target
.to_shortname
);
2341 target_debug_print_struct_target_ops_p (&debug_target
);
2342 fputs_unfiltered (", ", gdb_stdlog
);
2343 target_debug_print_ptid_t (arg1
);
2344 fputs_unfiltered (") = ", gdb_stdlog
);
2345 target_debug_print_struct_gdbarch_p (result
);
2346 fputs_unfiltered ("\n", gdb_stdlog
);
2350 static struct address_space
*
2351 delegate_thread_address_space (struct target_ops
*self
, ptid_t arg1
)
2353 self
= self
->beneath
;
2354 return self
->to_thread_address_space (self
, arg1
);
2357 static struct address_space
*
2358 debug_thread_address_space (struct target_ops
*self
, ptid_t arg1
)
2360 struct address_space
* result
;
2361 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_thread_address_space (...)\n", debug_target
.to_shortname
);
2362 result
= debug_target
.to_thread_address_space (&debug_target
, arg1
);
2363 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_thread_address_space (", debug_target
.to_shortname
);
2364 target_debug_print_struct_target_ops_p (&debug_target
);
2365 fputs_unfiltered (", ", gdb_stdlog
);
2366 target_debug_print_ptid_t (arg1
);
2367 fputs_unfiltered (") = ", gdb_stdlog
);
2368 target_debug_print_struct_address_space_p (result
);
2369 fputs_unfiltered ("\n", gdb_stdlog
);
2374 delegate_filesystem_is_local (struct target_ops
*self
)
2376 self
= self
->beneath
;
2377 return self
->to_filesystem_is_local (self
);
2381 tdefault_filesystem_is_local (struct target_ops
*self
)
2387 debug_filesystem_is_local (struct target_ops
*self
)
2390 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_filesystem_is_local (...)\n", debug_target
.to_shortname
);
2391 result
= debug_target
.to_filesystem_is_local (&debug_target
);
2392 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_filesystem_is_local (", debug_target
.to_shortname
);
2393 target_debug_print_struct_target_ops_p (&debug_target
);
2394 fputs_unfiltered (") = ", gdb_stdlog
);
2395 target_debug_print_int (result
);
2396 fputs_unfiltered ("\n", gdb_stdlog
);
2401 delegate_trace_init (struct target_ops
*self
)
2403 self
= self
->beneath
;
2404 self
->to_trace_init (self
);
2408 tdefault_trace_init (struct target_ops
*self
)
2414 debug_trace_init (struct target_ops
*self
)
2416 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_trace_init (...)\n", debug_target
.to_shortname
);
2417 debug_target
.to_trace_init (&debug_target
);
2418 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_trace_init (", debug_target
.to_shortname
);
2419 target_debug_print_struct_target_ops_p (&debug_target
);
2420 fputs_unfiltered (")\n", gdb_stdlog
);
2424 delegate_download_tracepoint (struct target_ops
*self
, struct bp_location
*arg1
)
2426 self
= self
->beneath
;
2427 self
->to_download_tracepoint (self
, arg1
);
2431 tdefault_download_tracepoint (struct target_ops
*self
, struct bp_location
*arg1
)
2437 debug_download_tracepoint (struct target_ops
*self
, struct bp_location
*arg1
)
2439 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_download_tracepoint (...)\n", debug_target
.to_shortname
);
2440 debug_target
.to_download_tracepoint (&debug_target
, arg1
);
2441 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_download_tracepoint (", debug_target
.to_shortname
);
2442 target_debug_print_struct_target_ops_p (&debug_target
);
2443 fputs_unfiltered (", ", gdb_stdlog
);
2444 target_debug_print_struct_bp_location_p (arg1
);
2445 fputs_unfiltered (")\n", gdb_stdlog
);
2449 delegate_can_download_tracepoint (struct target_ops
*self
)
2451 self
= self
->beneath
;
2452 return self
->to_can_download_tracepoint (self
);
2456 tdefault_can_download_tracepoint (struct target_ops
*self
)
2462 debug_can_download_tracepoint (struct target_ops
*self
)
2465 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_can_download_tracepoint (...)\n", debug_target
.to_shortname
);
2466 result
= debug_target
.to_can_download_tracepoint (&debug_target
);
2467 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_can_download_tracepoint (", debug_target
.to_shortname
);
2468 target_debug_print_struct_target_ops_p (&debug_target
);
2469 fputs_unfiltered (") = ", gdb_stdlog
);
2470 target_debug_print_int (result
);
2471 fputs_unfiltered ("\n", gdb_stdlog
);
2476 delegate_download_trace_state_variable (struct target_ops
*self
, struct trace_state_variable
*arg1
)
2478 self
= self
->beneath
;
2479 self
->to_download_trace_state_variable (self
, arg1
);
2483 tdefault_download_trace_state_variable (struct target_ops
*self
, struct trace_state_variable
*arg1
)
2489 debug_download_trace_state_variable (struct target_ops
*self
, struct trace_state_variable
*arg1
)
2491 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_download_trace_state_variable (...)\n", debug_target
.to_shortname
);
2492 debug_target
.to_download_trace_state_variable (&debug_target
, arg1
);
2493 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_download_trace_state_variable (", debug_target
.to_shortname
);
2494 target_debug_print_struct_target_ops_p (&debug_target
);
2495 fputs_unfiltered (", ", gdb_stdlog
);
2496 target_debug_print_struct_trace_state_variable_p (arg1
);
2497 fputs_unfiltered (")\n", gdb_stdlog
);
2501 delegate_enable_tracepoint (struct target_ops
*self
, struct bp_location
*arg1
)
2503 self
= self
->beneath
;
2504 self
->to_enable_tracepoint (self
, arg1
);
2508 tdefault_enable_tracepoint (struct target_ops
*self
, struct bp_location
*arg1
)
2514 debug_enable_tracepoint (struct target_ops
*self
, struct bp_location
*arg1
)
2516 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_enable_tracepoint (...)\n", debug_target
.to_shortname
);
2517 debug_target
.to_enable_tracepoint (&debug_target
, arg1
);
2518 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_enable_tracepoint (", debug_target
.to_shortname
);
2519 target_debug_print_struct_target_ops_p (&debug_target
);
2520 fputs_unfiltered (", ", gdb_stdlog
);
2521 target_debug_print_struct_bp_location_p (arg1
);
2522 fputs_unfiltered (")\n", gdb_stdlog
);
2526 delegate_disable_tracepoint (struct target_ops
*self
, struct bp_location
*arg1
)
2528 self
= self
->beneath
;
2529 self
->to_disable_tracepoint (self
, arg1
);
2533 tdefault_disable_tracepoint (struct target_ops
*self
, struct bp_location
*arg1
)
2539 debug_disable_tracepoint (struct target_ops
*self
, struct bp_location
*arg1
)
2541 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_disable_tracepoint (...)\n", debug_target
.to_shortname
);
2542 debug_target
.to_disable_tracepoint (&debug_target
, arg1
);
2543 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_disable_tracepoint (", debug_target
.to_shortname
);
2544 target_debug_print_struct_target_ops_p (&debug_target
);
2545 fputs_unfiltered (", ", gdb_stdlog
);
2546 target_debug_print_struct_bp_location_p (arg1
);
2547 fputs_unfiltered (")\n", gdb_stdlog
);
2551 delegate_trace_set_readonly_regions (struct target_ops
*self
)
2553 self
= self
->beneath
;
2554 self
->to_trace_set_readonly_regions (self
);
2558 tdefault_trace_set_readonly_regions (struct target_ops
*self
)
2564 debug_trace_set_readonly_regions (struct target_ops
*self
)
2566 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_trace_set_readonly_regions (...)\n", debug_target
.to_shortname
);
2567 debug_target
.to_trace_set_readonly_regions (&debug_target
);
2568 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_trace_set_readonly_regions (", debug_target
.to_shortname
);
2569 target_debug_print_struct_target_ops_p (&debug_target
);
2570 fputs_unfiltered (")\n", gdb_stdlog
);
2574 delegate_trace_start (struct target_ops
*self
)
2576 self
= self
->beneath
;
2577 self
->to_trace_start (self
);
2581 tdefault_trace_start (struct target_ops
*self
)
2587 debug_trace_start (struct target_ops
*self
)
2589 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_trace_start (...)\n", debug_target
.to_shortname
);
2590 debug_target
.to_trace_start (&debug_target
);
2591 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_trace_start (", debug_target
.to_shortname
);
2592 target_debug_print_struct_target_ops_p (&debug_target
);
2593 fputs_unfiltered (")\n", gdb_stdlog
);
2597 delegate_get_trace_status (struct target_ops
*self
, struct trace_status
*arg1
)
2599 self
= self
->beneath
;
2600 return self
->to_get_trace_status (self
, arg1
);
2604 tdefault_get_trace_status (struct target_ops
*self
, struct trace_status
*arg1
)
2610 debug_get_trace_status (struct target_ops
*self
, struct trace_status
*arg1
)
2613 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_trace_status (...)\n", debug_target
.to_shortname
);
2614 result
= debug_target
.to_get_trace_status (&debug_target
, arg1
);
2615 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_trace_status (", debug_target
.to_shortname
);
2616 target_debug_print_struct_target_ops_p (&debug_target
);
2617 fputs_unfiltered (", ", gdb_stdlog
);
2618 target_debug_print_struct_trace_status_p (arg1
);
2619 fputs_unfiltered (") = ", gdb_stdlog
);
2620 target_debug_print_int (result
);
2621 fputs_unfiltered ("\n", gdb_stdlog
);
2626 delegate_get_tracepoint_status (struct target_ops
*self
, struct breakpoint
*arg1
, struct uploaded_tp
*arg2
)
2628 self
= self
->beneath
;
2629 self
->to_get_tracepoint_status (self
, arg1
, arg2
);
2633 tdefault_get_tracepoint_status (struct target_ops
*self
, struct breakpoint
*arg1
, struct uploaded_tp
*arg2
)
2639 debug_get_tracepoint_status (struct target_ops
*self
, struct breakpoint
*arg1
, struct uploaded_tp
*arg2
)
2641 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_tracepoint_status (...)\n", debug_target
.to_shortname
);
2642 debug_target
.to_get_tracepoint_status (&debug_target
, arg1
, arg2
);
2643 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_tracepoint_status (", debug_target
.to_shortname
);
2644 target_debug_print_struct_target_ops_p (&debug_target
);
2645 fputs_unfiltered (", ", gdb_stdlog
);
2646 target_debug_print_struct_breakpoint_p (arg1
);
2647 fputs_unfiltered (", ", gdb_stdlog
);
2648 target_debug_print_struct_uploaded_tp_p (arg2
);
2649 fputs_unfiltered (")\n", gdb_stdlog
);
2653 delegate_trace_stop (struct target_ops
*self
)
2655 self
= self
->beneath
;
2656 self
->to_trace_stop (self
);
2660 tdefault_trace_stop (struct target_ops
*self
)
2666 debug_trace_stop (struct target_ops
*self
)
2668 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_trace_stop (...)\n", debug_target
.to_shortname
);
2669 debug_target
.to_trace_stop (&debug_target
);
2670 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_trace_stop (", debug_target
.to_shortname
);
2671 target_debug_print_struct_target_ops_p (&debug_target
);
2672 fputs_unfiltered (")\n", gdb_stdlog
);
2676 delegate_trace_find (struct target_ops
*self
, enum trace_find_type arg1
, int arg2
, CORE_ADDR arg3
, CORE_ADDR arg4
, int *arg5
)
2678 self
= self
->beneath
;
2679 return self
->to_trace_find (self
, arg1
, arg2
, arg3
, arg4
, arg5
);
2683 tdefault_trace_find (struct target_ops
*self
, enum trace_find_type arg1
, int arg2
, CORE_ADDR arg3
, CORE_ADDR arg4
, int *arg5
)
2689 debug_trace_find (struct target_ops
*self
, enum trace_find_type arg1
, int arg2
, CORE_ADDR arg3
, CORE_ADDR arg4
, int *arg5
)
2692 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_trace_find (...)\n", debug_target
.to_shortname
);
2693 result
= debug_target
.to_trace_find (&debug_target
, arg1
, arg2
, arg3
, arg4
, arg5
);
2694 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_trace_find (", debug_target
.to_shortname
);
2695 target_debug_print_struct_target_ops_p (&debug_target
);
2696 fputs_unfiltered (", ", gdb_stdlog
);
2697 target_debug_print_enum_trace_find_type (arg1
);
2698 fputs_unfiltered (", ", gdb_stdlog
);
2699 target_debug_print_int (arg2
);
2700 fputs_unfiltered (", ", gdb_stdlog
);
2701 target_debug_print_CORE_ADDR (arg3
);
2702 fputs_unfiltered (", ", gdb_stdlog
);
2703 target_debug_print_CORE_ADDR (arg4
);
2704 fputs_unfiltered (", ", gdb_stdlog
);
2705 target_debug_print_int_p (arg5
);
2706 fputs_unfiltered (") = ", gdb_stdlog
);
2707 target_debug_print_int (result
);
2708 fputs_unfiltered ("\n", gdb_stdlog
);
2713 delegate_get_trace_state_variable_value (struct target_ops
*self
, int arg1
, LONGEST
*arg2
)
2715 self
= self
->beneath
;
2716 return self
->to_get_trace_state_variable_value (self
, arg1
, arg2
);
2720 tdefault_get_trace_state_variable_value (struct target_ops
*self
, int arg1
, LONGEST
*arg2
)
2726 debug_get_trace_state_variable_value (struct target_ops
*self
, int arg1
, LONGEST
*arg2
)
2729 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_trace_state_variable_value (...)\n", debug_target
.to_shortname
);
2730 result
= debug_target
.to_get_trace_state_variable_value (&debug_target
, arg1
, arg2
);
2731 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_trace_state_variable_value (", debug_target
.to_shortname
);
2732 target_debug_print_struct_target_ops_p (&debug_target
);
2733 fputs_unfiltered (", ", gdb_stdlog
);
2734 target_debug_print_int (arg1
);
2735 fputs_unfiltered (", ", gdb_stdlog
);
2736 target_debug_print_LONGEST_p (arg2
);
2737 fputs_unfiltered (") = ", gdb_stdlog
);
2738 target_debug_print_int (result
);
2739 fputs_unfiltered ("\n", gdb_stdlog
);
2744 delegate_save_trace_data (struct target_ops
*self
, const char *arg1
)
2746 self
= self
->beneath
;
2747 return self
->to_save_trace_data (self
, arg1
);
2751 tdefault_save_trace_data (struct target_ops
*self
, const char *arg1
)
2757 debug_save_trace_data (struct target_ops
*self
, const char *arg1
)
2760 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_save_trace_data (...)\n", debug_target
.to_shortname
);
2761 result
= debug_target
.to_save_trace_data (&debug_target
, arg1
);
2762 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_save_trace_data (", debug_target
.to_shortname
);
2763 target_debug_print_struct_target_ops_p (&debug_target
);
2764 fputs_unfiltered (", ", gdb_stdlog
);
2765 target_debug_print_const_char_p (arg1
);
2766 fputs_unfiltered (") = ", gdb_stdlog
);
2767 target_debug_print_int (result
);
2768 fputs_unfiltered ("\n", gdb_stdlog
);
2773 delegate_upload_tracepoints (struct target_ops
*self
, struct uploaded_tp
**arg1
)
2775 self
= self
->beneath
;
2776 return self
->to_upload_tracepoints (self
, arg1
);
2780 tdefault_upload_tracepoints (struct target_ops
*self
, struct uploaded_tp
**arg1
)
2786 debug_upload_tracepoints (struct target_ops
*self
, struct uploaded_tp
**arg1
)
2789 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_upload_tracepoints (...)\n", debug_target
.to_shortname
);
2790 result
= debug_target
.to_upload_tracepoints (&debug_target
, arg1
);
2791 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_upload_tracepoints (", debug_target
.to_shortname
);
2792 target_debug_print_struct_target_ops_p (&debug_target
);
2793 fputs_unfiltered (", ", gdb_stdlog
);
2794 target_debug_print_struct_uploaded_tp_pp (arg1
);
2795 fputs_unfiltered (") = ", gdb_stdlog
);
2796 target_debug_print_int (result
);
2797 fputs_unfiltered ("\n", gdb_stdlog
);
2802 delegate_upload_trace_state_variables (struct target_ops
*self
, struct uploaded_tsv
**arg1
)
2804 self
= self
->beneath
;
2805 return self
->to_upload_trace_state_variables (self
, arg1
);
2809 tdefault_upload_trace_state_variables (struct target_ops
*self
, struct uploaded_tsv
**arg1
)
2815 debug_upload_trace_state_variables (struct target_ops
*self
, struct uploaded_tsv
**arg1
)
2818 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_upload_trace_state_variables (...)\n", debug_target
.to_shortname
);
2819 result
= debug_target
.to_upload_trace_state_variables (&debug_target
, arg1
);
2820 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_upload_trace_state_variables (", debug_target
.to_shortname
);
2821 target_debug_print_struct_target_ops_p (&debug_target
);
2822 fputs_unfiltered (", ", gdb_stdlog
);
2823 target_debug_print_struct_uploaded_tsv_pp (arg1
);
2824 fputs_unfiltered (") = ", gdb_stdlog
);
2825 target_debug_print_int (result
);
2826 fputs_unfiltered ("\n", gdb_stdlog
);
2831 delegate_get_raw_trace_data (struct target_ops
*self
, gdb_byte
*arg1
, ULONGEST arg2
, LONGEST arg3
)
2833 self
= self
->beneath
;
2834 return self
->to_get_raw_trace_data (self
, arg1
, arg2
, arg3
);
2838 tdefault_get_raw_trace_data (struct target_ops
*self
, gdb_byte
*arg1
, ULONGEST arg2
, LONGEST arg3
)
2844 debug_get_raw_trace_data (struct target_ops
*self
, gdb_byte
*arg1
, ULONGEST arg2
, LONGEST arg3
)
2847 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_raw_trace_data (...)\n", debug_target
.to_shortname
);
2848 result
= debug_target
.to_get_raw_trace_data (&debug_target
, arg1
, arg2
, arg3
);
2849 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_raw_trace_data (", debug_target
.to_shortname
);
2850 target_debug_print_struct_target_ops_p (&debug_target
);
2851 fputs_unfiltered (", ", gdb_stdlog
);
2852 target_debug_print_gdb_byte_p (arg1
);
2853 fputs_unfiltered (", ", gdb_stdlog
);
2854 target_debug_print_ULONGEST (arg2
);
2855 fputs_unfiltered (", ", gdb_stdlog
);
2856 target_debug_print_LONGEST (arg3
);
2857 fputs_unfiltered (") = ", gdb_stdlog
);
2858 target_debug_print_LONGEST (result
);
2859 fputs_unfiltered ("\n", gdb_stdlog
);
2864 delegate_get_min_fast_tracepoint_insn_len (struct target_ops
*self
)
2866 self
= self
->beneath
;
2867 return self
->to_get_min_fast_tracepoint_insn_len (self
);
2871 tdefault_get_min_fast_tracepoint_insn_len (struct target_ops
*self
)
2877 debug_get_min_fast_tracepoint_insn_len (struct target_ops
*self
)
2880 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_min_fast_tracepoint_insn_len (...)\n", debug_target
.to_shortname
);
2881 result
= debug_target
.to_get_min_fast_tracepoint_insn_len (&debug_target
);
2882 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_min_fast_tracepoint_insn_len (", debug_target
.to_shortname
);
2883 target_debug_print_struct_target_ops_p (&debug_target
);
2884 fputs_unfiltered (") = ", gdb_stdlog
);
2885 target_debug_print_int (result
);
2886 fputs_unfiltered ("\n", gdb_stdlog
);
2891 delegate_set_disconnected_tracing (struct target_ops
*self
, int arg1
)
2893 self
= self
->beneath
;
2894 self
->to_set_disconnected_tracing (self
, arg1
);
2898 tdefault_set_disconnected_tracing (struct target_ops
*self
, int arg1
)
2903 debug_set_disconnected_tracing (struct target_ops
*self
, int arg1
)
2905 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_set_disconnected_tracing (...)\n", debug_target
.to_shortname
);
2906 debug_target
.to_set_disconnected_tracing (&debug_target
, arg1
);
2907 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_set_disconnected_tracing (", debug_target
.to_shortname
);
2908 target_debug_print_struct_target_ops_p (&debug_target
);
2909 fputs_unfiltered (", ", gdb_stdlog
);
2910 target_debug_print_int (arg1
);
2911 fputs_unfiltered (")\n", gdb_stdlog
);
2915 delegate_set_circular_trace_buffer (struct target_ops
*self
, int arg1
)
2917 self
= self
->beneath
;
2918 self
->to_set_circular_trace_buffer (self
, arg1
);
2922 tdefault_set_circular_trace_buffer (struct target_ops
*self
, int arg1
)
2927 debug_set_circular_trace_buffer (struct target_ops
*self
, int arg1
)
2929 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_set_circular_trace_buffer (...)\n", debug_target
.to_shortname
);
2930 debug_target
.to_set_circular_trace_buffer (&debug_target
, arg1
);
2931 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_set_circular_trace_buffer (", debug_target
.to_shortname
);
2932 target_debug_print_struct_target_ops_p (&debug_target
);
2933 fputs_unfiltered (", ", gdb_stdlog
);
2934 target_debug_print_int (arg1
);
2935 fputs_unfiltered (")\n", gdb_stdlog
);
2939 delegate_set_trace_buffer_size (struct target_ops
*self
, LONGEST arg1
)
2941 self
= self
->beneath
;
2942 self
->to_set_trace_buffer_size (self
, arg1
);
2946 tdefault_set_trace_buffer_size (struct target_ops
*self
, LONGEST arg1
)
2951 debug_set_trace_buffer_size (struct target_ops
*self
, LONGEST arg1
)
2953 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_set_trace_buffer_size (...)\n", debug_target
.to_shortname
);
2954 debug_target
.to_set_trace_buffer_size (&debug_target
, arg1
);
2955 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_set_trace_buffer_size (", debug_target
.to_shortname
);
2956 target_debug_print_struct_target_ops_p (&debug_target
);
2957 fputs_unfiltered (", ", gdb_stdlog
);
2958 target_debug_print_LONGEST (arg1
);
2959 fputs_unfiltered (")\n", gdb_stdlog
);
2963 delegate_set_trace_notes (struct target_ops
*self
, const char *arg1
, const char *arg2
, const char *arg3
)
2965 self
= self
->beneath
;
2966 return self
->to_set_trace_notes (self
, arg1
, arg2
, arg3
);
2970 tdefault_set_trace_notes (struct target_ops
*self
, const char *arg1
, const char *arg2
, const char *arg3
)
2976 debug_set_trace_notes (struct target_ops
*self
, const char *arg1
, const char *arg2
, const char *arg3
)
2979 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_set_trace_notes (...)\n", debug_target
.to_shortname
);
2980 result
= debug_target
.to_set_trace_notes (&debug_target
, arg1
, arg2
, arg3
);
2981 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_set_trace_notes (", debug_target
.to_shortname
);
2982 target_debug_print_struct_target_ops_p (&debug_target
);
2983 fputs_unfiltered (", ", gdb_stdlog
);
2984 target_debug_print_const_char_p (arg1
);
2985 fputs_unfiltered (", ", gdb_stdlog
);
2986 target_debug_print_const_char_p (arg2
);
2987 fputs_unfiltered (", ", gdb_stdlog
);
2988 target_debug_print_const_char_p (arg3
);
2989 fputs_unfiltered (") = ", gdb_stdlog
);
2990 target_debug_print_int (result
);
2991 fputs_unfiltered ("\n", gdb_stdlog
);
2996 delegate_core_of_thread (struct target_ops
*self
, ptid_t arg1
)
2998 self
= self
->beneath
;
2999 return self
->to_core_of_thread (self
, arg1
);
3003 tdefault_core_of_thread (struct target_ops
*self
, ptid_t arg1
)
3009 debug_core_of_thread (struct target_ops
*self
, ptid_t arg1
)
3012 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_core_of_thread (...)\n", debug_target
.to_shortname
);
3013 result
= debug_target
.to_core_of_thread (&debug_target
, arg1
);
3014 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_core_of_thread (", debug_target
.to_shortname
);
3015 target_debug_print_struct_target_ops_p (&debug_target
);
3016 fputs_unfiltered (", ", gdb_stdlog
);
3017 target_debug_print_ptid_t (arg1
);
3018 fputs_unfiltered (") = ", gdb_stdlog
);
3019 target_debug_print_int (result
);
3020 fputs_unfiltered ("\n", gdb_stdlog
);
3025 delegate_verify_memory (struct target_ops
*self
, const gdb_byte
*arg1
, CORE_ADDR arg2
, ULONGEST arg3
)
3027 self
= self
->beneath
;
3028 return self
->to_verify_memory (self
, arg1
, arg2
, arg3
);
3032 debug_verify_memory (struct target_ops
*self
, const gdb_byte
*arg1
, CORE_ADDR arg2
, ULONGEST arg3
)
3035 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_verify_memory (...)\n", debug_target
.to_shortname
);
3036 result
= debug_target
.to_verify_memory (&debug_target
, arg1
, arg2
, arg3
);
3037 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_verify_memory (", debug_target
.to_shortname
);
3038 target_debug_print_struct_target_ops_p (&debug_target
);
3039 fputs_unfiltered (", ", gdb_stdlog
);
3040 target_debug_print_const_gdb_byte_p (arg1
);
3041 fputs_unfiltered (", ", gdb_stdlog
);
3042 target_debug_print_CORE_ADDR (arg2
);
3043 fputs_unfiltered (", ", gdb_stdlog
);
3044 target_debug_print_ULONGEST (arg3
);
3045 fputs_unfiltered (") = ", gdb_stdlog
);
3046 target_debug_print_int (result
);
3047 fputs_unfiltered ("\n", gdb_stdlog
);
3052 delegate_get_tib_address (struct target_ops
*self
, ptid_t arg1
, CORE_ADDR
*arg2
)
3054 self
= self
->beneath
;
3055 return self
->to_get_tib_address (self
, arg1
, arg2
);
3059 tdefault_get_tib_address (struct target_ops
*self
, ptid_t arg1
, CORE_ADDR
*arg2
)
3065 debug_get_tib_address (struct target_ops
*self
, ptid_t arg1
, CORE_ADDR
*arg2
)
3068 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_tib_address (...)\n", debug_target
.to_shortname
);
3069 result
= debug_target
.to_get_tib_address (&debug_target
, arg1
, arg2
);
3070 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_tib_address (", debug_target
.to_shortname
);
3071 target_debug_print_struct_target_ops_p (&debug_target
);
3072 fputs_unfiltered (", ", gdb_stdlog
);
3073 target_debug_print_ptid_t (arg1
);
3074 fputs_unfiltered (", ", gdb_stdlog
);
3075 target_debug_print_CORE_ADDR_p (arg2
);
3076 fputs_unfiltered (") = ", gdb_stdlog
);
3077 target_debug_print_int (result
);
3078 fputs_unfiltered ("\n", gdb_stdlog
);
3083 delegate_set_permissions (struct target_ops
*self
)
3085 self
= self
->beneath
;
3086 self
->to_set_permissions (self
);
3090 tdefault_set_permissions (struct target_ops
*self
)
3095 debug_set_permissions (struct target_ops
*self
)
3097 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_set_permissions (...)\n", debug_target
.to_shortname
);
3098 debug_target
.to_set_permissions (&debug_target
);
3099 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_set_permissions (", debug_target
.to_shortname
);
3100 target_debug_print_struct_target_ops_p (&debug_target
);
3101 fputs_unfiltered (")\n", gdb_stdlog
);
3105 delegate_static_tracepoint_marker_at (struct target_ops
*self
, CORE_ADDR arg1
, struct static_tracepoint_marker
*arg2
)
3107 self
= self
->beneath
;
3108 return self
->to_static_tracepoint_marker_at (self
, arg1
, arg2
);
3112 tdefault_static_tracepoint_marker_at (struct target_ops
*self
, CORE_ADDR arg1
, struct static_tracepoint_marker
*arg2
)
3118 debug_static_tracepoint_marker_at (struct target_ops
*self
, CORE_ADDR arg1
, struct static_tracepoint_marker
*arg2
)
3121 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_static_tracepoint_marker_at (...)\n", debug_target
.to_shortname
);
3122 result
= debug_target
.to_static_tracepoint_marker_at (&debug_target
, arg1
, arg2
);
3123 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_static_tracepoint_marker_at (", debug_target
.to_shortname
);
3124 target_debug_print_struct_target_ops_p (&debug_target
);
3125 fputs_unfiltered (", ", gdb_stdlog
);
3126 target_debug_print_CORE_ADDR (arg1
);
3127 fputs_unfiltered (", ", gdb_stdlog
);
3128 target_debug_print_struct_static_tracepoint_marker_p (arg2
);
3129 fputs_unfiltered (") = ", gdb_stdlog
);
3130 target_debug_print_int (result
);
3131 fputs_unfiltered ("\n", gdb_stdlog
);
3135 static VEC(static_tracepoint_marker_p
) *
3136 delegate_static_tracepoint_markers_by_strid (struct target_ops
*self
, const char *arg1
)
3138 self
= self
->beneath
;
3139 return self
->to_static_tracepoint_markers_by_strid (self
, arg1
);
3142 static VEC(static_tracepoint_marker_p
) *
3143 tdefault_static_tracepoint_markers_by_strid (struct target_ops
*self
, const char *arg1
)
3148 static VEC(static_tracepoint_marker_p
) *
3149 debug_static_tracepoint_markers_by_strid (struct target_ops
*self
, const char *arg1
)
3151 VEC(static_tracepoint_marker_p
) * result
;
3152 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_static_tracepoint_markers_by_strid (...)\n", debug_target
.to_shortname
);
3153 result
= debug_target
.to_static_tracepoint_markers_by_strid (&debug_target
, arg1
);
3154 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_static_tracepoint_markers_by_strid (", debug_target
.to_shortname
);
3155 target_debug_print_struct_target_ops_p (&debug_target
);
3156 fputs_unfiltered (", ", gdb_stdlog
);
3157 target_debug_print_const_char_p (arg1
);
3158 fputs_unfiltered (") = ", gdb_stdlog
);
3159 target_debug_print_VEC_static_tracepoint_marker_p__p (result
);
3160 fputs_unfiltered ("\n", gdb_stdlog
);
3164 static struct traceframe_info
*
3165 delegate_traceframe_info (struct target_ops
*self
)
3167 self
= self
->beneath
;
3168 return self
->to_traceframe_info (self
);
3171 static struct traceframe_info
*
3172 tdefault_traceframe_info (struct target_ops
*self
)
3177 static struct traceframe_info
*
3178 debug_traceframe_info (struct target_ops
*self
)
3180 struct traceframe_info
* result
;
3181 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_traceframe_info (...)\n", debug_target
.to_shortname
);
3182 result
= debug_target
.to_traceframe_info (&debug_target
);
3183 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_traceframe_info (", debug_target
.to_shortname
);
3184 target_debug_print_struct_target_ops_p (&debug_target
);
3185 fputs_unfiltered (") = ", gdb_stdlog
);
3186 target_debug_print_struct_traceframe_info_p (result
);
3187 fputs_unfiltered ("\n", gdb_stdlog
);
3192 delegate_use_agent (struct target_ops
*self
, int arg1
)
3194 self
= self
->beneath
;
3195 return self
->to_use_agent (self
, arg1
);
3199 tdefault_use_agent (struct target_ops
*self
, int arg1
)
3205 debug_use_agent (struct target_ops
*self
, int arg1
)
3208 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_use_agent (...)\n", debug_target
.to_shortname
);
3209 result
= debug_target
.to_use_agent (&debug_target
, arg1
);
3210 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_use_agent (", debug_target
.to_shortname
);
3211 target_debug_print_struct_target_ops_p (&debug_target
);
3212 fputs_unfiltered (", ", gdb_stdlog
);
3213 target_debug_print_int (arg1
);
3214 fputs_unfiltered (") = ", gdb_stdlog
);
3215 target_debug_print_int (result
);
3216 fputs_unfiltered ("\n", gdb_stdlog
);
3221 delegate_can_use_agent (struct target_ops
*self
)
3223 self
= self
->beneath
;
3224 return self
->to_can_use_agent (self
);
3228 tdefault_can_use_agent (struct target_ops
*self
)
3234 debug_can_use_agent (struct target_ops
*self
)
3237 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_can_use_agent (...)\n", debug_target
.to_shortname
);
3238 result
= debug_target
.to_can_use_agent (&debug_target
);
3239 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_can_use_agent (", debug_target
.to_shortname
);
3240 target_debug_print_struct_target_ops_p (&debug_target
);
3241 fputs_unfiltered (") = ", gdb_stdlog
);
3242 target_debug_print_int (result
);
3243 fputs_unfiltered ("\n", gdb_stdlog
);
3248 delegate_supports_btrace (struct target_ops
*self
, enum btrace_format arg1
)
3250 self
= self
->beneath
;
3251 return self
->to_supports_btrace (self
, arg1
);
3255 tdefault_supports_btrace (struct target_ops
*self
, enum btrace_format arg1
)
3261 debug_supports_btrace (struct target_ops
*self
, enum btrace_format arg1
)
3264 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_supports_btrace (...)\n", debug_target
.to_shortname
);
3265 result
= debug_target
.to_supports_btrace (&debug_target
, arg1
);
3266 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_supports_btrace (", debug_target
.to_shortname
);
3267 target_debug_print_struct_target_ops_p (&debug_target
);
3268 fputs_unfiltered (", ", gdb_stdlog
);
3269 target_debug_print_enum_btrace_format (arg1
);
3270 fputs_unfiltered (") = ", gdb_stdlog
);
3271 target_debug_print_int (result
);
3272 fputs_unfiltered ("\n", gdb_stdlog
);
3276 static struct btrace_target_info
*
3277 delegate_enable_btrace (struct target_ops
*self
, ptid_t arg1
, const struct btrace_config
*arg2
)
3279 self
= self
->beneath
;
3280 return self
->to_enable_btrace (self
, arg1
, arg2
);
3283 static struct btrace_target_info
*
3284 tdefault_enable_btrace (struct target_ops
*self
, ptid_t arg1
, const struct btrace_config
*arg2
)
3289 static struct btrace_target_info
*
3290 debug_enable_btrace (struct target_ops
*self
, ptid_t arg1
, const struct btrace_config
*arg2
)
3292 struct btrace_target_info
* result
;
3293 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_enable_btrace (...)\n", debug_target
.to_shortname
);
3294 result
= debug_target
.to_enable_btrace (&debug_target
, arg1
, arg2
);
3295 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_enable_btrace (", debug_target
.to_shortname
);
3296 target_debug_print_struct_target_ops_p (&debug_target
);
3297 fputs_unfiltered (", ", gdb_stdlog
);
3298 target_debug_print_ptid_t (arg1
);
3299 fputs_unfiltered (", ", gdb_stdlog
);
3300 target_debug_print_const_struct_btrace_config_p (arg2
);
3301 fputs_unfiltered (") = ", gdb_stdlog
);
3302 target_debug_print_struct_btrace_target_info_p (result
);
3303 fputs_unfiltered ("\n", gdb_stdlog
);
3308 delegate_disable_btrace (struct target_ops
*self
, struct btrace_target_info
*arg1
)
3310 self
= self
->beneath
;
3311 self
->to_disable_btrace (self
, arg1
);
3315 tdefault_disable_btrace (struct target_ops
*self
, struct btrace_target_info
*arg1
)
3321 debug_disable_btrace (struct target_ops
*self
, struct btrace_target_info
*arg1
)
3323 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_disable_btrace (...)\n", debug_target
.to_shortname
);
3324 debug_target
.to_disable_btrace (&debug_target
, arg1
);
3325 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_disable_btrace (", debug_target
.to_shortname
);
3326 target_debug_print_struct_target_ops_p (&debug_target
);
3327 fputs_unfiltered (", ", gdb_stdlog
);
3328 target_debug_print_struct_btrace_target_info_p (arg1
);
3329 fputs_unfiltered (")\n", gdb_stdlog
);
3333 delegate_teardown_btrace (struct target_ops
*self
, struct btrace_target_info
*arg1
)
3335 self
= self
->beneath
;
3336 self
->to_teardown_btrace (self
, arg1
);
3340 tdefault_teardown_btrace (struct target_ops
*self
, struct btrace_target_info
*arg1
)
3346 debug_teardown_btrace (struct target_ops
*self
, struct btrace_target_info
*arg1
)
3348 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_teardown_btrace (...)\n", debug_target
.to_shortname
);
3349 debug_target
.to_teardown_btrace (&debug_target
, arg1
);
3350 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_teardown_btrace (", debug_target
.to_shortname
);
3351 target_debug_print_struct_target_ops_p (&debug_target
);
3352 fputs_unfiltered (", ", gdb_stdlog
);
3353 target_debug_print_struct_btrace_target_info_p (arg1
);
3354 fputs_unfiltered (")\n", gdb_stdlog
);
3357 static enum btrace_error
3358 delegate_read_btrace (struct target_ops
*self
, struct btrace_data
*arg1
, struct btrace_target_info
*arg2
, enum btrace_read_type arg3
)
3360 self
= self
->beneath
;
3361 return self
->to_read_btrace (self
, arg1
, arg2
, arg3
);
3364 static enum btrace_error
3365 tdefault_read_btrace (struct target_ops
*self
, struct btrace_data
*arg1
, struct btrace_target_info
*arg2
, enum btrace_read_type arg3
)
3370 static enum btrace_error
3371 debug_read_btrace (struct target_ops
*self
, struct btrace_data
*arg1
, struct btrace_target_info
*arg2
, enum btrace_read_type arg3
)
3373 enum btrace_error result
;
3374 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_read_btrace (...)\n", debug_target
.to_shortname
);
3375 result
= debug_target
.to_read_btrace (&debug_target
, arg1
, arg2
, arg3
);
3376 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_read_btrace (", debug_target
.to_shortname
);
3377 target_debug_print_struct_target_ops_p (&debug_target
);
3378 fputs_unfiltered (", ", gdb_stdlog
);
3379 target_debug_print_struct_btrace_data_p (arg1
);
3380 fputs_unfiltered (", ", gdb_stdlog
);
3381 target_debug_print_struct_btrace_target_info_p (arg2
);
3382 fputs_unfiltered (", ", gdb_stdlog
);
3383 target_debug_print_enum_btrace_read_type (arg3
);
3384 fputs_unfiltered (") = ", gdb_stdlog
);
3385 target_debug_print_enum_btrace_error (result
);
3386 fputs_unfiltered ("\n", gdb_stdlog
);
3390 static const struct btrace_config
*
3391 delegate_btrace_conf (struct target_ops
*self
, const struct btrace_target_info
*arg1
)
3393 self
= self
->beneath
;
3394 return self
->to_btrace_conf (self
, arg1
);
3397 static const struct btrace_config
*
3398 tdefault_btrace_conf (struct target_ops
*self
, const struct btrace_target_info
*arg1
)
3403 static const struct btrace_config
*
3404 debug_btrace_conf (struct target_ops
*self
, const struct btrace_target_info
*arg1
)
3406 const struct btrace_config
* result
;
3407 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_btrace_conf (...)\n", debug_target
.to_shortname
);
3408 result
= debug_target
.to_btrace_conf (&debug_target
, arg1
);
3409 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_btrace_conf (", debug_target
.to_shortname
);
3410 target_debug_print_struct_target_ops_p (&debug_target
);
3411 fputs_unfiltered (", ", gdb_stdlog
);
3412 target_debug_print_const_struct_btrace_target_info_p (arg1
);
3413 fputs_unfiltered (") = ", gdb_stdlog
);
3414 target_debug_print_const_struct_btrace_config_p (result
);
3415 fputs_unfiltered ("\n", gdb_stdlog
);
3420 delegate_stop_recording (struct target_ops
*self
)
3422 self
= self
->beneath
;
3423 self
->to_stop_recording (self
);
3427 tdefault_stop_recording (struct target_ops
*self
)
3432 debug_stop_recording (struct target_ops
*self
)
3434 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_stop_recording (...)\n", debug_target
.to_shortname
);
3435 debug_target
.to_stop_recording (&debug_target
);
3436 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_stop_recording (", debug_target
.to_shortname
);
3437 target_debug_print_struct_target_ops_p (&debug_target
);
3438 fputs_unfiltered (")\n", gdb_stdlog
);
3442 delegate_info_record (struct target_ops
*self
)
3444 self
= self
->beneath
;
3445 self
->to_info_record (self
);
3449 tdefault_info_record (struct target_ops
*self
)
3454 debug_info_record (struct target_ops
*self
)
3456 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_info_record (...)\n", debug_target
.to_shortname
);
3457 debug_target
.to_info_record (&debug_target
);
3458 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_info_record (", debug_target
.to_shortname
);
3459 target_debug_print_struct_target_ops_p (&debug_target
);
3460 fputs_unfiltered (")\n", gdb_stdlog
);
3464 delegate_save_record (struct target_ops
*self
, const char *arg1
)
3466 self
= self
->beneath
;
3467 self
->to_save_record (self
, arg1
);
3471 tdefault_save_record (struct target_ops
*self
, const char *arg1
)
3477 debug_save_record (struct target_ops
*self
, const char *arg1
)
3479 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_save_record (...)\n", debug_target
.to_shortname
);
3480 debug_target
.to_save_record (&debug_target
, arg1
);
3481 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_save_record (", debug_target
.to_shortname
);
3482 target_debug_print_struct_target_ops_p (&debug_target
);
3483 fputs_unfiltered (", ", gdb_stdlog
);
3484 target_debug_print_const_char_p (arg1
);
3485 fputs_unfiltered (")\n", gdb_stdlog
);
3489 delegate_delete_record (struct target_ops
*self
)
3491 self
= self
->beneath
;
3492 self
->to_delete_record (self
);
3496 tdefault_delete_record (struct target_ops
*self
)
3502 debug_delete_record (struct target_ops
*self
)
3504 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_delete_record (...)\n", debug_target
.to_shortname
);
3505 debug_target
.to_delete_record (&debug_target
);
3506 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_delete_record (", debug_target
.to_shortname
);
3507 target_debug_print_struct_target_ops_p (&debug_target
);
3508 fputs_unfiltered (")\n", gdb_stdlog
);
3512 delegate_record_is_replaying (struct target_ops
*self
)
3514 self
= self
->beneath
;
3515 return self
->to_record_is_replaying (self
);
3519 tdefault_record_is_replaying (struct target_ops
*self
)
3525 debug_record_is_replaying (struct target_ops
*self
)
3528 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_record_is_replaying (...)\n", debug_target
.to_shortname
);
3529 result
= debug_target
.to_record_is_replaying (&debug_target
);
3530 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_record_is_replaying (", debug_target
.to_shortname
);
3531 target_debug_print_struct_target_ops_p (&debug_target
);
3532 fputs_unfiltered (") = ", gdb_stdlog
);
3533 target_debug_print_int (result
);
3534 fputs_unfiltered ("\n", gdb_stdlog
);
3539 delegate_goto_record_begin (struct target_ops
*self
)
3541 self
= self
->beneath
;
3542 self
->to_goto_record_begin (self
);
3546 tdefault_goto_record_begin (struct target_ops
*self
)
3552 debug_goto_record_begin (struct target_ops
*self
)
3554 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_goto_record_begin (...)\n", debug_target
.to_shortname
);
3555 debug_target
.to_goto_record_begin (&debug_target
);
3556 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_goto_record_begin (", debug_target
.to_shortname
);
3557 target_debug_print_struct_target_ops_p (&debug_target
);
3558 fputs_unfiltered (")\n", gdb_stdlog
);
3562 delegate_goto_record_end (struct target_ops
*self
)
3564 self
= self
->beneath
;
3565 self
->to_goto_record_end (self
);
3569 tdefault_goto_record_end (struct target_ops
*self
)
3575 debug_goto_record_end (struct target_ops
*self
)
3577 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_goto_record_end (...)\n", debug_target
.to_shortname
);
3578 debug_target
.to_goto_record_end (&debug_target
);
3579 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_goto_record_end (", debug_target
.to_shortname
);
3580 target_debug_print_struct_target_ops_p (&debug_target
);
3581 fputs_unfiltered (")\n", gdb_stdlog
);
3585 delegate_goto_record (struct target_ops
*self
, ULONGEST arg1
)
3587 self
= self
->beneath
;
3588 self
->to_goto_record (self
, arg1
);
3592 tdefault_goto_record (struct target_ops
*self
, ULONGEST arg1
)
3598 debug_goto_record (struct target_ops
*self
, ULONGEST arg1
)
3600 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_goto_record (...)\n", debug_target
.to_shortname
);
3601 debug_target
.to_goto_record (&debug_target
, arg1
);
3602 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_goto_record (", debug_target
.to_shortname
);
3603 target_debug_print_struct_target_ops_p (&debug_target
);
3604 fputs_unfiltered (", ", gdb_stdlog
);
3605 target_debug_print_ULONGEST (arg1
);
3606 fputs_unfiltered (")\n", gdb_stdlog
);
3610 delegate_insn_history (struct target_ops
*self
, int arg1
, int arg2
)
3612 self
= self
->beneath
;
3613 self
->to_insn_history (self
, arg1
, arg2
);
3617 tdefault_insn_history (struct target_ops
*self
, int arg1
, int arg2
)
3623 debug_insn_history (struct target_ops
*self
, int arg1
, int arg2
)
3625 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_insn_history (...)\n", debug_target
.to_shortname
);
3626 debug_target
.to_insn_history (&debug_target
, arg1
, arg2
);
3627 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_insn_history (", debug_target
.to_shortname
);
3628 target_debug_print_struct_target_ops_p (&debug_target
);
3629 fputs_unfiltered (", ", gdb_stdlog
);
3630 target_debug_print_int (arg1
);
3631 fputs_unfiltered (", ", gdb_stdlog
);
3632 target_debug_print_int (arg2
);
3633 fputs_unfiltered (")\n", gdb_stdlog
);
3637 delegate_insn_history_from (struct target_ops
*self
, ULONGEST arg1
, int arg2
, int arg3
)
3639 self
= self
->beneath
;
3640 self
->to_insn_history_from (self
, arg1
, arg2
, arg3
);
3644 tdefault_insn_history_from (struct target_ops
*self
, ULONGEST arg1
, int arg2
, int arg3
)
3650 debug_insn_history_from (struct target_ops
*self
, ULONGEST arg1
, int arg2
, int arg3
)
3652 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_insn_history_from (...)\n", debug_target
.to_shortname
);
3653 debug_target
.to_insn_history_from (&debug_target
, arg1
, arg2
, arg3
);
3654 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_insn_history_from (", debug_target
.to_shortname
);
3655 target_debug_print_struct_target_ops_p (&debug_target
);
3656 fputs_unfiltered (", ", gdb_stdlog
);
3657 target_debug_print_ULONGEST (arg1
);
3658 fputs_unfiltered (", ", gdb_stdlog
);
3659 target_debug_print_int (arg2
);
3660 fputs_unfiltered (", ", gdb_stdlog
);
3661 target_debug_print_int (arg3
);
3662 fputs_unfiltered (")\n", gdb_stdlog
);
3666 delegate_insn_history_range (struct target_ops
*self
, ULONGEST arg1
, ULONGEST arg2
, int arg3
)
3668 self
= self
->beneath
;
3669 self
->to_insn_history_range (self
, arg1
, arg2
, arg3
);
3673 tdefault_insn_history_range (struct target_ops
*self
, ULONGEST arg1
, ULONGEST arg2
, int arg3
)
3679 debug_insn_history_range (struct target_ops
*self
, ULONGEST arg1
, ULONGEST arg2
, int arg3
)
3681 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_insn_history_range (...)\n", debug_target
.to_shortname
);
3682 debug_target
.to_insn_history_range (&debug_target
, arg1
, arg2
, arg3
);
3683 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_insn_history_range (", debug_target
.to_shortname
);
3684 target_debug_print_struct_target_ops_p (&debug_target
);
3685 fputs_unfiltered (", ", gdb_stdlog
);
3686 target_debug_print_ULONGEST (arg1
);
3687 fputs_unfiltered (", ", gdb_stdlog
);
3688 target_debug_print_ULONGEST (arg2
);
3689 fputs_unfiltered (", ", gdb_stdlog
);
3690 target_debug_print_int (arg3
);
3691 fputs_unfiltered (")\n", gdb_stdlog
);
3695 delegate_call_history (struct target_ops
*self
, int arg1
, int arg2
)
3697 self
= self
->beneath
;
3698 self
->to_call_history (self
, arg1
, arg2
);
3702 tdefault_call_history (struct target_ops
*self
, int arg1
, int arg2
)
3708 debug_call_history (struct target_ops
*self
, int arg1
, int arg2
)
3710 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_call_history (...)\n", debug_target
.to_shortname
);
3711 debug_target
.to_call_history (&debug_target
, arg1
, arg2
);
3712 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_call_history (", debug_target
.to_shortname
);
3713 target_debug_print_struct_target_ops_p (&debug_target
);
3714 fputs_unfiltered (", ", gdb_stdlog
);
3715 target_debug_print_int (arg1
);
3716 fputs_unfiltered (", ", gdb_stdlog
);
3717 target_debug_print_int (arg2
);
3718 fputs_unfiltered (")\n", gdb_stdlog
);
3722 delegate_call_history_from (struct target_ops
*self
, ULONGEST arg1
, int arg2
, int arg3
)
3724 self
= self
->beneath
;
3725 self
->to_call_history_from (self
, arg1
, arg2
, arg3
);
3729 tdefault_call_history_from (struct target_ops
*self
, ULONGEST arg1
, int arg2
, int arg3
)
3735 debug_call_history_from (struct target_ops
*self
, ULONGEST arg1
, int arg2
, int arg3
)
3737 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_call_history_from (...)\n", debug_target
.to_shortname
);
3738 debug_target
.to_call_history_from (&debug_target
, arg1
, arg2
, arg3
);
3739 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_call_history_from (", debug_target
.to_shortname
);
3740 target_debug_print_struct_target_ops_p (&debug_target
);
3741 fputs_unfiltered (", ", gdb_stdlog
);
3742 target_debug_print_ULONGEST (arg1
);
3743 fputs_unfiltered (", ", gdb_stdlog
);
3744 target_debug_print_int (arg2
);
3745 fputs_unfiltered (", ", gdb_stdlog
);
3746 target_debug_print_int (arg3
);
3747 fputs_unfiltered (")\n", gdb_stdlog
);
3751 delegate_call_history_range (struct target_ops
*self
, ULONGEST arg1
, ULONGEST arg2
, int arg3
)
3753 self
= self
->beneath
;
3754 self
->to_call_history_range (self
, arg1
, arg2
, arg3
);
3758 tdefault_call_history_range (struct target_ops
*self
, ULONGEST arg1
, ULONGEST arg2
, int arg3
)
3764 debug_call_history_range (struct target_ops
*self
, ULONGEST arg1
, ULONGEST arg2
, int arg3
)
3766 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_call_history_range (...)\n", debug_target
.to_shortname
);
3767 debug_target
.to_call_history_range (&debug_target
, arg1
, arg2
, arg3
);
3768 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_call_history_range (", debug_target
.to_shortname
);
3769 target_debug_print_struct_target_ops_p (&debug_target
);
3770 fputs_unfiltered (", ", gdb_stdlog
);
3771 target_debug_print_ULONGEST (arg1
);
3772 fputs_unfiltered (", ", gdb_stdlog
);
3773 target_debug_print_ULONGEST (arg2
);
3774 fputs_unfiltered (", ", gdb_stdlog
);
3775 target_debug_print_int (arg3
);
3776 fputs_unfiltered (")\n", gdb_stdlog
);
3780 delegate_augmented_libraries_svr4_read (struct target_ops
*self
)
3782 self
= self
->beneath
;
3783 return self
->to_augmented_libraries_svr4_read (self
);
3787 tdefault_augmented_libraries_svr4_read (struct target_ops
*self
)
3793 debug_augmented_libraries_svr4_read (struct target_ops
*self
)
3796 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_augmented_libraries_svr4_read (...)\n", debug_target
.to_shortname
);
3797 result
= debug_target
.to_augmented_libraries_svr4_read (&debug_target
);
3798 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_augmented_libraries_svr4_read (", debug_target
.to_shortname
);
3799 target_debug_print_struct_target_ops_p (&debug_target
);
3800 fputs_unfiltered (") = ", gdb_stdlog
);
3801 target_debug_print_int (result
);
3802 fputs_unfiltered ("\n", gdb_stdlog
);
3806 static const struct frame_unwind
*
3807 delegate_get_unwinder (struct target_ops
*self
)
3809 self
= self
->beneath
;
3810 return self
->to_get_unwinder (self
);
3813 static const struct frame_unwind
*
3814 tdefault_get_unwinder (struct target_ops
*self
)
3819 static const struct frame_unwind
*
3820 debug_get_unwinder (struct target_ops
*self
)
3822 const struct frame_unwind
* result
;
3823 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_unwinder (...)\n", debug_target
.to_shortname
);
3824 result
= debug_target
.to_get_unwinder (&debug_target
);
3825 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_unwinder (", debug_target
.to_shortname
);
3826 target_debug_print_struct_target_ops_p (&debug_target
);
3827 fputs_unfiltered (") = ", gdb_stdlog
);
3828 target_debug_print_const_struct_frame_unwind_p (result
);
3829 fputs_unfiltered ("\n", gdb_stdlog
);
3833 static const struct frame_unwind
*
3834 delegate_get_tailcall_unwinder (struct target_ops
*self
)
3836 self
= self
->beneath
;
3837 return self
->to_get_tailcall_unwinder (self
);
3840 static const struct frame_unwind
*
3841 tdefault_get_tailcall_unwinder (struct target_ops
*self
)
3846 static const struct frame_unwind
*
3847 debug_get_tailcall_unwinder (struct target_ops
*self
)
3849 const struct frame_unwind
* result
;
3850 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_get_tailcall_unwinder (...)\n", debug_target
.to_shortname
);
3851 result
= debug_target
.to_get_tailcall_unwinder (&debug_target
);
3852 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_get_tailcall_unwinder (", debug_target
.to_shortname
);
3853 target_debug_print_struct_target_ops_p (&debug_target
);
3854 fputs_unfiltered (") = ", gdb_stdlog
);
3855 target_debug_print_const_struct_frame_unwind_p (result
);
3856 fputs_unfiltered ("\n", gdb_stdlog
);
3861 delegate_prepare_to_generate_core (struct target_ops
*self
)
3863 self
= self
->beneath
;
3864 self
->to_prepare_to_generate_core (self
);
3868 tdefault_prepare_to_generate_core (struct target_ops
*self
)
3873 debug_prepare_to_generate_core (struct target_ops
*self
)
3875 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_prepare_to_generate_core (...)\n", debug_target
.to_shortname
);
3876 debug_target
.to_prepare_to_generate_core (&debug_target
);
3877 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_prepare_to_generate_core (", debug_target
.to_shortname
);
3878 target_debug_print_struct_target_ops_p (&debug_target
);
3879 fputs_unfiltered (")\n", gdb_stdlog
);
3883 delegate_done_generating_core (struct target_ops
*self
)
3885 self
= self
->beneath
;
3886 self
->to_done_generating_core (self
);
3890 tdefault_done_generating_core (struct target_ops
*self
)
3895 debug_done_generating_core (struct target_ops
*self
)
3897 fprintf_unfiltered (gdb_stdlog
, "-> %s->to_done_generating_core (...)\n", debug_target
.to_shortname
);
3898 debug_target
.to_done_generating_core (&debug_target
);
3899 fprintf_unfiltered (gdb_stdlog
, "<- %s->to_done_generating_core (", debug_target
.to_shortname
);
3900 target_debug_print_struct_target_ops_p (&debug_target
);
3901 fputs_unfiltered (")\n", gdb_stdlog
);
3905 install_delegators (struct target_ops
*ops
)
3907 if (ops
->to_post_attach
== NULL
)
3908 ops
->to_post_attach
= delegate_post_attach
;
3909 if (ops
->to_detach
== NULL
)
3910 ops
->to_detach
= delegate_detach
;
3911 if (ops
->to_disconnect
== NULL
)
3912 ops
->to_disconnect
= delegate_disconnect
;
3913 if (ops
->to_resume
== NULL
)
3914 ops
->to_resume
= delegate_resume
;
3915 if (ops
->to_wait
== NULL
)
3916 ops
->to_wait
= delegate_wait
;
3917 if (ops
->to_fetch_registers
== NULL
)
3918 ops
->to_fetch_registers
= delegate_fetch_registers
;
3919 if (ops
->to_store_registers
== NULL
)
3920 ops
->to_store_registers
= delegate_store_registers
;
3921 if (ops
->to_prepare_to_store
== NULL
)
3922 ops
->to_prepare_to_store
= delegate_prepare_to_store
;
3923 if (ops
->to_files_info
== NULL
)
3924 ops
->to_files_info
= delegate_files_info
;
3925 if (ops
->to_insert_breakpoint
== NULL
)
3926 ops
->to_insert_breakpoint
= delegate_insert_breakpoint
;
3927 if (ops
->to_remove_breakpoint
== NULL
)
3928 ops
->to_remove_breakpoint
= delegate_remove_breakpoint
;
3929 if (ops
->to_stopped_by_sw_breakpoint
== NULL
)
3930 ops
->to_stopped_by_sw_breakpoint
= delegate_stopped_by_sw_breakpoint
;
3931 if (ops
->to_supports_stopped_by_sw_breakpoint
== NULL
)
3932 ops
->to_supports_stopped_by_sw_breakpoint
= delegate_supports_stopped_by_sw_breakpoint
;
3933 if (ops
->to_stopped_by_hw_breakpoint
== NULL
)
3934 ops
->to_stopped_by_hw_breakpoint
= delegate_stopped_by_hw_breakpoint
;
3935 if (ops
->to_supports_stopped_by_hw_breakpoint
== NULL
)
3936 ops
->to_supports_stopped_by_hw_breakpoint
= delegate_supports_stopped_by_hw_breakpoint
;
3937 if (ops
->to_can_use_hw_breakpoint
== NULL
)
3938 ops
->to_can_use_hw_breakpoint
= delegate_can_use_hw_breakpoint
;
3939 if (ops
->to_ranged_break_num_registers
== NULL
)
3940 ops
->to_ranged_break_num_registers
= delegate_ranged_break_num_registers
;
3941 if (ops
->to_insert_hw_breakpoint
== NULL
)
3942 ops
->to_insert_hw_breakpoint
= delegate_insert_hw_breakpoint
;
3943 if (ops
->to_remove_hw_breakpoint
== NULL
)
3944 ops
->to_remove_hw_breakpoint
= delegate_remove_hw_breakpoint
;
3945 if (ops
->to_remove_watchpoint
== NULL
)
3946 ops
->to_remove_watchpoint
= delegate_remove_watchpoint
;
3947 if (ops
->to_insert_watchpoint
== NULL
)
3948 ops
->to_insert_watchpoint
= delegate_insert_watchpoint
;
3949 if (ops
->to_insert_mask_watchpoint
== NULL
)
3950 ops
->to_insert_mask_watchpoint
= delegate_insert_mask_watchpoint
;
3951 if (ops
->to_remove_mask_watchpoint
== NULL
)
3952 ops
->to_remove_mask_watchpoint
= delegate_remove_mask_watchpoint
;
3953 if (ops
->to_stopped_by_watchpoint
== NULL
)
3954 ops
->to_stopped_by_watchpoint
= delegate_stopped_by_watchpoint
;
3955 if (ops
->to_stopped_data_address
== NULL
)
3956 ops
->to_stopped_data_address
= delegate_stopped_data_address
;
3957 if (ops
->to_watchpoint_addr_within_range
== NULL
)
3958 ops
->to_watchpoint_addr_within_range
= delegate_watchpoint_addr_within_range
;
3959 if (ops
->to_region_ok_for_hw_watchpoint
== NULL
)
3960 ops
->to_region_ok_for_hw_watchpoint
= delegate_region_ok_for_hw_watchpoint
;
3961 if (ops
->to_can_accel_watchpoint_condition
== NULL
)
3962 ops
->to_can_accel_watchpoint_condition
= delegate_can_accel_watchpoint_condition
;
3963 if (ops
->to_masked_watch_num_registers
== NULL
)
3964 ops
->to_masked_watch_num_registers
= delegate_masked_watch_num_registers
;
3965 if (ops
->to_terminal_init
== NULL
)
3966 ops
->to_terminal_init
= delegate_terminal_init
;
3967 if (ops
->to_terminal_inferior
== NULL
)
3968 ops
->to_terminal_inferior
= delegate_terminal_inferior
;
3969 if (ops
->to_terminal_ours_for_output
== NULL
)
3970 ops
->to_terminal_ours_for_output
= delegate_terminal_ours_for_output
;
3971 if (ops
->to_terminal_ours
== NULL
)
3972 ops
->to_terminal_ours
= delegate_terminal_ours
;
3973 if (ops
->to_terminal_info
== NULL
)
3974 ops
->to_terminal_info
= delegate_terminal_info
;
3975 if (ops
->to_kill
== NULL
)
3976 ops
->to_kill
= delegate_kill
;
3977 if (ops
->to_load
== NULL
)
3978 ops
->to_load
= delegate_load
;
3979 if (ops
->to_post_startup_inferior
== NULL
)
3980 ops
->to_post_startup_inferior
= delegate_post_startup_inferior
;
3981 if (ops
->to_insert_fork_catchpoint
== NULL
)
3982 ops
->to_insert_fork_catchpoint
= delegate_insert_fork_catchpoint
;
3983 if (ops
->to_remove_fork_catchpoint
== NULL
)
3984 ops
->to_remove_fork_catchpoint
= delegate_remove_fork_catchpoint
;
3985 if (ops
->to_insert_vfork_catchpoint
== NULL
)
3986 ops
->to_insert_vfork_catchpoint
= delegate_insert_vfork_catchpoint
;
3987 if (ops
->to_remove_vfork_catchpoint
== NULL
)
3988 ops
->to_remove_vfork_catchpoint
= delegate_remove_vfork_catchpoint
;
3989 if (ops
->to_follow_fork
== NULL
)
3990 ops
->to_follow_fork
= delegate_follow_fork
;
3991 if (ops
->to_insert_exec_catchpoint
== NULL
)
3992 ops
->to_insert_exec_catchpoint
= delegate_insert_exec_catchpoint
;
3993 if (ops
->to_remove_exec_catchpoint
== NULL
)
3994 ops
->to_remove_exec_catchpoint
= delegate_remove_exec_catchpoint
;
3995 if (ops
->to_set_syscall_catchpoint
== NULL
)
3996 ops
->to_set_syscall_catchpoint
= delegate_set_syscall_catchpoint
;
3997 if (ops
->to_has_exited
== NULL
)
3998 ops
->to_has_exited
= delegate_has_exited
;
3999 if (ops
->to_mourn_inferior
== NULL
)
4000 ops
->to_mourn_inferior
= delegate_mourn_inferior
;
4001 if (ops
->to_can_run
== NULL
)
4002 ops
->to_can_run
= delegate_can_run
;
4003 if (ops
->to_pass_signals
== NULL
)
4004 ops
->to_pass_signals
= delegate_pass_signals
;
4005 if (ops
->to_program_signals
== NULL
)
4006 ops
->to_program_signals
= delegate_program_signals
;
4007 if (ops
->to_thread_alive
== NULL
)
4008 ops
->to_thread_alive
= delegate_thread_alive
;
4009 if (ops
->to_update_thread_list
== NULL
)
4010 ops
->to_update_thread_list
= delegate_update_thread_list
;
4011 if (ops
->to_pid_to_str
== NULL
)
4012 ops
->to_pid_to_str
= delegate_pid_to_str
;
4013 if (ops
->to_extra_thread_info
== NULL
)
4014 ops
->to_extra_thread_info
= delegate_extra_thread_info
;
4015 if (ops
->to_thread_name
== NULL
)
4016 ops
->to_thread_name
= delegate_thread_name
;
4017 if (ops
->to_stop
== NULL
)
4018 ops
->to_stop
= delegate_stop
;
4019 if (ops
->to_rcmd
== NULL
)
4020 ops
->to_rcmd
= delegate_rcmd
;
4021 if (ops
->to_pid_to_exec_file
== NULL
)
4022 ops
->to_pid_to_exec_file
= delegate_pid_to_exec_file
;
4023 if (ops
->to_log_command
== NULL
)
4024 ops
->to_log_command
= delegate_log_command
;
4025 if (ops
->to_get_section_table
== NULL
)
4026 ops
->to_get_section_table
= delegate_get_section_table
;
4027 if (ops
->to_can_async_p
== NULL
)
4028 ops
->to_can_async_p
= delegate_can_async_p
;
4029 if (ops
->to_is_async_p
== NULL
)
4030 ops
->to_is_async_p
= delegate_is_async_p
;
4031 if (ops
->to_async
== NULL
)
4032 ops
->to_async
= delegate_async
;
4033 if (ops
->to_supports_non_stop
== NULL
)
4034 ops
->to_supports_non_stop
= delegate_supports_non_stop
;
4035 if (ops
->to_always_non_stop_p
== NULL
)
4036 ops
->to_always_non_stop_p
= delegate_always_non_stop_p
;
4037 if (ops
->to_find_memory_regions
== NULL
)
4038 ops
->to_find_memory_regions
= delegate_find_memory_regions
;
4039 if (ops
->to_make_corefile_notes
== NULL
)
4040 ops
->to_make_corefile_notes
= delegate_make_corefile_notes
;
4041 if (ops
->to_get_bookmark
== NULL
)
4042 ops
->to_get_bookmark
= delegate_get_bookmark
;
4043 if (ops
->to_goto_bookmark
== NULL
)
4044 ops
->to_goto_bookmark
= delegate_goto_bookmark
;
4045 if (ops
->to_get_thread_local_address
== NULL
)
4046 ops
->to_get_thread_local_address
= delegate_get_thread_local_address
;
4047 if (ops
->to_xfer_partial
== NULL
)
4048 ops
->to_xfer_partial
= delegate_xfer_partial
;
4049 if (ops
->to_memory_map
== NULL
)
4050 ops
->to_memory_map
= delegate_memory_map
;
4051 if (ops
->to_flash_erase
== NULL
)
4052 ops
->to_flash_erase
= delegate_flash_erase
;
4053 if (ops
->to_flash_done
== NULL
)
4054 ops
->to_flash_done
= delegate_flash_done
;
4055 if (ops
->to_read_description
== NULL
)
4056 ops
->to_read_description
= delegate_read_description
;
4057 if (ops
->to_get_ada_task_ptid
== NULL
)
4058 ops
->to_get_ada_task_ptid
= delegate_get_ada_task_ptid
;
4059 if (ops
->to_auxv_parse
== NULL
)
4060 ops
->to_auxv_parse
= delegate_auxv_parse
;
4061 if (ops
->to_search_memory
== NULL
)
4062 ops
->to_search_memory
= delegate_search_memory
;
4063 if (ops
->to_can_execute_reverse
== NULL
)
4064 ops
->to_can_execute_reverse
= delegate_can_execute_reverse
;
4065 if (ops
->to_execution_direction
== NULL
)
4066 ops
->to_execution_direction
= delegate_execution_direction
;
4067 if (ops
->to_supports_multi_process
== NULL
)
4068 ops
->to_supports_multi_process
= delegate_supports_multi_process
;
4069 if (ops
->to_supports_enable_disable_tracepoint
== NULL
)
4070 ops
->to_supports_enable_disable_tracepoint
= delegate_supports_enable_disable_tracepoint
;
4071 if (ops
->to_supports_string_tracing
== NULL
)
4072 ops
->to_supports_string_tracing
= delegate_supports_string_tracing
;
4073 if (ops
->to_supports_evaluation_of_breakpoint_conditions
== NULL
)
4074 ops
->to_supports_evaluation_of_breakpoint_conditions
= delegate_supports_evaluation_of_breakpoint_conditions
;
4075 if (ops
->to_can_run_breakpoint_commands
== NULL
)
4076 ops
->to_can_run_breakpoint_commands
= delegate_can_run_breakpoint_commands
;
4077 if (ops
->to_thread_architecture
== NULL
)
4078 ops
->to_thread_architecture
= delegate_thread_architecture
;
4079 if (ops
->to_thread_address_space
== NULL
)
4080 ops
->to_thread_address_space
= delegate_thread_address_space
;
4081 if (ops
->to_filesystem_is_local
== NULL
)
4082 ops
->to_filesystem_is_local
= delegate_filesystem_is_local
;
4083 if (ops
->to_trace_init
== NULL
)
4084 ops
->to_trace_init
= delegate_trace_init
;
4085 if (ops
->to_download_tracepoint
== NULL
)
4086 ops
->to_download_tracepoint
= delegate_download_tracepoint
;
4087 if (ops
->to_can_download_tracepoint
== NULL
)
4088 ops
->to_can_download_tracepoint
= delegate_can_download_tracepoint
;
4089 if (ops
->to_download_trace_state_variable
== NULL
)
4090 ops
->to_download_trace_state_variable
= delegate_download_trace_state_variable
;
4091 if (ops
->to_enable_tracepoint
== NULL
)
4092 ops
->to_enable_tracepoint
= delegate_enable_tracepoint
;
4093 if (ops
->to_disable_tracepoint
== NULL
)
4094 ops
->to_disable_tracepoint
= delegate_disable_tracepoint
;
4095 if (ops
->to_trace_set_readonly_regions
== NULL
)
4096 ops
->to_trace_set_readonly_regions
= delegate_trace_set_readonly_regions
;
4097 if (ops
->to_trace_start
== NULL
)
4098 ops
->to_trace_start
= delegate_trace_start
;
4099 if (ops
->to_get_trace_status
== NULL
)
4100 ops
->to_get_trace_status
= delegate_get_trace_status
;
4101 if (ops
->to_get_tracepoint_status
== NULL
)
4102 ops
->to_get_tracepoint_status
= delegate_get_tracepoint_status
;
4103 if (ops
->to_trace_stop
== NULL
)
4104 ops
->to_trace_stop
= delegate_trace_stop
;
4105 if (ops
->to_trace_find
== NULL
)
4106 ops
->to_trace_find
= delegate_trace_find
;
4107 if (ops
->to_get_trace_state_variable_value
== NULL
)
4108 ops
->to_get_trace_state_variable_value
= delegate_get_trace_state_variable_value
;
4109 if (ops
->to_save_trace_data
== NULL
)
4110 ops
->to_save_trace_data
= delegate_save_trace_data
;
4111 if (ops
->to_upload_tracepoints
== NULL
)
4112 ops
->to_upload_tracepoints
= delegate_upload_tracepoints
;
4113 if (ops
->to_upload_trace_state_variables
== NULL
)
4114 ops
->to_upload_trace_state_variables
= delegate_upload_trace_state_variables
;
4115 if (ops
->to_get_raw_trace_data
== NULL
)
4116 ops
->to_get_raw_trace_data
= delegate_get_raw_trace_data
;
4117 if (ops
->to_get_min_fast_tracepoint_insn_len
== NULL
)
4118 ops
->to_get_min_fast_tracepoint_insn_len
= delegate_get_min_fast_tracepoint_insn_len
;
4119 if (ops
->to_set_disconnected_tracing
== NULL
)
4120 ops
->to_set_disconnected_tracing
= delegate_set_disconnected_tracing
;
4121 if (ops
->to_set_circular_trace_buffer
== NULL
)
4122 ops
->to_set_circular_trace_buffer
= delegate_set_circular_trace_buffer
;
4123 if (ops
->to_set_trace_buffer_size
== NULL
)
4124 ops
->to_set_trace_buffer_size
= delegate_set_trace_buffer_size
;
4125 if (ops
->to_set_trace_notes
== NULL
)
4126 ops
->to_set_trace_notes
= delegate_set_trace_notes
;
4127 if (ops
->to_core_of_thread
== NULL
)
4128 ops
->to_core_of_thread
= delegate_core_of_thread
;
4129 if (ops
->to_verify_memory
== NULL
)
4130 ops
->to_verify_memory
= delegate_verify_memory
;
4131 if (ops
->to_get_tib_address
== NULL
)
4132 ops
->to_get_tib_address
= delegate_get_tib_address
;
4133 if (ops
->to_set_permissions
== NULL
)
4134 ops
->to_set_permissions
= delegate_set_permissions
;
4135 if (ops
->to_static_tracepoint_marker_at
== NULL
)
4136 ops
->to_static_tracepoint_marker_at
= delegate_static_tracepoint_marker_at
;
4137 if (ops
->to_static_tracepoint_markers_by_strid
== NULL
)
4138 ops
->to_static_tracepoint_markers_by_strid
= delegate_static_tracepoint_markers_by_strid
;
4139 if (ops
->to_traceframe_info
== NULL
)
4140 ops
->to_traceframe_info
= delegate_traceframe_info
;
4141 if (ops
->to_use_agent
== NULL
)
4142 ops
->to_use_agent
= delegate_use_agent
;
4143 if (ops
->to_can_use_agent
== NULL
)
4144 ops
->to_can_use_agent
= delegate_can_use_agent
;
4145 if (ops
->to_supports_btrace
== NULL
)
4146 ops
->to_supports_btrace
= delegate_supports_btrace
;
4147 if (ops
->to_enable_btrace
== NULL
)
4148 ops
->to_enable_btrace
= delegate_enable_btrace
;
4149 if (ops
->to_disable_btrace
== NULL
)
4150 ops
->to_disable_btrace
= delegate_disable_btrace
;
4151 if (ops
->to_teardown_btrace
== NULL
)
4152 ops
->to_teardown_btrace
= delegate_teardown_btrace
;
4153 if (ops
->to_read_btrace
== NULL
)
4154 ops
->to_read_btrace
= delegate_read_btrace
;
4155 if (ops
->to_btrace_conf
== NULL
)
4156 ops
->to_btrace_conf
= delegate_btrace_conf
;
4157 if (ops
->to_stop_recording
== NULL
)
4158 ops
->to_stop_recording
= delegate_stop_recording
;
4159 if (ops
->to_info_record
== NULL
)
4160 ops
->to_info_record
= delegate_info_record
;
4161 if (ops
->to_save_record
== NULL
)
4162 ops
->to_save_record
= delegate_save_record
;
4163 if (ops
->to_delete_record
== NULL
)
4164 ops
->to_delete_record
= delegate_delete_record
;
4165 if (ops
->to_record_is_replaying
== NULL
)
4166 ops
->to_record_is_replaying
= delegate_record_is_replaying
;
4167 if (ops
->to_goto_record_begin
== NULL
)
4168 ops
->to_goto_record_begin
= delegate_goto_record_begin
;
4169 if (ops
->to_goto_record_end
== NULL
)
4170 ops
->to_goto_record_end
= delegate_goto_record_end
;
4171 if (ops
->to_goto_record
== NULL
)
4172 ops
->to_goto_record
= delegate_goto_record
;
4173 if (ops
->to_insn_history
== NULL
)
4174 ops
->to_insn_history
= delegate_insn_history
;
4175 if (ops
->to_insn_history_from
== NULL
)
4176 ops
->to_insn_history_from
= delegate_insn_history_from
;
4177 if (ops
->to_insn_history_range
== NULL
)
4178 ops
->to_insn_history_range
= delegate_insn_history_range
;
4179 if (ops
->to_call_history
== NULL
)
4180 ops
->to_call_history
= delegate_call_history
;
4181 if (ops
->to_call_history_from
== NULL
)
4182 ops
->to_call_history_from
= delegate_call_history_from
;
4183 if (ops
->to_call_history_range
== NULL
)
4184 ops
->to_call_history_range
= delegate_call_history_range
;
4185 if (ops
->to_augmented_libraries_svr4_read
== NULL
)
4186 ops
->to_augmented_libraries_svr4_read
= delegate_augmented_libraries_svr4_read
;
4187 if (ops
->to_get_unwinder
== NULL
)
4188 ops
->to_get_unwinder
= delegate_get_unwinder
;
4189 if (ops
->to_get_tailcall_unwinder
== NULL
)
4190 ops
->to_get_tailcall_unwinder
= delegate_get_tailcall_unwinder
;
4191 if (ops
->to_prepare_to_generate_core
== NULL
)
4192 ops
->to_prepare_to_generate_core
= delegate_prepare_to_generate_core
;
4193 if (ops
->to_done_generating_core
== NULL
)
4194 ops
->to_done_generating_core
= delegate_done_generating_core
;
4198 install_dummy_methods (struct target_ops
*ops
)
4200 ops
->to_post_attach
= tdefault_post_attach
;
4201 ops
->to_detach
= tdefault_detach
;
4202 ops
->to_disconnect
= tdefault_disconnect
;
4203 ops
->to_resume
= tdefault_resume
;
4204 ops
->to_wait
= tdefault_wait
;
4205 ops
->to_fetch_registers
= tdefault_fetch_registers
;
4206 ops
->to_store_registers
= tdefault_store_registers
;
4207 ops
->to_prepare_to_store
= tdefault_prepare_to_store
;
4208 ops
->to_files_info
= tdefault_files_info
;
4209 ops
->to_insert_breakpoint
= memory_insert_breakpoint
;
4210 ops
->to_remove_breakpoint
= memory_remove_breakpoint
;
4211 ops
->to_stopped_by_sw_breakpoint
= tdefault_stopped_by_sw_breakpoint
;
4212 ops
->to_supports_stopped_by_sw_breakpoint
= tdefault_supports_stopped_by_sw_breakpoint
;
4213 ops
->to_stopped_by_hw_breakpoint
= tdefault_stopped_by_hw_breakpoint
;
4214 ops
->to_supports_stopped_by_hw_breakpoint
= tdefault_supports_stopped_by_hw_breakpoint
;
4215 ops
->to_can_use_hw_breakpoint
= tdefault_can_use_hw_breakpoint
;
4216 ops
->to_ranged_break_num_registers
= tdefault_ranged_break_num_registers
;
4217 ops
->to_insert_hw_breakpoint
= tdefault_insert_hw_breakpoint
;
4218 ops
->to_remove_hw_breakpoint
= tdefault_remove_hw_breakpoint
;
4219 ops
->to_remove_watchpoint
= tdefault_remove_watchpoint
;
4220 ops
->to_insert_watchpoint
= tdefault_insert_watchpoint
;
4221 ops
->to_insert_mask_watchpoint
= tdefault_insert_mask_watchpoint
;
4222 ops
->to_remove_mask_watchpoint
= tdefault_remove_mask_watchpoint
;
4223 ops
->to_stopped_by_watchpoint
= tdefault_stopped_by_watchpoint
;
4224 ops
->to_stopped_data_address
= tdefault_stopped_data_address
;
4225 ops
->to_watchpoint_addr_within_range
= default_watchpoint_addr_within_range
;
4226 ops
->to_region_ok_for_hw_watchpoint
= default_region_ok_for_hw_watchpoint
;
4227 ops
->to_can_accel_watchpoint_condition
= tdefault_can_accel_watchpoint_condition
;
4228 ops
->to_masked_watch_num_registers
= tdefault_masked_watch_num_registers
;
4229 ops
->to_terminal_init
= tdefault_terminal_init
;
4230 ops
->to_terminal_inferior
= tdefault_terminal_inferior
;
4231 ops
->to_terminal_ours_for_output
= tdefault_terminal_ours_for_output
;
4232 ops
->to_terminal_ours
= tdefault_terminal_ours
;
4233 ops
->to_terminal_info
= default_terminal_info
;
4234 ops
->to_kill
= tdefault_kill
;
4235 ops
->to_load
= tdefault_load
;
4236 ops
->to_post_startup_inferior
= tdefault_post_startup_inferior
;
4237 ops
->to_insert_fork_catchpoint
= tdefault_insert_fork_catchpoint
;
4238 ops
->to_remove_fork_catchpoint
= tdefault_remove_fork_catchpoint
;
4239 ops
->to_insert_vfork_catchpoint
= tdefault_insert_vfork_catchpoint
;
4240 ops
->to_remove_vfork_catchpoint
= tdefault_remove_vfork_catchpoint
;
4241 ops
->to_follow_fork
= default_follow_fork
;
4242 ops
->to_insert_exec_catchpoint
= tdefault_insert_exec_catchpoint
;
4243 ops
->to_remove_exec_catchpoint
= tdefault_remove_exec_catchpoint
;
4244 ops
->to_set_syscall_catchpoint
= tdefault_set_syscall_catchpoint
;
4245 ops
->to_has_exited
= tdefault_has_exited
;
4246 ops
->to_mourn_inferior
= default_mourn_inferior
;
4247 ops
->to_can_run
= tdefault_can_run
;
4248 ops
->to_pass_signals
= tdefault_pass_signals
;
4249 ops
->to_program_signals
= tdefault_program_signals
;
4250 ops
->to_thread_alive
= tdefault_thread_alive
;
4251 ops
->to_update_thread_list
= tdefault_update_thread_list
;
4252 ops
->to_pid_to_str
= default_pid_to_str
;
4253 ops
->to_extra_thread_info
= tdefault_extra_thread_info
;
4254 ops
->to_thread_name
= tdefault_thread_name
;
4255 ops
->to_stop
= tdefault_stop
;
4256 ops
->to_rcmd
= default_rcmd
;
4257 ops
->to_pid_to_exec_file
= tdefault_pid_to_exec_file
;
4258 ops
->to_log_command
= tdefault_log_command
;
4259 ops
->to_get_section_table
= tdefault_get_section_table
;
4260 ops
->to_can_async_p
= tdefault_can_async_p
;
4261 ops
->to_is_async_p
= tdefault_is_async_p
;
4262 ops
->to_async
= tdefault_async
;
4263 ops
->to_supports_non_stop
= tdefault_supports_non_stop
;
4264 ops
->to_always_non_stop_p
= tdefault_always_non_stop_p
;
4265 ops
->to_find_memory_regions
= dummy_find_memory_regions
;
4266 ops
->to_make_corefile_notes
= dummy_make_corefile_notes
;
4267 ops
->to_get_bookmark
= tdefault_get_bookmark
;
4268 ops
->to_goto_bookmark
= tdefault_goto_bookmark
;
4269 ops
->to_get_thread_local_address
= tdefault_get_thread_local_address
;
4270 ops
->to_xfer_partial
= tdefault_xfer_partial
;
4271 ops
->to_memory_map
= tdefault_memory_map
;
4272 ops
->to_flash_erase
= tdefault_flash_erase
;
4273 ops
->to_flash_done
= tdefault_flash_done
;
4274 ops
->to_read_description
= tdefault_read_description
;
4275 ops
->to_get_ada_task_ptid
= default_get_ada_task_ptid
;
4276 ops
->to_auxv_parse
= default_auxv_parse
;
4277 ops
->to_search_memory
= default_search_memory
;
4278 ops
->to_can_execute_reverse
= tdefault_can_execute_reverse
;
4279 ops
->to_execution_direction
= default_execution_direction
;
4280 ops
->to_supports_multi_process
= tdefault_supports_multi_process
;
4281 ops
->to_supports_enable_disable_tracepoint
= tdefault_supports_enable_disable_tracepoint
;
4282 ops
->to_supports_string_tracing
= tdefault_supports_string_tracing
;
4283 ops
->to_supports_evaluation_of_breakpoint_conditions
= tdefault_supports_evaluation_of_breakpoint_conditions
;
4284 ops
->to_can_run_breakpoint_commands
= tdefault_can_run_breakpoint_commands
;
4285 ops
->to_thread_architecture
= default_thread_architecture
;
4286 ops
->to_thread_address_space
= default_thread_address_space
;
4287 ops
->to_filesystem_is_local
= tdefault_filesystem_is_local
;
4288 ops
->to_trace_init
= tdefault_trace_init
;
4289 ops
->to_download_tracepoint
= tdefault_download_tracepoint
;
4290 ops
->to_can_download_tracepoint
= tdefault_can_download_tracepoint
;
4291 ops
->to_download_trace_state_variable
= tdefault_download_trace_state_variable
;
4292 ops
->to_enable_tracepoint
= tdefault_enable_tracepoint
;
4293 ops
->to_disable_tracepoint
= tdefault_disable_tracepoint
;
4294 ops
->to_trace_set_readonly_regions
= tdefault_trace_set_readonly_regions
;
4295 ops
->to_trace_start
= tdefault_trace_start
;
4296 ops
->to_get_trace_status
= tdefault_get_trace_status
;
4297 ops
->to_get_tracepoint_status
= tdefault_get_tracepoint_status
;
4298 ops
->to_trace_stop
= tdefault_trace_stop
;
4299 ops
->to_trace_find
= tdefault_trace_find
;
4300 ops
->to_get_trace_state_variable_value
= tdefault_get_trace_state_variable_value
;
4301 ops
->to_save_trace_data
= tdefault_save_trace_data
;
4302 ops
->to_upload_tracepoints
= tdefault_upload_tracepoints
;
4303 ops
->to_upload_trace_state_variables
= tdefault_upload_trace_state_variables
;
4304 ops
->to_get_raw_trace_data
= tdefault_get_raw_trace_data
;
4305 ops
->to_get_min_fast_tracepoint_insn_len
= tdefault_get_min_fast_tracepoint_insn_len
;
4306 ops
->to_set_disconnected_tracing
= tdefault_set_disconnected_tracing
;
4307 ops
->to_set_circular_trace_buffer
= tdefault_set_circular_trace_buffer
;
4308 ops
->to_set_trace_buffer_size
= tdefault_set_trace_buffer_size
;
4309 ops
->to_set_trace_notes
= tdefault_set_trace_notes
;
4310 ops
->to_core_of_thread
= tdefault_core_of_thread
;
4311 ops
->to_verify_memory
= default_verify_memory
;
4312 ops
->to_get_tib_address
= tdefault_get_tib_address
;
4313 ops
->to_set_permissions
= tdefault_set_permissions
;
4314 ops
->to_static_tracepoint_marker_at
= tdefault_static_tracepoint_marker_at
;
4315 ops
->to_static_tracepoint_markers_by_strid
= tdefault_static_tracepoint_markers_by_strid
;
4316 ops
->to_traceframe_info
= tdefault_traceframe_info
;
4317 ops
->to_use_agent
= tdefault_use_agent
;
4318 ops
->to_can_use_agent
= tdefault_can_use_agent
;
4319 ops
->to_supports_btrace
= tdefault_supports_btrace
;
4320 ops
->to_enable_btrace
= tdefault_enable_btrace
;
4321 ops
->to_disable_btrace
= tdefault_disable_btrace
;
4322 ops
->to_teardown_btrace
= tdefault_teardown_btrace
;
4323 ops
->to_read_btrace
= tdefault_read_btrace
;
4324 ops
->to_btrace_conf
= tdefault_btrace_conf
;
4325 ops
->to_stop_recording
= tdefault_stop_recording
;
4326 ops
->to_info_record
= tdefault_info_record
;
4327 ops
->to_save_record
= tdefault_save_record
;
4328 ops
->to_delete_record
= tdefault_delete_record
;
4329 ops
->to_record_is_replaying
= tdefault_record_is_replaying
;
4330 ops
->to_goto_record_begin
= tdefault_goto_record_begin
;
4331 ops
->to_goto_record_end
= tdefault_goto_record_end
;
4332 ops
->to_goto_record
= tdefault_goto_record
;
4333 ops
->to_insn_history
= tdefault_insn_history
;
4334 ops
->to_insn_history_from
= tdefault_insn_history_from
;
4335 ops
->to_insn_history_range
= tdefault_insn_history_range
;
4336 ops
->to_call_history
= tdefault_call_history
;
4337 ops
->to_call_history_from
= tdefault_call_history_from
;
4338 ops
->to_call_history_range
= tdefault_call_history_range
;
4339 ops
->to_augmented_libraries_svr4_read
= tdefault_augmented_libraries_svr4_read
;
4340 ops
->to_get_unwinder
= tdefault_get_unwinder
;
4341 ops
->to_get_tailcall_unwinder
= tdefault_get_tailcall_unwinder
;
4342 ops
->to_prepare_to_generate_core
= tdefault_prepare_to_generate_core
;
4343 ops
->to_done_generating_core
= tdefault_done_generating_core
;
4347 init_debug_target (struct target_ops
*ops
)
4349 ops
->to_post_attach
= debug_post_attach
;
4350 ops
->to_detach
= debug_detach
;
4351 ops
->to_disconnect
= debug_disconnect
;
4352 ops
->to_resume
= debug_resume
;
4353 ops
->to_wait
= debug_wait
;
4354 ops
->to_fetch_registers
= debug_fetch_registers
;
4355 ops
->to_store_registers
= debug_store_registers
;
4356 ops
->to_prepare_to_store
= debug_prepare_to_store
;
4357 ops
->to_files_info
= debug_files_info
;
4358 ops
->to_insert_breakpoint
= debug_insert_breakpoint
;
4359 ops
->to_remove_breakpoint
= debug_remove_breakpoint
;
4360 ops
->to_stopped_by_sw_breakpoint
= debug_stopped_by_sw_breakpoint
;
4361 ops
->to_supports_stopped_by_sw_breakpoint
= debug_supports_stopped_by_sw_breakpoint
;
4362 ops
->to_stopped_by_hw_breakpoint
= debug_stopped_by_hw_breakpoint
;
4363 ops
->to_supports_stopped_by_hw_breakpoint
= debug_supports_stopped_by_hw_breakpoint
;
4364 ops
->to_can_use_hw_breakpoint
= debug_can_use_hw_breakpoint
;
4365 ops
->to_ranged_break_num_registers
= debug_ranged_break_num_registers
;
4366 ops
->to_insert_hw_breakpoint
= debug_insert_hw_breakpoint
;
4367 ops
->to_remove_hw_breakpoint
= debug_remove_hw_breakpoint
;
4368 ops
->to_remove_watchpoint
= debug_remove_watchpoint
;
4369 ops
->to_insert_watchpoint
= debug_insert_watchpoint
;
4370 ops
->to_insert_mask_watchpoint
= debug_insert_mask_watchpoint
;
4371 ops
->to_remove_mask_watchpoint
= debug_remove_mask_watchpoint
;
4372 ops
->to_stopped_by_watchpoint
= debug_stopped_by_watchpoint
;
4373 ops
->to_stopped_data_address
= debug_stopped_data_address
;
4374 ops
->to_watchpoint_addr_within_range
= debug_watchpoint_addr_within_range
;
4375 ops
->to_region_ok_for_hw_watchpoint
= debug_region_ok_for_hw_watchpoint
;
4376 ops
->to_can_accel_watchpoint_condition
= debug_can_accel_watchpoint_condition
;
4377 ops
->to_masked_watch_num_registers
= debug_masked_watch_num_registers
;
4378 ops
->to_terminal_init
= debug_terminal_init
;
4379 ops
->to_terminal_inferior
= debug_terminal_inferior
;
4380 ops
->to_terminal_ours_for_output
= debug_terminal_ours_for_output
;
4381 ops
->to_terminal_ours
= debug_terminal_ours
;
4382 ops
->to_terminal_info
= debug_terminal_info
;
4383 ops
->to_kill
= debug_kill
;
4384 ops
->to_load
= debug_load
;
4385 ops
->to_post_startup_inferior
= debug_post_startup_inferior
;
4386 ops
->to_insert_fork_catchpoint
= debug_insert_fork_catchpoint
;
4387 ops
->to_remove_fork_catchpoint
= debug_remove_fork_catchpoint
;
4388 ops
->to_insert_vfork_catchpoint
= debug_insert_vfork_catchpoint
;
4389 ops
->to_remove_vfork_catchpoint
= debug_remove_vfork_catchpoint
;
4390 ops
->to_follow_fork
= debug_follow_fork
;
4391 ops
->to_insert_exec_catchpoint
= debug_insert_exec_catchpoint
;
4392 ops
->to_remove_exec_catchpoint
= debug_remove_exec_catchpoint
;
4393 ops
->to_set_syscall_catchpoint
= debug_set_syscall_catchpoint
;
4394 ops
->to_has_exited
= debug_has_exited
;
4395 ops
->to_mourn_inferior
= debug_mourn_inferior
;
4396 ops
->to_can_run
= debug_can_run
;
4397 ops
->to_pass_signals
= debug_pass_signals
;
4398 ops
->to_program_signals
= debug_program_signals
;
4399 ops
->to_thread_alive
= debug_thread_alive
;
4400 ops
->to_update_thread_list
= debug_update_thread_list
;
4401 ops
->to_pid_to_str
= debug_pid_to_str
;
4402 ops
->to_extra_thread_info
= debug_extra_thread_info
;
4403 ops
->to_thread_name
= debug_thread_name
;
4404 ops
->to_stop
= debug_stop
;
4405 ops
->to_rcmd
= debug_rcmd
;
4406 ops
->to_pid_to_exec_file
= debug_pid_to_exec_file
;
4407 ops
->to_log_command
= debug_log_command
;
4408 ops
->to_get_section_table
= debug_get_section_table
;
4409 ops
->to_can_async_p
= debug_can_async_p
;
4410 ops
->to_is_async_p
= debug_is_async_p
;
4411 ops
->to_async
= debug_async
;
4412 ops
->to_supports_non_stop
= debug_supports_non_stop
;
4413 ops
->to_always_non_stop_p
= debug_always_non_stop_p
;
4414 ops
->to_find_memory_regions
= debug_find_memory_regions
;
4415 ops
->to_make_corefile_notes
= debug_make_corefile_notes
;
4416 ops
->to_get_bookmark
= debug_get_bookmark
;
4417 ops
->to_goto_bookmark
= debug_goto_bookmark
;
4418 ops
->to_get_thread_local_address
= debug_get_thread_local_address
;
4419 ops
->to_xfer_partial
= debug_xfer_partial
;
4420 ops
->to_memory_map
= debug_memory_map
;
4421 ops
->to_flash_erase
= debug_flash_erase
;
4422 ops
->to_flash_done
= debug_flash_done
;
4423 ops
->to_read_description
= debug_read_description
;
4424 ops
->to_get_ada_task_ptid
= debug_get_ada_task_ptid
;
4425 ops
->to_auxv_parse
= debug_auxv_parse
;
4426 ops
->to_search_memory
= debug_search_memory
;
4427 ops
->to_can_execute_reverse
= debug_can_execute_reverse
;
4428 ops
->to_execution_direction
= debug_execution_direction
;
4429 ops
->to_supports_multi_process
= debug_supports_multi_process
;
4430 ops
->to_supports_enable_disable_tracepoint
= debug_supports_enable_disable_tracepoint
;
4431 ops
->to_supports_string_tracing
= debug_supports_string_tracing
;
4432 ops
->to_supports_evaluation_of_breakpoint_conditions
= debug_supports_evaluation_of_breakpoint_conditions
;
4433 ops
->to_can_run_breakpoint_commands
= debug_can_run_breakpoint_commands
;
4434 ops
->to_thread_architecture
= debug_thread_architecture
;
4435 ops
->to_thread_address_space
= debug_thread_address_space
;
4436 ops
->to_filesystem_is_local
= debug_filesystem_is_local
;
4437 ops
->to_trace_init
= debug_trace_init
;
4438 ops
->to_download_tracepoint
= debug_download_tracepoint
;
4439 ops
->to_can_download_tracepoint
= debug_can_download_tracepoint
;
4440 ops
->to_download_trace_state_variable
= debug_download_trace_state_variable
;
4441 ops
->to_enable_tracepoint
= debug_enable_tracepoint
;
4442 ops
->to_disable_tracepoint
= debug_disable_tracepoint
;
4443 ops
->to_trace_set_readonly_regions
= debug_trace_set_readonly_regions
;
4444 ops
->to_trace_start
= debug_trace_start
;
4445 ops
->to_get_trace_status
= debug_get_trace_status
;
4446 ops
->to_get_tracepoint_status
= debug_get_tracepoint_status
;
4447 ops
->to_trace_stop
= debug_trace_stop
;
4448 ops
->to_trace_find
= debug_trace_find
;
4449 ops
->to_get_trace_state_variable_value
= debug_get_trace_state_variable_value
;
4450 ops
->to_save_trace_data
= debug_save_trace_data
;
4451 ops
->to_upload_tracepoints
= debug_upload_tracepoints
;
4452 ops
->to_upload_trace_state_variables
= debug_upload_trace_state_variables
;
4453 ops
->to_get_raw_trace_data
= debug_get_raw_trace_data
;
4454 ops
->to_get_min_fast_tracepoint_insn_len
= debug_get_min_fast_tracepoint_insn_len
;
4455 ops
->to_set_disconnected_tracing
= debug_set_disconnected_tracing
;
4456 ops
->to_set_circular_trace_buffer
= debug_set_circular_trace_buffer
;
4457 ops
->to_set_trace_buffer_size
= debug_set_trace_buffer_size
;
4458 ops
->to_set_trace_notes
= debug_set_trace_notes
;
4459 ops
->to_core_of_thread
= debug_core_of_thread
;
4460 ops
->to_verify_memory
= debug_verify_memory
;
4461 ops
->to_get_tib_address
= debug_get_tib_address
;
4462 ops
->to_set_permissions
= debug_set_permissions
;
4463 ops
->to_static_tracepoint_marker_at
= debug_static_tracepoint_marker_at
;
4464 ops
->to_static_tracepoint_markers_by_strid
= debug_static_tracepoint_markers_by_strid
;
4465 ops
->to_traceframe_info
= debug_traceframe_info
;
4466 ops
->to_use_agent
= debug_use_agent
;
4467 ops
->to_can_use_agent
= debug_can_use_agent
;
4468 ops
->to_supports_btrace
= debug_supports_btrace
;
4469 ops
->to_enable_btrace
= debug_enable_btrace
;
4470 ops
->to_disable_btrace
= debug_disable_btrace
;
4471 ops
->to_teardown_btrace
= debug_teardown_btrace
;
4472 ops
->to_read_btrace
= debug_read_btrace
;
4473 ops
->to_btrace_conf
= debug_btrace_conf
;
4474 ops
->to_stop_recording
= debug_stop_recording
;
4475 ops
->to_info_record
= debug_info_record
;
4476 ops
->to_save_record
= debug_save_record
;
4477 ops
->to_delete_record
= debug_delete_record
;
4478 ops
->to_record_is_replaying
= debug_record_is_replaying
;
4479 ops
->to_goto_record_begin
= debug_goto_record_begin
;
4480 ops
->to_goto_record_end
= debug_goto_record_end
;
4481 ops
->to_goto_record
= debug_goto_record
;
4482 ops
->to_insn_history
= debug_insn_history
;
4483 ops
->to_insn_history_from
= debug_insn_history_from
;
4484 ops
->to_insn_history_range
= debug_insn_history_range
;
4485 ops
->to_call_history
= debug_call_history
;
4486 ops
->to_call_history_from
= debug_call_history_from
;
4487 ops
->to_call_history_range
= debug_call_history_range
;
4488 ops
->to_augmented_libraries_svr4_read
= debug_augmented_libraries_svr4_read
;
4489 ops
->to_get_unwinder
= debug_get_unwinder
;
4490 ops
->to_get_tailcall_unwinder
= debug_get_tailcall_unwinder
;
4491 ops
->to_prepare_to_generate_core
= debug_prepare_to_generate_core
;
4492 ops
->to_done_generating_core
= debug_done_generating_core
;