hi, In order to debug ovs kernel module in gdb, I have set a breakpoint at ovs_dp_process_packet() method in datapath/datapath.c, generating traffic with ping command from one mininet host to other, but not able to debug it at all because on running n in gdb, I get "The program is not being run."
I am using the following steps to debug openvswitch kernel module: -> gdb vmlinux /proc/kcore -> cd /sys/modules/openvswitch/sections/; ls A1; cat .text .data .bss -> add-symbol-file /root/ovs/_build-gcc/datapath/linux/openvswitch.ko 0xf8819000 \ -s .data 0xf8825000 \ -s .bss 0xf8825380 b datapath/datapath.c:288 Please guide me how do I make it work. David
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss