diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-18 14:12:29 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:47:56 -0700 |
commit | 0bcfeddf50f6d36d429b4546d5082debf2e5e05e (patch) | |
tree | 7cb9837bf3348698cdddb6153fce0f1bbfcc84d4 /gdb/target.c | |
parent | 9249843f19916f0ba5d02749b0811765babf527a (diff) | |
download | gdb-0bcfeddf50f6d36d429b4546d5082debf2e5e05e.zip gdb-0bcfeddf50f6d36d429b4546d5082debf2e5e05e.tar.gz gdb-0bcfeddf50f6d36d429b4546d5082debf2e5e05e.tar.bz2 |
convert to_set_disconnected_tracing
2014-02-19 Tom Tromey <tromey@redhat.com>
* target-delegates.c: Rebuild.
* target.c (update_current_target): Don't inherit or default
to_set_disconnected_tracing.
* target.h (struct target_ops) <to_set_disconnected_tracing>: Use
TARGET_DEFAULT_IGNORE.
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 bfbf5fd..e6ba817 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -704,7 +704,7 @@ update_current_target (void) /* Do not inherit to_upload_trace_state_variables. */ /* Do not inherit to_get_raw_trace_data. */ /* Do not inherit to_get_min_fast_tracepoint_insn_len. */ - INHERIT (to_set_disconnected_tracing, t); + /* Do not inherit to_set_disconnected_tracing. */ INHERIT (to_set_circular_trace_buffer, t); INHERIT (to_set_trace_buffer_size, t); INHERIT (to_set_trace_notes, t); @@ -750,9 +750,6 @@ update_current_target (void) (void (*) (struct target_ops *, ptid_t)) target_ignore); current_target.to_read_description = NULL; - de_fault (to_set_disconnected_tracing, - (void (*) (struct target_ops *, int)) - target_ignore); de_fault (to_set_circular_trace_buffer, (void (*) (struct target_ops *, int)) target_ignore); |