diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:43:06 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:31 -0700 |
commit | 0e67620a27973554ee13ce75bceddd90ac53a70d (patch) | |
tree | 18293a12125eb79512a29f29e650b134a1d0b6ea /gdb/target.c | |
parent | 88ee6f45bb74169fea3dd75110e626ece3f11401 (diff) | |
download | gdb-0e67620a27973554ee13ce75bceddd90ac53a70d.zip gdb-0e67620a27973554ee13ce75bceddd90ac53a70d.tar.gz gdb-0e67620a27973554ee13ce75bceddd90ac53a70d.tar.bz2 |
Add target_ops argument to to_get_min_fast_tracepoint_insn_len
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops)
<to_get_min_fast_tracepoint_insn_len>: Add argument.
(target_get_min_fast_tracepoint_insn_len): Add argument.
* target.c (update_current_target): Update.
* remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
argument.
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c index c7e6f3e..9266a03 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -902,7 +902,7 @@ update_current_target (void) (LONGEST (*) (struct target_ops *, gdb_byte *, ULONGEST, LONGEST)) tcomplain); de_fault (to_get_min_fast_tracepoint_insn_len, - (int (*) (void)) + (int (*) (struct target_ops *)) return_minus_one); de_fault (to_set_disconnected_tracing, (void (*) (int)) |