mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* nto-tdep.c (nto_thread_state_str): New array.
(nto_extra_thread_info): New function definition. * nto-tdep.h (gdbthread.h): New include. (private_thread_info): New struct. (nto_extra_thread_info): New declaration. * nto-procfs.c (procfs_thread_alive): Properly check if thread is still alive. (update_thread_private_data_name, update_thread_private_data): New function definition. (procfs_find_new_threads): Fetch thread private data. (init_procfs_ops): Register to_extra_thread_info.
This commit is contained in:
@ -25,6 +25,7 @@
|
||||
#include "solist.h"
|
||||
#include "osabi.h"
|
||||
#include "regset.h"
|
||||
#include "gdbthread.h"
|
||||
|
||||
/* Target operations defined for Neutrino targets (<target>-nto-tdep.c). */
|
||||
|
||||
@ -138,6 +139,14 @@ typedef struct _debug_regs
|
||||
qnx_reg64 padding[1024];
|
||||
} nto_regset_t;
|
||||
|
||||
struct private_thread_info
|
||||
{
|
||||
short tid;
|
||||
unsigned char state;
|
||||
unsigned char flags;
|
||||
char name[1];
|
||||
};
|
||||
|
||||
/* Generic functions in nto-tdep.c. */
|
||||
|
||||
void nto_init_solib_absolute_prefix (void);
|
||||
@ -162,4 +171,6 @@ void nto_dummy_supply_regset (struct regcache *regcache, char *regs);
|
||||
|
||||
int nto_in_dynsym_resolve_code (CORE_ADDR pc);
|
||||
|
||||
char *nto_extra_thread_info (struct thread_info *);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user