From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19672 invoked by alias); 6 Jun 2009 05:51:51 -0000 Received: (qmail 19664 invoked by uid 22791); 6 Jun 2009 05:51:50 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pz0-f175.google.com (HELO mail-pz0-f175.google.com) (209.85.222.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 06 Jun 2009 05:51:43 +0000 Received: by pzk5 with SMTP id 5so1985630pzk.12 for ; Fri, 05 Jun 2009 22:51:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.185.21 with SMTP id i21mr1592939wff.220.1244267501142; Fri, 05 Jun 2009 22:51:41 -0700 (PDT) Date: Sat, 06 Jun 2009 05:51:00 -0000 Message-ID: <3a665c760906052251v426d13b3hb32c8f924cfbac05@mail.gmail.com> Subject: how to debug mips or arm platform applications by cgdb From: loody To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2009-06/txt/msg00059.txt.bz2 Dear all: Would someone tell me how to debug mips or arm applications by CGDB. I have cross-toolchain like arm-linux-gdb, but I have no idea how to embed it with cgdb. Should I recompile cgdb with arm-linux target or only replace the build-in gdb with arm-linux-gdb? thanks for your help, miloody