From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32172 invoked by alias); 9 Sep 2002 14:17:24 -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 32163 invoked from network); 9 Sep 2002 14:17:22 -0000 Received: from unknown (HELO fw-cam.cambridge.arm.com) (193.131.176.3) by sources.redhat.com with SMTP; 9 Sep 2002 14:17:22 -0000 Received: by fw-cam.cambridge.arm.com; id PAA26896; Mon, 9 Sep 2002 15:17:18 +0100 (BST) Received: from unknown(172.16.202.26) by fw-cam.cambridge.arm.com via smap (V5.5) id xma026059; Mon, 9 Sep 02 15:16:37 +0100 Received: from pc960.cambridge.arm.com (rearnsha@localhost) by pc960.cambridge.arm.com (8.11.6/8.11.6) with ESMTP id g89EGZx11684; Mon, 9 Sep 2002 15:16:35 +0100 Message-Id: <200209091416.g89EGZx11684@pc960.cambridge.arm.com> To: Pierre Habraken cc: gdb@sources.redhat.com, Richard.Earnshaw@arm.com Reply-To: Richard.Earnshaw@arm.com Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. Subject: Re: Gdb does not list .S files In-reply-to: Your message of "Mon, 09 Sep 2002 14:31:36 +0200." <3D7C94A8.6EA8395E@imag.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 09 Sep 2002 07:17:00 -0000 From: Richard Earnshaw X-SW-Source: 2002-09/txt/msg00051.txt.bz2 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. R.