This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] stack: -b, --build-id shows module build-id, load address and pc offset.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 03 Jan 2014 17:52:54 +0100
- Subject: 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