Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] When I use gdb to debug wireshark,error occurs

From: 刘昆 <liukunmeister@xxxxxxxxx>
Date: Fri, 22 Oct 2010 18:46:42 +0800
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