From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2350 invoked by alias); 22 Jul 2004 01:00:18 -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 2329 invoked from network); 22 Jul 2004 01:00:16 -0000 Received: from unknown (HELO xinhuanet.com) (202.84.17.232) by sourceware.org with SMTP; 22 Jul 2004 01:00:16 -0000 Received: from sd-robert([221.224.195.227]) by xinhuanet.com(AIMC 2.9.5.6) with SMTP id jm9240ff4fe3; Thr, 22 Jul 2004 08:56:52 +0800 Date: Thu, 22 Jul 2004 01:19:00 -0000 From: "Yorkwar" To: "xinan" Cc: "gdb" Subject: re:Add sim memory region by default Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit X-AIMC-AUTH: yorkwar X-AIMC-MAILFROM: yorkwar@xinhuanet.com Message-ID: X-SW-Source: 2004-07/txt/msg00275.txt.bz2 Hi Try add the source code like: sim_do_command(sd," memory region 0x7fff8000,0x8000") ; usually added in the function sim_open(...) As for mips simulator, it's in the source file sim/mips/interp.c Good luck. Yorkwar