This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]