GDB (xrefs)

Macros | Typedefs
gdb_thread_db.h File Reference
`#include <thread_db.h>`
`#include "glibc_thread_db.h"`

Go to the source code of this file.

## Macros
#define | LIBTHREAD_DB_SO "libthread_db.so.1"
#define | LIBTHREAD_DB_SEARCH_PATH "$sdir:$pdir"

## Typedefs
typedef td_err_e() | td_init_ftype(void)
typedef td_err_e() | td_ta_new_ftype(struct ps_prochandle *ps, td_thragent_t **ta)
typedef td_err_e() | td_ta_map_lwp2thr_ftype(const td_thragent_t *ta, lwpid_t lwpid, td_thrhandle_t *th)
typedef td_err_e() | td_ta_thr_iter_ftype(const td_thragent_t *ta, td_thr_iter_f *callback, void *cbdata_p, td_thr_state_e state, int ti_pri, sigset_t *ti_sigmask_p, unsigned int ti_user_flags)
typedef td_err_e() | td_ta_event_addr_ftype(const td_thragent_t *ta, td_event_e event, td_notify_t *ptr)
typedef td_err_e() | td_ta_set_event_ftype(const td_thragent_t *ta, td_thr_events_t *event)
typedef td_err_e() | td_ta_clear_event_ftype(const td_thragent_t *ta, td_thr_events_t *event)
typedef td_err_e() | td_ta_event_getmsg_ftype(const td_thragent_t *ta, td_event_msg_t *msg)
typedef td_err_e() | td_thr_get_info_ftype(const td_thrhandle_t *th, td_thrinfo_t *infop)
typedef td_err_e() | td_thr_event_enable_ftype(const td_thrhandle_t *th, int event)
typedef td_err_e() | td_thr_tls_get_addr_ftype(const td_thrhandle_t *th, psaddr_t map_address, size_t offset, psaddr_t *address)
typedef td_err_e() | td_thr_tlsbase_ftype(const td_thrhandle_t *th, unsigned long int modid, psaddr_t *base)
typedef const char **() | td_symbol_list_ftype(void)
typedef td_err_e() | td_ta_delete_ftype(td_thragent_t *)

## Macro Definition Documentation

## ◆ LIBTHREAD_DB_SEARCH_PATH

#define LIBTHREAD_DB_SEARCH_PATH "$sdir:$pdir"

Definition at line 35 of file gdb_thread_db.h.

Referenced by _initialize_thread_db(), and set_libthread_db_search_path().

## ◆ LIBTHREAD_DB_SO

#define LIBTHREAD_DB_SO "libthread_db.so.1"

Definition at line 28 of file gdb_thread_db.h.

Referenced by try_thread_db_load_1(), try_thread_db_load_from_dir(), try_thread_db_load_from_pdir_1(), and try_thread_db_load_from_sdir().

## Typedef Documentation

## ◆ td_init_ftype

typedef td_err_e() td_init_ftype(void)

Definition at line 40 of file gdb_thread_db.h.

## ◆ td_symbol_list_ftype

typedef const char**() td_symbol_list_ftype(void)

Definition at line 72 of file gdb_thread_db.h.

## ◆ td_ta_clear_event_ftype

typedef td_err_e() td_ta_clear_event_ftype(const td_thragent_t *ta, td_thr_events_t *event)

Definition at line 55 of file gdb_thread_db.h.

## ◆ td_ta_delete_ftype

typedef td_err_e() td_ta_delete_ftype(td_thragent_t *)

Definition at line 73 of file gdb_thread_db.h.

## ◆ td_ta_event_addr_ftype

typedef td_err_e() td_ta_event_addr_ftype(const td_thragent_t *ta, td_event_e event, td_notify_t *ptr)

Definition at line 51 of file gdb_thread_db.h.

## ◆ td_ta_event_getmsg_ftype

typedef td_err_e() td_ta_event_getmsg_ftype(const td_thragent_t *ta, td_event_msg_t *msg)

Definition at line 57 of file gdb_thread_db.h.

## ◆ td_ta_map_lwp2thr_ftype

typedef td_err_e() td_ta_map_lwp2thr_ftype(const td_thragent_t *ta, lwpid_t lwpid, td_thrhandle_t *th)

Definition at line 44 of file gdb_thread_db.h.

## ◆ td_ta_new_ftype

typedef td_err_e() td_ta_new_ftype(struct ps_prochandle *ps, td_thragent_t **ta)

Definition at line 42 of file gdb_thread_db.h.

## ◆ td_ta_set_event_ftype

typedef td_err_e() td_ta_set_event_ftype(const td_thragent_t *ta, td_thr_events_t *event)

Definition at line 53 of file gdb_thread_db.h.

## ◆ td_ta_thr_iter_ftype

typedef td_err_e() td_ta_thr_iter_ftype(const td_thragent_t *ta, td_thr_iter_f *callback, void *cbdata_p, td_thr_state_e state, int ti_pri, sigset_t *ti_sigmask_p, unsigned int ti_user_flags)

Definition at line 46 of file gdb_thread_db.h.

## ◆ td_thr_event_enable_ftype

typedef td_err_e() td_thr_event_enable_ftype(const td_thrhandle_t *th, int event)

Definition at line 62 of file gdb_thread_db.h.

## ◆ td_thr_get_info_ftype

typedef td_err_e() td_thr_get_info_ftype(const td_thrhandle_t *th, td_thrinfo_t *infop)

Definition at line 60 of file gdb_thread_db.h.

## ◆ td_thr_tls_get_addr_ftype

typedef td_err_e() td_thr_tls_get_addr_ftype(const td_thrhandle_t *th, psaddr_t map_address, size_t offset, psaddr_t *address)

Definition at line 65 of file gdb_thread_db.h.

## ◆ td_thr_tlsbase_ftype

typedef td_err_e() td_thr_tlsbase_ftype(const td_thrhandle_t *th, unsigned long int modid, psaddr_t *base)

Definition at line 68 of file gdb_thread_db.h.