public inbox for src-cvs@sourceware.org
help / color / mirror / Atom feed
* gdb and binutils branch master updated. fa4d0c4081f7337c0126a01f16959f7a4e864ff5
@ 2013-11-07  7:16 qiyao
  0 siblings, 0 replies; only message in thread
From: qiyao @ 2013-11-07  7:16 UTC (permalink / raw)
  To: src-cvs

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  fa4d0c4081f7337c0126a01f16959f7a4e864ff5 (commit)
       via  6abde28fa9f6f14e03e3d9414da6423843d5e5c4 (commit)
       via  27cd387b7c3e45685db2f0dae4e9188f562cb7f0 (commit)
      from  01e48c0ce157d73db98d73e39e4b2d7c63d0ccdd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fa4d0c4081f7337c0126a01f16959f7a4e864ff5

commit fa4d0c4081f7337c0126a01f16959f7a4e864ff5
Author: Yao Qi <yao@codesourcery.com>
Date:   Wed Oct 9 22:10:14 2013 +0800

    Remove varobj_language_string, languages and varobj_languages
    
    This patch does some cleanups, removing some language-related stuff.
    Note that mi_cmd_var_info_expression uses varobj_language_string,
    which is redundant, because we can get language name from
    lang->la_natural_name.
    
    varobj_language_string doesn't have "Ada", which looks like a bug to
    me.  With this patch applied, this problem doesn't exist, because the
    language name is got from the same place (field la_natural_name).
    
    gdb:
    
    2013-11-07  Yao Qi  <yao@codesourcery.com>
    
    	* mi/mi-cmd-var.c: Include "language.h".
    	(mi_cmd_var_info_expression): Get language name from
    	language_defn.
    	* varobj.c (varobj_language_string): Remove.
    	(variable_language): Remove declaration.
    	(languages): Remove.
    	(varobj_get_language): Change the type of return value.
    	(variable_language): Remove.
    	* varobj.h (enum varobj_languages): Remove.
    	(varobj_language_string): Remove declaration.
    	(varobj_get_language): Update declaration.
    
    gdb/doc:
    
    2013-11-07  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.texinfo (GDB/MI Variable Objects): Update doc about the
    	output of "-var-info-expression".

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6abde28fa9f6f14e03e3d9414da6423843d5e5c4

commit 6abde28fa9f6f14e03e3d9414da6423843d5e5c4
Author: Yao Qi <yao@codesourcery.com>
Date:   Sat Oct 26 16:00:11 2013 +0800

    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.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=27cd387b7c3e45685db2f0dae4e9188f562cb7f0

commit 27cd387b7c3e45685db2f0dae4e9188f562cb7f0
Author: Yao Qi <yao@codesourcery.com>
Date:   Sat Oct 26 15:37:15 2013 +0800

    Constify 'la_name' in struct language_defn
    
    Hi,
    When I add another name of language, I find field 'la_name' can be
    'const char *'.  This patch is to constify it.
    
    gdb:
    
    2013-11-07  Yao Qi  <yao@codesourcery.com>
    
    	* language.c (language_str): Return const char *.
    	(add_language): Add const to 'language_names'
    	* language.h (struct language_defn) <la_name>: Add const.
    	(language_str: Update declaration.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog       |   40 ++++++++++++++++++++++++++++++++++++++++
 gdb/ada-lang.c      |    1 +
 gdb/c-lang.c        |    4 ++++
 gdb/d-lang.c        |    1 +
 gdb/doc/ChangeLog   |    5 +++++
 gdb/doc/gdb.texinfo |    3 ++-
 gdb/f-lang.c        |    1 +
 gdb/go-lang.c       |    1 +
 gdb/jv-lang.c       |    1 +
 gdb/language.c      |    7 +++++--
 gdb/language.h      |    8 ++++++--
 gdb/m2-lang.c       |    1 +
 gdb/mi/mi-cmd-var.c |    5 +++--
 gdb/objc-lang.c     |    1 +
 gdb/opencl-lang.c   |    1 +
 gdb/p-lang.c        |    1 +
 gdb/varobj.c        |   43 ++-----------------------------------------
 gdb/varobj.h        |   12 +-----------
 18 files changed, 77 insertions(+), 59 deletions(-)


hooks/post-receive
-- 
gdb and binutils


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-07  7:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-07  7:16 gdb and binutils branch master updated. fa4d0c4081f7337c0126a01f16959f7a4e864ff5 qiyao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).