This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 00/16] Add styling to the gdb CLI and TUI


A few minor comments and questions related to this feature:

 . What should be the behavior wrt styling when GDB is used as a
   back-end debugging engine?  E.g., Emacs can act as the GUI
   front-end to GDB -- should styling be turned off in that case?  On
   Windows, it will be urned off, because Emacs communicates with GDB
   via pipes, but on Posix hosts Emacs uses pty's, so GDB will think
   its stdout is a tty device, right?

 . I'm surprised there's no CLI support for requesting the
   "inverse-video" style, although the infrastructure does support the
   corresponding escape sequences.  Is that on purpose?

 . The default foreground color used for addresses, blue, is too dark
   when the terminal's background is black.  Maybe we should change to
   magenta, which should look OK on both dark and light backgrounds.

And one more issue, only tangentially related: if I put on my
~/.gdbinit settings that customize style, older versions of GDB
complain when they start up, because they don't know about styles.  Is
there any way of conditioning scripting commands on the GDB version,
or some other way of avoiding such problems?

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]