Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Can't display memory(Memory Monitor)
Can't display memory [message #723513] Thu, 08 September 2011 13:43 Go to next message
Eclipse UserFriend
When entering a (valid) address by hand or by right clocking on a pointer variable & selecting View Memory, I get:

Unable to load memory from specified address: 0x....

I'm running on 64-bit Linux (RHEL 6.1) w/ the vanilla Helios CDT linux 64 build (eclipse-linuxtools-helios-SR2-incubation-linux-gtk-x86_64)

Version: Helios Service Release 2
Build id: 20110218-0911

I am able to display memory in the gdb command console window. The gdb-traces console isn't any help (nothing shows up when I add the memory monitor).
Re: Can't display memory [message #723673 is a reply to message #723513] Fri, 09 September 2011 02:41 Go to previous messageGo to next message
Eclipse UserFriend
Does this sound familiar?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=309222
EDIT:
I think that is rather https://bugs.eclipse.org/bugs/show_bug.cgi?id=309576
I encountered the same buggy behavior on my machine (Ubuntu, gdb 7.2, Eclipse Indigo) for 64 bit executables.

[Updated on: Fri, 09 September 2011 04:08] by Moderator

Re: Can't display memory [message #723832 is a reply to message #723673] Fri, 09 September 2011 11:46 Go to previous messageGo to next message
Eclipse UserFriend
Yes. I'm also running gdb 7.2. And it definitely is a 64-bit limitation:

I can get a memory monitor display for addresses <= 0xffff_ffff (with errors in gdb trace since the random address is invalid).
Above 0xffff_ffff I get the "Unable to load memory from specified address: 0x...." error (with nothing in gdb trace).

Guess it's command line gdb for now.
Re: Can't display memory [message #724344 is a reply to message #723832] Mon, 12 September 2011 02:54 Go to previous message
Eclipse UserFriend
Quote:
Yes. I'm also running gdb 7.2. And it definitely is a 64-bit limitation:

Please add your vote to the above mentioned bug.

Quote:
Guess it's command line gdb for now.

You can always use the gdb console inside Eclipse to display memory addresses (not very convenient but better than nothing).
(no subject) [message #724349 is a reply to message #723832] Mon, 12 September 2011 02:54 Go to previous message
Eclipse UserFriend
Quote:
> Yes. I'm also running gdb 7.2. And it definitely is a 64-bit limitation:

Please add your vote to the above mentioned bug.

Quote:
> Guess it's command line gdb for now.

You can always use the gdb console inside Eclipse to display memory addresses (not very convenient but better than nothing).
--
Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
Previous Topic:Debugging problem in Helios
Next Topic:Using a VC++ DLL in Eclipse?
Goto Forum:
  


Current Time: Thu Jul 10 20:15:45 EDT 2025

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

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

Back to the top