From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23942 invoked by alias); 11 Nov 2011 08:27:28 -0000 Received: (qmail 23934 invoked by uid 22791); 11 Nov 2011 08:27:27 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL,TW_GD X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Nov 2011 08:27:08 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LUH00300M0Z6E00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Fri, 11 Nov 2011 10:26:37 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.231.130]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LUH001OKM4CLZW0@a-mtaout20.012.net.il>; Fri, 11 Nov 2011 10:26:37 +0200 (IST) Date: Fri, 11 Nov 2011 08:27:00 -0000 From: Eli Zaretskii Subject: Re: RFA: manual updates for c++ In-reply-to: To: Tom Tromey Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <838vnngj7b.fsf@gnu.org> References: X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00310.txt.bz2 > From: Tom Tromey > Date: Thu, 10 Nov 2011 11:45:16 -0700 > > This needs a doc review. > > While looking at the manual, I noticed some outdated advice and some > missing information about C++ debugging. This patch fixes the problems. Thank you for doing this. > Both -gstabs+ and -gdwarf-2 are obsolete nowadays On most platforms, but not on all of them. It's true that -gdwarf-2 is the default, though. > + Starting with version > +4.7, @value{NGCC} can emit macro information in a more compact format. Why is this part important to a GDB user? > + Recent versions of @value{NGCC} support @option{-gdwarf-3} > +@option{-gdwarf-4}; Should there be an "and" between the two option names? They are orthogonal, right? OK with these fixed. Thanks.