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]
Other format: [Raw text]

Re: RedBoot + Configuration tool 2.11 question


>  for (init_entry = __RedBoot_INIT_TAB__; init_entry != 
> &__RedBoot_INIT_TAB_END__;  init_entry++) {
>         printf("Init_entry %x, %x \n",init_entry,&__RedBoot_INIT_TAB_END__ 
>         );
>       (*init_entry->fun)();
> ======================  hanging point
>         mon_write_char(0x34);
>     }
> 
> 
> I have included a debug statements and printed the value for the table 
> addresses after commenting the line
> (*init_entry->fun)();
> 
> Init_entry 40964, 40970
> 4Init_entry 40968, 40970
> 4Init_entry 4096c, 40970
> 
> 
> But if the statement (*init_entry->fun)() is there then the system hangs at 
> the function pointer line.
> 
> Please let me know  what is the function,  function pointer should point to?

Not that easy to say without the image. Print out init_entry->fun. You can then look
it up in the symbol table produced from nm. 

	Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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