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]

AW: GDB remote debugging Problem: Target selection failed .Remoteregister badly formatted: T0506:





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





-----Ursprüngliche Nachricht-----
Von: Daniel Jacobowitz [mailto:drow@false.org]
Gesendet: Montag, 10. September 2007 17:54
An: Flatau, Ralf
Cc: gdb@sourceware.org
Betreff: Re: GDB remote debugging Problem: Target selection failed
.Remoteregister badly formatted: T0506:


On Mon, Sep 10, 2007 at 05:49:17PM +0200, Ralf.Flatau@sew-eurodrive.de wrote:
> This GDB was configured as "x86_64-redhat-linux-gnu".

Good...

> This GDB was configured as "i686-pc-mingw32".

Bad.  Do not use your native GDB; you need to build a cross-debugger
(--target option to configure).

-- 
Daniel Jacobowitz
CodeSourcery

Thanks for your answer.

What your are mean with "you need to bulid a cross-debugger" ? 
I use the -- target Option "target remote grlite2:7774", and I switch the architecture to i386:x86-64:intel.
You said that the GDB was configured as "i686-pc-mingw32. What mean that, need I a other version of GDB
or must I compile a new version of GDB on my lokal system (NT) ?
Sorry for my misunderstanding for the remote debugging with GDB.

Ralf Flatau


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