[Crash-utility] kmem -s/-S not working properly on RHEL8.6/8.7

Aureau, Georges (Kernel Tools ERT) georges.aureau at hpe.com
Wed Feb 8 13:07:40 UTC 2023


> It could be good to check the return value of gdb_pass_through(). For example:

This would not bring much value, if disasm fails, tmpfile would not have much to process anyway.

+               if (STREQ(arglist[2], "bswap")) {
+                       found = TRUE;
+                       //break;

> Here, the above break is still needed.

Indeed, this was a leftover when printing full tmpfile content.
See latest patch proposed in  thread "[PATCH] kmem -s/-S not working properly on RHEL8.6/8.7"


More information about the Crash-utility mailing list