a problem when running sparc-rtems-gdb hello.exe

Justin Cui justin_cui at 21cn.com
Fri May 31 03:13:34 UTC 2002


hi,
	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 () 
What's wrong? 
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 ***
	Hello World
	*** 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?

Sincerely,
Justin




More information about the users mailing list