This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Remote packet too long with GDB/RedBoot
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Hans Kester <hans at ellips dot nl>
- Cc: ecos-discuss at sources dot redhat dot com, Mark Salter <msalter at redhat dot com>
- Date: Wed, 25 Feb 2004 20:38:35 +0000
- Subject: Re: [ECOS] Remote packet too long with GDB/RedBoot
- References: <7772A37DE7948E4D995BC6733DC62B820452CA@nt-server2.ellips.nl>
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