bug-global
[Top][All Lists]
Advanced

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

Re: net_init can not find in GTAGS


From: Shigio YAMAGUCHI
Subject: Re: net_init can not find in GTAGS
Date: Sat, 4 Nov 2023 07:26:49 +0900

Hello,
Could you please attach the source code of the problem?
Could you please provide an example using the global command
to reproduce the problem?
Thank you in advance.

Regards,
Shigio

On Fri, Nov 3, 2023 at 11:24 PM weidong <1015490825@qq.com> wrote:
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
 


--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: 
26F6 31B4 3D62 4A92 7E6F  1C33 969C 3BE3 89DD A6EB

reply via email to

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