Home » Newcomers » Newcomers » Getting GDB running under Helios(GDB doesn't work in combination with Helios, Galileo works)
Getting GDB running under Helios [message #654832] |
Thu, 17 February 2011 10:55 |
Toetsje Messages: 3 Registered: February 2011 |
Junior Member |
|
|
Hi all,
I'm a happy user of Eclipse and I use this IDE to develop some C/C++ programs. These programs are written within Eclipse (Galileo), compiled by MinGW (5.4.1) and debugged by GDB (7.2).
However, since I've switched from Galileo to Helios this combination doesn't fully work anymore. I think it has to do with the Debugger setting (Run -> Debug Configurations -> Debugger) because I only see 3 debuggers in this list while Galileo listed 5 items.
In Galileo the following items are available:
- Cygwin gdb Debugger
- gdb Debugger
- gdb/mi
- gdbserver Debugger
- MinGw gdb Debugger
In Helios I can only make a choice between:
- gdb/mi
- gdbserver Debugger
- MinGw gdb Debugger
The debug session only works correctly when "Cygwin gdb Debugger" or "gdb Debugger" is selected, however these items seems to be removed from Helios.
When "gdb/mi" or "MinGW gdb Debugger" is selected the program stops at Main() and it's possible to step in the code. However, when the debugger stops at a breakpoint only the trace is shown (i.e. "DATA*stopped,reason="breakpoint-hit",disp="keep",bkptno= "2",frame={addr="0x00409b85",func="TestApp,,,,,,,,,,,") and the process keeps running on the background. The "Resume" button stays grey and it's impossible to step.
On the internet I already found a post that says that "Cygwin gdb Debugger" and "gdb Debugger" are removed from Helios because it's outdated. However, I have the latest GDB release and this is incompatible with the rest of the list.
Could somebody help me out?
[Updated on: Thu, 17 February 2011 12:14] Report message to a moderator
|
|
|
Re: Getting GDB running under Helios [message #654885 is a reply to message #654832] |
Thu, 17 February 2011 14:12 |
|
As the sticky post at the top of this forum indicates, you'll get more
and better help from the Eclipse CDT forum for questions such as these.
On 2011.02.17 3:55, Toetsje wrote:
> Hi all,
>
> I'm a happy user of Eclipse and I use this IDE to develop some C/C++
> programs. These programs are written within Eclipse (Galileo), compiled
> by MinGW (5.4.1) and debugged by GDB (7.2).
> However, since I've switched from Galileo to Helios this combination
> doesn't fully work anymore. I think it has to do with the Debugger
> setting (Run -> Debug Configurations -> Debugger) because I only see 3
> debuggers in this list while Galileo listed 5 items.
>
> In Galileo the following items are available:
> - Cygwin gdb Debugger
> - gdb Debugger
> - gdb/mi
> - gdbserver Debugger
> - MinGw gdb Debugger
>
> In Helios I can only make a choice between:
> - gdb/mi
> - gdbserver Debugger
> - MinGw gdb Debugger
>
> The debug session only works correctly when "Cygwin gdb Debugger" or
> "gdb Debugger" is selected, however these items seems to be removed from
> Helios.
>
> When "gdb/mi" or "MinGW gdb Debugger" is selected the program stops at
> Main() and it's possible to step in the code. However, when the debugger
> stops at a breakpoint only the trace is shown (i.e.
> "DATA*stopped,reason="breakpoint-hit",disp="keep",bkptno=
> "2",frame={addr="0x00409b85",func="TestApp,,,,,,,,,,,") and the process
> keeps running on the background. The "Resume" button stays grey and it's
> impossible to step.
>
> On the internet I already found a post that says that "Cygwin gdb
> Debugger" and "gdb Debugger" are removed from Helios because it's
> outdated. However, I have the latest GDB release and this is
> incompatible with the rest of the list.
>
> Could somebody help me out?
|
|
| |
Goto Forum:
Current Time: Thu Sep 26 02:16:13 GMT 2024
Powered by FUDForum. Page generated in 1.44598 seconds
|