diff options
| author | Ulrich Drepper <[email protected]> | 2007-03-13 06:22:40 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2007-03-13 06:22:40 +0000 |
| commit | 6258e7486eb3eed6e50005946795c5fbf73aa106 (patch) | |
| tree | 669a314f55739470bd3dbe1220088b43485f58c6 /libdwfl/libdwfl.h | |
| parent | 8b383101ca9c958e27175a0b77b6c227c08386eb (diff) | |
propagate from branch 'com.redhat.elfutils.roland.pending' (head e0c7abd450c9e49093cfae30af8a22782a74a403)
to branch 'com.redhat.elfutils' (head 2c784d50eee72e33972c333138a3a28df304da63)
Diffstat (limited to 'libdwfl/libdwfl.h')
| -rw-r--r-- | libdwfl/libdwfl.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libdwfl/libdwfl.h b/libdwfl/libdwfl.h index ec006562..c36f9206 100644 --- a/libdwfl/libdwfl.h +++ b/libdwfl/libdwfl.h @@ -156,6 +156,14 @@ extern int dwfl_report_end (Dwfl *dwfl, void *arg), void *arg); +/* Start reporting additional modules to the library. No calls but + dwfl_report_* can be made on DWFL until dwfl_report_end is called. + This is like dwfl_report_begin, but all the old modules are kept on. + More dwfl_report_* calls can follow to add more modules. + When dwfl_report_end is called, no old modules will be removed. */ +extern void dwfl_report_begin_add (Dwfl *dwfl); + + /* Return the name of the module, and for each non-null argument store interesting details: *USERDATA is a location for storing your own pointer, **USERDATA is initially null; *START and *END give the address @@ -332,6 +340,12 @@ extern const char *dwfl_module_getsym (Dwfl_Module *mod, int ndx, /* Find the symbol that ADDRESS lies inside, and return its name. */ extern const char *dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr address); +/* Find the symbol that ADDRESS lies inside, and return detailed + information as for dwfl_module_getsym (above). */ +extern const char *dwfl_module_addrsym (Dwfl_Module *mod, GElf_Addr address, + GElf_Sym *sym, GElf_Word *shndxp) + __nonnull_attribute__ (3); + /*** Dwarf access functions ***/ |
