This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb signal normal termination of program
- From: Shaun Jackman <sjackman at pathwayconnect dot com>
- To: Ruedi Dummermuth <ruedi at abatron dot ch>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 28 Nov 2001 09:24:47 -0700
- Subject: gdb signal normal termination of program
- Organization: Pathway Connectivity
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