On Thu, Jul 29, 2010 at 12:19 AM, Jeff Dike <jd...@addtoit.com> 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 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 ? > > Why do you want a physical address? It's useless to a debugger. > > Jeff > > -- > Work email - jdike at linux dot intel dot com > ------------------------------------------------------------------------------ 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