LiteIDE X27.1 调试功能需要怎么配置?

蓝正阳 发布于 2015/04/17 12:10
阅读 3K+
收藏 0

=thread-group-added,id="i1"

~"GNU gdb (GDB) 7.7\n"

~"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 recognized\n"

(gdb)

&"set unwindonsignal on\n"

=cmd-param-changed,param="unwindonsignal",value="on"

10000001^done

(gdb)

&"set overload-resolution off\n"

=cmd-param-changed,param="overload-resolution",value="off"

10000002^done

(gdb)

&"handle SIGSEGV nopass stop print\n"

~"Signal Stop\tPrint\tPass to program\tDescription\n"

~"SIGSEGV Yes\tYes\tNo\t\tSegmentation fault\n"

10000003^done

(gdb)

&"set breakpoint pending on\n"

=cmd-param-changed,param="breakpoint pending",value="on"

10000004^done

(gdb)

&"set width 0\n"

=cmd-param-changed,param="width",value="4294967295"

10000005^done

(gdb)

&"set height 0\n"

10000006^done

(gdb)

&"set auto-solib-add on\n"

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/runtime\n"

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   运行 程序 好像是可以

这是啥问题? 新手    不知道怎么弄?

加载中
0
ChrisDev
ChrisDev

10000010^error,msg="No symbol table is loaded. Use the \"file\" command."

你编译的时候没有开debug? gcc -g

可否详细的说明一下

沙漠孤狼
回复 @蓝正阳 : 我也出现这样的问题,请问你是怎么解决的?
蓝正阳
知道问题在哪了 谢谢你了
蓝正阳
not in executable format: File format not recognized 这个不知道是啥问题
蓝正阳
你是说加 -gcflags "-g" 这个吗?
返回顶部
顶部