This is the mail archive of the
mailing list for the GDB project.
Re: [RFC/RFA?] Should break FILE:LINENO skip prologue?
> From: Andreas Schwab <firstname.lastname@example.org>
> Cc: Michael Snyder <email@example.com>, firstname.lastname@example.org
> Date: Thu, 10 Jan 2008 10:29:31 +0100
> Joel Brobecker <email@example.com> writes:
> > A question that I asked myself was: Why does "break FUNCTION_NAME"
> > skip the prologue and yet "break FILE:LINENO" (from clicking on the
> > filename) doesn't?
> That looks quite natural to me. If I request a breakpoint on a line I
> want it to be placed as close as possible to that line. If I request a
> breakpoint on a function, I want it to be set to the first interesting
> point in that function.