From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21665 invoked by alias); 24 Apr 2010 12:44:04 -0000 Received: (qmail 21651 invoked by uid 22791); 24 Apr 2010 12:44:02 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from kz-easy.com (HELO almaty.kz-easy.com) (85.214.25.173) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 24 Apr 2010 12:43:57 +0000 Received: from alatau.radix50.net (dslb-092-074-050-052.pools.arcor-ip.net [92.74.50.52]) (authenticated bits=0) by almaty.kz-easy.com (8.13.8/8.13.8/Debian-3) with ESMTP id o3OChn1R006736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 24 Apr 2010 14:43:51 +0200 Received: from alatau.radix50.net (localhost [127.0.0.1]) by alatau.radix50.net (8.14.3/8.14.3/Debian-5) with ESMTP id o3OChiIn000319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 24 Apr 2010 14:43:44 +0200 Received: (from ibr@localhost) by alatau.radix50.net (8.14.3/8.14.3/Submit) id o3OChiFb000318 for gdb@sourceware.org; Sat, 24 Apr 2010 14:43:44 +0200 Date: Sat, 24 Apr 2010 12:44:00 -0000 From: Baurzhan Ismagulov To: gdb@sourceware.org Subject: Re: How to debug the program remotely? Message-ID: <20100424124344.GA30489@radix50.net> Mail-Followup-To: gdb@sourceware.org References: <26814115.1272089180740.JavaMail.root@elwamui-lapwing.atl.sa.earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26814115.1272089180740.JavaMail.root@elwamui-lapwing.atl.sa.earthlink.net> User-Agent: Mutt/1.5.18 (2008-05-17) 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: 2010-04/txt/msg00122.txt.bz2 On Sat, Apr 24, 2010 at 02:06:20AM -0400, ikorot@earthlink.net wrote: > I would like to debug the program that will be running on the ARMv4t architecture > from x86. > > Is it possible using the "remote debugging" method? Yes. > If yes, how do I do that? I can't run ARMv4t version of gdb on x86 architecture. If you have gdb for arm, you can also run it natively on your target. > Or gdb will recognize that I am connecting to the different target? No. Either you have a native debugger and run it on the target, or you have a cross-debugger and run it on the host. Which one would you like to use? Which OS do you have on the host and on the target? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/