public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* "Source code styling is enabled" but it does not really work
       [not found] <78b94183-2cb0-63db-7da4-31dadf5bf871.ref@yahoo.de>
@ 2020-10-21 11:15 ` R. Diez
  0 siblings, 0 replies; only message in thread
From: R. Diez @ 2020-10-21 11:15 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-21 11:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <78b94183-2cb0-63db-7da4-31dadf5bf871.ref@yahoo.de>
2020-10-21 11:15 ` "Source code styling is enabled" but it does not really work R. Diez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).