From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28721 invoked by alias); 6 Jul 2007 11:59:29 -0000 Received: (qmail 28712 invoked by uid 22791); 6 Jul 2007 11:59:28 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 06 Jul 2007 11:59:23 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 4EE62982CE; Fri, 6 Jul 2007 11:59:22 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 36BDE982A5; Fri, 6 Jul 2007 11:59:22 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I6mT2-0002m3-QV; Fri, 06 Jul 2007 07:59:20 -0400 Date: Fri, 06 Jul 2007 11:59:00 -0000 From: Daniel Jacobowitz To: "Rick.Lee" Cc: gdb@sourceware.org Subject: Re: gdb over smbus Message-ID: <20070706115920.GA10648@caradoc.them.org> Mail-Followup-To: "Rick.Lee" , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) 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/msg00049.txt.bz2 On Fri, Jul 06, 2007 at 04:21:46PM +0800, Rick.Lee wrote: > hi,all, > I have a soc with smbus interface, through this smbus interface, > all kinds of resources on chip can be accessed, such as sram, > registers, to set/enable/disable breakpoint, restart soc. > I want to know if it's possible to port GDB on this soc to supoort > souce code level debug? > BTW, gcc compiler has been ported to support this kind of soc. > I know little about gdb porting, any information are appreciated! Probably. You should write a convertor between your SMBus debug interface and the GDB remote protocol, and then connect GDB to it over TCP. -- Daniel Jacobowitz CodeSourcery