Move copy_bitwise unittests to own unittest file
[external/binutils.git] / gdb / ChangeLog
index b8ca2ff..b432114 100644 (file)
@@ -1,3 +1,52 @@
+2018-11-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * unittests/copy_bitwise-selftests.c: New file.
+       * utils.c (selftests::bits_to_str, selftests::check_copy_bitwise)
+       (selftests::copy_bitwise_tests): Delete, moving this code to
+       unittests/copy_bitwise-selftests.c instead.
+       (_initialize_utils): Do not register copy_bitwise tests.
+       * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+       unittests/copy_bitwise-selftests.c.
+
+2018-11-14  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (move_bits): Delete. Update all callers to use
+       copy_bitwise instead.
+       * dwarf2loc.c (copy_bitwise, bits_to_str::bits_to_str)
+       (selftests::check_copy_bitwise, selftests::copy_bitwise_tests):
+       Move from here to utils.c.
+       (_initialize_dwarf2loc): Remove call to register copy_bitwise
+       selftests.
+       * utils.h (copy_bitwise): Add declaration.
+       * utils.c (copy_bitwise, bits_to_str::bits_to_str)
+       (selftests::check_copy_bitwise, selftests::copy_bitwise_tests):
+       Moved here from dwarf2loc.c.
+       (_initialize_utils): Register copy_bitwise selftests.
+
+2018-11-14  Jim Wilson  <jimw@sifive.com>
+
+       * riscv-tdep.c (struct riscv_arg_info): New field is_unnamed.
+       (riscv_call_arg_scalar_int): If unnamed arg with twice xlen alignment,
+       then increment next_regnum if odd.
+       (riscv_arg_location): New arg is_unnamed.  Set ainfo->is_unnamed.
+       (riscv_push_dummy_call): New local ftype.  Call check_typedef to set
+       function type.  Pass new arg to riscv_arg_location based on function
+       type.
+       (riscv_return_value): Pass new arg to riscv_arg_location.
+
+       * riscv-tdep.c (BIGGEST_ALIGNMENT): New.
+       (riscv_type_alignment) <TYPE_CODE_ARRAY>: If TYPE_VECTOR, return min
+       of TYPE_LENGTH and BIGGEST_ALIGNMENT.
+
+       * riscv-tdep.c (riscv_call_arg_scalar_int): Use std::min when
+       setting len.  New local align, set to max of arg align and xlen,
+       and pass to first riscv_assign_stack_location call.
+
+2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * skip.c (complete_skip_number): New function.
+       (_initialize_step_skip): Add completers to some skip commands.
+
 2018-11-09  Tom Tromey  <tom@tromey.com>
 
        * remote.c (remote_g_packet_guess_s): Remove typedef and DEF_VEC.