diff options
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r-- | gdb/linux-thread-db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index bd90527..c52ab15 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -544,13 +544,13 @@ enable_thread_event (int event, CORE_ADDR *bp) /* Set up the breakpoint. */ gdb_assert (exec_bfd); (*bp) = (gdbarch_convert_from_func_ptr_addr - (target_gdbarch, + (target_gdbarch (), /* Do proper sign extension for the target. */ (bfd_get_sign_extend_vma (exec_bfd) > 0 ? (CORE_ADDR) (intptr_t) notify.u.bptaddr : (CORE_ADDR) (uintptr_t) notify.u.bptaddr), ¤t_target)); - create_thread_event_breakpoint (target_gdbarch, *bp); + create_thread_event_breakpoint (target_gdbarch (), *bp); return TD_OK; } |