Add support for unbuffered and zero sized Guile ports.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index dac31aea7c6b2385dfc7bb79dc96fc6d6b69e8b8..73a423d2132ecf695cee90930830a2dd650671be 100644 (file)
@@ -1,3 +1,87 @@
+2015-05-16  Doug Evans  <xdje42@gmail.com>
+
+       * NEWS: Mention support for unbuffered Guile memory ports.
+       * scm-ports.c (ioscm_memory_port): Update comments on end, size.
+       (ioscm_lseek_address): Improve overflow calculation.
+       (gdbscm_memory_port_fill_input): Add assert.
+       (gdbscm_memory_port_write): Handle unbuffered ports.
+       Handle large writes identical to Guile's fport_write.
+       (gdbscm_memory_port_seek): Fix seeking past end check.
+       (gdbscm_memory_port_close): Handle closing unbuffered port.
+       (ioscm_parse_mode_bits): Recognize "0" for unbuffered ports.
+       (ioscm_init_memory_port): Handle unbuffered ports.
+       (ioscm_reinit_memory_port): Ditto.
+       (ioscm_init_memory_port): Update size calculation.
+       (gdbscm_open_memory): Support zero sized ports.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-object-load.c (get_out_value_type): Fix uninitialized
+       variable compiler warnings.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-object-load.c (get_out_value_type): Fix returned type.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Phil Muldoon  <pmuldoon@redhat.com>
+
+       * NEWS (Changes since GDB 7.9): Add compile print.
+       * compile/compile-c-support.c (add_code_header, add_code_footer)
+       (c_compute_program): Add COMPILE_I_PRINT_ADDRESS_SCOPE and
+       COMPILE_I_PRINT_VALUE_SCOPE.
+       * compile/compile-internal.h (COMPILE_I_PRINT_OUT_ARG_TYPE)
+       (COMPILE_I_PRINT_OUT_ARG, COMPILE_I_EXPR_VAL, COMPILE_I_EXPR_PTR_TYPE):
+       New.
+       * compile/compile-object-load.c: Include block.h.
+       (get_out_value_type): New function.
+       (compile_object_load): Handle COMPILE_I_PRINT_ADDRESS_SCOPE and
+       COMPILE_I_PRINT_VALUE_SCOPE.  Set compile_module's OUT_VALUE_ADDR and
+       OUT_VALUE_TYPE.
+       * compile/compile-object-load.h (struct compile_module): Add fields
+       out_value_addr and out_value_type.
+       * compile/compile-object-run.c: Include valprint.h and compile.h.
+       (struct do_module_cleanup): Add fields out_value_addr and
+       out_value_type.
+       (do_module_cleanup): Handle COMPILE_I_PRINT_ADDRESS_SCOPE and
+       COMPILE_I_PRINT_VALUE_SCOPE.
+       (compile_object_run): Propagate out_value_addr and out_value_type.
+       Pass OUT_VALUE_ADDR.
+       * compile/compile.c: Include valprint.h.
+       (compile_print_value, compile_print_command): New functions.
+       (eval_compile_command): Handle failed COMPILE_I_PRINT_ADDRESS_SCOPE.
+       (_initialize_compile): Update compile code help text.  Install
+       compile_print_command.
+       * compile/compile.h (compile_print_value): New prototype.
+       * defs.h (enum compile_i_scope_types): Add
+       COMPILE_I_PRINT_ADDRESS_SCOPE and COMPILE_I_PRINT_VALUE_SCOPE.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-object-load.c (get_regs_type): Add parameter func_sym.
+       Rely on its parameter count.
+       (compile_object_load): Replace lookup_minimal_symbol_text by
+       lookup_global_symbol_from_objfile.  Verify FUNC_SYM.  Set it in the
+       return value.
+       * compile/compile-object-load.h (struct compile_module): Replace
+       func_addr by func_sym.
+       * compile/compile-object-run.c: Include block.h.
+       (compile_object_run): Reset module variable after it is freed.  Use
+       FUNC_SYM instead of FUNC_ADDR.  Rely on it.
+
+2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * compile/compile-c-support.c (print_one_macro): Use #ifndef.
+       (generate_register_struct): Use __gdb_uintptr for TYPE_CODE_PTR.
+       (c_compute_program): Call generate_register_struct after typedefs.
+       * compile/compile-loc2c.c (push, pushf_register_address)
+       (pushf_register): Cast to GCC_UINTPTR.
+       (do_compile_dwarf_expr_to_c): Use unused attribute.  Add space after
+       type.  Use GCC_UINTPTR instead of void *.  Remove excessive cast.
+       (compile_dwarf_expr_to_c): Use GCC_UINTPTR instead of void *.
+       * compile/compile.c (_initialize_compile): Enable warnings for
+       COMPILE_ARGS.
+
 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * cli/cli-script.c (execute_control_command): Update
This page took 0.026108 seconds and 4 git commands to generate.