diff options
author | Tom Tromey <tromey@adacore.com> | 2020-10-07 12:07:55 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-10-07 12:07:56 -0600 |
commit | 485c47e523571c1053ec4cf04d4a6b2adb7b350f (patch) | |
tree | e8bf2180495c150a288a17f7f2462628afa5ea7b /gdb/Makefile.in | |
parent | 3a135a918614676f3d5b6297714dfa235af3d59d (diff) | |
download | gdb-485c47e523571c1053ec4cf04d4a6b2adb7b350f.zip gdb-485c47e523571c1053ec4cf04d4a6b2adb7b350f.tar.gz gdb-485c47e523571c1053ec4cf04d4a6b2adb7b350f.tar.bz2 |
Add simple_search_memory unit tests
This adds some unit tests for simple_search_memory. I tried here to
reproduce some bugs (PR gdb/11158 and PR gdb/17756), but was unable
to.
gdb/ChangeLog
2020-10-07 Tom Tromey <tromey@adacore.com>
* unittests/search-memory-selftests.c: New file.
* Makefile.in (SELFTESTS_SRCS): Add
unittests/search-memory-selftests.c.
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 e14d41c..80b788c 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -458,6 +458,7 @@ SELFTESTS_SRCS = \ unittests/scoped_fd-selftests.c \ unittests/scoped_mmap-selftests.c \ unittests/scoped_restore-selftests.c \ + unittests/search-memory-selftests.c \ unittests/string_view-selftests.c \ unittests/style-selftests.c \ unittests/tracepoint-selftests.c \ |