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.
This commit is contained in:
Tom Tromey
2013-12-18 14:55:06 -07:00
parent f6fb29258b
commit 9e538d0d0b
4 changed files with 31 additions and 17 deletions

View File

@ -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