On Tue, Jan 17, 2017 at 03:50:35PM +0100, Matija Glavinic Pecotic wrote:

SNIP

>  extern int
>  UNW_OBJ(dwarf_search_unwind_table) (unw_addr_space_t as,
> @@ -297,15 +298,58 @@ static int read_unwind_spec_debug_frame(struct dso *dso,
>       int fd;
>       u64 ofs = dso->data.debug_frame_offset;
>  
> +     /* debug_frame can reside in:
> +      *  - dso
> +      *  - debug pointed by symsrc_filename
> +      *  - gnu_debuglink, which doesn't necessary
> +      *    has to be pointed by symsrc_filename
> +      */

looks like we could use this in other parts,
like when __get_srcline and similar

Acked-by: Jiri Olsa <[email protected]>

thanks,
jirka

Reply via email to