dpdk GDB Make breakpoint pending on future shared library load


 

(gdb) b hinic_tx_offload_pkt_prepare
Function "hinic_tx_offload_pkt_prepare" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y^H

 

(gdb) b hinic_tx_offload_pkt_prepare
Function "hinic_tx_offload_pkt_prepare" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y^H

Breakpoint 3 (hinic_tx_offload_pkt_prepare) pending.
(gdb) b /data1/dpdk-19.11/drivers/net/hinic/hinic_pmd_tx.c:785
No source file named /data1/dpdk-19.11/drivers/net/hinic/hinic_pmd_tx.c.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) quit

 

[root@localhost dpdk-simple-web-v0]# nm  build/app/printreq | grep hinic_tx_offload_pkt_prepare
[root@localhost dpdk-simple-web-v0]# nm  build/app/printreq | grep hinic_xmit_pkts
00000000006c3d18 T hinic_xmit_pkts
[root@localhost dpdk-simple-web-v0]# 

 

Breakpoint 1, 0x00000000006c12c0 in hinic_xmit_pkts ()
(gdb) s
Single stepping until exit from function hinic_xmit_pkts,
which has no line number information.

 

[Switching to Thread 0xffffbd3ad910 (LWP 13093)]

Breakpoint 1, 0x00000000006c12c0 in hinic_xmit_pkts ()
Missing separate debuginfos, use: debuginfo-install libpcap-1.5.3-12.el7.aarch64
(gdb) s
Single stepping until exit from function hinic_xmit_pkts,
which has no line number information.
rte_eth_tx_burst (port_id=0, queue_id=0, tx_pkts=0xffffbd3acdf0, nb_pkts=1)
    at /data1/dpdk-19.11/arm64-armv8a-linuxapp-gcc/include/rte_ethdev.h:4667
4667    }
(gdb) 

 原來是dpdk 編譯的時候 

make    -j 128

應該是

make  install  T=$RTE_TARGET -j 128

 

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM