public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "R. Diez" <rdiezmail-binutils@yahoo.de>
To: gdb@sourceware.org
Subject: "Source code styling is enabled" but it does not really work
Date: Wed, 21 Oct 2020 13:15:36 +0200	[thread overview]
Message-ID: <78b94183-2cb0-63db-7da4-31dadf5bf871@yahoo.de> (raw)
In-Reply-To: <78b94183-2cb0-63db-7da4-31dadf5bf871.ref@yahoo.de>

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

           reply	other threads:[~2020-10-21 11:15 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <78b94183-2cb0-63db-7da4-31dadf5bf871.ref@yahoo.de>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=78b94183-2cb0-63db-7da4-31dadf5bf871@yahoo.de \
    --to=rdiezmail-binutils@yahoo.de \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).