mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 09:07:38 +01:00
(unw_get_proc_name): Declare "offp" argument and pass it to unwi_get_proc_name().
(Logical change 1.59)
This commit is contained in:
parent
3532dd4a4c
commit
90c6107cae
1 changed files with 3 additions and 2 deletions
|
@ -26,9 +26,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
#include "unwind_i.h"
|
||||
|
||||
int
|
||||
unw_get_proc_name (unw_cursor_t *cursor, char *buf, size_t buf_len)
|
||||
unw_get_proc_name (unw_cursor_t *cursor, char *buf, size_t buf_len,
|
||||
unw_word_t *offp)
|
||||
{
|
||||
struct cursor *c = (struct cursor *) cursor;
|
||||
|
||||
return unwi_get_proc_name (c->as, c->eip, buf, buf_len, c->as_arg);
|
||||
return unwi_get_proc_name (c->as, c->eip, buf, buf_len, offp, c->as_arg);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue