[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 #11 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Jarmo Tiitto from comment #10)
> Why are emojis suddenly by default enabled for mi2, which never had such
> before?
Emoji support was added in gdb 17.
The code deciding whether emojis are emitted is:
...
bool
emojis_ok ()
{
if (!cli_styling || emoji_styling == AUTO_BOOLEAN_FALSE)
return false;
if (emoji_styling == AUTO_BOOLEAN_TRUE)
return true;
return streq (host_charset (), "UTF-8");
}
...
There's nothing specific to the active interpreter.
So in the case of your example, the factors that enable emojis are:
- cli_styling == true
- emoji_style == AUTO_BOOLEAN_AUTO
- host_charset () == "UTF-8"
--
You are receiving this mail because:
You are on the CC list for the bug.