how to debug cryptsetup with gdb?

Keith Broerman <[email protected]> Mon, 21 Sep 2020 17:10:40 -0400
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <CAM17syhgj-ScySggJe9P-toctcP1G7Ge6kXNRUHcpnXREFP_1g@mail.gmail.com>
Hello,
I have built the cryptsetup executable and in trying to understand how it
works I would like to use gdb to step thru the code and examine the data
structures, etc. But cryptsetup is normally launched using the
cryptsetup script so gdb can't operate on that directly.  Is there a
gdbinit script available that gets things ready so that gdb can open the
./.libs/cryptsetup executable?

Thank you,
Keith

_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt