Re: [RFC] breakpoints and function prologues...

Joel Brobecker
2002-07-23T01:54:17Z

Jim,

> I solved the problem a little differently, however. The fact is that
> decode_line_1 takes a funfirstline argument, which is supposed to tell
> it whether to move the breakpoint past the prologue. But it doesn't
> look at this argument in the case of setting a file:line breakpoint.
> So I just made it do that. I like this solution, because it unifies in
> concept the breakpoint moving done for function symbols and for
> file:line symbols (though as you see, the actual motion is handled by
> different pieces of code.)
>
> I attached that patch below.

Thanks for your feedback.

I must say I really prefer your patch over mine. I hope this patch will
be approved for inclusion.

--
Joel