From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3710 invoked by alias); 9 Sep 2002 14:23:05 -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 3700 invoked from network); 9 Sep 2002 14:23:03 -0000 Received: from unknown (HELO imag.imag.fr) (129.88.30.1) by sources.redhat.com with SMTP; 9 Sep 2002 14:23:03 -0000 Received: from horus.imag.fr (horus.imag.fr [129.88.38.1]) by imag.imag.fr (8.11.6/8.11.6) with ESMTP id g89EMta02566; Mon, 9 Sep 2002 16:22:55 +0200 (MEST) Received: from imag.fr (conque.imag.fr [129.88.38.148]) by horus.imag.fr (8.11.6/8.11.6/Imag.pm.V2) with ESMTP id g89EMqf23373; Mon, 9 Sep 2002 16:22:54 +0200 (MEST) Message-ID: <3D7CAEC1.4B48FF88@imag.fr> Date: Mon, 09 Sep 2002 07:23:00 -0000 From: Pierre Habraken Organization: =?iso-8859-1?Q?Universit=E9?= Joseph Fourier X-Accept-Language: en MIME-Version: 1.0 To: Richard.Earnshaw@arm.com CC: gdb@sources.redhat.com Subject: Re: Gdb does not list .S files References: <200209091416.g89EGZx11684@pc960.cambridge.arm.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-09/txt/msg00052.txt.bz2 Richard Earnshaw wrote: > > Pierre.Habraken@imag.fr said: > > I am debugging a program compiled from C and Arm assembly language > > source files, using the simulator (target sim) of arm-elf-gdb > > (compiled on 23 august 2002 from cvs repository). As long as no > > breakpoint has been declared within a given assembly language file the > > contents of that file can NOT be listed. Is this a feature or am I > > doing something wrong ? How can one obtain the list of ALL source > > files, assembly language as well as C language, right after gdb has > > been started ? > > If there's a problem anywhere it's in gas not in gdb. GDB doesn't know > about your assembly files because they contain no debug information. Ok. But I do not undestand what is the purpose of the gas option --gdwarf2 ?... Pierre -- ________________________________________________________________________ Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87 IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex ________________________________________________________________________