libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] remote unwinding example


From: aep
Subject: [Libunwind-devel] remote unwinding example
Date: Tue, 01 Nov 2011 13:46:42 +0100
User-agent: Roundcube Webmail/0.5.4

Hi,

is there any example how to implement the callbacks for remote unwinding? I tried this so far (pseudo code):

as = unw_create_addr_space(callbacks)
unw_init_remote(as, cursor)
unw_step(cursor)

first i get a callback to access_reg which i respond with the current IP and SP registers then i get a callback to get_dyn_info_list_addr which i respond with UNW_ENOINFO due to the lack of any generated code next is an infinite loop of access_mem with address 0xf 0x17 0xf 0x17 etc... not exactly sure why libunwind thinks it needs to access those addresses. they're not in the processes address space, and they are in neither IP nor SP.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]