a problem when running sparc-rtems-gdb hello.exe
justin_cui at 21cn.com
Fri May 31 03:13:34 UTC 2002
up to now, I have installed all the develope enviornment on Cygwin1.1 .And I compile the hello_world_c 4.5.0
examples with no errors. I enter the o-optimize directory and sparc-rtems-gdb hello.exe. As the document specifies,
I type the instructions of target sim, load and run. It seems that all are ok now. But the hello.exe seems to be
stuck. I press Ctrl-C and gdb says:
Program received signal SIGINT, Interrupt.
0x2001134 in zerobss ()
I try again. Just load, run. This time I don't press ctrl-c but the enter key. Hello.exe wakes up and
displays the following lines:
*** HELLO WORLD TEST ***
*** END OF HELLO WORLD TEST ***
Program exited normally.
I try more. In fact, When hello.exe is running, any key such as a,b,c,... can wake it up and let it run to exit.
Why this happens?
More information about the users