diff options
author | Tom Tromey <tom@tromey.com> | 2021-05-15 08:31:42 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-09-23 09:19:56 -0600 |
commit | 334381ea466c4735fe533a9864991b862c094b60 (patch) | |
tree | 9766fe59b5c0133a3f8a9aa3fd2ef333540274fe /gdb/testsuite/gdb.base/style.c | |
parent | ae9150ce9e8a0c181590975a6a4770638aafc630 (diff) | |
download | gdb-334381ea466c4735fe533a9864991b862c094b60.zip gdb-334381ea466c4735fe533a9864991b862c094b60.tar.gz gdb-334381ea466c4735fe533a9864991b862c094b60.tar.bz2 |
Style the "XXX" text in ptype/o
This patch changes gdb to use the 'highlight' style on the "XXX" text
in the output of ptype/o.
Diffstat (limited to 'gdb/testsuite/gdb.base/style.c')
-rw-r--r-- | gdb/testsuite/gdb.base/style.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/style.c b/gdb/testsuite/gdb.base/style.c index 59707b3..6a7934f 100644 --- a/gdb/testsuite/gdb.base/style.c +++ b/gdb/testsuite/gdb.base/style.c @@ -34,6 +34,13 @@ struct some_struct struct some_struct struct_value = { 23, "skidoo", VALUE_TWO }; +struct just_bitfield +{ + unsigned int field : 3; +}; + +struct just_bitfield just_bitfield_value = { 4 }; + int some_called_function (void) { return 0; |