Gdb freeze when printing variables with tab completion

I am compiling a C ++ project that is not too large, about 6M binaries. When I debug it and want to print some variable, I type the first two characters and press Tab to finish. Then gdb characters are read forever. How can I solve this problem. thanks!

+4
source share
2 answers

I type the first two characters and press Tab to complete. Then gdb characters are read forever. How can I solve this problem?

Doctor, it hurts me when I do this.

Well, do not do this.

, (, 6MB ) , GDB , .

,

  • 2 ,
  • GDB .

, , , GDB , .

Update:

- 6

. , .

GDB - "GNU gdb (GDB) 7.6.2"

.

, , GDB .

, , http://sourceware.org/bugzilla.

, GDB. - strace -p <pid-of-hung-gdb> gdb -p <pid-of-hung-gdb>; (gdb) where, , GDB.

+2

GDB 7.10, .

GDB 7.10 ( 2015 ) .

max-

. - 200. GDB , .

[ , gitweb gdb]

GDB : " , , ".

GDB 7.10 . 200 . .

+1

All Articles