This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4 PATCH: Fix for DW_AT_low_pc and DW_AT_high_pc of inlined functions (DW_TAG_inlined_subroutine).
On Thu, Sep 25, 2003 at 04:57:39AM +0200, Carlo Wood wrote:
> On Wed, Sep 24, 2003 at 07:35:46PM -0700, Zack Weinberg wrote:
> > This is OK.
> >
> > If a test for this bug does not already exist in the GDB testsuite,
> > talk to the GDB maintainers about adding one. (If one already exists,
> > you should have seen a failure go away when you ran the GDB
> > testsuite the second time.)
>
> Daniel, is there a test in the gdb test-suite that tests
> the correct values of low_pc and high_pc for an inlined
> function in a function without other instructions?
> (Thus: f() { g(); })
> If so, what is it called? I did not see a change with or
> without this patch;
The GDB testsuite does not cover optimized code well at all. We need a
testsuite which does.
In order to do that we need a GDB that handles it better. This is in
progress now.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer