From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20543 invoked by alias); 26 Nov 2001 22:22:28 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20518 invoked from network); 26 Nov 2001 22:22:28 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by hostedprojects.ges.redhat.com with SMTP; 26 Nov 2001 22:22:28 -0000 Received: from cygnus.com (taarna.cygnus.com [205.180.230.102]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id OAA25927; Mon, 26 Nov 2001 14:22:18 -0800 (PST) Message-ID: <3C02C0D7.FE64087D@cygnus.com> Date: Tue, 13 Nov 2001 08:48:00 -0000 From: Michael Snyder Organization: Red Hat X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: Michael Elizabeth Chastain CC: gdb-patches@sources.redhat.com Subject: Re: [RFA] Add ix86 target to asm-source.exp test References: <200111250406.WAA18058@duracef.shout.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-11/txt/msg00244.txt.bz2 Michael Elizabeth Chastain wrote: > > I ran the new asm-source.exp test for x86 targets and it is not working for me. Michael, this is not due to anything about the test itself, but rather to a regression introduced by this change: symtab.c (find_pc_sect_line): If we can't find the function containing PC, we certainly won't have line number information for that location, so return zero immediately. As you can imagine, the premise for this change is incorrect for an assembly language file assembled with line info. If you back out this change, I think the test will work for you. Michael From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Snyder To: Michael Elizabeth Chastain Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Add ix86 target to asm-source.exp test Date: Mon, 26 Nov 2001 14:22:00 -0000 Message-ID: <3C02C0D7.FE64087D@cygnus.com> References: <200111250406.WAA18058@duracef.shout.net> X-SW-Source: 2001-11/msg00459.html Message-ID: <20011126142200.WdyJow13DgjMFrDZIK5A3ymmQOKaKwmEB2B2rliqdso@z> Michael Elizabeth Chastain wrote: > > I ran the new asm-source.exp test for x86 targets and it is not working for me. Michael, this is not due to anything about the test itself, but rather to a regression introduced by this change: symtab.c (find_pc_sect_line): If we can't find the function containing PC, we certainly won't have line number information for that location, so return zero immediately. As you can imagine, the premise for this change is incorrect for an assembly language file assembled with line info. If you back out this change, I think the test will work for you. Michael