This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [RFC] multiple breakpoints from FILE:LINE
- From: Robert Dewar <dewar at adacore dot com>
- To: David Anderson <davea at quasar dot engr dot sgi dot com>
- Cc: gdb at sourceware dot org
- Date: Sun, 15 Jan 2006 12:54:25 -0500
- Subject: Re: [RFC] multiple breakpoints from FILE:LINE
- References: <200601151736.k0FHapQB157574@quasar.engr.sgi.com>
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