[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [Simulavr-devel] simulavr + Eclipse
From: |
Сергей Смирнов |
Subject: |
Re[2]: [Simulavr-devel] simulavr + Eclipse |
Date: |
Wed, 09 Mar 2011 23:44:25 +0300 |
> Simulavr (C++) does not send send word "timeout" in response to
> "qSupported". In fact it does not use the string at all anywhere, so
> it could not be due some mix of output streams or something.
>
> Set Eclipse to execute this command in GDB before the connection is
> made, try again and send us content of file remotelogfile.txt:
> set remotelogfile remotelogfile.txt
>
> It should begin with contain something like this:
> w $qSupported#37
> r +$PacketSize=800;qXfer:features:read+#a3
> w +$qXfer:features:read:target.xml:0,7fb#4a
> r +$l<?xml version="1.0"?>\n<!DOCTYPE target ....
>
> What version of GDB, Eclipse, AVREclipsePlugin are you using?
>
> --
> Petr Hluzin
I'm using avr-gdb (6.8), Eclipse Helios (3.6), avr eclipse plugin (2.3.4).
I can debug a C-program in avr-insight using new simulavr (compiled from your
repository), but i can't debug in eclipse.
Eclipse uses avr-gdb for debugging which is connected to simulavr via TCP
protocol, so the message "qSupport" is sent to simulavr by avr-gdb. And I guess
the newly compiled simulavr (C++) answers to avr-gdb in a different way rather
than previous C-version so that avr-gdb sends something another to Eclipse as
it was while simulating with old simulavr.
I don't know how to make avr-gdb send "qSupport" to simulavr.
Are there any ideas?