From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27277 invoked by alias); 13 May 2002 19:19:12 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27260 invoked from network); 13 May 2002 19:19:09 -0000 Received: from unknown (HELO callisto.affordablehost.com) (206.104.238.105) by sources.redhat.com with SMTP; 13 May 2002 19:19:09 -0000 Received: (qmail 10958 invoked from network); 13 May 2002 19:19:10 -0000 Received: from 12-238-66-88.client.attbi.com (HELO keyed-upsoftware.com) (12.238.66.88) by 0 with SMTP; 13 May 2002 19:19:10 -0000 Message-ID: <3CE011C3.6060807@keyed-upsoftware.com> Date: Mon, 13 May 2002 12:19:00 -0000 From: David Stroupe User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 X-Accept-Language: en-us MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: gdb and mmap Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00143.txt.bz2 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