Re: bin/60497: gdb prints garbled gibberish in an attempt to show cutesy emoji
"Thomas Klausner via gnats" <[email protected]> Fri, 24 Jul 2026 17:50:02 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR bin/60497; it has been noted by GNATS. From: Thomas Klausner <[email protected]> To: [email protected] Cc: Subject: Re: bin/60497: gdb prints garbled gibberish in an attempt to show cutesy emoji Date: Fri, 24 Jul 2026 19:48:37 +0200 On Fri, Jul 24, 2026 at 05:30:01PM +0100, [email protected] via gnats wrote: > (gdb) break write > ❌️ Function "write" not defined. > Make breakpoint pending on future shared library load? (y or [n]) y > > My terminal emulator does not display emoji, nor does any > terminal emulator or font that NetBSD ships out of the box as > far as I know, so it comes out instead as a couple of empty > squares of different sizes. > > I think we should turn this cutesy/annoying `feature' off by > default. It's a red X. I can see it in all the terminals I use. It's configurable, from gdb/NEWS: set style emoji on|off|auto show style emoji Controls whether GDB can display emoji. The default is "auto", which means emoji will be displayed in some situations when the host charset is UTF-8. So if you don't like it, you can 'set style emoji off' Thomas