diff options
| author | Roland McGrath <[email protected]> | 2010-04-21 17:54:33 -0700 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2010-04-21 17:54:33 -0700 |
| commit | 29ac69dea1640adbe9a19d158f4ea702f8f4223c (patch) | |
| tree | 3f654d692760f5d07926874052c89b0193966cf3 /libdwfl/libdwfl.h | |
| parent | 410dee79e799d66fc816859c3b0bf40bcc6ae647 (diff) | |
| parent | f5ed5445c123ce861fbcffd3505ed814086a3a01 (diff) | |
Merge commit 'elfutils-0.146' into dwarf
Conflicts:
tests/Makefile.am
Diffstat (limited to 'libdwfl/libdwfl.h')
| -rw-r--r-- | libdwfl/libdwfl.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libdwfl/libdwfl.h b/libdwfl/libdwfl.h index fafc75e5..51e98187 100644 --- a/libdwfl/libdwfl.h +++ b/libdwfl/libdwfl.h @@ -1,5 +1,5 @@ /* Interfaces for libdwfl. - Copyright (C) 2005-2009 Red Hat, Inc. + Copyright (C) 2005-2010 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -359,6 +359,15 @@ extern int dwfl_linux_kernel_report_offline (Dwfl *dwfl, const char *release, int (*predicate) (const char *, const char *)); +/* Examine an ET_CORE file and report modules based on its contents. + This can follow a dwfl_report_offline call to bootstrap the + DT_DEBUG method of following the dynamic linker link_map chain, in + case the core file does not contain enough of the executable's text + segment to locate its PT_DYNAMIC in the dump. This might call + dwfl_report_elf on file names found in the dump if reading some + link_map files is the only way to ascertain those modules' addresses. + Returns the number of modules reported, or -1 for errors. */ +extern int dwfl_core_file_report (Dwfl *dwfl, Elf *elf); /* Call dwfl_report_module for each file mapped into the address space of PID. Returns zero on success, -1 if dwfl_report_module failed, |
