[Ada] Better handling of dynamic types in ada_value_primitive_packed_val
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e548e314202294ab8217d1c68055c9e6251f95c1..06a0637860384b58a4f0378cdb23d27200867a3a 100644 (file)
@@ -1,3 +1,193 @@
+2015-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Rework handling
+       of case where TYPE is dynamic.
+
+2015-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_unpack_from_contents): New function,
+       extracted from ada_value_primitive_packed_val.
+       (ada_value_primitive_packed_val): Replace extracted out code
+       by call to ada_unpack_from_contents.
+
+2015-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Reorder local
+       variable declarations.
+
+2015-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Change the type
+       of local variables src and unpacked to "gdb_type *" instead of
+       "unsigned char *".
+
+2015-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_value_primitive_packed_val): Make the name
+       of various local variables more explicit and consistent.
+       No real code change otherwise.
+
+2015-10-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * i386-tdep.h (struct gdbarch_tdep): Change type of
+       register_reggroup_p to gdbarch_register_reggroup_p_ftype.
+
+2015-10-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * cris-tdep.c (struct instruction_environment): Change type of
+       byte_order to enum bfd_endian.
+
+2015-10-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * arm-linux-tdep.c (arm_canonicalize_syscall): Add
+       enum gdb_syscall casts.
+
+2015-10-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * aarch64-tdep.c (stack_item_t): Change type of data to gdb_byte*.
+       * arm-tdep.c (struct stack_item): Likewise.
+       (push_stack_item): Add gdb_byte* cast.
+       * avr-tdep.c (struct stack_item): Change type of data to gdb_byte*.
+       (push_stack_item): Add gdb_byte* cast.
+       * cli/cli-dump.c (dump_memory_to_file): Change type of buf to gdb_byte*
+       and add cast.
+       * cris-tdep.c (struct stack_item): Change type of data to gdb_byte*.
+       (push_stack_item): Add gdb_byte* cast.
+       * gcore.c (gcore_copy_callback): Change type of memhunk to gdb_byte* and
+       add cast.
+       * gdbtypes.h (print_scalar_formatted): Change type of first parameter to
+       gdb_byte*.
+       * h8300-tdep.c (h8300_extract_return_value): Change type of valbuf to
+       gdb_byte* and remove unnecessary cast.
+       (h8300h_extract_return_value): Likewise.
+       (h8300_store_return_value): Change type of valbuf to gdb_byte*.
+       (h8300h_store_return_value): Likewise.
+       * iq2000-tdep.c (iq2000_extract_return_value): Change type of valbuf to
+       gdb_byte* and remove unnecessary cast.
+       * jit.c (jit_reader_try_read_symtab): Change type of gdb_mem to gdb_byte*
+       and add cast.
+       * m32r-tdep.c (m32r_store_return_value): Change type of valbuf to
+       gdb_byte* and remove unnecessary cast.
+       (m32r_extract_return_value): Change type of dst to gdb_byte* and remove
+       valbuf.
+       * mep-tdep.c (mep_pseudo_cr32_read): Change type of buf to gdb_byte*.
+       (mep_pseudo_cr64_read): Likewise.
+       (mep_pseudo_csr_write): Likewise.
+       (mep_pseudo_cr32_write): Likewise.
+       (mep_pseudo_cr64_write): Likewise.
+       * mi/mi-main.c (mi_cmd_data_write_memory): Change type of buffer to
+       gdb_byte* and add cast.
+       * moxie-tdep.c (moxie_store_return_value): Change type of valbuf to
+       gdb_byte* and remove unnecessary cast.
+       (moxie_extract_return_value): Change type of dst to gdb_byte* and remove
+       valbuf.
+       * p-valprint.c (print_scalar_formatted): Change type of valaddr to
+       gdb_byte*.
+       * printcmd.c (void): Likewise.
+       * python/py-inferior.c (infpy_read_memory): Change type of buffer to
+       gdb_byte* and add cast.
+       (infpy_write_memory): Likewise.
+       (infpy_search_memory): Likewise.
+       * regcache.c (regcache_raw_write_signed): Change type of buf to gdb_byte*
+       and add cast.
+       (regcache_raw_write_unsigned): Likewise.
+       (regcache_cooked_write_signed): Likewise.
+       (regcache_cooked_write_unsigned): Likewise.
+       * sh64-tdep.c (h64_extract_return_value): Change type of valbuf to
+       gdb_byte*.
+
+2015-10-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * fbsd-tdep.c (fbsd_collect_regset_section_cb): Add cast.
+       * linux-tdep.c (linux_collect_regset_section_cb_data): Likewise.
+
+2015-10-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * stack.c (print_stack_frame):
+       * utils.c (printchar): Fix typos in commentary.
+
+2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-exp.y: (UnaryExpression): Support `type.sizeof' expressions.
+       (PostfixExpression): Support `expr.sizeof' expressions.
+       (PrimaryExpression): Support `typeof(expr)' expressions.
+
+2015-10-08  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * MAINTAINERS: Update my email address.
+
+2015-10-08  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_resume): Fix void return.
+
+2015-10-07  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c: Include opcode/aarch64.h.
+       (submask): Move it above.
+       (bit): Likewise.
+       (bits): Likewise.
+       (aarch64_software_single_step): Call aarch64_decode_insn.
+       Decode instruction by aarch64_inst instead of using
+       aarch64_decode_bcond and decode_masked_match.
+
+2015-10-06  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
+
+       * cli/cli-dump.c (restore_command): Parse load_offset (bias) as address
+       only when the file is binary.
+
+2015-10-02  James Bowman  <james.bowman@ftdichip.com>
+
+       * ft32-tdep.c (ft32_analyze_prologue): Add function prolog
+       subroutine handling.
+
+2015-10-01  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/vec.h (VEC_OP (T,cleanup)): Add pointer cast.
+
+2015-09-30  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (setup_type_unit_groups): Add comment.
+
+2015-09-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (linux_nat_always_non_stop_p): Always return 1.
+       * x86-linux-nat.c (x86_linux_always_non_stop_p): Delete.
+       (x86_linux_create_target): Don't install
+       x86_linux_always_non_stop_p.
+
+2015-09-30  Don Breazeal  <donb@codesourcery.com>
+
+       * remote.c (remote_parse_stop_reply): Call strprefix instead
+       of strncmp.
+
+2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdbarch.sh (struct gdbarch_info): Change tdep_info's type to void *.
+       * gdbarch.h: Regenerate.
+       * i386-tdep.c (i386_gdbarch_init): Remove cast to
+       struct gdbarch_tdep_info *.
+       * mips-tdep.c (mips_gdbarch_init): Likewise.
+       * ppc-linux-tdep (ppu2spu_sniffer): Likewise.
+       * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
+       * spu-multiarch.c (spu_gdbarch): Likewise.
+
+2015-09-30  Kevin Buettner  <kevinb@redhat.com>
+
+       * infcmd.c (finish_command_fsm_should_stop): Don't attempt to
+       record a NULL value.
+
+2015-09-29  Kevin Buettner  <kevinb@redhat.com>
+
+       * msp430-tdep.c (msp430_push_dummy_call): Treat reference, struct,
+       and union arguments the same as pointer arguments when determining
+       size of argument.
+
+2015-09-29  James Bowman  <james.bowman@ftdichip.com>
+
+       * ft32-tdep.c: #include "opcode/ft32.h".
+       Delete local macros IS_PUSH, PUSH_REG, IS_LINK, LINK_SIZE.
+       (ft32_analyze_prologue): Use FT32_* macros.
+
 2015-09-28  Simon Marchi  <simon.marchi@ericsson.com>
 
        * cli/cli-script.c (read_next_line): Fix stdout -> stdin in
This page took 0.028296 seconds and 4 git commands to generate.