bug-hunting.rst: Clarify bytes sequence format when making "Code:" human-readable

Started by Kirill Tkhai on Jul 12, 2018 · 3 messages from 2 authors · Last reply Jul 12, 2018

Subsystems (2)

Maintainers (2)

STALE3062d

open the first message on its own page

Message details and related content
Bytes have to be separated commas, and this is not obvious
for a person, who does not write in pure ".byte" assembler.
Let's clarify this and make visible for people.

Signed-off-by: Kirill Tkhai <redacted>
---
 Documentation/admin-guide/bug-hunting.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/admin-guide/bug-hunting.rst b/Documentation/admin-guide/bug-hunting.rst
index f278b289e260..861ee752eae9 100644
--- a/Documentation/admin-guide/bug-hunting.rst
+++ b/Documentation/admin-guide/bug-hunting.rst
@@ -213,7 +213,7 @@ If you don't have access to the code you can also debug on some crash dumps
             .text
             .globl foo
      foo:
-            .byte  .... /* bytes from Code: part of OOPS dump */
+            .byte  0x44,0x24,0x04,... /* bytes from Code: part of OOPS dump */
 
      Compile it with "gcc -c -o foo.o foo.s" then look at the output of
      "objdump --disassemble foo.o".

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Message details and related content
On Thu, Jul 12, 2018 at 11:46:25AM +0300, Kirill Tkhai wrote:
Bytes have to be separated commas, and this is not obvious
for a person, who does not write in pure ".byte" assembler.
Let's clarify this and make visible for people.
Can we delete the entire section and say "run ./scripts/decodecode"
instead?
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Message details and related content
On 12.07.2018 15:57, Matthew Wilcox wrote:
On Thu, Jul 12, 2018 at 11:46:25AM +0300, Kirill Tkhai wrote:
quoted
Bytes have to be separated commas, and this is not obvious
for a person, who does not write in pure ".byte" assembler.
Let's clarify this and make visible for people.
Can we delete the entire section and say "run ./scripts/decodecode"
instead?
Yeah, it looks so.
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help