This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

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?


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