diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-18 14:55:06 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:48:18 -0700 |
commit | 9e538d0d0bebe3230940a820c6ec1016f0795899 (patch) | |
tree | 89f3c763b28e06e36849a4d18915c87c17ef4f01 /gdb/target.h | |
parent | f6fb29258bb410c212c7bcbc48fb1f715bfd3839 (diff) | |
download | gdb-9e538d0d0bebe3230940a820c6ec1016f0795899.zip gdb-9e538d0d0bebe3230940a820c6ec1016f0795899.tar.gz gdb-9e538d0d0bebe3230940a820c6ec1016f0795899.tar.bz2 |
convert to_core_of_thread
2014-02-19 Tom Tromey <tromey@redhat.com>
* target-delegates.c: Rebuild.
* target.c (target_core_of_thread): Unconditionally delegate.
* target.h (struct target_ops) <to_core_of_thread>: Use
TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h index cb0bed2..0a6c467 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -933,7 +933,8 @@ struct target_ops If the core cannot be determined -- either for the specified thread, or right now, or in this debug session, or for this target -- return -1. */ - int (*to_core_of_thread) (struct target_ops *, ptid_t ptid); + int (*to_core_of_thread) (struct target_ops *, ptid_t ptid) + TARGET_DEFAULT_RETURN (-1); /* Verify that the memory in the [MEMADDR, MEMADDR+SIZE) range matches the contents of [DATA,DATA+SIZE). Returns 1 if there's |