Installing GDB (working from CDT "Before you begin") [message #541982] |
Wed, 23 June 2010 12:58 |
|
Hi there,
I've been stepping through the CDT welcome page. I have installed "C:\MingGW" and added the "C:\MingGW\bin" to my path. Now, in the next part of the "Before you start..." section it reads:
Quote: | The MinGW setup program currently does not install the gdb debugger.
To install the debugger, download the file from the following location: gdb-6.6.tar.bz2
Extract the contents of the file gdb-6.6.tar.bz2 to the same location where you installed MinGW.
|
I accidently downloaded gdb-7.1.tar.bz2
Q1. is the Eclipse help file just a bit outdated by specifying 6.6 specifically and 7.1 will be fine to use?
Q2. I've extracted everything into: C:\MingGW\gdb-7.1\ ...is this really all I have to do? Just this little folder sitting in MingGW? Nothing to add to PATH? Nothing to build or compile?? I can't even find a .exe file or \bin folder in here! How will eclipse even know that I've got this folder here? ..am I doing something wrong or is my understanding just completely off?
Q3. This tutorial here recommends I simply download and run "gdb-5.2.1-1.exe" ... I tried it and it put a nice C:\MinGW\bin\gdb.exe file in. I understand that. But I don't want the old 5.2 version. Perhaps I could skip all my questions in Q2. if anyone knows where the equivallent exe is for 7.1? I can't seem to find it anywhere.
Thank-you in advance for any help that gets posted.
Thanks, Michelle (newbie)
[Updated on: Wed, 23 June 2010 12:59] Report message to a moderator
|
|
|
|
Re: Installing GDB (working from CDT "Before you begin") [message #542174 is a reply to message #542153] |
Thu, 24 June 2010 06:58 |
|
Hi Axel - okay a bit of confution for me here. I installed eclipse-cpp-helios-win32.zip (as well as MinGW-5.1.6 and MSYS-1.0.11 using their respective exe's) -- I thought this would imply that I have the latest CDT?
Sorry to ask for spoon feeding Axel - but if this is not the latest CDT - what should I install from http://svn.codespot.com/a/eclipselabs.org/wascana/repo/packa ges/ in my current installation(s) place? Or, do you simple mean grab the gdb.exe from wascana.gdb-7.1.0.2a.tar.gz and drop it into C:\MinGW\bin?
Looking at the help ABOUT menu in Eclipse HELIOS I am further confused (see screen shot below) - from what I see the GDB appears to already been installed?
Thanks for your continued patience Axel... I realise it's serious baby steps here on my side... michelle
|
|
|
|
|
Re: Installing GDB (working from CDT "Before you begin") [message #542638 is a reply to message #542494] |
Fri, 25 June 2010 14:02 |
Peter Viskovics Messages: 1 Registered: June 2010 |
Junior Member |
|
|
Hi,
I have just upgraded from Galileo to Helios and I sadly realized that debugging became very problematic, because the "Breakpoint attribute problem: installation failed" problem came up and I couldn't put breakpoints (stepping was fine, it just took a bit long).
I have already upgraded mingw's gdb to 7.1-2 - it did not solve the problem. Then I disabled it by renaming, installed Wascana, but the problem still remained. I also have cygwin installed, but I don't think that gdb is used (I renamed that, too). I wonder how can I figure out which gdb is called when I start debugging?
Thanks in advance,
Visko
[Updated on: Fri, 25 June 2010 14:21] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03261 seconds