linux: Add maintenance commands to test libthread_db
[external/binutils.git] / gdb / ChangeLog
index a10155b..dbee2a3 100644 (file)
@@ -1,3 +1,15 @@
+2018-06-08  Gary Benson <gbenson@redhat.com>
+
+       * linux-thread-db.c (valprint.h): New include.
+       (struct check_thread_db_info): New structure.
+       (check_thread_db_on_load, tdb_testinfo): New static globals.
+       (check_thread_db, check_thread_db_callback): New functions.
+       (try_thread_db_load_1): Run integrity checks if requested.
+       (maintenance_check_libthread_db): New function.
+       (_initialize_thread_db): Register "maint check libthread-db"
+       and "maint set/show check-libthread-db".
+       * NEWS: Mention the above new commands.
+
 2018-06-08  Tom Tromey  <tom@tromey.com>
 
        * windows-nat.c (windows_nat_target::xfer_partial): "beneath" is