Messages in this thread | | | Subject | Re: PTRACE_{READ,WRITE}{TEXT,DATA} | From | Benjamin Herrenschmidt <> | Date | Tue, 29 Apr 2008 15:06:56 +1000 |
| |
> Strange, changing access_process_vm on Fedora 9 made gdb able to > see video memory that the X server had mmapped. > > Are you sure gdb behaves as you suggest? > > On x86 my patch seems to work as I expected...
Because /proc/<pid>/mem also uses access_process_vm(). See fs/proc/base.c
Cheers, Ben.
| |