我在我的gdb中显示字符集:
The host character set is "UTF-8".
The target character set is "UTF-8".
The target wide character set is "auto; currently UTF-32".
但是当我尝试在寄存器中输出一个字符串时
p(char *)$ register
我有一个非常奇怪的字符串,很难识别:
$ 16 = 0x100001040" A \ 020 \ 021 \ 021 \ 033 \ ndgjhbhnghkb = ejj = h \ 004 \ 005 \ b \ 003 ...
我确信如果字符串纯粹是ascii,那么一切正常。
那么我该怎么做才能得到我想看到的字符串?