Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: hckr83 on December 22, 2005, 09:04:33 pm

Title: getting gbd to work
Post by: hckr83 on December 22, 2005, 09:04:33 pm
I am trying to get gbd to tell me where at in my code a segmentation fault happens but nothing seems to work, i tried adding a symbol file and tried building debug info but all it seems to do is tell me a pointless address and what happened not where at in my code
any help?
Title: Re: getting gbd to work
Post by: thomas on December 22, 2005, 09:08:46 pm
Code::Blocks version, gdb version, compiler version, compiler flags...?
Title: Re: getting gbd to work
Post by: 280Z28 on December 22, 2005, 09:21:08 pm
Are you using GDB 6.3? It's the only one that works with Code::Blocks.
Title: Re: getting gbd to work
Post by: hckr83 on December 22, 2005, 10:04:56 pm
yes im pretty sure i have it because im using the one that was packaged with codeblocks
but i figured it out

the optimization of stripping symbols from the binary will remove all debug symbols(which logically that means its doing what its suppose to) so therefor wont give you any
debug info