This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with debugging information


On Mon, May 22, 2000 at 02:25:29PM -0400, Richard Kenner wrote:
> If I set a breakpoint in "main" and then to "next", I go into "bar".  This
> occurs with everything I compile, though it may be Alpha-specific.

It is alpha specific.  I've been seeing it for so long I've
gotten used to it. 

> By experimenting with the .s file, I can see this has to do with where
> the line number notes are relative to the end of the prologue, but I
> don't understand this issue very well.

It's also related to `bar' being in the same file or not.  If
bar is in a different file, next won't step in.  I had been
assuming it was some gdb prologue parsing bug.


r~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]