diff options
Diffstat (limited to 'libdwfl/libdwfl.h')
-rw-r--r-- | libdwfl/libdwfl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libdwfl/libdwfl.h b/libdwfl/libdwfl.h index 2bb4f455..cedadaef 100644 --- a/libdwfl/libdwfl.h +++ b/libdwfl/libdwfl.h @@ -145,6 +145,12 @@ extern int dwfl_report_segment (Dwfl *dwfl, int ndx, extern Dwfl_Module *dwfl_report_module (Dwfl *dwfl, const char *name, Dwarf_Addr start, Dwarf_Addr end); +/* Call dwfl_report_module with support of possibly deleted files of running + live process with pid PID. */ +extern Dwfl_Module *dwfl_report_module_pid (Dwfl *dwfl, const char *name, + Dwarf_Addr start, Dwarf_Addr end, + pid_t pid); + /* Report a module to address BASE with start and end addresses computed from the ELF program headers in the given file - see the table below. FD may be -1 to open FILE_NAME. On success, FD is consumed by the |