This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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]

RE: Remote packet too long with GDB/RedBoot


>Hans Kester wrote:
>> When I connect with Insight 5.3 or Insight 6.0 to RedBoot (i386/pc) I
>> get the following errors:
>> 
>> Remote packet too long:
>>
060200000000000000000000000000001cfc09001cfc0900000000000000000030d40000
>>
060000000800000010000000100000001000000010000000100000000020000000000000
>>
ffff0000000000000000ffff000000000000000000000000000000000000000000000000
>>
000000000000000000000000000000000000000000000000000000000000000000000000
>>
7f03ffff0000ffffffffffff00000000000000000000ffff000000000000000000000000
>>
000000000000000000000000000000000000000000000000000000000000000000000000
>>
000000000000000000000000000000000000000000000000000000000000000000000000
>> 0000000
>
>That's indeed long. When I just tried it now I got:
>Packet received:
>06020000000000000000000000000000dcff0900dcff090000000000000000002cd2000
0060>0000008000000100000001000000010000000100000001000000044440000000000
00ffff00>000000000000000000000000000000000000000000000000000000000000000
000000000000>00000000000000000000000000000000000000000000000000000000000
00007f03ffff0000>ffffffffffff00000000000000000000ffff0000000000000000
>which is ~352 bytes, whereas you got 518. How did you build the redboot

>you're using? In particular have you enabled
CYGHWR_HAL_I386_PENTIUM_SSE or 
>any other option (not that that should matter, at least in gdb 6 -
don't 
>know about 5.3). Even then the packet should be shorter than what you
got - 
>I think yours is about 78 bytes longer than what I figure the maximum
size 
>in the current sources would give (though I may have miscounted - see 
>i386_stub.h).
>
>Jifl

You are right. When CYGHWR_HAL_I386_PENTIUM_GDB_REGS is enabled, it
still works. If CYGHWR_HAL_I386_PENTIUM_SSE is enabled, the packets are
too big. I don't know if GDB or RedBoot is to blame for this.

Hans

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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