Fwd: A typo of yours or a misunderstanding of mine?

Z J Hu via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAKH9Og8h+39WTBZNqqPXHAe2Fp9am+Bfpd3m3tE2G8mNDeV0DA@mail.gmail.com>
I have been asked to forward my question about gdb documentation to you.

---------- Forwarded message ---------
From: Z J Hu <[email protected]>
Date: Wed, Nov 17, 2021 at 9:11 AM
Subject: A typo of yours or a misunderstanding of mine?
To: <[email protected]>


Dear Sourceware Team,

Hope this email finds you well.

When I'm reading the content in "
https://sourceware.org/gdb/onlinedocs/gdb/Memory.html", I find a statement
for 'x/-3uh' command as: "You can also specify a negative repeat count to
examine memory backward from the given address. For example, ‘x/-3uh 0x54320’
prints three halfwords (h) at 0x54314, 0x54328, and 0x5431c." Should
0x54314 be 0x54324 instead? I don't know what machine word size would be
for this statement, and it gives me some hard time to understand. Could you
clear it for me?

Thanks,
-Zielnik Hu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.