Modify AArch64 Assembly and disassembly functions to be able to fail and report why.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 0559c0b20a1192a46945d3103c72e921925edd74..57a4075a121da94d6a4f6d9ff8ce04afa448e0d6 100644 (file)
@@ -1,3 +1,242 @@
+2018-05-15  Tamar Christina  <tamar.christina@arm.com>
+
+       PR binutils/21446
+       * aarch64-tdep.c (aarch64_analyze_prologue,
+       aarch64_software_single_step, aarch64_displaced_step_copy_insn):
+       Indicate not interested in errors.
+
+2018-05-15  Maciej W. Rozycki  <macro@mips.com>
+
+       * mips-linux-nat.c (mips_linux_nat_target::fetch_registers):
+       Supply the MIPS_ZERO_REGNUM register.
+
+2018-05-15  Maciej W. Rozycki  <macro@mips.com>
+
+       * mips-tdep.c (mask_address_var): Make variable static.
+
+2018-05-14  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (rust_union_quirks): Clear rust_unions.
+
+2018-05-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * i387-tdep.c (i387_collect_xsave): Use FXSAVE_MXCSR_ADDR not
+       FXSAVE_ADDR for the mxcsr register.
+
+2018-05-11  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * configure.tgt (xtensa*-*-linux*): Drop gdb_target definition.
+
+2018-05-11  Pedro Alves  <palves@redhat.com>
+
+       * corelow.c (core_target) <core_target>: No longer inline.
+       Initialize m_core_gdbarch, m_core_vec and build the section table
+       here.
+       <~core_target>: New.
+       <core_gdbarch, get_core_register_section>: New methods.
+       <m_core_section_table, m_core_vec, m_core_gdbarch>: New fields,
+       factored out from ...
+       <core_data, core_vec, core_gdbarch>: ... these deleted globals.
+       (core_ops): Delete.
+       (sniff_core_bfd): Add gdbarch parameter.
+       (core_close): Delete, merged into ...
+       (core_target::close): ... here.  Delete self.
+       (core_close_cleanup): Delete.
+       (core_target_open): Allocate a core_target on the heap.  Use a
+       unique_ptr instead of a cleanup.  Bits moved into the core_target
+       ctor.  Adjust to use core_target methods instead of globals.
+       (get_core_register_section): Rename to ...
+       (core_target::get_core_register_section): ... this and adjust.
+       (struct get_core_registers_cb_data): New.
+       (get_core_registers_cb): Use it.  Use bool.
+       (core_target::fetch_registers, core_target::files_info)
+       (core_target::xfer_partial, core_target::read_description)
+       (core_target::pid_to, core_target::thread_name): Adjust to
+       reference class fields instead of globals.
+       * target.h (struct target_ops_deleter, target_ops_up): New.
+
+2018-05-11  Pedro Alves  <palves@redhat.com>
+
+       * corefile.c (core_file_command): Move to corelow.c.
+       * corelow.c (the_core_target): Delete.
+       (core_file_command): Moved from corefile.c.  Check exec_bfd
+       instead of the_core_target.  Use target_detach instead of calling
+       into the_core_target directly.
+       (maybe_say_no_core_file_now): New.
+       (core_target::detach): Use it.
+       (_initialize_corelow): Remove references to the_core_target.
+       * gdbcore.h (the_core_target): Delete.
+
+2018-05-11  Tom Tromey  <tromey@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * corefile.c (core_bfd): Remove.
+       * gdbcore.h (core_bfd): Now a macro.
+       * progspace.h (struct program_space) <cbfd>: New field.
+
+2018-05-11  Tom Tromey  <tom@tromey.com>
+
+       * mdebugread.c (parse_partial_symbols, psymtab_to_symtab_1): Use
+       gdb::def_vector.
+
+2018-05-10  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * warning.m4 (AM_GDB_WARNINGS): Use -Wimplicit-fallthrough=3.
+
+2018-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+       PR server/23158:
+       * regformats/regdat.sh: Adjust script, following the addition
+       of the new expedite_regs parameter to init_target_desc.
+
+2018-05-10  Omair Javaid  <omair.javaid@linaro.org>
+    
+       PR gdb/23127
+       * aarch64-linux-tdep.c (aarch64_linux_init_abi): Add call to
+       set_gdbarch_significant_addr_bit.
+       * aarch64-tdep.c (aarch64_gdbarch_init): Remove call to
+       set_gdbarch_significant_addr_bit.
+       * utils.c (address_significant): Update to sign extend addr.
+
+2018-05-09  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * xtensa-linux-tdep.c (xtensa-tdep.h): New include.
+       (xtensa_linux_init_abi): Limit tdep->num_regs by
+       tdep->num_nopriv_regs.
+       * xtensa-tdep.c (xtensa_derive_tdep): Calculate
+       tdep->num_nopriv_regs and only copy it to tdep->num_regs if it's
+       not initialized.
+
+2018-05-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * unittests/string_view-selftests.c: Define GNULIB_NAMESPACE.
+
+2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * common/x86-xstate.h (I387_FCTRL_INIT_VAL): New constant.
+       (I387_MXCSR_INIT_VAL): New constant.
+       * amd64-tdep.c (amd64_supply_xsave): Only read state from xsave
+       buffer if it was supplied by the inferior.
+       * i387-tdep.c (i387_supply_fsave): Use I387_MXCSR_INIT_VAL.
+       (i387_xsave_get_clear_bv): New function.
+       (i387_supply_xsave): Only read x87 control registers from the
+       xsave buffer if the feature is enabled, and the state will have
+       been written, otherwise, provide a suitable default.
+       (i387_collect_xsave): Pre-clear all registers in xsave buffer,
+       including x87 control registers.  Update control registers if they
+       have changed from the default value, and mark features as enabled
+       as required.
+       * i387-tdep.h (i387_xsave_get_clear_bv): Declare.
+
+2018-05-08  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-tdep.c (info_spu_event_command): Fix output formatting.
+
+2018-05-07  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * warning.m4 (AM_GDB_WARNINGS): Add -Wduplicated-cond.
+
+2018-05-07  Tom Tromey  <tom@tromey.com>
+
+       PR tdep/20362:
+       * arm-tdep.c (arm_record_vfp_data_proc_insn): Properly mask off D
+       bit.  Use correct value for VDIV.
+
+2018-05-04  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * warning.m4 (AM_GDB_WARNINGS): Add -Wimplicit-fallthrough.
+
+2018-05-04  Tom Tromey  <tom@tromey.com>
+
+       * linux-record.c (record_linux_system_call) <case
+       RECORD_SYS_RECVFROM>: Add "break".
+
+2018-05-04  Tom Tromey  <tom@tromey.com>
+
+       * mi/mi-main.c (mi_cmd_trace_frame_collected) <REGISTERS_FORMAT>:
+       Add missing "break".
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals) <NO_FRAME_FILTERS>:
+       Add missing "break".
+
+2018-05-04  Tom Tromey  <tom@tromey.com>
+
+       * rs6000-tdep.c (ppc_process_record_op4)
+       (ppc_process_record_op63): Add fall-through comment.
+
+2018-05-04  Tom Tromey  <tom@tromey.com>
+
+       * i386-tdep.c (i386_process_record): Add fall-through comment.
+
+2018-05-04  Tom Tromey  <tom@tromey.com>
+
+       * stabsread.c (define_symbol) <case 'p'>: Add fall-through
+       comment.
+
+2018-05-04  Tom Tromey  <tom@tromey.com>
+
+       * riscv-tdep.c (riscv_isa_xlen): Add fall-through comment.
+       * utils.c (can_dump_core) <LIMIT_CUR>: Add fall-through comment.
+       * eval.c (fetch_subexp_value) <MEMORY_ERROR>: Add fall-through
+       comment.
+       * d-valprint.c (d_val_print) <TYPE_CODE_STRUCT>: Add fall-through
+       comment.
+       * coffread.c (coff_symtab_read) <C_LABEL>: Add fall-through
+       comment.
+
+2018-05-04  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2loc.c (unimplemented): Add ATTRIBUTE_NORETURN.
+
+2018-05-04  Tom Tromey  <tom@tromey.com>
+
+       * s390-tdep.c (s390_process_record): Fix fall-through comments.
+       * xcoffread.c (scan_xcoff_symtab): Move comment later.
+       * symfile.c (section_is_mapped): Fix fall-through comment.
+       * stabsread.c (define_symbol, read_member_functions): Fix
+       fall-through comment.
+       * s390-linux-tdep.c (s390_process_record): Fix fall-through
+       comment.
+       * remote.c (remote_wait_as): Fix fall-through comment.
+       * p-exp.y (yylex): Fix fall-through comment.
+       * nat/x86-dregs.c (x86_length_and_rw_bits): Fix fall-through
+       comment.
+       * msp430-tdep.c (msp430_gdbarch_init): Fix fall-through comment.
+       * mdebugread.c (parse_partial_symbols): Fix fall-through comment.
+       * jv-exp.y (yylex): Fix fall-through comment.
+       * go-exp.y (lex_one_token): Fix fall-through comment.
+       * gdbtypes.c (get_discrete_bounds, rank_one_type): Fix
+       fall-through comment.
+       * f-exp.y (yylex): Fix fall-through comment.
+       * dwarf2read.c (process_die): Fix fall-through comments.
+       * dbxread.c (process_one_symbol): Fix fall-through comment.
+       * d-exp.y (lex_one_token): Fix fall-through comment.
+       * cp-name-parser.y (yylex): Fix fall-through comment.
+       * coffread.c (coff_symtab_read): Fix fall-through comment.
+       * c-exp.y (lex_one_token): Fix fall-through comment.
+       * arm-tdep.c (arm_decode_miscellaneous): Fix fall-through
+       comment.
+       * arch/arm.c (arm_instruction_changes_pc): Fix fall-through
+       comment.
+
+2018-05-04  Tom Tromey  <tom@tromey.com>
+
+       PR python/22730:
+       * NEWS: Mention gdb.execute change.
+       * gdbcmd.h (execute_control_command): Don't declare.
+       * python/python.c (execute_gdb_command): Use read_command_lines_1,
+       execute_control_commands, execute_control_commands_to_string.
+       * cli/cli-script.h (execute_control_commands)
+       (execute_control_commands_to_string): Declare.
+       (execute_control_command): Add from_tty parameter.
+       * cli/cli-script.c (execute_control_commands)
+       (execute_control_commands_to_string): New functions.
+       (execute_user_command): Use execute_control_commands.
+       (execute_control_command_1): Add "from_tty" parameter.  Update.
+       (execute_control_command): Likewise.
+
 2018-05-04  Tom Tromey  <tom@tromey.com>
 
        PR python/22731:
This page took 0.026194 seconds and 4 git commands to generate.