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: MIPS32 gdb vectors question


Tim Michals wrote:
> Ok, I have narrowed down the problem
> 1) Using a ROMRAM configuration for MIPS32 and had to change
> to
> hal_vsr_table = 0x80000300;
> hal_virtual_vector_table = 0x80000400;
> from:
> hal_vsr_table = 0x80000200;
> hal_virtual_vector_table = 0x80000300;
> A slight collision with the debug vector.
>
> 2) had a memory configuration issue pushing the _hal_registers past memory.
> (Fixed(

Ah, both things specific to your platform then.


> 3) GDB issue using 3.2 > Ignoring packet error, continuing... > Remote packet too long: [snip] > The serial baudrate is 38400, it gets past several packets (changeThread, > Query, etc), then GDB requests for registers and then the HAL dumps this > message to gdb and gdb does not like it. Have you seen this? sugguestions?

Yes. GDB is expecting 32-bit registers and the stub for mips32 gives it 64-bit. Look at the grotty ifdefs in hal/mips/arch/current/include/mips-stub.h

Nick was doing a patch for this I thought, so I've prodded him a little :-).

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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


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