diff options
author | Thiemo Seufer <ths@networkno.de> | 2006-08-02 10:24:00 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2006-08-02 10:24:00 +0000 |
commit | 87177905630953bf5b7ba6ed7938c2a483873e07 (patch) | |
tree | 48a4df97ee6f56f8d9a44d60e101432a540fb432 /gdb/linux-thread-db.c | |
parent | 172553c73378f3fc8d86df061b6443ed63f302e7 (diff) | |
download | gdb-87177905630953bf5b7ba6ed7938c2a483873e07.zip gdb-87177905630953bf5b7ba6ed7938c2a483873e07.tar.gz gdb-87177905630953bf5b7ba6ed7938c2a483873e07.tar.bz2 |
* linux-thread-db.c (thread_db_get_thread_local_address): Fix type
mismatch.
* tui/tui-stack.c (tui_show_frame_info): Likewise.
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r-- | gdb/linux-thread-db.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index d91a894..517dc44 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -1080,7 +1080,8 @@ thread_db_get_thread_local_address (ptid_t ptid, thread_db_map_id2thr (thread_info, 1); /* Finally, get the address of the variable. */ - err = td_thr_tls_get_addr_p (&thread_info->private->th, (void *) lm, + err = td_thr_tls_get_addr_p (&thread_info->private->th, + (void *)(size_t) lm, offset, &address); #ifdef THREAD_DB_HAS_TD_NOTALLOC |