"Source code styling is enabled" but it does not really work

"R. Diez via Gdb" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Hi all:

I have been building GDB from source for a while, but I recently upgraded my system to Ubuntu 20.04, which already has the latest 9.2 
release, so I started using it instead.

I then realised that syntax highlighting was not working, or like GDB calls it, "source code styling".

I wanted to keep using the only pretty thing there is in GDB 8-) , so I started to investigate:

Command "show style" says "Source code styling is enabled."
Command "show style sources" says "Source code styling is enabled."

I then saw this bug on another Linux distribution:

https://bugs.archlinux.org/task/62702

Notice how the author is using ldd and grepping for the library name.

I guess that Ubuntu's build of GDB does not have source code styling enabled or built-in.

But should commands "show style" and "show style sources" not say so? It is confusing that they say "enabled", but then it does not really work.

Or am I missing something here?

Regards,
   rdiez
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.