Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tab completion interrupt for large binaries

Tags:

gdb

readline

If I accidentally launch tab completion when debugging large binary, gdb will freeze for some time scanning symbol table (up to 1 minute in my case). So I have to wait until whole symbol table is scanned. Is there any way to interrupt this process in gdb?

like image 513
ks1322 Avatar asked Feb 28 '09 09:02

ks1322


1 Answers

There are still open bugs on tab completion in gdb Bugzilla:

Edit: gdb 7.10.0 has a max-completions variable with a default of 200.

like image 170
ks1322 Avatar answered Oct 23 '22 12:10

ks1322