This reverts commit e906eaca2b1a77fe9f8ba512484b4e914c303f11.
This above commit adjusted the log level of the missing page warning to
a debug levels only. However, these log can be useful in identifying
issues with dump-generating tools like makedumpfile. This revert will
increase their visibility back to normal.
The underlying issue was resolved by commit 2c69f93 ("gdb: disable
dt_debug lookup by gdb inside the vmcore").
Cc: Lianbo Jiang <[email protected]>
Cc: Sourabh Jain <[email protected]>
Signed-off-by: Shivang Upadhyay <[email protected]>
---
memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/memory.c b/memory.c
index 400d31a..5cb8b58 100644
--- a/memory.c
+++ b/memory.c
@@ -2506,7 +2506,7 @@ readmem(ulonglong addr, int memtype, void *buffer, long
size,
case PAGE_EXCLUDED:
RETURN_ON_PARTIAL_READ();
- if (CRASHDEBUG(8))
+ if (PRINT_ERROR_MESSAGE)
error(INFO, PAGE_EXCLUDED_ERRMSG,
memtype_string(memtype, 0), addr, type);
goto readmem_error;
--
2.50.0
--
Crash-utility mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki