Move C-related declarations to compile-c.h
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 682520fc4005875e12d38186a6dc1b4a497a7282..c2a3a26a844818f3b6ef3cf3b42afd0162df4169 100644 (file)
@@ -1,3 +1,102 @@
+2018-08-10  Keith Seitz  <keiths@redhat.com>
+
+       * Makefile.in (SUBDIR_GCC_COMPILE_SRCS): Move header files ...
+       (HFILES_NO_SRCDIR): ... to here.
+       Add compile-internal.h and compile-c.h.
+       * compile/compile-c-support.c: Include compile-c.h.
+       * compile/compile-c-symbols.c: Include compile-c.h.
+       (generate_c_for_variable_locations): Update comment.
+       * compile/compile-c-types.c: Include compile-c.h.
+       * compile/compile-c.h: New file -- moved C language declarations
+       from other files here.
+       * compile/compile-internal.h: Do not include hashtab.h or
+       common/enum-flags.h.
+       (gcc_qualifiers_flags, struct compile_c_instance, C_CTX)
+       (gcc_convert_symbol, gcc_symbol_address)
+       (generate_c_for_variable_locations, c_get_mode_for_size)
+       (c_get_range_decl_name): Definitions moved to compile-c.h.
+       * compile/compile-loc2c.c: Include compile-c.h.
+
+2018-08-10  Keith Seitz  <keiths@redhat.com>
+
+       * compile/compile-c-symbols.c (symbol_substitution_name): Rename to ...
+       (c_symbol_substitution_name): ... this.
+       Update all callers.
+
+2018-08-10  Keith Seitz  <keiths@redhat.com>
+
+       * compile/compile-c-support.c (c_compute_program): Use
+       unique_xmalloc_ptr to eliminate cleanup.
+       * compile/compile-c-symbols.c (generate_c_for_variable_locations):
+       Return a unique_xmalloc_ptr and eliminate cleanup.
+       * compile/compile-internal.h (generate_c_for_variable_locations):
+       Return unique_xmalloc_ptr and update description.
+
+2018-08-10  Alan Hayward  <alan.hayward@arm.com>
+
+       * corelow.c (core_target::get_core_register_section): Rename
+       min_size to section_min_size.
+
+2018-08-09  Jim Wilson  <jimw@sifive.com>
+
+       * Makefile.in (ALL_TARGET_OBS): Add riscv-linux-tdep.c.
+       (ALLDEPFILES): Add riscv-linux-nat.c, and riscv-linux-tdep.c.
+       * NEWS: Mention new GNU/Linux RISC-V target.
+       * configure.host: Add riscv*-*-linux*.
+       * configure.nat: Add riscv*.
+       * configure.tgt: Add riscv*-*-linux*.
+       * riscv-linux-nat.c: New file.
+       * riscv-linux-tdep.c: New file.
+
+2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * infrun.c (resume): Make static, add forward declaration.
+       (proceed): Update header comment.
+       * infrun.h (resume): Delete declaration.
+
+2018-08-09  Tom Tromey  <tom@tromey.com>
+
+       * riscv-tdep.h: Minor formatting fixes.
+
+2018-08-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/scoped_mmap.c (mmap_file): Silence ARI warning.
+       * dwarf-index-cache.c (create_dir_and_check): Likewise.
+       (test_mkdir_recursive): Likewise.
+       * dwarf-index-write.c (write_psymtabs_to_index): Likewise.
+
+2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * valarith.c (value_subscripted_rvalue): If an array is not in
+       memory, and we don't know the upper bound, then we can't know that
+       the requested element exists or not.
+
+2018-08-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * target.c (str_comma_list_concat_elem): Fix typo in comment.
+       (target_options_to_string): Add comment.
+
+2018-08-08  Tom Tromey  <tom@tromey.com>
+
+       * unittests/scoped_mmap-selftests.c: Check result of "write".
+
+2018-08-08  Jim Wilson  <jimw@sifive.com>
+
+       * riscv-tdep.c (enum opcode): Add jump, branch, lr, and sc opcodes.
+       (decode_register_index_short): New.
+       (decode_j_type_insn, decode_cj_type_insn): New.
+       (decode_b_type_insn, decode_cb_type_insn): New.
+       (riscv_insn::decode): Add support for jumps, branches, lr, and sc.  New
+       local xlen.  Check xlen when decoding ambiguous compressed insns.  In
+       compressed decode, use is_c_lui_insn instead of is_lui_insn, and
+       is_c_sw_insn instead of is_sw_insn.
+       (riscv_next_pc, riscv_next_pc_atomic_sequence): New.
+       (riscv_software_single_step): New.
+       * riscv-tdep.h (riscv_software_single_step): Declare.
+
+       * riscv-tdep.c (riscv_isa_xlen): Drop static.
+       * riscv-tdep.h (riscv_isa_xlen): Add extern declaration.
+
 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        PR gdb/18050:
This page took 0.02669 seconds and 4 git commands to generate.