aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>2019-05-31 13:47:37 +0200
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>2019-06-03 21:59:11 +0200
commit9303eb2fb1630678def10613c81215c2bd21d278 (patch)
treea2282608bb0422631678012ddfe7ee36c1c1fef4 /gdb/ChangeLog
parent79b377b3cf3a0e71e1e4710c4ee1e65e7a27a5d4 (diff)
downloadgdb-9303eb2fb1630678def10613c81215c2bd21d278.zip
gdb-9303eb2fb1630678def10613c81215c2bd21d278.tar.gz
gdb-9303eb2fb1630678def10613c81215c2bd21d278.tar.bz2
Add highlight style, title style, fputs_highlighted. Improve 'show style'
Have 'show style' and its subcommands using a style to style its output. This allows the GDB user or developer to use 'show style' to visually see with one command how all the current styles look like. Add 2 new styles highlight style, title style and fputs_highlighted function. Highlight style is used by fputs_highlighted to highlight the parts of its char *STR argument that match a HIGHLIGHT regexp. This (and the title style) will be used in a following patch.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6d41fc6..d13b44e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,18 @@
+2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * cli/cli-style.h (cli_style_option): Add name in constructor,
+ add m_name class member, add constructor with intensity,
+ add name class function.
+ (cli_style_option::add_setshow_commands): Remove name argument.
+ (highlight_style, title_style): New styles.
+ * cli/cli-style.c (do_show): New function that shows a style
+ characteristic styling the style name with itself.
+ (set_style_name): New function.
+ (STYLE_ADD_SETSHOW_COMMANDS): Remove NAME arguments.
+ Update all callers according to the changes in cli/cli-style.h.
+ * utils.h (fputs_highlighted): New function.
+ * utils.c (fputs_highlighted): Likewise.
+
2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* NEWS: Mention new pipe command and new convenience variables.