This is the mail archive of the gdb@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: Getting pissed off by gdb. Please help with stepping in.


On Thu, Mar 18, 2010 at 03:33:05PM +0100, André Pönitz wrote:
> I used the term from the comment 
> 
>   "Optimize by setting the stepping range to the line."

Oh, I see - that's the comment below, not the one quoted.  OK.

> For me it's in fact the opposite to an optimization as the single stepping 
> through the rest of the second line leads to one round trip through the 
> stub for each of the remaining instructions which easily sums up to a
> couple of seconds for lines that generate a hundred instructions.

Just what are you disabling then?  I thought it was the if block you
quoted, not the step range changes.

-- 
Daniel Jacobowitz
CodeSourcery


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