This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: GDB in C++
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Sun, 1 Jul 2007 21:52:19 -0400
- Subject: Re: GDB in C++
- References: <46866F20.2010902@eagercon.com> <20070701205355.GC24316@caradoc.them.org> <20070701223952.GC14414@radix50.net>
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