New field 'la_natural_name' in struct language_defn
authorYao Qi <yao@codesourcery.com>
Sat, 26 Oct 2013 08:00:11 +0000 (16:00 +0800)
committerYao Qi <yao@codesourcery.com>
Thu, 7 Nov 2013 07:08:09 +0000 (15:08 +0800)
commit6abde28fa9f6f14e03e3d9414da6423843d5e5c4
treeab7bc04e868a926907b6ecac48cb02a1cef9c387
parent27cd387b7c3e45685db2f0dae4e9188f562cb7f0
New field 'la_natural_name' in struct language_defn

This patch adds "natural name" of each supported languages, which will
be used by the next patch.

gdb:

2013-11-07  Yao Qi  <yao@codesourcery.com>

* language.h (struct language_defn) <la_natural_name>: New field.
* ada-lang.c (ada_language_defn): Initialize field 'la_natural_name'.
* c-lang.c (c_language_defn): Likewise.
(cplus_language_defn, asm_language_defn): Likewise.
* d-lang.c (d_language_defn): Likewise.
* f-lang.c (f_language_defn): Likewise.
* go-lang.c (go_language_defn): Likewise.
* jv-lang.c (java_language_defn): Likewise.
* language.c (unknown_language_defn ): Likewise.
(auto_language_defn): Likewise.
* m2-lang.c (m2_language_defn): Likewise.
* objc-lang.c (objc_language_defn): Likewise.
* opencl-lang.c (opencl_language_defn): Likewise.
* p-lang.c (pascal_language_defn): Likewise.
13 files changed:
gdb/ChangeLog
gdb/ada-lang.c
gdb/c-lang.c
gdb/d-lang.c
gdb/f-lang.c
gdb/go-lang.c
gdb/jv-lang.c
gdb/language.c
gdb/language.h
gdb/m2-lang.c
gdb/objc-lang.c
gdb/opencl-lang.c
gdb/p-lang.c