From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13068 invoked by alias); 1 Jun 2003 02:48:16 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12999 invoked from network); 1 Jun 2003 02:48:15 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 1 Jun 2003 02:48:15 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 89EA02B2F; Sat, 31 May 2003 22:48:01 -0400 (EDT) Message-ID: <3ED96961.2030401@redhat.com> Date: Sun, 01 Jun 2003 02:48:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Richard Henderson Cc: gdb@sources.redhat.com Subject: Re: tracking "next" failure? References: <20030601013551.GA12120@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00002.txt.bz2 > How in the world do you go about finding out why: > > Breakpoint 1, main () at .../testsuite/gdb.base/all-types.c:35 > 35 dummy(); > (gdb) next > > Program exited normally. > (gdb) FAIL: gdb.base/all-bin.exp: continuing after dummy() > > loses control of the application? I'm getting completely lost. > > I suspect that this is responsible for the bulk of the gdb test > failures on alpha at the moment. Set a breakpoint on *_saved_pc_after_call, and then use nexti. The loss of control is likely from a dud return address (used for setting the return breakpoint) being computed when the the code is first stepped into dummy(). The other is (hmm, alpha) something going wrong with software single step? Andrew