diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:44:08 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:35 -0700 |
commit | bd7ae0f5ac99eac95313ae91ae705c45f669f20f (patch) | |
tree | 0fac3b51ca519d64aaf9d45fd1a75af660fc41fa /gdb/windows-nat.c | |
parent | d9e68a2c60bc6a2e5e698f5849a20df208ac130a (diff) | |
download | gdb-bd7ae0f5ac99eac95313ae91ae705c45f669f20f.zip gdb-bd7ae0f5ac99eac95313ae91ae705c45f669f20f.tar.gz gdb-bd7ae0f5ac99eac95313ae91ae705c45f669f20f.tar.bz2 |
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.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 164b53f..e0dac7b 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -2570,7 +2570,8 @@ windows_xfer_partial (struct target_ops *ops, enum target_object object, Returns 1 if ptid is found and sets *ADDR to thread_local_base. */ static int -windows_get_tib_address (ptid_t ptid, CORE_ADDR *addr) +windows_get_tib_address (struct target_ops *self, + ptid_t ptid, CORE_ADDR *addr) { thread_info *th; |