This is the mail archive of the gdb-prs@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]

[Bug mi/13041] Virtual base class botch


http://sourceware.org/bugzilla/show_bug.cgi?id=13041

--- Comment #6 from Dennis <dj170590 at hotmail dot com> 2011-08-04 15:29:46 UTC ---
Sorry.
I made some mistakes in my example.

I added a GDB log. The virtual base class botch is popping up between de run
command and all the warnings.(almost at the end of the file.)
But it isn't stored in the file.

(In reply to comment #4)
> >g++ example.cc -o example 
> example.cc:4:17: error: âsc_coreâ is not a namespace-name
> example.cc:4:24: error: expected namespace-name before â;â token
> 
> Removing the using sc_core statement, the example compiles.
> 
> > -break-insert sc_module::sc_module_init
> 
> In your example, there are no instances of sc_module, so
> sc_module::sc_module_init was optimized out.
> 
Sorry real stupid piece of code.
It should be Top top; and not Top top();

> Please make sure you only attach/post examples that compile and work.  If you
> can reproduce the issue with that example code, then please attach the compiled
> binary.
> 
> > Error isn't fixed in GDB 7.3 as far as I still get the error now.
> 
> The "virtual base class botch" error is no longer present on 7.3.
> What error did you get exactly?

I am really sure my program gives the error: "virtual base class botch"  but if
you say it doesn't excist anymore. I should better start looking GDB is
installed like it should....

> 
> > I hope the problem is more clear now.
> > Ask if it isn't, please.
> 
> Can you try issuing "set logging on" and "set trace-commands on"?  That'll
> generate a gdb.txt file with the log of all the gdb commands.
> 
> A gdb backtrace would also be useful.

Attached with this report

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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