"Source code styling is enabled" but it does not really work
R. Diez
rdiezmail-binutils@yahoo.de
Wed Oct 21 11:15:36 GMT 2020
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
More information about the Gdb
mailing list