2016-10-14 5 views
0

私は、最新のGDBは、MACのgdbのpython: "は/ usr/local/bin/pythonの" のエラー:いない実行可能な形式で

qiwu$ brew install gdb 
Warning: gdb-7.12 already installed 

にインストールされている。そして、私はのpython3に接続しようとしています。 5プロセス

qiwu$ gdb python 4411 
GNU gdb (GDB) 7.12 
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 "x86_64-apple-darwin15.6.0". 
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"... 
"/usr/local/bin/python": not in executable format: File format not recognized 
Attaching to process 4411 
Can't attach to process 4411: No such process (3) 
/Users/qiwu/4411: No such file or directory. 
(gdb) 
+0

'ファイルは/ usr/local/binに/ python'の出力がどのようなものです/usr/local/bin/python? –

答えて

0

UNIXシステムは、#!/usr/local/bin/pythonを認識しているためだろない

関連する問題