From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21990 invoked by alias); 18 May 2007 02:04:49 -0000 Received: (qmail 21663 invoked by uid 22791); 18 May 2007 02:04:44 -0000 X-Spam-Check-By: sourceware.org Received: from wr-out-0506.google.com (HELO wr-out-0506.google.com) (64.233.184.236) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 18 May 2007 02:04:41 +0000 Received: by wr-out-0506.google.com with SMTP id i22so746915wra for ; Thu, 17 May 2007 19:04:36 -0700 (PDT) Received: by 10.114.131.2 with SMTP id e2mr552505wad.1179453862614; Thu, 17 May 2007 19:04:22 -0700 (PDT) Received: by 10.114.107.13 with HTTP; Thu, 17 May 2007 19:04:22 -0700 (PDT) Message-ID: Date: Fri, 18 May 2007 02:04:00 -0000 From: s88 To: gdb@sourceware.org Subject: Re: new simulator as a new gdb target Cc: solrex@gmail.com In-Reply-To: <581468c60705171734y2777155t793720d68b45b89f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <581468c60705171734y2777155t793720d68b45b89f@mail.gmail.com> 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-05/txt/msg00072.txt.bz2 On 18/05/07, Wenbo Yang wrote: > > Hi all: > > > > I have made a new ARM v5T's simulator. I wanna binding this > > simulator with gdb and insight. So, the first step is to make my > > simulator work with gdb... > You can write a gdbserver-like part in your simulator. Then communicate > with GDB using TCP, UART or other way. > thanx for your reply... Does any exist "gdbserver-like" template can let me do this job? or, where do I find those files? Dave. > > I found in that $insight_home/src/sim/arm/wrapper.c play a role to > > communicate the simulator and gdb withoud TCP. It looks simple. Is it > > possible that I write a wrapper for my simulator? > I don't know if it is possible. From my point of view, maybe it is harder > than writing a gdbserver. Because GDB's build-in simulator is possibly > working in totally different way with your simulator. You should change > yours to meet its demands. Writing a gdbserver is only adding something, > it can work well with different version of GDB. > > > But I still have no idea that how to binding those things (especially > > for the gdb and my simulator). > > > > Any suggestion is welcome!! > > > > Thanx! > > > > Dave. > > > > -- > > System on Chip Design Lab. > > Dept. of Computer Science and Information Engineering, > > National Chung Cheng University > > E-mail : s88.tw@acm.org > > > -- > Wenbo Yang > > Student > Department of Mathematics, Nanjing Univ. 22 Hankou Road, Nanjing, China > Mobile: +86-013655175286 --- Personal Email: solrex@gmail.com > MSN: solrex@live.com --- Homepage: http://www.solrex.cn > > Intern Software Engineer > SimpLight Nanoelectronics Ltd. 6 Zhichun Road, 10th Floor, Beijing, China > Phone: +86-10-5126-6989 ext.110 --- Email: wenbo.yang@simplnano.com > -- System on Chip Design Lab. Dept. of Computer Science and Information Engineering, National Chung Cheng University E-mail : s88.tw@acm.org