Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » debugging under linux (fc5)
debugging under linux (fc5) [message #167253] Mon, 03 April 2006 17:31 Go to next message
Eclipse UserFriend
Hi all,

I can't start the debugger in a simple helloworld app. As soon as I
start the debugger it greets me with the following:

Stopped due to shared library event
Stopped due to shared library event
mi_cmd_stack_list_frames: No stack.
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
kill

I haven't touched debugging directives, it is set by default to use
gdb local, configuration is debug. I searched a little and on windows
problem has to do with setting PATH entries etc, but I didn't find a
solution for linux.
Re: debugging under linux (fc5) [message #167300 is a reply to message #167253] Tue, 04 April 2006 03:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arne.anka.ginguppin.de

gdb _is_ installed and on your path?
in the launcher's "debugging"-tab the "Debugger:" combo is set to "gdb
debugger" and the "gdb debugger" textfield is set to "gdb"? try to set in
the "gdb debugger" textfield the executable with the full path, i e
"/usr/bin/gdb"
Re: debugging under linux (fc5) [message #167306 is a reply to message #167300] Tue, 04 April 2006 05:54 Go to previous messageGo to next message
Eclipse UserFriend
arne anka wrote:
> gdb _is_ installed and on your path?
> in the launcher's "debugging"-tab the "Debugger:" combo is set to "gdb
> debugger" and the "gdb debugger" textfield is set to "gdb"? try to set
> in the "gdb debugger" textfield the executable with the full path, i e
> "/usr/bin/gdb"


Yes, it's installed. Interesting, the debugger works but still writes
out warnings:

Stopped due to shared library event
Stopped due to shared library event
mi_cmd_stack_list_frames: No stack.

Supplying full path to debugger didn't change anything. Anyway, this is
usable now, thanx for your help.
Re: debugging under linux (fc5) [message #167321 is a reply to message #167306] Tue, 04 April 2006 10:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arne.anka.ginguppin.de

> Stopped due to shared library event
> Stopped due to shared library event

i get those as well, but am not sure whether they are _error_messages at
all.

> mi_cmd_stack_list_frames: No stack.

have a look at http://marblemice.com/content/view/66/30/. does it fix the
problem?
if so there should be a bug-report -- eclipse has to escape the
whitespaces before giving the path to gdb, imo.
Re: debugging under linux (fc5) [message #167448 is a reply to message #167321] Wed, 05 April 2006 09:53 Go to previous message
Eclipse UserFriend
There are no white spaces in the path(s) anywhere, gdb is in
/usr/bin/gdb and workspace in /home/boban/workpsace.

At first I was getting bunch of "Cannot access memory at address 0x0"
even though there couldn't have been any NULL pointer errors - program
was simply doing a printf. I changed the source later (testing
autocomplete mostly) and now I only get these funny messages.

FWIW, cdt & eclipse make a great C++ ide. I used to use Anjuta but I
think I'll switch to eclipse, even with "funny messages".



arne anka wrote:
>> Stopped due to shared library event
>> Stopped due to shared library event
>
> i get those as well, but am not sure whether they are _error_messages at
> all.
>
>> mi_cmd_stack_list_frames: No stack.
>
> have a look at http://marblemice.com/content/view/66/30/. does it fix
> the problem?
> if so there should be a bug-report -- eclipse has to escape the
> whitespaces before giving the path to gdb, imo.
Previous Topic:CDT is the Super Nanny
Next Topic:CDT Linking Problems
Goto Forum:
  


Current Time: Wed Jul 16 21:25:56 EDT 2025

Powered by FUDForum. Page generated in 0.52046 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top