[RFC 3/3] GDB/MI: Add new "--language LANG" command option.

Joel Brobecker brobecker@adacore.com
Mon Nov 11 07:02:00 GMT 2013


I just realized that I forgot to add an entry in the NEWS file.
Argh! New patch attached.

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.

        * NEWS: Add entry mentioning the new "--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.

Thanks,
-- 
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-GDB-MI-Add-new-language-LANG-command-option.patch
Type: text/x-diff
Size: 10754 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20131111/5a04811d/attachment.bin>


More information about the Gdb-patches mailing list