Hey,
Did anyone else notice *VERY* slow (> 30s) global symbol resolution when debugging with gdb 7.6 from NDK r10?
e.g. “print some_global_func” takes > 30 seconds to complete, but only from within certain stack frames which are within a class member function. It seems to try to resolve it as a class member in some very inefficient way.
Further proof:
print ::some_global_func -> INSTANTANEOUS
print this->some_global_func –> PAINFULLY SLOW (>30 s)
Did someone try building GDB with this patch? It looks promising:
https://sourceware.org/bugzilla/show_bug.cgi?id=15519
If not, how easy is it to build GDB for Windows? Are there many Android patches that I should apply so it’ll play nice with Android’s weird libc/linker etc.?
Thanks,
Ilya