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]

Hal Thread Load Context


Dear All,

I am running the hello.c example using h8300-elf-gdb. I have compiled the
program using the h8300-elf toolchain on default ecos kernel. I could
create the executable without any errors. But when I run the executable in
gdb as mentioned below, I am stuck up at hal_thread_load_context (),
SIGILL.

--------------------------------

$ h8300-elf-gdb hello
$gdb target sim
     (connected to simulator message)
$gdb load
     (loading sections display)
$run
     SIGILL
     hal_thread_load_context ()

-----------------------------------------
Any help would be appreciated.
By default hello.c is not a single threaded program.Can the above errors
be rectified by making hello.c a single threaded program???

Thanks,
Praveena


"HAKUNA MATATA"



-- 
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]