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