I try to look at the Wireshark source code to understand the analysis protocol, but I found that when I just use it gdb ./wireshark, when I press Ctrl+ Cand set a breakpoint, then enter C, the process freezes. I want to know what libtool does to make GDB debugging possible.
gdb ./wireshark
I already read man libtool, and he says that libtool is a tool that simplifies the use of all types .aor .ousing a simple interface, but I donโt know what the key should make gdb wiresharkwith libtool possibly.
man libtool
.a
.o
gdb wireshark
libtool , .
, , ( ). , libtool , (.libs) script , . script , .
.libs
, , script gdb! , gdb, , :
gdb
$ libtool --mode=execute gdb ./wireshark
, , :
$ libtool --mode=execute echo ./wireshark
.libs : libtool .
libtool