Re: Inspecting memory address contents in GDB
Andreas Schwab <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Apr 09 2023, Jonny Grant wrote:
> Hi
> Pasting some output lines from a core dump gdb session below.
> I noticed after "x/8c" the line seems stuck in ASCII mode. So when I do "x/8b" it doesn't go back to output in hex, is that expected?
From help x:
Defaults for format and size letters are those previously used.
Default count is 1. Default address is following last thing printed
with this command or "print".
'c' is a format, 'b' is a size letter. Each one will independently
remain in effect until a different format and size, resp., is used.
--
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."