convert to_trace_init
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_trace_init. * target.h (struct target_ops) <to_trace_init>: Use TARGET_DEFAULT_RETURN.
This commit is contained in:
parent
9409d39e87
commit
5536135bf4
4 changed files with 27 additions and 5 deletions
|
@ -688,7 +688,7 @@ update_current_target (void)
|
|||
/* Do not inherit to_supports_multi_process. */
|
||||
/* Do not inherit to_supports_enable_disable_tracepoint. */
|
||||
/* Do not inherit to_supports_string_tracing. */
|
||||
INHERIT (to_trace_init, t);
|
||||
/* Do not inherit to_trace_init. */
|
||||
INHERIT (to_download_tracepoint, t);
|
||||
INHERIT (to_can_download_tracepoint, t);
|
||||
INHERIT (to_download_trace_state_variable, t);
|
||||
|
@ -752,9 +752,6 @@ update_current_target (void)
|
|||
(void (*) (struct target_ops *, ptid_t))
|
||||
target_ignore);
|
||||
current_target.to_read_description = NULL;
|
||||
de_fault (to_trace_init,
|
||||
(void (*) (struct target_ops *))
|
||||
tcomplain);
|
||||
de_fault (to_download_tracepoint,
|
||||
(void (*) (struct target_ops *, struct bp_location *))
|
||||
tcomplain);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue