linux-mips
[Top] [All Lists]

can't print a mmaped region in gdb: Cannot access memory at address ...

To: linux-mips@linux-mips.org
Subject: can't print a mmaped region in gdb: Cannot access memory at address ...
From: Clem Taylor <clem.taylor@gmail.com>
Date: Tue, 5 Jul 2005 17:33:11 -0400
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GlYeJNwcN4Z/SMvm6vapKABwGvlR4tyYiMm/2Mh9e5EtQ+ns8g3r0rgNBHozkH6tlONMWVXnZTlLZWP+i/XmeeXR6b2g35VOOpVW1KARcL1TZ1MaTAipNz/skd22ou4sOpoQYI1yBbLOKPEw7tuZshGe/4igF/1ZpzN4TDqz0tE=
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: Clem Taylor <clem.taylor@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Hi,

I'm trying to debug some code with gdb that mmaps() PCI address space
and mmaps a kernel GFP_DMA buffer. Outside of gdb mmap() interface is
working just fine, but when I try to print the mmaped memory from gdb
I get a 'Cannot access memory at address ...'

Is this a kernel ptrace() issue or a gdb issue? I'm using linux-mips
2.6.11 from 2005.03.18 on an Alchemy Au1550. Google didn't turn up
anything interesting on this subject.

                           Thanks,
                           Clem

<Prev in Thread] Current Thread [Next in Thread>
  • can't print a mmaped region in gdb: Cannot access memory at address ..., Clem Taylor <=