This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> From: Andreas Schwab <schwab@suse.de>
> Cc: Michael Snyder <msnyder@specifix.com>, gdb-patches@sourceware.org
> Date: Thu, 10 Jan 2008 10:29:31 +0100
> 
> Joel Brobecker <brobecker@adacore.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.

Agreed.


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