This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Add ix86 target to asm-source.exp test
- From: Michael Snyder <msnyder at cygnus dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 26 Nov 2001 14:23:19 -0800
- Subject: Re: [RFA] Add ix86 target to asm-source.exp test
- Organization: Red Hat
- References: <200111250406.WAA18058@duracef.shout.net>
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