LiteIDE X27.1 调试功能需要怎么配置?
=thread-group-added,id="i1"
~"GNU gdb (GDB) 7.7n"
~"Copyright (C) 2014 Free Software Foundation, Inc.n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>nThis is free software: you are free to change and redistribute it.nThere is NO WARRANTY, to the extent permitted by law. Type "show copying"nand "show warranty" for details.n"
~"This GDB was configured as "i686-w64-mingw32".nType "show configuration" for configuration details."
~"nFor bug reporting instructions, please see:n"
~"<http://www.gnu.org/software/gdb/bugs/>.n"
~"Find the GDB manual and other documentation resources online at:n<http://www.gnu.org/software/gdb/documentation/>.n"
~"For help, type "help".n"
~"Type "apropos word" to search for commands related to "word"...n"
&""F:\goworkspace/goworkspace.exe": not in executable format: File format not recognizedn"
(gdb)
&"set unwindonsignal onn"
=cmd-param-changed,param="unwindonsignal",value="on"
10000001^done
(gdb)
&"set overload-resolution offn"
=cmd-param-changed,param="overload-resolution",value="off"
10000002^done
(gdb)
&"handle SIGSEGV nopass stop printn"
~"Signal StoptPrinttPass to programtDescriptionn"
~"SIGSEGV YestYestNottSegmentation faultn"
10000003^done
(gdb)
&"set breakpoint pending onn"
=cmd-param-changed,param="breakpoint pending",value="on"
10000004^done
(gdb)
&"set width 0n"
=cmd-param-changed,param="width",value="4294967295"
10000005^done
(gdb)
&"set height 0n"
10000006^done
(gdb)
&"set auto-solib-add onn"
10000007^done
(gdb)
&"Warning: d:/go/src/pkg/runtime: No such file or directory.n"
10000008^done,source-path="d:/go/src/pkg/runtime;$cdir;$cwd"
(gdb)
&"set substitute-path /go/src/pkg/runtime d:/go/src/pkg/runtimen"
10000009^done
(gdb)
10000010^error,msg="No symbol table is loaded. Use the "file" command."
(gdb)
10000011^error,msg="No executable specified, use `target exec'."
(gdb)
直接 liteide下面的gdb64 运行 程序 好像是可以
这是啥问题? 新手 不知道怎么弄?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
not in executable format: File format not recognized 这个不知道是啥问题
知道问题在哪了 谢谢你了
回复
我也出现这样的问题,请问你是怎么解决的?
10000010^error,msg="No symbol table is loaded. Use the "file" command."
你编译的时候没有开debug? gcc -g
可否详细的说明一下