From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21648 invoked by alias); 4 Jul 2007 01:26:02 -0000 Received: (qmail 21638 invoked by uid 22791); 4 Jul 2007 01:26:01 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0506.google.com (HELO nz-out-0506.google.com) (64.233.162.237) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 04 Jul 2007 01:25:59 +0000 Received: by nz-out-0506.google.com with SMTP id k1so1356916nzf for ; Tue, 03 Jul 2007 18:25:58 -0700 (PDT) Received: by 10.114.61.1 with SMTP id j1mr6725585waa.1183512357811; Tue, 03 Jul 2007 18:25:57 -0700 (PDT) Received: by 10.114.107.13 with HTTP; Tue, 3 Jul 2007 18:25:57 -0700 (PDT) Message-ID: Date: Wed, 04 Jul 2007 01:26:00 -0000 From: s88 To: gdb@sources.redhat.com Subject: Re: What should a CPU simulator support? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00037.txt.bz2 Hi all: I'm trying to implement a gdb stub for a CPU simulator. The CPU simulator interprets each instruction in a big while loop. My question is: Is it enough for my simulator to support a single step run (simulate a single instruction per called) function to the gdb stub? thanx Dave. -- System on Chip Design Lab. Dept. of Computer Science and Information Engineering, National Chung Cheng University E-mail : s88.tw@acm.org