diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-18 14:09:37 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:47:52 -0700 |
commit | a2e6c147fcef5671c6c99f647a8e4587a117db30 (patch) | |
tree | 1f19b8bfb399776e3a79c5e1e1752049814ed09e /gdb/target.c | |
parent | 959bcd0b393d5d35e7e7b6ac5d8cd6083c866a8c (diff) | |
download | binutils-a2e6c147fcef5671c6c99f647a8e4587a117db30.zip binutils-a2e6c147fcef5671c6c99f647a8e4587a117db30.tar.gz binutils-a2e6c147fcef5671c6c99f647a8e4587a117db30.tar.bz2 |
convert to_save_trace_data
2014-02-19 Tom Tromey <tromey@redhat.com>
* target-delegates.c: Rebuild.
* target.c (update_current_target): Don't inherit or default
to_save_trace_data.
* target.h (struct target_ops) <to_save_trace_data>: 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 f0309f1..44900ed 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -701,7 +701,7 @@ update_current_target (void) /* Do not inherit to_trace_stop. */ /* Do not inherit to_trace_find. */ /* Do not inherit to_get_trace_state_variable_value. */ - INHERIT (to_save_trace_data, t); + /* Do not inherit to_save_trace_data. */ INHERIT (to_upload_tracepoints, t); INHERIT (to_upload_trace_state_variables, t); INHERIT (to_get_raw_trace_data, 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_save_trace_data, - (int (*) (struct target_ops *, const char *)) - tcomplain); de_fault (to_upload_tracepoints, (int (*) (struct target_ops *, struct uploaded_tp **)) return_zero); |