From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9208 invoked by alias); 28 Nov 2001 16:25:50 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 9169 invoked from network); 28 Nov 2001 16:25:45 -0000 Received: from unknown (HELO mail.pathwayconnect.com) (209.91.95.13) by hostedprojects.ges.redhat.com with SMTP; 28 Nov 2001 16:25:45 -0000 Received: (qmail 4847 invoked from network); 28 Nov 2001 16:25:41 -0000 Received: from unknown (HELO dazed) (192.168.0.146) by 0 with SMTP; 28 Nov 2001 16:25:41 -0000 Received: from dazed ([127.0.0.1] helo=there ident=sjackman) by dazed with smtp (Exim 3.32 #1 (Debian)) id 1697Vx-0004um-00; Wed, 28 Nov 2001 09:24:49 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Shaun Jackman Organization: Pathway Connectivity To: Ruedi Dummermuth Subject: gdb signal normal termination of program Date: Wed, 21 Nov 2001 04:01:00 -0000 X-Mailer: KMail [version 1.3.2] Cc: gdb@sources.redhat.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: X-SW-Source: 2001-11/txt/msg00205.txt.bz2 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shaun Jackman To: Ruedi Dummermuth Cc: gdb@sources.redhat.com Subject: gdb signal normal termination of program Date: Wed, 28 Nov 2001 08:25:00 -0000 Message-ID: X-SW-Source: 2001-11/msg00312.html Message-ID: <20011128082500.jrVccwL67hXMb_Q0YscjrvQlDHl3uvuNHd_5_r4exDw@z> 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