blob: 01697ff747bb460a20556bbeb75574a94dace70a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
Frequentry Asked Questions about GLOBAL.
----------------------------------------------------------------------------
Q1. Htags(1) aborts by short of memory. Why? Any workaround?
% htags
Out of memory!
% _
A1. It seems that Perl4 leaks memory. If you use that version of perl,
then you had better to use Perl5. This works well.
----------------------------------------------------------------------------
Q2. Global(1) and btreeop(1) sometimes core dumps when using a large tag file.
Any workaround?
A2. Btree(3) core dumps with a certain data set.
Please apply the patches in this package. See ./dbpatches/README.
----------------------------------------------------------------------------
Q3. GLOBAL skip some functions.
For example, GLOBAL skip the function 'func' in this example.
#define M(a) static char *string = a;
M(a)
func() { <= GLOBAL skip func().
...
}
A3. GLOBAL cannot recognize that pattern, because M(a) seems to be
a function definition.
It should be follows.
#define M(a) static char *string = a
M(a); <= end with ';'
func() {
...
}
Otherwise, you can tell gtags(1) that by listing the macros in
'.notfunction' file in current directory.
[.notfunction]
+---------------
|M
|...
----------------------------------------------------------------------------
Q4. I have set up 'global.conf' to use emacs's ctags command with GLOBAL
but I cannot use htags.
% gtags
% htags
htags: GTAGS and GRTAGS not found. Please make them.
% ls G*
GPATH GTAGS
A4. Emacs's ctags cannot locate function referencies. So, gtags cannot make
GRTAGS tag file with it. With the result that you cannot use htags and
global's -r option.
----------------------------------------------------------------------------
|