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

Subsystems: documentation, the rest

STALE2943d

3 messages, 2 authors, 2018-07-12 · open the first message on its own page

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

From: Kirill Tkhai <hidden>
Date: 2018-07-12 08:46:40

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

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

From: Matthew Wilcox <willy@infradead.org>
Date: 2018-07-12 12:57:17

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

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

From: Kirill Tkhai <hidden>
Date: 2018-07-12 14:46:25

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
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help