This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/3] Constify 'la_name' in struct language_defn
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 28 Oct 2013 09:02:20 -0600
- Subject: Re: [PATCH 1/3] Constify 'la_name' in struct language_defn
- Authentication-results: sourceware.org; auth=none
- References: <20131025041525 dot GC4769 at adacore dot com> <1382964489-24307-1-git-send-email-yao at codesourcery dot com>
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> 2013-10-28 Yao Qi <yao@codesourcery.com>
Yao> * language.c (language_str): Return const char *.
Yao> (add_language): Add const to 'language_names'
Yao> * language.h (struct language_defn) <la_name>: Add const.
Yao> (language_str: Update declaration.
Ok.
Tom