Move aarch64-insn.o to arch/aarch64-insn.o and Remove a rule for arch/*.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e9cb48ce8e03807a29d4beb7d712ccf0fc157d4f..18224e0305ed3111e9ed8c835b6234d69a77d758 100644 (file)
@@ -1,3 +1,255 @@
+2017-10-06  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (ALL_64_TARGET_OBS): Replace aarch64-insn.o with
+       arch/aarch64-insn.o.
+       Remove one rule.
+       * configure.tgt: Replace aarch64-insn.o with arch/aarch64-insn.o.
+
+2017-10-06  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (ALL_TARGET_OBS): Replace arm.o, arm-get-next-pcs.o,
+       and arm-linux.o with arch/arm.o, arch/arm-get-next-pcs.o and
+       arch/arm-linux.o respectively.
+       * configure.tgt: Likewise.
+
+2017-10-06  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (ALL_TARGET_OBS): Rename i386.o to arch/i386.o.
+       * configure.tgt (i386_tobjs): Replace i386.o with arch/i386.o.
+
+2017-10-06  Pedro Alves  <palves@redhat.com>
+
+       * windows-nat.c: Include <algorithm>.
+
+2017-10-06  Yao Qi  <yao.qi@linaro.org>
+
+       * configure.tgt (i386_tobjs): New variable.
+       (amd64_tobjs): New variable.
+       Set $cpu_obs and $os_obs.
+
+2017-10-06  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (CONFIG_SRC_SUBDIR): New.
+       (ALL_64_TARGET_OBS): Replace amd64.o with arch/amd64.o.
+       (clean): Remove object files and dependency files.
+       (distclean): Remove the directory.
+       * configure.ac: Invoke AC_CONFIG_COMMANDS.
+       * configure: Re-generated.
+       * configure.tgt: Replace amd64.o with arch/amd64.o.
+
+2017-10-05  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       PR build/22188
+       * arm-tdep.c (arm_decode_misc_memhint_neon): Fix decoding of CPS
+       and SETEND.
+
+2017-10-05  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (linux_child_follow_fork): When following the parent
+       and detaching the child, consult the parent thread's architecture
+       instead of the child's.
+
+2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ax.h: Do not include "doublest.h".
+       (union agent_val): Remove.
+
+2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dfp.h (MAX_DECIMAL_STRING): Move to dfp.c.
+       (decimal_to_string): Return std::string object.
+       (decimal_from_string): Accept std::string object.  Return bool.
+       (decimal_from_integral, decimal_from_doublest): Remove.
+       (decimal_from_longest): Add prototype.
+       (decimal_from_ulongest): Likewise.
+       (decimal_to_longest): Likewise.
+       (decimal_from_doublest): Likewise.
+       * dfp.c: Do not include "gdbtypes.h" or "value.h".
+       (MAX_DECIMAL_STRING): Move here.
+       (decimal_to_string): Return std::string object.
+       (decimal_from_string): Accept std::string object.  Return bool.
+       (decimal_from_integral): Remove, replace by ...
+       (decimal_from_longest, decimal_from_ulongest): ... these new functions.
+       (decimal_to_longest): New function.
+       (decimal_from_floating): Remove, replace by ...
+       (decimal_from_doublest): ... this new function.
+       (decimal_to_doublest): Update to new decimal_to_string interface.
+
+       * value.c (unpack_long): Use decimal_to_longest.
+       * valops.c (value_cast): Use decimal_from_doublest instead of
+       decimal_from_floating.  Use decimal_from_[u]longest isntead of
+       decimal_from_integral.
+       * valarith.c (value_args_as_decimal): Likewise.
+       * valprint.c (print_decimal_floating): Update to new
+       decimal_to_string interface.
+       * printcmd.c (printf_decfloat): Likewise.
+       * c-exp.y (parse_number): Update to new decimal_from_string interface.
+
+2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * doublest.h: Do not include "floatformat.h".  Remove stale comments.
+       * gdbtypes.c: Include "floatformat.h".
+       * value.c: Likewise.
+       * m68k-tdep.c: Likewise.
+
+       * findvar.c: Do not include "floatformat.h".
+       * amd64-darwin-tdep.c: Likewise.
+       * arm-linux-tdep.c: Likewise.
+       * i386-darwin-tdep.c: Likewise.
+       * i387-tdep.c: Likewise.
+       * m68k-linux-tdep.c: Likewise.
+       * mep-tdep.c: Likewise.
+       * mips-tdep.c: Likewise.
+       * nios2-tdep.c: Likewise.
+       * s390-linux-tdep.c: Likewise.
+       * sparc-obsd-tdep.c: Likewise.
+       * sparc-tdep.c: Likewise.
+       * sparc64-tdep.c: Likewise.
+       * spu-tdep.c: Likewise.
+       * tic6x-tdep.c: Likewise.
+       * tilegx-tdep.c: Likewise.
+       * vax-tdep.c: Likewise.
+       * xstormy16-tdep.c: Likewise.
+       * xtensa-tdep.c: Likewise.
+
+       * top.c: Do not include "doublest.h".
+       * aarch64-tdep.c: Likewise.
+       * alpha-tdep.c: Likewise.
+       * arm-linux-tdep.c: Likewise.
+       * m68k-linux-tdep.c: Likewise.
+       * tilegx-tdep.c: Likewise.
+       * xstormy16-tdep.c: Likewise.
+
+2017-10-05  John Baldwin  <jhb@FreeBSD.org>
+
+       * mips-fbsd-tdep.c (MIPS_INST_ADDIU_A0_SP_N32): Define.
+       (mipsn32_fbsd_sigframe): Define.
+       (mips_fbsd_init_abi): Install mipsn32_fbsd_sigframe unwinder
+       for FreeBSD/mipsn32.
+
+2017-10-05  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_EHDRFLAGS and
+       AT_HWCAP.
+
+2017-10-05  Tristan Gingold  <tgingold@free.fr>
+
+       * MAINTAINERS (Misc): Update my email address.
+
+2017-10-04  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (get_remote_arch_state): New 'gdbarch' parameter.  Use
+       it instead of target_gdbarch.
+       (get_remote_state, get_remote_packet_size): Adjust
+       get_remote_arch_state calls, passing down target_gdbarch
+       explicitly.
+       (packet_reg_from_regnum, packet_reg_from_pnum): New parameter
+       'gdbarch' and use it instead of target_gdbarch.
+       (get_memory_packet_size): Adjust get_remote_arch_state calls,
+       passing down target_gdbarch explicitly.
+       (struct stop_reply) <arch>: New field.
+       (remote_parse_stop_reply): Use the stopped thread's architecture,
+       not the current inferior's.  Save the architecture in the
+       stop_reply.
+       (process_stop_reply): Use the stop reply's architecture.
+       (process_g_packet, remote_fetch_registers)
+       (remote_prepare_to_store, store_registers_using_G)
+       (remote_store_registers): Adjust get_remote_arch_state calls,
+       using the regcache's architecture.
+       (remote_get_trace_status): Adjust get_remote_arch_state calls,
+       passing down target_gdbarch explicitly.
+       * spu-multiarch.c (spu_thread_architecture): Defer to the target
+       beneath instead of calling target_gdbarch.
+       * target.c (default_thread_architecture): Use the specified
+       inferior's architecture, instead of the current inferior's
+       architecture (via target_gdbarch).
+
+2017-10-04  Pedro Alves  <palves@redhat.com>
+
+       * regcache.c (get_thread_arch_regcache): Remove null_ptid special
+       case.
+       (regcache_print): Handle !target_has_registers here instead.
+
+2017-10-04  Pedro Alves  <palves@redhat.com>
+
+       * frame.c (create_test_frame): Delete.
+       * frame.h (create_test_frame): Delete.
+       * gdbarch-selftests.c: Include gdbthread.h and target.h.
+       (class regcache_test): Delete.
+       (test_target_has_registers, test_target_has_stack)
+       (test_target_has_memory, test_target_prepare_to_store)
+       (test_target_store_registers): New functions.
+       (test_target_ops): New class.
+       (register_to_value_test): Error out if there's already a
+       process_stratum (or higher) target pushed.  Create a fuller mock
+       environment, with mock target_ops, inferior, address space, thread
+       and inferior_ptid.
+       * progspace.c (struct address_space): Move to ...
+       * progspace.h (struct address_space): ... here.
+       * regcache.h (regcache::~regcache, regcache::raw_write)
+       [GDB_SELF_TEST]: No longer virtual.
+
+2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mi/mi-main.c (list_available_thread_groups): Reverse filter logic.
+
+2017-10-04  Pedro Alves  <palves@redhat.com>
+
+       * guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Move code
+       out of 'between TRY and CATCH'.
+
+2017-10-04  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-cmds.c (complete_command): Add missing END_CATCH.
+       * common/common-exceptions.h (TRY): Open an outermost scope.
+       Expand intro comment.
+       (CATCH): Reindent.
+       (END_CATCH): Close the outermost scope.
+       * completer.c (complete_line_internal): Add missing END_CATCH.
+
+2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * NEWS (Changes since GDB 8.0): Add entry about new
+       'set-cwd-on-gdbserver' feature.
+       (New remote packets): Add entry for QSetWorkingDir.
+       * common/common-inferior.h (set_inferior_cwd): New prototype.
+       * infcmd.c (set_inferior_cwd): Remove "static".
+       (show_cwd_command): Expand text to include remote debugging.
+       * remote.c: Add PACKET_QSetWorkingDir.
+       (remote_protocol_features) <QSetWorkingDir>: New entry for
+       PACKET_QSetWorkingDir.
+       (extended_remote_set_inferior_cwd): New function.
+       (extended_remote_create_inferior): Call
+       "extended_remote_set_inferior_cwd".
+       (_initialize_remote): Call "add_packet_config_cmd" for
+       QSetWorkingDir.
+
+2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * NEWS (New commands): Mention "set/show cwd".
+       * cli/cli-cmds.c (_initialize_cli_cmds): Mention "set cwd" on
+       "cd" command's help text.
+       * common/common-inferior.h (get_inferior_cwd): New prototype.
+       * infcmd.c (inferior_cwd_scratch): New global variable.
+       (set_inferior_cwd): New function.
+       (get_inferior_cwd): Likewise.
+       (set_cwd_command): Likewise.
+       (show_cwd_command): Likewise.
+       (_initialize_infcmd): Add "set/show cwd" commands.
+       * inferior.h (class inferior) <cwd>: New field.
+       * nat/fork-inferior.c: Include "gdb_tilde_expand.h".
+       (fork_inferior): Change inferior's cwd before its execution.
+       * windows-nat.c (windows_create_inferior): Pass inferior's cwd
+       to CreateProcess.
+
+2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * Makefile.in (SFILES): Add gdb_tilde_expand.c.
+       (HFILES_NO_SRCDIR): Add gdb_tilde_expand.h.
+       (COMMON_OBS): Add gdb_tilde_expand.o.
+       * common/gdb_tilde_expand.c: New file.
+       * common/gdb_tilde_expand.h: Likewise.
+
 2017-10-03  Maciej W. Rozycki  <macro@imgtec.com>
 
        * gdbarch.sh (objfile): Remove duplicate declaration.
This page took 0.028838 seconds and 4 git commands to generate.