This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb and mmap
- From: David Stroupe <dstroupe at keyed-upsoftware dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 13 May 2002 14:19:31 -0500
- Subject: gdb and mmap
I am mmap()ing a memory range proovided by a driver. In gdb if I do a
/x address I get an Cannot access memory at address 0x4001b000 error.
If on the other hand I do somethink like
str = (char*) address;
printf("%s\n", str);
I see the string that is stored in the address.
Is there a way for me to tell gdb that the mmap()ped address is a valid one?
TIA
David