bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

net_init can not find in GTAGS


From: weidong
Subject: net_init can not find in GTAGS
Date: Fri, 3 Nov 2023 22:13:35 +0800

the problem source code is: https://gitee.com/lishutong-01ketang/diy-tcpip ?? you can download use git clone, the code size is not very big

1) I use: find * -name "*.c" -o -name "*.h" > gtags.files && gtags -f gtags.files to generate gtags files

2) net_init can not find in GTAGS, so I use :Gtags net_init in vim can not the find the tag net_init
Admini@Admini-PC MINGW32 /d/code/diy-tcpip (master) $ grep net_init * -rn Binary file GRTAGS matches src/app/test/main.c:373: net_init(); src/net/net/net.h:15:net_err_t net_init (void); src/net/src/net.c:32:net_err_t net_init(void) {
but netdev_init is ok. Admini@Admini-PC MINGW32 /d/code/diy-tcpip (master) $ grep netdev_init * -rn Binary file GRTAGS matches Binary file GTAGS matches src/app/test/main.c:42:net_err_t netdev_init(void) { src/app/test/main.c:379: netdev_init();

many other function has this problem like: net_plat_init


weidong
1015490825@qq.com
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]