This is the mail archive of the gdb@sources.redhat.com 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]

connecting gdb to multi-ice-gdb-server


Hi,

Host windows pc:
multi-ice server 2.2.3
multi-ice-gdb-server 1.0 built with Insight 5.1.1 under cygwin.

Linux:
GDB/Insight 5.3

I'm trying to connect everything so that I can debug my target using Insight
on the linux box. The multi-ice server is connected to the target. The
multi-ice-gdb-server is connected to the multi-ice server, but trying to
connect Insight to the multi-ice-gdb-server via Ethernet/TCP generates the
following errors:

GDB:
(gdb) set debug remote 1
(gdb) target remote 10.0.0.9:9000
Remote debugging using 10.0.0.9:9000
Sending packet: $Hc-1#09...Sending packet: $Hc-1#09...Sending packet:
$Hc-1#09...Ack
Packet received: OK
Sending packet: $qC#b4...Ack
Packet received: OK
Sending packet: $qOffsets#4b...Packet instead of Ack, ignoring it
Packet instead of Ack, ignoring it
Packet instead of Ack, ignoring it
Packet instead of Ack, ignoring it
Packet instead of Ack, ignoring it
Packet instead of Ack, ignoring it
Ack
Packet received: OK
Couldn't establish connection to remote target
Malformed response to offset query, OK

multi-ice-gdb-server:
GNU Multi-ICE GDB server 1.0


Connected to the Multi-Ice target.
Targeted ARM core: ARM7 0
Target characteristics:
        Hardware?:              YES
        Comms Channel?:         YES
        Endian-ness:            LITTLE
        Single-Step Support:    NO
        Load Size:              32768
        Custom Load?:           NO
No other modules found on debug target.
GDB Server starting on port 9000

Got a connection from 10.0.0.3
readchar: Got EOF
Closing connection...
Exiting...

I have not changed any settings on the multi-ice server (dll), and on the
gdb side I am using a remote TCP connection.

I have speculated in version problems, but I've been told the
multi-ice-gdb-server must be compiled together with gdb, and that it only
compiles under cygwin. I've also been told that gdb/insight version 5.1.1 is
the latest version compatible with cygwin. This is also according to my
attempt to build version 5.3 under cygwin, wich did not work.

So I really need some help here. It seems I'm almost there, but for some
reason gdb and the multi-ice-gdb-server can't speak with eachother. Please
help.

Paul



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