diff options
author | Pedro Alves <pedro@palves.net> | 2022-07-19 00:26:33 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2022-07-25 16:04:05 +0100 |
commit | e249e6b8012ea0a14e5768d31becd7b4caff8e77 (patch) | |
tree | ec2b076aae5d31a0c08077cb3ac663ef701f1d09 /gdb/Makefile.in | |
parent | 4ca26ad7dec88ab6fa8507ba069e9f1b3c5196da (diff) | |
download | gdb-e249e6b8012ea0a14e5768d31becd7b4caff8e77.zip gdb-e249e6b8012ea0a14e5768d31becd7b4caff8e77.tar.gz gdb-e249e6b8012ea0a14e5768d31becd7b4caff8e77.tar.bz2 |
struct packed: Unit tests and more operators
For PR gdb/29373, I wrote an alternative implementation of struct
packed that uses a gdb_byte array for internal representation, needed
for mingw+clang. While adding that, I wrote some unit tests to make
sure both implementations behave the same. While at it, I implemented
all relational operators. This commit adds said unit tests and
relational operators. The alternative gdb_byte array implementation
will come next.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29373
Change-Id: I023315ee03622c59c397bf4affc0b68179c32374
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 57c29a7..aebb7dc 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -464,6 +464,7 @@ SELFTESTS_SRCS = \ unittests/offset-type-selftests.c \ unittests/observable-selftests.c \ unittests/optional-selftests.c \ + unittests/packed-selftests.c \ unittests/parallel-for-selftests.c \ unittests/parse-connection-spec-selftests.c \ unittests/path-join-selftests.c \ |