Thread: Latest gdb anyone?

  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
    Location
    Waterloo, Texas
    Posts
    5,708
    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:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 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, 04: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, 05:17 PM