aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-19 07:21:56 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:31 -0700
commitcbffc065273e91d3596dc73bad695a815f67d5fa (patch)
tree2a5fc28268bb7d0ebeb091aa2d656ae5777417e2 /gdb/target.h
parentf09e210795cb9e182feb2d02d97a6c9b22a46f53 (diff)
downloadgdb-cbffc065273e91d3596dc73bad695a815f67d5fa.zip
gdb-cbffc065273e91d3596dc73bad695a815f67d5fa.tar.gz
gdb-cbffc065273e91d3596dc73bad695a815f67d5fa.tar.bz2
convert to_thread_alive
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (target_thread_alive): Unconditionally delegate. * target.h (struct target_ops) <to_thread_alive>: Use TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index e3d7ed8..ecfd1a2 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -558,7 +558,8 @@ struct target_ops
void (*to_program_signals) (struct target_ops *, int, unsigned char *)
TARGET_DEFAULT_IGNORE ();
- int (*to_thread_alive) (struct target_ops *, ptid_t ptid);
+ int (*to_thread_alive) (struct target_ops *, ptid_t ptid)
+ TARGET_DEFAULT_RETURN (0);
void (*to_find_new_threads) (struct target_ops *)
TARGET_DEFAULT_IGNORE ();
char *(*to_pid_to_str) (struct target_ops *, ptid_t)