Re: [RFC/RFA?] Should break FILE:LINENO skip prologue?

Joel Brobecker
2008-01-09T20:35:27Z

First of all, thanks for your feedback.

> If gdb decided not to LET me stop in the middle of the
> prologue, I would be exceedingly pissed off.

Everyone that I have polled so far told me that they used the
"break *function_name" syntax to break at the beginning of the
prologue. So GDB would not preventing you from doing it.

I know that I will never be able to make everyone happy. I am
just trying to make GDB more consistent and more useful to
most average users, hopefully without hurting the low-level
hackers too much. I'm hoping that the fact that breaking at
the beginning of the prologue is sufficiently uncommon that
the change will be bearable for those who relied on this
behavior.

But that being said, I also proposed if the pain level was perceived
to be too high to introduce a switch that allows the user to select
which behavior he wants...

--
Joel