From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8408 invoked by alias); 5 Dec 2001 21:58:31 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8352 invoked from network); 5 Dec 2001 21:58:29 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 5 Dec 2001 21:58:29 -0000 Received: from cygnus.com (reddwarf.cygnus.com [205.180.231.12]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id NAA21212; Wed, 5 Dec 2001 13:58:27 -0800 (PST) Message-ID: <3C0E97EE.4A26EA06@cygnus.com> Date: Wed, 05 Dec 2001 13:58:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2smp i686) X-Accept-Language: en MIME-Version: 1.0 To: gdb-patches CC: vinschen@redhat.com Subject: Re: [RFA]: arm changes to run gdb.asm/asm-source.exp successfully References: <20011204193348.B10634@cygbert.vinschen.de> <3C0D2D6D.FB35D398@redhat.com> <20011205094959.F10634@cygbert.vinschen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00150.txt.bz2 Corinna Vinschen wrote: > > On Wed, Dec 05, 2001 at 01:09:17AM +0500, Fernando Nasser wrote: > > Corinna Vinschen wrote: > > > > > > Hi, > > > > > > the following patch allows ARM targets to run the gdb.asm test > > > successfully. The change consists basically of a change to > > > asm-tdep.c, function arm_skip_prologue() to scan the prologue > > > the hard way when the source is assembler code and of adding the > > > appropriate arm.inc file plus some additional lines in asm-source.exp > > > and configure.in to support the new target. > > > > > > > Yes, it makes sense not to use the line number information if the > > source is assembler (until something changes in gas land, but if > > that happens we will adapt). This part is approved, just add the word > > "Always" to the changelog or reword it to "Do not use line number > > information to skip the prolog if source is assembler.". > > Thanks, I've applied that part. Interestingly enough, though, with the fix that I just checked in to gas for line symbols, this GDB trick seems no longer to be necessary. The problem was with the line symbols that GAS was emitting. There were too many of them. Now they are perfectly OK.