デバッガがC :: Bでは動作しないかもしれないという一般的な理由を調べましたが、私の特定の質問に対処するオンラインのものは何も見つかりませんでした。GDBデバッガは、Windows VMからParallels経由で実行する場合、Code :: Blocks 16.01で動作しますか?
デバッグを開始しようとすると、デバッガは以下のログを出力します。
Parallelsを実行しているときに誰でもgdbデバッガをC :: Bで動作させることができましたか?
Starting debugger: C:\Program Files (x86)\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet -args /Mac/Home/Desktop/Foo/bin/Debug/Foo.exe
done
[debug]> set prompt >>>>>>cb_gdb:
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
[debug]/Mac/Home/Desktop/Foo/bin/Debug/Foo.exe: No such file or directory.
[debug](gdb) >>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb (GDB) 7.6.1
[debug]Copyright (C) 2013 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[debug]This is free software: you are free to change and redistribute it.
[debug]There is NO WARRANTY, to the extent permitted by law. Type "show copying"
[debug]and "show warranty" for details.
[debug]This GDB was configured as "mingw32".
[debug]For bug reporting instructions, please see:
[debug]<http://www.gnu.org/software/gdb/bugs/>.
[debug]>>>>>>cb_gdb:
[debug]> set confirm off
Debugger name and version: GNU gdb (GDB) 7.6.1
[debug]>>>>>>cb_gdb:
[debug]> set width 0
[debug]>>>>>>cb_gdb:
[debug]> set height 0
[debug]>>>>>>cb_gdb:
[debug]> set breakpoint pending on
[debug]>>>>>>cb_gdb:
[debug]> set print asm-demangle on
[debug]>>>>>>cb_gdb:
[debug]> set unwindonsignal on
[debug]>>>>>>cb_gdb:
[debug]> set print elements 0
[debug]>>>>>>cb_gdb:
[debug]> set new-console on
[debug]>>>>>>cb_gdb:
[debug]> set disassembly-flavor att
[debug]>>>>>>cb_gdb:
[debug]> source C:\Program Files (x86)\CodeBlocks\share\codeblocks/scripts/stl-views-1.0.3.gdb
[debug]>>>>>>cb_gdb:
[debug]> directory /Mac/Home/Desktop/Foo/
[debug]Source directories searched: /Mac/Home/Desktop/Foo;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> break "//Mac/Home/Desktop/Foo/main.c:12"
[debug]No symbol table is loaded. Use the "file" command.
[debug]Breakpoint 1 ("//Mac/Home/Desktop/Foo/main.c:12") pending.
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]No executable specified, use `target exec'.
[debug]Starting program:
[debug]>>>>>>cb_gdb:
Starting the debuggee failed: No executable specified, use `target exec'.
[debug]> quit
Debugger finished with status 0