PR python/18285
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 425282c945059a014d9af30468737e085188153a..ffa5297bccea912dbb3ff2c52c59e6212c10fe2b 100644 (file)
@@ -1,3 +1,28 @@
+2015-04-29  Doug Evans  <dje@google.com>
+
+       PR python/18285
+       * NEWS: Document new gdb.XMethodWorker.get_result_type method.
+       * eval.c (evaluate_subexp_standard) <OP_FUNCALL>: Handle
+       EVAL_AVOID_SIDE_EFFECTS for xmethods.
+       * extension-priv.h (struct extension_language_ops)
+       <get_xmethod_result_type>: New member.
+       * extension.c (get_xmethod_result_type): New function.
+       * extension.h (get_xmethod_result_type): Declare.
+       * python/py-xmethods.c (get_result_type_method_name): New static
+       global.
+       (py_get_result_type_method_name): Ditto.
+       (gdbpy_get_xmethod_result_type): New function.
+       (gdbpy_initialize_xmethods): Initialize py_get_result_type_method_name.
+       * python/python-internal.h (gdbpy_get_xmethod_result_type): Declare.
+       * python/python.c (python_extension_ops): Add
+       gdbpy_get_xmethod_result_type.
+       * python/lib/gdb/xmethod.py (XMethodWorker): Add get_result_type.
+       * valarith.c (value_x_binop): Handle EVAL_AVOID_SIDE_EFFECTS for
+       xmethods.
+       (value_x_unop): Ditto.
+       * value.c (result_type_of_xmethod): New function.
+       * value.h (result_type_of_xmethod): Declare.
+
 2015-04-29  Gary Benson <gbenson@redhat.com>
 
        * solib.c (solib_find_1): Allow fd argument to be NULL.
This page took 0.029512 seconds and 4 git commands to generate.