This is the mail archive of the gdb-cvs@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]

gdb and binutils branch master updated. e81e7f5e38bf0da52d9e88a94e4df9aeecd80357


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  e81e7f5e38bf0da52d9e88a94e4df9aeecd80357 (commit)
      from  ef370185fcf955b1273c2c6bcbe0b406ec1cbd83 (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=e81e7f5e38bf0da52d9e88a94e4df9aeecd80357

commit e81e7f5e38bf0da52d9e88a94e4df9aeecd80357
Author: Siva Chandra <sivachandra@chromium.org>
Date:   Tue May 20 06:30:29 2014 -0700

    Add xmethod interface to the extension language API.
    
    	* defs.h (enum lval_type): New enumerator "lval_xcallable".
    	* extension-priv.h (struct extension_language_ops): Add the
    	xmethod interface.
    	* extension.c (new_xmethod_worker, clone_xmethod_worker,
    	get_matching_xmethod_workers, get_xmethod_argtypes,
    	invoke_xmethod, free_xmethod_worker,
    	free_xmethod_worker_vec): New functions.
    	* extension.h: #include "common/vec.h".
    	New function declarations.
    	(struct xmethod_worker): New struct.
    	(VEC (xmethod_worker_ptr)): New vector type.
    	(xmethod_worker_ptr): New typedef.
    	(xmethod_worker_vec): Likewise.
    	* gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
    	builtin_type.
    	* gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
    	(struct builtin_type): New field "xmethod".
    	* valarith.c (value_ptradd): Assert that the value argument is not
    	lval_xcallable.
    	* valops.c (value_must_coerce_to_target): Return 0 for
    	lval_xcallable values.
    	* value.c (struct value): New field XM_WORKER in the field
    	LOCATION.
    	(value_address, value_raw_address): Return 0 for lval_xcallable
    	values.
    	(set_value_address): Assert that the value is not an
    	lval_xcallable.
    	(value_free): Free the associated xmethod worker when freeing
    	lval_xcallable values.
    	(set_value_component_location): Assert that the WHOLE value is not
    	lval_xcallable.
    	(value_of_xmethod, call_xmethod): New functions.
    	* value.h: Declare "struct xmethod_worker".
    	Declare new functions value_of_xmethod, call_xmethod.

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

Summary of changes:
 gdb/ChangeLog        |   37 ++++++++++++
 gdb/defs.h           |    2 +
 gdb/extension-priv.h |   46 +++++++++++++++
 gdb/extension.c      |  154 ++++++++++++++++++++++++++++++++++++++++++++++++++
 gdb/extension.h      |   39 +++++++++++++
 gdb/gdbtypes.c       |    4 +
 gdb/gdbtypes.h       |    8 ++-
 gdb/valops.c         |    3 +-
 gdb/value.c          |   47 ++++++++++++++-
 gdb/value.h          |    6 ++
 10 files changed, 341 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
gdb and binutils


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