mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-22 19:43:42 +01:00
Add a get_pid
field to struct unw_accessors
This commit is contained in:
parent
a02324d9af
commit
7a747a28b1
1 changed files with 5 additions and 0 deletions
|
@ -180,6 +180,11 @@ typedef struct unw_accessors
|
|||
NULL. */
|
||||
int (*get_proc_name) (unw_addr_space_t, unw_word_t, char *, size_t,
|
||||
unw_word_t *, void *);
|
||||
|
||||
/* Retrieve the PID of the process this memory belongs to.
|
||||
Returns 0 for local memory or when undefined.
|
||||
This must be non-zero for init_remote. */
|
||||
int (*get_pid) (void *);
|
||||
}
|
||||
unw_accessors_t;
|
||||
|
||||
|
|
Loading…
Reference in a new issue