This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: stabs at function entry point?
- From: Richard Henderson <rth at redhat dot com>
- To: binutils at sources dot redhat dot com, John Levon <levon at movementarian dot org>
- Date: Sun, 17 Mar 2002 11:34:07 -0800
- Subject: Re: stabs at function entry point?
- References: <639A9316-36CD-11D6-958B-003065C86F94@apple.com> <08A30CBB-36E2-11D6-95FF-000393540DDC@apple.com> <20020314010943.GA97341@compsoc.man.ac.uk> <20020313201805.A20407@nevyn.them.org> <20020314013224.GA97625@compsoc.man.ac.uk> <20020313211920.A22684@nevyn.them.org> <20020316201432.A24428@nevyn.them.org> <20020316225032.A14390@nevyn.them.org>
On Sat, Mar 16, 2002 at 10:50:32PM -0500, Daniel Jacobowitz wrote:
> Revised patch attached. This works fairly well, because GCC 2.95 does
> things like this:
> main:
> pushl %ebp
> movl %esp,%ebp
> subl $24,%esp
> .stabn 68,0,2,.LM1-main
> .LM1:
> .stabn 68,0,3,.LM2-main
> .LM2:
> .LBB2:
> movl $1,-4(%ebp)
>
> i.e. the stab which probably ought to be before the prologue is in fact
> after it.
Yes, I remember fixing this bug. IMO you shouldn't spend any
extra effort catering to it.
r~