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]

GDB remote debugging Problem: Target selection failed .Remote register badly formatted: T0506:


Hello,

I need a help.
I try to use remotedebugging from an Windows (NT) 32 bit to a Red Hat linux (64 Bit).

I test the remote debuging on the same maschien like:

Target:
gdbserver host:7774 hello
Process hello created; pid = 28038
Listening on port 7774

host:
gdb
GNU gdb Red Hat Linux (6.3.0.0-1.96rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
(gdb)  set archi i386:x86-64:intel
The target architecture is assumed to be i386:x86-64:intel
(gdb)  target remote grlite2:7774
Remote debugging using grlite2:7774
0x0000000000a327c0 in ?? ()

That looks good.

When I try the same in the combination with the Windows NT then it's look like :

Target:
gdbserver host:7774 hello
Process hello created; pid = 28038
Listening on port 7774


host (NT)
gdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
(gdb)   set archi i386:x86-64:intel
(gdb)  target remote grlite2:7774
Remote debugging using grlite2:7774
Remote register badly formatted: T0506:0000000000000000;07027a30000000000;here: 0000000;07:b0d7ffff00000000;10:c027a30000000000;

The posting that I read was not helpfully for me.

I hope you can help me

Ralf Flatau


SEW-EURODRIVE GmbH & Co KG
Kommanditgesellschaft, Sitz: Bruchsal, RG Mannheim HRA 230970
Komplementärin: SEW-EURODRIVE Verwaltungs-GmbH, Sitz: Bruchsal, RG Mannheim HRB 230207

Gesellschafter und Geschäftsführer: Rainer Blickle, Jürgen Blickle
Geschäftsführer: Hans Sondermann, Bernd P. Uckrow







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