[ECOS] mips: address error after break

Jonathan Larmour jlarmour@redhat.com
Fri May 11 10:06:00 GMT 2001

Motoya Kurotsu wrote:
> Hi,
> I'm porting ecos on the customed mips base board with NKK's NR4700
> (maybe, compatible with IDT's R4700) as CPU and Gelileo Technology's
> GT-64010 as controller, based on VR4373 ports. Stub seems to
> work with gdb except one problem. That is, after I stop the program
> at a breakpoint and continue it, the address error exception occurs.
> Checking the BadVAddr register, the address which caused exception
> seems to be correctly aligned. Moreover, the occurence of exception
> seems to depend on where the breakpoint is placed. Could anyone
> suggest me anything?

When restarting after a breakpoint, the target gets stepped one instruction
before really being continued. Perhaps your CPU has opcodes or opcode
formats not covered by __single_step() in

Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

More information about the Ecos-discuss mailing list