[PATCH] stack: -b, --build-id shows module build-id, load address and pc offset.

Jan Kratochvil jan.kratochvil at redhat.com
Fri Jan 3 16:52:54 UTC 2014


On Fri, 03 Jan 2014 00:01:13 +0100, Mark Wielaard wrote:
> --- a/src/stack.c
> +++ b/src/stack.c
> @@ -255,7 +255,8 @@ print_frames (struct frames *frames, pid_t tid, int dwflerr, const char *what)
>  	      do
>  		printf ("%02" PRIx8, *id++);
>  	      while (--id_len > 0);
> -	      printf ("]@0x%0" PRIx64 "+%" PRIx64, start, pc_adjusted - start);
> +	      printf ("]@0x%0" PRIx64 "+0x%" PRIx64,
> +		      start, pc_adjusted - start);

Sure OK with the patch.


Thanks,
Jan


More information about the elfutils-devel mailing list