News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

getting gbd to work

Started by hckr83, December 22, 2005, 09:04:33 PM

Previous topic - Next topic

hckr83

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?

thomas

Code::Blocks version, gdb version, compiler version, compiler flags...?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

280Z28

Are you using GDB 6.3? It's the only one that works with Code::Blocks.
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
Check out The Sam Zone :cool:

hckr83

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