This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB stub - connection from 32 bit GDB or 64 bit GDB


Hi,

On Wed, 27 Sep 2006 20:17:27 +0200, Mitchell Fang wrote:
> On 9/27/06, Daniel Jacobowitz <drow@false.org> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]