This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: mips: address error after break
- To: Motoya Kurotsu <kurotsu at allied-telesis dot co dot jp>
- Subject: Re: [ECOS] mips: address error after break
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 11 May 2001 18:06:35 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <20010511163830.A1202@white.office1>
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
hal/mips/arch/VERSION/src/mips-stub.c?
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine