Introduce gdb-specific %p format suffixes
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / style.exp
index 41c43dc8f7c877beffd23eeec7bd40bae1d90134..d2c3105bb9fd8d72547c8f983266adcf124b744b 100644 (file)
@@ -94,13 +94,13 @@ save_vars { env(TERM) } {
     gdb_test "" "${vers}.*" \
        "version is styled"
 
-    set address_style_expr [style "\"address\" style" address]
+    set address_style_expr [style ".*\".*address.*\".*style.*" address]
     gdb_test "show style address foreground" \
        "The ${address_style_expr} foreground color is: blue" \
        "style name and style word styled using its own style in show style"
 
-    set aliases_expr [style "aliases" title]
-    set breakpoints_expr [style "breakpoints" title]
+    set aliases_expr [style ".*aliases.*" title]
+    set breakpoints_expr [style ".*breakpoints.*" title]
     gdb_test "help" \
        [multi_line \
             "List of classes of commands:" \
@@ -111,8 +111,8 @@ save_vars { env(TERM) } {
            ] \
        "help classes of commands styled with title"
 
-    set taas_expr  [style "taas" title]
-    set tfaas_expr  [style "tfaas" title]
+    set taas_expr  [style ".*taas.*" title]
+    set tfaas_expr  [style ".*tfaas.*" title]
     set cut_for_thre_expr [style "cut for 'thre" highlight]
     gdb_test "apropos -v cut for 'thre" \
        [multi_line \
This page took 0.026989 seconds and 4 git commands to generate.