[Crash-utility] [ANNOUNCE][RFC] gcore extension module: user-mode process core dump

HATAYAMA Daisuke d.hatayama at jp.fujitsu.com
Wed Jan 26 03:30:50 UTC 2011


Hello Dave,

I've just fixed gcore. The patset is attached to this mail.

Could you review and apply them if okay?

Primary changes are:
 - no build process on unsupported architectures, and
 - fix verbose handling: -v7 is now handled correctly.

In particular, I've just emproyed the way you suggested as below:

> 
> Or you could just catch it in the gcore.mk by doing something like this:
> 
>   ARCH=UNSUPPORTED
>   ifeq ($(shell arch), x86_64)
>     ARCH=SUPPORTED
>   endif
>   ifeq ($(shell arch), i686)
>     ARCH=SUPPORTED
>   endif
> 
>   all: gcore.so
> 
>   gcore.so: gcore.c
>           @if [ ${ARCH} = "UNSUPPORTED"  ]; then \
>                   echo "gcore: architecture not supported"; else \
>           echo "do build here..."; fi;

I confirmed this works well on IA64.

Thanks,
HATAYAMA Daisuke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-verbose-fix-wrong-comparison-with-verbose-max-level.patch
Type: text/x-patch
Size: 844 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20110126/40e472ea/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-verbose-Add-test-cases.patch
Type: text/x-patch
Size: 3595 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20110126/40e472ea/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-x86-Remove-unused-IO_BITMAP_OFFSET-for-build.patch
Type: text/x-patch
Size: 906 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20110126/40e472ea/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-gcore.mk-Add-conditional-to-identify-supported-and-u.patch
Type: text/x-patch
Size: 1677 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20110126/40e472ea/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-test-fix-wrongly-displaying-test-results.patch
Type: text/x-patch
Size: 1240 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20110126/40e472ea/attachment-0004.bin>


More information about the Crash-utility mailing list