[Crash-utility] [PATCH] Add ELF core dump support for s390x

Dave Anderson anderson at redhat.com
Fri Feb 12 15:41:16 UTC 2010


----- "Dave Anderson" <anderson at redhat.com> wrote:

> If you're happy with the changes above, I can do it here, make sure
> it compiles, and queue it for the next release.

Here's my proposed patch, along with cleanups for these compiler warnings:

s390x.c: In function 's390x_cpu_get':
s390x.c:91: warning: unused variable 'nt_prefix'
s390x.c: In function 's390x_back_trace_cmd':
s390x.c:762: warning: unused variable 'cpu'
s390x.c: In function 's390x_cpu_get'
s390x.c:104: warning: control reaches end of non-void function
s390x.c:650: warning: ‘s390x_cpu_of_task’ defined but not used

BTW, the second stanza in the patch to s390x.c may require hand-patching -- 
your original didn't apply on my current tree.

Anyway, does this work for you?

Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: s390x_elf.patch
Type: text/x-patch
Size: 10163 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20100212/a4c04757/attachment.bin>


More information about the Crash-utility mailing list