s/struct thread_db/struct thread_db_info/g
s/thread_db/info/g and some '!= NULL' additions
s/thread_db/thread_db_info/g in process_info_private