From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 666 invoked by alias); 21 Jul 2004 13:12:29 -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 659 invoked from network); 21 Jul 2004 13:12:28 -0000 Received: from unknown (HELO NUTMEG.CAM.ARTIMI.COM) (217.40.111.177) by sourceware.org with SMTP; 21 Jul 2004 13:12:28 -0000 Received: from mace ([192.168.1.25]) by NUTMEG.CAM.ARTIMI.COM with Microsoft SMTPSVC(6.0.3790.0); Wed, 21 Jul 2004 14:11:00 +0100 From: "Dave Korn" To: "'Xinan Tang'" , Subject: RE: "Add sim memory region by default" Date: Wed, 21 Jul 2004 15:48:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-reply-to: Message-ID: X-OriginalArrivalTime: 21 Jul 2004 13:11:00.0296 (UTC) FILETIME=[2AEDF480:01C46F24] X-SW-Source: 2004-07/txt/msg00264.txt.bz2 > -----Original Message----- > From: gdb-owner On Behalf Of Xinan Tang > Sent: 20 July 2004 23:38 > Rather than adding a memory region through command of > > "sim memory-region addr,length" > > I would like to add some memory regions permanently within > my gdb. Which > source files need to be touched to add a new memory region in GDB? Why not just put a set of "sim memory-region" commands into a .gdbinit file? It's just as automatic and effective and a whole lot simpler and more generic than hardcoding it into the source. cheers, DaveK -- Can't think of a witty .sigline today....