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]

Re: Can't restore frame ... error in the GDB


"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


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