On Sun, 22 Oct 2006 16:05:53 +0200 (CEST), Jean-Marc Saffroy wrote... > Hello, > > I routinely use global to browse source trees, but sometimes it does not > generate links as expected. I use global 5.2 and the following command line: > htags -aDfFgnos > > You can have a look at the result, some pages are fine: > http://siegfried.dnsalias.net/~saffroy/crash-4.0-3.4/S/2457.html > Others in the same tree have no links: > http://siegfried.dnsalias.net/~saffroy/crash-4.0-3.4/S/22.html > > What could explain the difference? >
anchor_load() doesn't work well when there is a symbolic link in the source tree. We should change the output of "global -f" or add a special option for htags. $ ls -l gdb-6.1/gdb/nm.h lrwxrwxrwx 1 iwamoto iwamoto 26 10月 26 21:07 gdb-6.1/gdb/nm.h -> ./config/i386/nm-linux64.h $ global -f gdb-6.1/gdb/nm.h NM_LINUX64_H 25 gdb-6.1/gdb/config/i386/nm-linux64.h #define NM_LINUX64_H I386_USE_GENERIC_WATCHPOINTS 28 gdb-6.1/gdb/config/i386/nm-linux64.h #define I386_USE_GENERIC_WATCHPOINTS TARGET_HAS_DR_LEN_8 34 gdb-6.1/gdb/config/i386/nm-linux64.h #define TARGET_HAS_DR_LEN_8 1 I386_DR_LOW_SET_CONTROL 39 gdb-6.1/gdb/config/i386/nm-linux64.h #define I386_DR_LOW_SET_CONTROL(control) \ I386_DR_LOW_SET_ADDR 43 gdb-6.1/gdb/config/i386/nm-linux64.h #define I386_DR_LOW_SET_ADDR(regnum, addr) \ I386_DR_LOW_RESET_ADDR 47 gdb-6.1/gdb/config/i386/nm-linux64.h #define I386_DR_LOW_RESET_ADDR(regnum) \ I386_DR_LOW_GET_STATUS 51 gdb-6.1/gdb/config/i386/nm-linux64.h #define I386_DR_LOW_GET_STATUS() \ PTRACE_ARG3_TYPE 56 gdb-6.1/gdb/config/i386/nm-linux64.h #define PTRACE_ARG3_TYPE long PTRACE_XFER_TYPE 59 gdb-6.1/gdb/config/i386/nm-linux64.h #define PTRACE_XFER_TYPE long FETCH_INFERIOR_REGISTERS 62 gdb-6.1/gdb/config/i386/nm-linux64.h #define FETCH_INFERIOR_REGISTERS LINUX_CHILD_POST_STARTUP_INFERIOR 67 gdb-6.1/gdb/config/i386/nm-linux64.h #define LINUX_CHILD_POST_STARTUP_INFERIOR ---- Hideki IWAMOTO [EMAIL PROTECTED] _______________________________________________ Bug-global mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-global
