diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-18 13:57:41 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:47:43 -0700 |
commit | 9a980a22ba5c15b3cf9af2770212fdccebe6fc48 (patch) | |
tree | 6cf33043f432914ca013ef1d94b7a04243371347 /gdb/target.c | |
parent | 5536135bf41239d466c47b827e02b49197bd2b48 (diff) | |
download | gdb-9a980a22ba5c15b3cf9af2770212fdccebe6fc48.zip gdb-9a980a22ba5c15b3cf9af2770212fdccebe6fc48.tar.gz gdb-9a980a22ba5c15b3cf9af2770212fdccebe6fc48.tar.bz2 |
convert to_download_tracepoint
2014-02-19 Tom Tromey <tromey@redhat.com>
* target-delegates.c: Rebuild.
* target.c (update_current_target): Don't inherit or default
to_download_tracepoint.
* target.h (struct target_ops) <to_download_tracepoint>: Use
TARGET_DEFAULT_NORETURN.
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/target.c b/gdb/target.c index db4fed3..1865e69 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -689,7 +689,7 @@ update_current_target (void) /* Do not inherit to_supports_enable_disable_tracepoint. */ /* Do not inherit to_supports_string_tracing. */ /* Do not inherit to_trace_init. */ - INHERIT (to_download_tracepoint, t); + /* Do not inherit to_download_tracepoint. */ INHERIT (to_can_download_tracepoint, t); INHERIT (to_download_trace_state_variable, t); INHERIT (to_enable_tracepoint, 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_download_tracepoint, - (void (*) (struct target_ops *, struct bp_location *)) - tcomplain); de_fault (to_can_download_tracepoint, (int (*) (struct target_ops *)) return_zero); |