Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Crash Utility (http://www.linux-archive.org/crash-utility/)
-   -   s390: Enable live check for --minimal (http://www.linux-archive.org/crash-utility/691182-s390-enable-live-check-minimal.html)

Michael Holzheu 08-06-2012 03:51 PM

s390: Enable live check for --minimal
 
Hello Dave,

Currently on s390 the check for live dumps is called in s390x_init(POST_INIT).
Unfortunately this code is not executed when the "--minimal" command line
option is specified. Therefore when using this option, "help -p" does not
show the correct information for flags2.

This patch moves the s390x_check_live() invoctation to s390x_init(PRE_GDB),
that is called also for --minimal.

Michael
---
s390x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/s390x.c
+++ b/s390x.c
@@ -398,6 +398,7 @@ s390x_init(int when)
machdep->value_to_symbol = generic_machdep_value_to_symbol;
machdep->init_kernel_pgd = NULL;
vt->flags |= COMMON_VADDR;
+ s390x_check_live();
break;

case POST_GDB:
@@ -413,7 +414,6 @@ s390x_init(int when)
break;

case POST_INIT:
- s390x_check_live();
break;
}
}
--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility


All times are GMT. The time now is 03:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.