From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27211 invoked by alias); 11 Nov 2013 16:27:51 -0000 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 Received: (qmail 27199 invoked by uid 89); 11 Nov 2013 16:27:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mtaout20.012.net.il Received: from Unknown (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Nov 2013 16:27:49 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MW300A00XLW0O00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Mon, 11 Nov 2013 18:27:22 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MW30096CXPLOU90@a-mtaout20.012.net.il>; Mon, 11 Nov 2013 18:27:22 +0200 (IST) Date: Mon, 11 Nov 2013 16:29:00 -0000 From: Eli Zaretskii Subject: Re: [RFC 3/3] GDB/MI: Add new "--language LANG" command option. In-reply-to: <1384151855-12926-3-git-send-email-brobecker@adacore.com> To: Joel Brobecker Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83k3ge3nve.fsf@gnu.org> References: <1384151855-12926-1-git-send-email-brobecker@adacore.com> <1384151855-12926-3-git-send-email-brobecker@adacore.com> X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00295.txt.bz2 > From: Joel Brobecker > Date: Mon, 11 Nov 2013 10:37:35 +0400 > > gdb/ChangeLog: > > * mi/mi-parse.h (struct mi_parse) [language]: New field. > * mi/mi-main.c (mi_cmd_execute): Temporarily set language to > PARSE->LANGUAGE during command execution, if set. > * mi/mi-parse.c: Add "language.h" #include. > (mi_parse): Add parsing of "--language" command option. > > gdb/testsuite/ChangeLog: > > * gdb.mi/mi-language.exp: New file. > > gdb/doc/ChangeLog: > > * gdb.texinfo (Show): Add xref anchor for "show language" command. > (Context management): Place current subsection text into its own > subsubsection. Add new subsubsection describing the "--language" > command option. > > Tested on x86_64-linux. Thoughts? The documentation part is OK. (Does this need a NEWS entry?) Thanks.