This is the mail archive of the gdb@sources.redhat.com 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]

gdb signal normal termination of program


Hello,

I have an arm-elf target connected to a bdi2000 jtag debugger. Is there any 
instruction I can compile that indicates to the debugger or gdb that 
my program has reached normal termination. When main returns exit() is called 
which then hangs the processor. I have to interrupt it with ctrl-c. I'd like 
gdb to break to the prompt on its own and display the message "Program 
terminated normally". Do you know how I go about this?

Thanks,
Shaun


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