2016-12-16 1 views
0

J'ai extrait la source gdb et compilé avec succès avec MinGW. Quand je lance le fichier de sortie gdb.exe, je ne peux rien entrée, une pression de touche lui ferait quitter:gdb quitte toujours après avoir appuyé sur une touche

[email protected] E:\ 
$ gdb --data-directory=E:\gdb_build\gdb\gdb-7.11\gdb\data-directory 
GNU gdb (GDB) 7.11 
Copyright (C) 2016 Free Software Foundation, Inc. 
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 
This is free software: you are free to change and redistribute it. 
There is NO WARRANTY, to the extent permitted by law. Type "show copying" 
and "show warranty" for details. 
This GDB was configured as "--host=i686-pc-mingw32 --target=arm-linux-androideabi". 
Type "show configuration" for configuration details. 
For bug reporting instructions, please see: 
<http://www.gnu.org/software/gdb/bugs/>. 
Find the GDB manual and other documentation resources online at: 
<http://www.gnu.org/software/gdb/documentation/>. 
For help, type "help". 
Type "apropos word" to search for commands related to "word". 
(gdb) quit 

[email protected] E:\ 
$ 

Je ne l'ai pas entrée la dernière quit, je viens de frapper le space et il se ferme. J'ai téléchargé un autre gdb prédéfini qui fonctionne bien, mais il ne supporte pas python, j'ai donc besoin de le construire moi-même.

Mais j'ai essayé le mode tui avec gdb -tui, ça marche bien, je peux taper des commandes. Pourquoi le mode non-tui se ferme-t-il?

Répondre

0

Ceci est un bug de gdb 7.12, 7.11.1 fonctionne très bien.