Tab completion interrupt for large binaries

后端 未结 2 1792
后悔当初
后悔当初 2020-12-11 16:15

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

相关标签:
2条回答
  • 2020-12-11 16:50

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

    • Bug 11920 - tab completion might stall cli without any feedback
    • Bug 15548 - Limit completions to a pre-defined limit when completions list is very large

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

    0 讨论(0)
  • 2020-12-11 16:59

    Control c should interrupt it. Have you tried that?

    If it doesn't work, you may need a more recent version of gdb.

    0 讨论(0)
提交回复
热议问题