[ECOS] Remote packet too long with GDB/RedBoot

Jonathan Larmour jifl@eCosCentric.com
Wed Feb 25 20:38:00 GMT 2004


Hans Kester wrote:
>>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:
>>>
> [snip]
> 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.

Yes, I see. A comment on CYGHWR_HAL_I386_PENTIUM_GDB_REGS says "Not all 
GDBs support these registers, so the default behaviour for eCos is to not 
include them in the GDB stub support code." But it looks like the same 
applies to the extra registers returned by CYGHWR_HAL_I386_PENTIUM_SSE.

Mark, can you give any insight into which GDB versions are meant to support 
these features? Looking at gdb 5.3 and 6.0 I see this in i386_gdbarch_init:

  /* The i386 default settings don't include the SSE registers.
      FIXME: kettenis/20020614: They do include the FPU registers for
      now, which probably is not quite right.  */
   tdep->num_xmm_regs = 0;

And CYGHWR_HAL_I386_PENTIUM_SSE enables sending the XMM registers.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
 >>>>> Visit us in booth 2527 at the Embedded Systems Conference 2004 <<<<<
March 30 - April 1, San Francisco http://www.esconline.com/electronicaUSA/
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine


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



More information about the Ecos-discuss mailing list