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 .( whole string ) from kernel .
I have set some break points on some system calls ( sys_sendmsg ). gdb
will break there and if know ptr address , should i convert to
physical address space ? How will i do that ? how will i get
uml_physmem value ?

-ratheesh

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to