FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Crash Utility

 
 
LinkBack Thread Tools
 
Old 08-06-2012, 03:51 PM
Michael Holzheu
 
Default 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
 

Thread Tools




All times are GMT. The time now is 06:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org