From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15479 invoked by alias); 27 Sep 2006 18:22:43 -0000 Received: (qmail 15469 invoked by uid 22791); 27 Sep 2006 18:22:42 -0000 X-Spam-Check-By: sourceware.org Received: from 195.22.55.53.adsl.nextra.cz (HELO host0.dyn.jankratochvil.net) (195.22.55.53) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 27 Sep 2006 18:22:36 +0000 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.13.8/8.13.8) with ESMTP id k8RIMVaF011685; Wed, 27 Sep 2006 20:22:32 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.13.8/8.13.8/Submit) id k8RIMVJx011684; Wed, 27 Sep 2006 20:22:31 +0200 Date: Wed, 27 Sep 2006 18:22:00 -0000 From: Jan Kratochvil To: Mitchell Fang Cc: gdb@sourceware.org Subject: Re: GDB stub - connection from 32 bit GDB or 64 bit GDB Message-ID: <20060927182230.GA11084@host0.dyn.jankratochvil.net> References: <20060927175135.GA4736@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00168.txt.bz2 Hi, On Wed, 27 Sep 2006 20:17:27 +0200, Mitchell Fang wrote: > On 9/27/06, Daniel Jacobowitz wrote: ... > > http://sourceware.org/ml/gdb-patches/2006-09/msg00187.html > > http://sourceware.org/ml/gdb-patches/2006-09/msg00188.html ... > The target architecture is PowerPC and the host architecture is i686 cygwin. > > Thanks for your help and I will await your patch. Did you try the way of file (before using `target remote') or set architecture ? It works for me on x86_64 debugging x86_64 target (as it expects i386). set architecture i386:x86_64 target remote localhost:1234 [ works ] Still sure some bit-size autodetecting patch by Daniel would be the best. Regards, Lace