diff options
Diffstat (limited to 'gdb-8.2')
-rw-r--r-- | gdb-8.2/gdb/nat/glibc_thread_db.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb-8.2/gdb/nat/glibc_thread_db.h b/gdb-8.2/gdb/nat/glibc_thread_db.h index 97423a44f..0bfba3753 100644 --- a/gdb-8.2/gdb/nat/glibc_thread_db.h +++ b/gdb-8.2/gdb/nat/glibc_thread_db.h @@ -27,6 +27,9 @@ #include <sys/types.h> #include <sys/procfs.h> +#ifdef __cplusplus +extern "C" { +#endif /* Error codes of the library. */ typedef enum @@ -455,4 +458,8 @@ extern td_err_e td_thr_dbsuspend (const td_thrhandle_t *__th); /* Resume execution of thread TH. */ extern td_err_e td_thr_dbresume (const td_thrhandle_t *__th); +#ifdef __cplusplus +} +#endif + #endif /* thread_db.h */ |