Got it.Thank you very much.








At 2015-08-25 15:53:12, "Miguel Angel Ajo" <mangel...@redhat.com> wrote:
>Did you recompile/install openvswitch with debug info and
>provided the path to the executable file via the gdb file 
>command as gdb is suggesting?
>
>The breakpoint is pending because gdb cannot map the function name
>to the code address space until it's able to read the debug info for vswitchd.
>
>openvswitcher wrote:
>> Hi, all
>>
>>
>>    I want to ask about how to make the vswitchd break on the breakpoint by 
>> gdb.
>>    I attached the vswitchd process using 'gdb -p' as bellow:
>>
>>
>> gdb --pid=31212
>> (gdb) b dpif_linux.c:dpif_linux_port_add
>> No symbol table is loaded.  Use the "file" command.
>> Make breakpoint pending on future shared library load? (y or [n]) y
>> Breakpoint 1 (dpif_linux:dpif_linux_port_add) pending.
>>    (gdb) c
>> Continuing.
>>
>>
>>   But when I  used "ovs-vsctl add-port br0 eth1" command, the process had 
>> not been broken on the breakpoint.
>>
>>
>> Could you tell me how make it OK?
>>
>>
>> Thanks.
>>
>>
>>
>>
>>
>> _______________________________________________
>> dev mailing list
>> dev@openvswitch.org
>> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to