[RFC] multiple breakpoints from FILE:LINE

Robert Dewar dewar@adacore.com
Sun Jan 15 17:54:00 GMT 2006


David Anderson wrote:

>The  multiple breakpoints due-to-inlining discussion has
>mentioned 20 or 21 breakpoints.
>
>What if there are 200 or  2000 or 20000 or more inlining sites
>of one function?
>  
>
For me, the case of inlining is very different from the case of an
Ada instantiation or from overloading. I find it hard to imagine
wanting to breakpoint one particular inline instance. In fact it
really seems conceptually wrong, whether a function is inlined
or not is an implementation detail that should not affect debugging
at all.

>A breakpoint listing won't be very usable either, whether of
>2000 entries or one entry with 2000 break addresses. Will it?
>
>[Sorry, no proposal here. Just raising the issue.]
>David Anderson
>  
>




More information about the Gdb mailing list