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: Spurious warnings about construction vtables.


Hi Chris,

Thanks for the patch.

On 04/18/2017 05:20 AM, Chris Dodd wrote:
> If you put a breakpoint in a C++ constructor, you often get a spurious
> warning about the "construction vtable for CLASS".  If you have a
> condition on the breakpoint (becuase you only want a specific call of
> the ctor and want to skip many up that point), you get a huge spew of
> these warnings.
> 
> Here's a small patch that avoids the warning when it not actually
> anything wrong happening:

Can you provide some small reproducer?
A snippet of a gdb session showing the warning in question
would help, I think.  Ideally, we'd convert it to a GDB
testsuite testcase.

Thanks,
Pedro Alves


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