diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-18 14:11:12 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:47:55 -0700 |
commit | ace92e7d1435c46e3085f1183f957ab372b1f4a8 (patch) | |
tree | 88c4df7201804103a4e42537f6389a81de1ef557 /gdb/target.c | |
parent | 081204679d54dc5c6d7801dd4cc6decd949054b3 (diff) | |
download | gdb-ace92e7d1435c46e3085f1183f957ab372b1f4a8.zip gdb-ace92e7d1435c46e3085f1183f957ab372b1f4a8.tar.gz gdb-ace92e7d1435c46e3085f1183f957ab372b1f4a8.tar.bz2 |
convert to_get_raw_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_get_raw_trace_data.
* target.h (struct target_ops) <to_get_raw_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 38d8dda..8caa720 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -704,7 +704,7 @@ update_current_target (void) /* Do not inherit to_save_trace_data. */ /* Do not inherit to_upload_tracepoints. */ /* Do not inherit to_upload_trace_state_variables. */ - INHERIT (to_get_raw_trace_data, t); + /* Do not inherit to_get_raw_trace_data. */ INHERIT (to_get_min_fast_tracepoint_insn_len, t); INHERIT (to_set_disconnected_tracing, t); INHERIT (to_set_circular_trace_buffer, 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_get_raw_trace_data, - (LONGEST (*) (struct target_ops *, gdb_byte *, ULONGEST, LONGEST)) - tcomplain); de_fault (to_get_min_fast_tracepoint_insn_len, (int (*) (struct target_ops *)) return_minus_one); |