From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2552 invoked by alias); 28 Dec 2010 23:05:11 -0000 Received: (qmail 2539 invoked by uid 22791); 28 Dec 2010 23:05:11 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Dec 2010 23:05:07 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id EBF143600D; Tue, 28 Dec 2010 15:05:05 -0800 (PST) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost3.vmware.com (Postfix) with ESMTP id E0723CD962; Tue, 28 Dec 2010 15:05:05 -0800 (PST) Message-ID: <4D1A6D21.3090704@vmware.com> Date: Tue, 28 Dec 2010 23:05:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20101201) MIME-Version: 1.0 To: Edjunior Barbosa Machado CC: "gdb@sourceware.org" Subject: Re: next/step after main() function's return References: <4D19144E.1030504@linux.vnet.ibm.com> In-Reply-To: <4D19144E.1030504@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00083.txt.bz2 Edjunior Barbosa Machado wrote: > Hello, > > when issuing a next or step after main() function's return statement, gdb drops to __libc_start_main() from libc on x86 (or generic_start_main() on ppc and so on, depending on the arch if I'm not mistaken). Is it considered a bug or it's just the expected behavior? Does the "ending-run.exp" test case pass or fail on this system?