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: [RFC] multiple breakpoints from FILE:LINE


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





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