From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27665 invoked by alias); 20 Sep 2007 20:46:33 -0000 Received: (qmail 27649 invoked by uid 22791); 20 Sep 2007 20:46:32 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 20 Sep 2007 20:46:26 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 87E412AB6F8; Thu, 20 Sep 2007 16:46:24 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yhqKR3BW9JOa; Thu, 20 Sep 2007 16:46:24 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 4C50E2AB6CE; Thu, 20 Sep 2007 16:46:24 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 241F9E7B58; Thu, 20 Sep 2007 13:46:22 -0700 (PDT) Date: Thu, 20 Sep 2007 20:56:00 -0000 From: Joel Brobecker To: Carlos Eduardo Seo Cc: gdb@sourceware.org Subject: Re: Problems while debugging fortran Message-ID: <20070920204622.GB4368@adacore.com> References: <46EB035B.4090802@linux.vnet.ibm.com> <20070920173246.GJ16400@adacore.com> <46F2CE45.5020308@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46F2CE45.5020308@linux.vnet.ibm.com> User-Agent: Mutt/1.4.2.2i 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: 2007-09/txt/msg00164.txt.bz2 > No, just "break ". However, I tried your command and it > worked. Why? Shouldn't the behavior be the same in both cases? It should be the same if the "current file" is set to test.f. It looks like it isn't. For some reason, GDB thinks that the current file is something else. Again, perhaps a copy of your GDB session might give a clue. -- Joel