On Thu, Nov 13, 2008 at 05:49:34PM +0100, Michael Goetze wrote: > With a standard Etch kernel (linux-image-2.6.18-6-686 2.6.18.dfsg.1-21), > I am unable to get 'pmap -x <pid>' to show any information that 'pmap > <pid>' doesn't show. For instance, I compiled the following test program:
I don't personally use this program much myself but I can confirm that I have the same results for my 2.6.26 kernel. My initial impression is that it is a problem with the scanf in pmap.c, we don't check for a return value there :( so if it doesn't match then we will never know something is wrong. Perhaps /proc/<pid>/maps has had a slight format change. At least its a real easy one to check if it is working or not, I've not found anything that pmap -x works ok with. - Craig -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 http://www.enc.com.au/ csmall at : enc.com.au http://www.debian.org/ Debian GNU/Linux, software should be Free -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]