This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH 1/2] Show contents NT_SIGINFO core note in readelf
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 30 Sep 2013 13:32:50 +0200
- Subject: Re: [PATCH 1/2] Show contents NT_SIGINFO core note in readelf
On Fri, 2013-09-27 at 17:02 +0200, Petr Machata wrote:
> Signed-off-by: Petr Machata <pmachata@redhat.com>
> ---
> src/ChangeLog | 6 ++
> src/readelf.c | 103 +++++++++++++++++++++++++++++++++++
> tests/ChangeLog | 6 ++
> tests/Makefile.am | 2 +-
> tests/run-readelf-mixed-corenote.sh | 59 ++++++++++++++++++++-
> tests/testfile71.bz2 | Bin 0 -> 18164 bytes
> 6 files changed, 174 insertions(+), 2 deletions(-)
> create mode 100644 tests/testfile71.bz2
>
> diff --git a/src/ChangeLog b/src/ChangeLog
> index 6788087..9d4c2e2 100644
> --- a/src/ChangeLog
> +++ b/src/ChangeLog
> @@ -1,3 +1,9 @@
> +2013-09-26 Petr Machata <pmachata@redhat.com>
> +
> + * readelf.c (handle_siginfo_note): New function.
> + (handle_notes_data): Call it to handle NT_SIGINFO notes.
> + (buf_read_int, buf_read_ulong, buf_has_data): New functions.
Looks good to me.
Thanks,
Mark