Wireshark mailing list archives

When I use gdb to debug wireshark,error occurs


From: 刘昆 <liukunmeister () gmail com>
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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: