diff options
author | Roland McGrath <roland@redhat.com> | 2008-08-07 08:39:41 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2008-08-07 08:39:41 +0000 |
commit | 1d8bb25cac06b5af57f8733e5ea7a068a79edfe0 (patch) | |
tree | f794a75ef8e1f324185d2850e6e4da59323fe9ca /libebl/libebl.h | |
parent | 9d2f3ee2554185a9df70f434eddc4405a4aff0fa (diff) | |
download | android_external_elfutils-1d8bb25cac06b5af57f8733e5ea7a068a79edfe0.tar.gz android_external_elfutils-1d8bb25cac06b5af57f8733e5ea7a068a79edfe0.tar.bz2 android_external_elfutils-1d8bb25cac06b5af57f8733e5ea7a068a79edfe0.zip |
src/
(find_symbol): Likewise.
Convert plain number, or handle strings like "(section)+offset"
or "symbol+offset".
Diffstat (limited to 'libebl/libebl.h')
-rw-r--r-- | libebl/libebl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libebl/libebl.h b/libebl/libebl.h index 118ae7e7..50258690 100644 --- a/libebl/libebl.h +++ b/libebl/libebl.h @@ -248,6 +248,13 @@ extern ssize_t ebl_register_info (Ebl *ebl, const char **prefix, const char **setname, int *bits, int *type); +/* Fill in the DWARF register numbers for the registers used in system calls. + The SP and PC are what kernel reports call the user stack pointer and PC. + The CALLNO and ARGS are the system call number and incoming arguments. + Each of these is filled with the DWARF register number corresponding, + or -1 if there is none. Returns zero when the information is available. */ +extern int ebl_syscall_abi (Ebl *ebl, int *sp, int *pc, + int *callno, int args[6]); /* ELF string table handling. */ struct Ebl_Strtab; |