avatar
Question about DDD Debugger# Unix - 噫吁兮,危乎高哉
l*a
1
Anybody familiar with DDD Debugger?
im using it under solaris on an ultra10. i've compiled some codes into an exec
file, but the DDD doesn't recognize it as executable :(
The inferior debugger of DDD is gdb, which im not familiar with either :(
A collegue can run the same exec file using DDD under linux...
Anyone knows what i should do to make DDD accept exec files under solaris?
Thanks in advance!!!
555~~~, i've been tied up with these codes for too long...
avatar
r*d
2
Have you used the -g to compile the code?

exec

【在 l***a 的大作中提到】
: Anybody familiar with DDD Debugger?
: im using it under solaris on an ultra10. i've compiled some codes into an exec
: file, but the DDD doesn't recognize it as executable :(
: The inferior debugger of DDD is gdb, which im not familiar with either :(
: A collegue can run the same exec file using DDD under linux...
: Anyone knows what i should do to make DDD accept exec files under solaris?
: Thanks in advance!!!
: 555~~~, i've been tied up with these codes for too long...

avatar
l*a
3
nah. i didn't know the -g option.
but now i don't know where to use -g in those complicated Makefile :(

【在 r****d 的大作中提到】
: Have you used the -g to compile the code?
:
: exec

avatar
w*e
4
add -g to the line where gcc or cc is in Makefile. "-g" is option for
compiler.
If a really complicated Makefile, look for keyword like "debug/DEBUG", and
make debug version of the code.
It might help to understand the code better if you know the outline of
Makefile; before even go to debug.

an
solaris?

【在 l***a 的大作中提到】
: nah. i didn't know the -g option.
: but now i don't know where to use -g in those complicated Makefile :(

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。