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: GDB in C++


On Mon, Jul 02, 2007 at 12:39:52AM +0200, Baurzhan Ismagulov wrote:
> Hello Daniel,
> 
> On Sun, Jul 01, 2007 at 04:53:55PM -0400, Daniel Jacobowitz wrote:
> > I've seen this complain from at least three different people.
> > 
> > I'm in favor of switching to C++.  I'm not going to argue about it if
> > others disagree, but I'll offer to do most of the work if the
> > consensus is positive.
> 
> I had looked whether gdb could be compiled with g++, but hadn't gone
> very far. The attached applies on HEAD and doesn't cause additional
> testsuite failures on i386-linux. Please let me know if you need it, I
> could continue (albeit slowly). It looks like quite a lot of mechanical
> work.

Thanks for the patch.  To be honest, I wouldn't try that part at all -
I was just going to wrap the BFD headers in extern "C"...

-- 
Daniel Jacobowitz
CodeSourcery


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