diff options
author | Tom Tromey <tom@tromey.com> | 2018-11-09 17:29:50 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-12-28 12:49:48 -0700 |
commit | eedeedd2a50d121af466ddfa9e897212defbf079 (patch) | |
tree | a202f17d1f388d672526f05cbb6a274622101200 /gdb/Makefile.in | |
parent | 7170dadf5950e1444ab09cdfc4e07dd2698fc275 (diff) | |
download | gdb-eedeedd2a50d121af466ddfa9e897212defbf079.zip gdb-eedeedd2a50d121af466ddfa9e897212defbf079.tar.gz gdb-eedeedd2a50d121af466ddfa9e897212defbf079.tar.bz2 |
Introduce ui_file_style
This introduces the new ui_file_style class and various helpers. This
class represents a terminal style and provides methods for parsing and
emitting the corresponding ANSI terminal escape sequences.
gdb/ChangeLog
2018-12-28 Tom Tromey <tom@tromey.com>
* unittests/style-selftests.c: New file.
* ui-style.c: New file.
* ui-style.h: New file.
* ui-file.h: Include ui-style.h.
* Makefile.in (COMMON_SFILES): Add ui-style.c.
(HFILES_NO_SRCDIR): Add ui-style.h.
(SUBDIR_UNITTESTS_SRCS): Add style-selftests.c.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index bbff688..ec81263 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -426,6 +426,7 @@ SUBDIR_UNITTESTS_SRCS = \ unittests/scoped_mmap-selftests.c \ unittests/scoped_restore-selftests.c \ unittests/string_view-selftests.c \ + unittests/style-selftests.c \ unittests/tracepoint-selftests.c \ unittests/unpack-selftests.c \ unittests/utils-selftests.c \ @@ -1125,6 +1126,7 @@ COMMON_SFILES = \ typeprint.c \ ui-file.c \ ui-out.c \ + ui-style.c \ user-regs.c \ utils.c \ valarith.c \ @@ -1398,6 +1400,7 @@ HFILES_NO_SRCDIR = \ typeprint.h \ ui-file.h \ ui-out.h \ + ui-style.h \ user-regs.h \ utils.h \ valprint.h \ |