The gdb version distributed with dev-c++ is 4.18. But the gdb website speaks that the version 5.2 is out. It only offers the gdb sources. I want the latest gdb exe for windows. Can anyone lend me a copy or atleast tell me where to dl it?
This is a discussion on Latest gdb anyone? within the C++ Programming forums, part of the General Programming Boards category; The gdb version distributed with dev-c++ is 4.18. But the gdb website speaks that the version 5.2 is out. It ...
The gdb version distributed with dev-c++ is 4.18. But the gdb website speaks that the version 5.2 is out. It only offers the gdb sources. I want the latest gdb exe for windows. Can anyone lend me a copy or atleast tell me where to dl it?
Did they even debug the 5.x version yet? I downloaded it and it wouldn't compile crap. Anyway, I really don't know.
Code:int main(void){srand(time(0));for(double l=rand(),l0=0,l00=0;;l0+=0.1){for(double l000=0;l000 <1;l000+=.001,l+=((double)rand()/RAND_MAX)/0x64,l00+=((sin(l*0x8*atan(l0)*l000-(l0*0x8*atan (l)))*0.5)+0.5)){l00-=floor(l00);for(size_t l0000=0,l00000=(size_t)(0x50*(l00));l0000<l00000;++l0000 )putchar(0x20);putchar(0x61+(int)((double)rand()/RAND_MAX*0x1a));putchar('\n');}}return 0;}
Actually the problem i am having with my gdb is that its unable to find the source files.
Lets take for example the opengl example.
If i start gdb from within dev-c++ (v4) and do-
break 40
and then run the prog in gdb
it breaks but it says -
"//d/dev-c++/examples/opengl/main.cpp: no such file or directory"
if i set the working directory of the program in gdb it crashes as soon as it breaks in the prog.
Can anyone help pls?