mismatch.
* tui/tui-stack.c (tui_show_frame_info): Likewise.
+2006-08-02 Thiemo Seufer <ths@mips.com>
+
+ * linux-thread-db.c (thread_db_get_thread_local_address): Fix type
+ mismatch.
+ * tui/tui-stack.c (tui_show_frame_info): Likewise.
+
2006-08-01 Daniel Jacobowitz <dan@codesourcery.com>
* c-exp.y (type): Remove incorrect pointer to member case.
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
else
{
if (find_pc_partial_function (get_frame_pc (fi), (char **) NULL,
- &low, (CORE_ADDR) NULL) == 0)
+ &low, (CORE_ADDR) 0) == 0)
error (_("No function contains program counter for selected frame."));
else
low = tui_get_low_disassembly_address (low, get_frame_pc (fi));