I want to use gdb to debug wireshark . First ,I download the source code of wireshark to install.And I use "make CFLAGS="-g -O0"" to create symbols to be used by gdb.
And when I want to set breakpoint at packet-http.c:dissect_http .I use command "b packet-http.c:dissect_http",however gdb print "No source file named packet-http.c" I have create the symbols but why I can't debug that file? By the way,when set breakpoint "b file.c 100",I success. I think if the file path influence the gdb.packet-http.c at wireshark/epan/dissectors But file.c at wireshark/ What should I do to debug packet-http.c:dissect_http by using gdb ? Thank you very much ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
