[Bug mi/34501] gdb responds with corrupt output on trying to inserting a breakpoint
"vries at gcc dot gnu.org via Gdb-prs" <[email protected]>
| Newsgroups | gmane.comp.gdb.bugs.discuss |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://sourceware.org/bugzilla/show_bug.cgi?id=34501
--- Comment #9 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #8)
> The output is UTF-8 encoded Unicode. The only issue is that the leading
> byte is printed directly instead of escaped.
With "set print sevenbit-strings on" in addition I get:
...
$ gdb -q \
-ex 'set print sevenbit-strings on' \
-ex 'set charset UTF-8' \
-ex 'interpreter-exec mi2 "-break-insert -f foo' \
-ex quit
&"\342\235\214\357\270\217 No symbol table is loaded. Use the \"file\"
command.\n"
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="foo",times="0",original-location="foo"}
...
--
You are receiving this mail because:
You are on the CC list for the bug.