7 http://sources.redhat.com/gdb/onlinedocs/stabs.html
11 stabsym(Stab *stabs, int i, StabSym *sym)
20 if(stabs->e2==0 || stabs->e4==0){
21 werrstr("no data extractors");
25 if(i >= stabs->stabsize/12){
26 werrstr("stabs index out of range");
30 p = stabs->stabbase+i*12;
34 else if(x < stabs->strsize)
35 sym->name = stabs->strbase+x;
37 werrstr("bad stabs string index");
42 * In theory, if name ends with a backslash,
43 * it continues into the next entry. We could
44 * rewrite these in place and then zero the next
45 * few entries, but let's wait until we run across
46 * some system that generates these.
50 sym->desc = stabs->e2(p+6);
51 sym->value = stabs->e4(p+8);