Latest gdb anyone?

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 ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    46

    Question Latest gdb anyone?

    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?

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Posts
    5,439
    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;}

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    46

    Question

    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?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. buffered vs unbuffered question
    By Overworked_PhD in forum Linux Programming
    Replies: 6
    Last Post: 07-04-2008, 04:57 PM
  2. Memory allocation error
    By cunnus88 in forum C++ Programming
    Replies: 5
    Last Post: 01-25-2008, 03:24 PM
  3. Contiguous Array version of Linked List
    By ampersand11 in forum C Programming
    Replies: 19
    Last Post: 10-07-2007, 03:05 AM
  4. Too much output in GDB
    By MacNilly in forum Tech Board
    Replies: 0
    Last Post: 09-13-2006, 12:45 PM
  5. does gdb lie?
    By dinjas in forum C Programming
    Replies: 8
    Last Post: 03-10-2005, 04:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21