1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-05-18 19:25:16 +02:00

(unwi_get_proc_name): If UNW_REMOTE_ONLY is defined and the procedure

isn't a dynamically generated one, just punt and return
	-UNW_ENOINFO.

(Logical change 1.48)
This commit is contained in:
hp.com!davidm 2003-02-15 03:10:30 +00:00
parent 89344cf672
commit cd6b1537ce

View file

@ -89,6 +89,9 @@ unwi_get_proc_name (unw_addr_space_t as, unw_word_t ip, int is_local,
/* not a dynamic procedure */
#ifdef UNW_REMOTE_ONLY
return -UNW_ENOINFO;
#else
if (!is_local)
/* It makes no sense to implement get_proc_name() for remote
address spaces because that would require a callback and in
@ -97,4 +100,5 @@ unwi_get_proc_name (unw_addr_space_t as, unw_word_t ip, int is_local,
return -UNW_ENOINFO;
return tdep_get_proc_name (ip, buf, buf_len, offp);
#endif
}