This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
how make program exit normally when execute command "run" on simulator
- From: vincent chen <bartfj00 at gmail dot com>
- To: gdb at sourceware dot org
- Date: Fri, 14 May 2010 10:20:14 +0800
- Subject: how make program exit normally when execute command "run" on simulator
Hi All,
I'm trying to add a new target to gdb and I'd like to run on simulator first,
most functions of simulator appear to run properly now,
but I don't know how to make the program exit normally when execute
the command "run" (no breakpoint exist),
I saw other target like mips can exit normally, is there any special
assemble code in program to control?