This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Can't restore frame ... error in the GDB
- To: "K. Young Park" <pkyoung at palmpalm dot co dot kr>
- Subject: Re: [ECOS] Can't restore frame ... error in the GDB
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 23 Feb 2001 19:49:58 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <04e201c09c78$c848d9c0$2801a8c0@palmpalm.co.kr>
"K. Young Park" wrote:
>
> Hi,
> I have succeeded in porting the redboot to my SA-1110 based board. Thanks for all the replies you have given to me.
> I am now running some examples via the GDB remote debugging.
> By the way when I run such code as twothreads in the example directory,
> I sometimes see the message box saying "Couldn't restore frame in current thread, at frame 0". Though the code seems to run even after the message.
> What's the meaning of this message? Did I make any mistake while the porting process?
Not necessarily. You could try adding -mapcs-frame to the
CYGBLD_GLOBAL_CFLAGS option. You could also try reducing the optimization
level from -O2 to -O1 or disable it (-O0) just to see if that makes a
difference; or you could also try disabling the CDL options
CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM and
CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT
Let us know if one of those fixes things for you.
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