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: [RFC 3/3] GDB/MI: Add new "--language LANG" command option.


> From: Joel Brobecker <brobecker@adacore.com>
> 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.


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