1
0
Fork 0
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:
Théophile Bastian 2018-05-31 13:32:24 +02:00
parent a02324d9af
commit 7a747a28b1

View file

@ -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;