Add target_ops argument to to_get_tib_address

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* windows-nat.c (windows_get_tib_address): Add 'self' argument.
	* target.h (struct target_ops) <to_get_tib_address>: Add argument.
	(target_get_tib_address): Add argument.
	* target.c (update_current_target): Update.
	* remote.c (remote_get_tib_address): Add 'self' argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:44:08 -07:00
parent d9e68a2c60
commit bd7ae0f5ac
5 changed files with 15 additions and 5 deletions

View File

@@ -9320,7 +9320,7 @@ remote_get_thread_local_address (struct target_ops *ops,
Returns 1 if ptid is found and thread_local_base is non zero. */
static int
remote_get_tib_address (ptid_t ptid, CORE_ADDR *addr)
remote_get_tib_address (struct target_ops *self, ptid_t ptid, CORE_ADDR *addr)
{
if (remote_protocol_packets[PACKET_qGetTIBAddr].support != PACKET_DISABLE)
{