On Sat, 2007-02-03 at 04:11 -0500, Robert P. J. Day wrote: > perhaps i'm missing the point here but, for those of you who have a > copy of robert love's kernel book, on p. 260, he demonstrates the use > of "pmap" to examine a process' address space. but he does it on a > trivial example: > > int main() > [ > return 0; > } > > he then runs the command: > > $ cat /proc/1426/maps > > where 1426 is apparently the PID of the sample process. but how is it > that he can check that process when it would run and finish almost > immediately? or am i misreading something? > you can run the thing in gdb and put a breakpoint on main ;) -- if you want to mail me at work (you don't), use arjan (at) linux.intel.com Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/