From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: "K. Young Park" Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Can't restore frame ... error in the GDB Date: Fri, 23 Feb 2001 11:50:00 -0000 Message-id: <3A96BEE6.CBA7E104@redhat.com> References: <04e201c09c78$c848d9c0$2801a8c0@palmpalm.co.kr> X-SW-Source: 2001-02/msg00371.html "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