simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: [Simulavr-devel] simulavr + Eclipse


From: Petr Hluzín
Subject: Re: Re[2]: [Simulavr-devel] simulavr + Eclipse
Date: Thu, 10 Mar 2011 22:42:15 +0100

2011/3/9 Сергей Смирнов <address@hidden>:
>> 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?
>

I am sorry, I was not clear.

Modify Eclipse settings to send "set remotelogfile remotelogfile.txt"
command to GDB. I think Eclipse has 2 fields: commands before
connection and command after connection - you need the first one.

Then start debugging (or whatever people do to make a GDB connection).
GDB will send "qSupported" as part of opening connection to simulavr.

-- 
Petr Hluzin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]