Re: [uml-devel] reading heap memory in kernel space .

2010-07-28 Thread ratheesh k
On Thu, Jul 29, 2010 at 12:19 AM, Jeff Dike wrote: > Why do you want a physical address? It's useless to a debugger. I agree . I would like to know this .Could you help me .How do i find uml_physmem value ? -Ratheesh > On Wed, Jul 28, 2010 at 09:54:37PM +0530, ratheesh k wrote: >> I have a sim

Re: [uml-devel] reading heap memory in kernel space .

2010-07-28 Thread Jeff Dike
On Wed, Jul 28, 2010 at 09:54:37PM +0530, ratheesh k wrote: > I have a simple user space program . > > char *ptr=(char *)malloc(100); > strcpy(ptr , "Hi Kernel , How are you "); > . > sendmsg(...) > > > > I compiled this program and executed on 2.6.32 user mode linux . > when

[uml-devel] reading heap memory in kernel space .

2010-07-28 Thread ratheesh k
I have a simple user space program . char *ptr=(char *)malloc(100); strcpy(ptr , "Hi Kernel , How are you "); . sendmsg(...) I compiled this program and executed on 2.6.32 user mode linux . when i run uml under gdb , i would like to read all memory location staring from ptr .(