This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA?] Should break FILE:LINENO skip prologue?
> Thanks Joel, yes, after this explanation, I withdraw my objections.
> It's now clear that changing things the way you propose will not
> restrict me in any way.
Yay! :). I am actually very grateful to everyone who participated
in the discussion.
Andreas, Eli, have your concerns been answered too? Just to recap,
the proposal is the following. Considering the following code:
1. int
2. my_procedure (...)
3. {
4. int local1 = ...;
5. int local2 = ...;
6. ...
The idea is that inserting a breakpoint on line 2 or 3 would be
equivalent to breaking on "my_procedure", which means that the
actual location will be line 4 (before the locals assignment
take place).
Thanks,
--
Joel