gdb: Allow quoting around string options in the gdb::option framework
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 3de4e19a10aafec3f00a835fc299310bd8744047..5f9872b8dfa3d1146c1da5a909fb89c5663235ca 100644 (file)
@@ -1,3 +1,783 @@
+2019-07-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cli/cli-option.c (parse_option): Use extract_string_maybe_quoted
+       to extract string arguments.
+       * common/common-utils.c (extract_string_maybe_quoted): New function.
+       * common/common-utils.h (extract_string_maybe_quoted): Declare.
+
+2019-07-11  Tom Tromey  <tromey@adacore.com>
+
+       * main.c (get_init_files): Use GDBINIT, not gdbinit.
+       * auto-load.c (file_is_auto_load_safe): Use GDBINIT, not gdbinit.
+       * top.h (gdbinit): Don't declare.
+       * cli/cli-cmds.c (init_cli_cmds): Remove, merging contents
+       into...
+       (_initialize_cli_cmds): ...here.  Use GDBINIT, not gdbinit.
+       * top.c (gdb_init): Don't call init_cli_cmds.
+       (gdbinit): Remove.
+       * cli/cli-cmds.h (init_cli_cmds): Don't declare.
+
+2019-07-11  Tom Tromey  <tromey@adacore.com>
+
+       * python/py-inferior.c (add_thread_object): Don't use thread_obj
+       after it has been moved.
+
+2019-07-10  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * valops.c (value_must_coerce_to_target): Change return type to
+       bool.
+       * value.h (value_must_coerce_to_target): Likewise.
+
+2019-07-10  Simon Marchi  <simon.marchi@efficios.com>
+
+       * breakpoint.c (is_hardware_watchpoint): Remove
+       forward-declaration.
+       (is_masked_watchpoint): Change return type to bool.
+       (is_tracepoint): Likewise.
+       (is_breakpoint): Likewise.
+       (is_hardware_watchpoint): Likewise.
+       (is_watchpoint): Likewise.
+       (is_no_memory_software_watchpoint): Likewise.
+       (is_catchpoint): Likewise.
+       (breakpoint_1): Make FILTER parameter's return type bool.
+       is_masked_watchpoint): Change return type to bool.
+       (save_breakpoints): Make FILTER parameter's return type bool.
+       * breakpoint.h (is_breakpoint): Change return type to bool.
+       (is_watchpoint): Likewise.
+       (is_catchpoint): Likewise.
+       (is_tracepoint): Likewise.
+
+2019-07-10  Tom Tromey  <tom@tromey.com>
+
+       * defs.h: Don't include gdbarch.h.
+       * aarch64-ravenscar-thread.c, aarch64-tdep.c, alpha-bsd-tdep.h,
+       alpha-linux-tdep.c, alpha-mdebug-tdep.c, arch-utils.h, arm-tdep.h,
+       ax-general.c, btrace.c, buildsym-legacy.c, buildsym.h, c-lang.c,
+       cli/cli-decode.h, cli/cli-dump.c, cli/cli-script.h,
+       cli/cli-style.h, coff-pe-read.h, compile/compile-c-support.c,
+       compile/compile-cplus.h, compile/compile-loc2c.c, corefile.c,
+       cp-valprint.c, cris-linux-tdep.c, ctf.c, d-lang.c, d-namespace.c,
+       dcache.c, dicos-tdep.c, dictionary.c, disasm-selftests.c,
+       dummy-frame.c, dummy-frame.h, dwarf2-frame-tailcall.c,
+       dwarf2expr.c, expression.h, f-lang.c, frame-base.c,
+       frame-unwind.c, frv-linux-tdep.c, gdbarch-selftests.c, gdbtypes.h,
+       go-lang.c, hppa-nbsd-tdep.c, hppa-obsd-tdep.c, i386-dicos-tdep.c,
+       i386-tdep.h, ia64-vms-tdep.c, interps.h, language.c,
+       linux-record.c, location.h, m2-lang.c, m32r-linux-tdep.c,
+       mem-break.c, memattr.c, mn10300-linux-tdep.c, nios2-linux-tdep.c,
+       objfiles.h, opencl-lang.c, or1k-linux-tdep.c, p-lang.c,
+       parser-defs.h, ppc-tdep.h, probe.h, python/py-record-btrace.c,
+       record-btrace.c, record.h, regcache-dump.c, regcache.h,
+       riscv-fbsd-tdep.c, riscv-linux-tdep.c, rust-exp.y,
+       sh-linux-tdep.c, sh-nbsd-tdep.c, source-cache.c,
+       sparc-nbsd-tdep.c, sparc-obsd-tdep.c, sparc-ravenscar-thread.c,
+       sparc64-fbsd-tdep.c, std-regs.c, target-descriptions.h,
+       target-float.c, tic6x-linux-tdep.c, tilegx-linux-tdep.c, top.c,
+       tracefile.c, trad-frame.c, type-stack.h, ui-style.c, utils.c,
+       utils.h, valarith.c, valprint.c, varobj.c, x86-tdep.c,
+       xml-support.h, xtensa-linux-tdep.c, cli/cli-cmds.h: Update.
+       * s390-linux-nat.c, procfs.c, inf-ptrace.c: Likewise.
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.h (is_ada_exception_catchpoint): Declare.
+       * breakpoint.c (init_ada_exception_breakpoint): Register as
+       bp_catchpoint.
+       (print_one_breakpoint_location, print_one_breakpoint): Use
+       is_ada_exception_catchpoint.
+       * ada-lang.c (class ada_catchpoint_location): Pass
+       bp_loc_software_breakpoint to bp_location constructor.
+       (is_ada_exception_catchpoint): New function.
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * arm-tdep.c (arm_exidx_entry_s): Remove typedef.  Don't define
+       VEC.
+       (struct arm_exidx_entry): New method operator<.
+       (struct arm_exidx_data) <section_maps>: Change type.
+       (arm_exidx_data_free): Remove.
+       (arm_exidx_data_key): Change type.  Move lower.
+       (arm_exidx_new_objfile): Update.
+       (arm_compare_exidx_entries): Remove.
+       (arm_find_exidx_entry, _initialize_arm_tdep)
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * solib-spu.c (ocl_program_data_key): Change type.
+       (append_ocl_sos, ocl_enable_break, _initialize_spu_solib):
+       Update.
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * solib-aix.c (lm_info_aix_p): Remove typedef.  Don't define VEC.
+       (struct solib_aix_inferior_data) <library_list>: Change type.
+       (solib_aix_inferior_data_handle): Change type.
+       (get_solib_aix_inferior_data): Update.
+       (solib_aix_free_library_list): Remove.
+       (library_list_start_library): Update.
+       (solib_aix_parse_libraries, solib_aix_get_library_list): Change
+       return type.
+       (solib_aix_get_library_list)
+       (solib_aix_solib_create_inferior_hook, solib_aix_current_sos)
+       (solib_aix_normal_stop_observer, _initialize_solib_aix): Update.
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * solib-dsbt.c (struct dsbt_info): Add initializers.
+       (solib_dsbt_pspace_data): Change type.
+       (dsbt_pspace_data_cleanup): Remove.
+       (get_dsbt_info, _initialize_dsbt_solib): Update.
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * spu-tdep.c (spu_overlay_data): Change type.
+       (spu_get_overlay_table, spu_overlay_new_objfile)
+       (_initialize_spu_tdep): Update.
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * gdb-stabs.h (struct dbx_symfile_info): Add initializers and
+       destructor.
+       (dbx_objfile_data_key): Change type and declare later.
+       (DBX_SYMFILE_INFO): Rewrite.
+       * dbxread.c (dbx_objfile_data_key): Change type.
+       (dbx_symfile_init): Update.
+       (~dbx_symfile_info): Rename from dbx_free_symfile_info.  Update.
+       (coffstab_build_psymtabs, elfstab_build_psymtabs)
+       (stabsect_build_psymtabs, _initialize_dbxread): Update.
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * jit.c (jit_program_space_key): Change type.  Move lower.
+       (get_jit_program_space_data): Update.
+       (jit_program_space_data_cleanup): Remove.
+       (jit_breakpoint_deleted, free_objfile_data, _initialize_jit):
+       Update.
+       (struct jit_program_space_data): Add initializers.
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * solib-darwin.c (struct darwin_info): Add initializers.
+       (solib_darwin_pspace_data): Change type.
+       (darwin_pspace_data_cleanup): Remove.
+       (get_darwin_info, _initialize_darwin_solib): Update.
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * remote-sim.c (struct sim_inferior_data): Add initializers,
+       constructor, and destructor.
+       (sim_inferior_data_key): Change type.  Move lower.
+       (check_for_duplicate_sim_descriptor): Update.
+       (get_sim_inferior_data): Use new.  Update.
+       (~sim_inferior_data_cleanup): Rename from
+       sim_inferior_data_cleanup.  Simplify.
+       (gdbsim_close_inferior, simulator_command)
+       (sim_command_completer, _initialize_remote_sim): Update.
+       (next_pid, INITIAL_PID): Move earlier.
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * python/python-internal.h (create_thread_object): Return
+       gdbpy_ref.
+       * python/py-infthread.c (create_thread_object): Return gdbpy_ref.
+       * python/py-inferior.c (struct threadlist_entry): Add
+       constructor.
+       <thread_obj>: Now a gdbpy_ref.
+       (thread_to_thread_object): Update.
+       (add_thread_object): Use new.
+       (delete_thread_object): Use delete.
+       (infpy_threads): Update.
+       (py_free_inferior): Update.  Construct "inf_obj" after acquiring
+       GIL.
+
+2019-07-10  Tom Tromey  <tromey@adacore.com>
+
+       * valops.c (value_cast): Specialize error message for Ada.
+
+2019-07-10  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.c (breakpoint_1): Update doc and parameter names.
+
+2019-07-10  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.h (bpstat_explains_signal, bpstat_causes_stop,
+       bpstat_should_step): Return bool, adjust comments.
+       * breakpoint.c (bpstat_explains_signal, bpstat_causes_stop,
+       bpstat_should_step): Likewise.
+
+2019-07-10  Alan Hayward  <alan.hayward@arm.com>
+
+       * features/Makefile: Use feature target descriptions for Arm.
+       * features/arm/arm-core.c: Generate new file.
+       * features/arm/arm-fpa.c: Likewise.
+       * features/arm/arm-m-profile-with-fpa.xml: Likewise.
+       * features/arm/arm-m-profile.c: Likewise.
+       * features/arm/arm-vfpv2.c: Likewise.
+       * features/arm/arm-vfpv3.c: Likewise.
+       * features/arm/xscale-iwmmxt.c: Likewise.
+       * target-descriptions.c (maint_print_c_tdesc_cmd): Add Arm.
+
+2019-07-10  Alan Hayward  <alan.hayward@arm.com>
+
+       * arm-linux-nat.c (arm_linux_nat_target::read_description): Check
+       ptrace earlier.
+
+2019-07-10  Alan Hayward  <alan.hayward@arm.com>
+
+       * features/aarch64-pauth.c: Regenerate.
+
+2019-07-09  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.h (struct bpstat_what) <is_longjmp>: Change type to
+       bool.
+       (bpstat_what): Use false instead of 0.
+
+2019-07-09  Pedro Alves  <palves@redhat.com>
+
+       * break-catch-throw.c (is_exception_catchpoint): New.
+       * breakpoint.c (print_one_breakpoint_location): New parameter
+       'raw_loc'.  Handle it.  Use
+       is_watchpoint/is_catchpoint/is_exception_catchpoint instead of
+       looking at the breakpoint's type.
+       (print_one_breakpoint): If handling "maint info breakpoints", also
+       print locations of exception catchpoints.
+       * breakpoint.h (is_exception_catchpoint): Declare.
+
+2019-07-09  Pedro Alves  <palves@redhat.com>
+
+       * break-catch-throw.c (print_one_exception_catchpoint): Skip the
+       "addr" field.
+       (allocate_location_exception_catchpoint): New.
+       (handle_gnu_v3_exceptions): Don't reset 'type' to bp_breakpoint.
+       (initialize_throw_catchpoint_ops): Install
+       allocate_location_exception_catchpoint as allocate_location
+       method.
+       * breakpoint.c (bpstat_what) <bp_catch>: Set action to
+       BPSTAT_WHAT_SINGLE if not stopping and the location's type is not
+       bp_loc_other.
+       (breakpoint_address_is_meaningful): Delete.
+       (bl_address_is_meaningful): New.
+       (breakpoint_locations_match): Adjust comment.
+       (bp_location_from_bp_type): New, factored out of...
+       (bp_location::bp_location(breakpoint *)): ... this.
+       (bp_location::bp_location(breakpoint *, bp_loc_type)): New,
+       factored out of...
+       (bp_location::bp_location(breakpoint *)): ... this.  Reimplement.
+       (bp_loc_is_permanent): Use bl_address_is_meaningful instead of
+       breakpoint_address_is_meaningful.
+       (bp_locations_compare): Adjust comment.
+       (update_global_location_list): Use bl_address_is_meaningful
+       instead of breakpoint_address_is_meaningful.
+       * breakpoint.h (bp_location::bp_location(breakpoint *)): New
+       explicit.
+       (bp_location::bp_location(breakpoint *, bp_loc_type)): Declare.
+       * python/py-breakpoint.c (bppy_get_location): No longer check
+       whether location is null.
+
+2019-07-09  Pedro Alves  <palves@redhat.com>
+
+       PR c++/15468
+       * breakpoint.c (print_one_breakpoint_location): Remove
+       single-location assert.
+
+2019-07-09  Tom Tromey  <tom@tromey.com>
+
+       * contrib/ari/gdb_ari.sh: Change common to gdbsupport.
+       * configure: Rebuild.
+       * configure.ac: Change common to gdbsupport.
+       * gdbsupport: Rename from common.
+       * acinclude.m4: Change common to gdbsupport.
+       * Makefile.in (CONFIG_SRC_SUBDIR, COMMON_SFILES)
+       (HFILES_NO_SRCDIR, stamp-version, ALLDEPFILES): Change common to
+       gdbsupport.
+       * aarch64-tdep.c, ada-lang.c, ada-lang.h, agent.c, alloc.c,
+       amd64-darwin-tdep.c, amd64-dicos-tdep.c, amd64-fbsd-nat.c,
+       amd64-fbsd-tdep.c, amd64-linux-nat.c, amd64-linux-tdep.c,
+       amd64-nbsd-tdep.c, amd64-obsd-tdep.c, amd64-sol2-tdep.c,
+       amd64-tdep.c, amd64-windows-tdep.c, arch-utils.c,
+       arch/aarch64-insn.c, arch/aarch64.c, arch/aarch64.h, arch/amd64.c,
+       arch/amd64.h, arch/arm-get-next-pcs.c, arch/arm-linux.c,
+       arch/arm.c, arch/i386.c, arch/i386.h, arch/ppc-linux-common.c,
+       arch/riscv.c, arch/riscv.h, arch/tic6x.c, arm-tdep.c, auto-load.c,
+       auxv.c, ax-gdb.c, ax-general.c, ax.h, breakpoint.c, breakpoint.h,
+       btrace.c, btrace.h, build-id.c, build-id.h, c-lang.h, charset.c,
+       charset.h, cli/cli-cmds.c, cli/cli-cmds.h, cli/cli-decode.c,
+       cli/cli-dump.c, cli/cli-option.h, cli/cli-script.c,
+       coff-pe-read.c, command.h, compile/compile-c-support.c,
+       compile/compile-c.h, compile/compile-cplus-symbols.c,
+       compile/compile-cplus-types.c, compile/compile-cplus.h,
+       compile/compile-loc2c.c, compile/compile.c, completer.c,
+       completer.h, contrib/ari/gdb_ari.sh, corefile.c, corelow.c,
+       cp-support.c, cp-support.h, cp-valprint.c, csky-tdep.c, ctf.c,
+       darwin-nat.c, debug.c, defs.h, disasm-selftests.c, disasm.c,
+       disasm.h, dtrace-probe.c, dwarf-index-cache.c,
+       dwarf-index-cache.h, dwarf-index-write.c, dwarf2-frame.c,
+       dwarf2expr.c, dwarf2loc.c, dwarf2read.c, event-loop.c,
+       event-top.c, exceptions.c, exec.c, extension.h, fbsd-nat.c,
+       features/aarch64-core.c, features/aarch64-fpu.c,
+       features/aarch64-pauth.c, features/aarch64-sve.c,
+       features/i386/32bit-avx.c, features/i386/32bit-avx512.c,
+       features/i386/32bit-core.c, features/i386/32bit-linux.c,
+       features/i386/32bit-mpx.c, features/i386/32bit-pkeys.c,
+       features/i386/32bit-segments.c, features/i386/32bit-sse.c,
+       features/i386/64bit-avx.c, features/i386/64bit-avx512.c,
+       features/i386/64bit-core.c, features/i386/64bit-linux.c,
+       features/i386/64bit-mpx.c, features/i386/64bit-pkeys.c,
+       features/i386/64bit-segments.c, features/i386/64bit-sse.c,
+       features/i386/x32-core.c, features/riscv/32bit-cpu.c,
+       features/riscv/32bit-csr.c, features/riscv/32bit-fpu.c,
+       features/riscv/64bit-cpu.c, features/riscv/64bit-csr.c,
+       features/riscv/64bit-fpu.c, features/tic6x-c6xp.c,
+       features/tic6x-core.c, features/tic6x-gp.c, filename-seen-cache.h,
+       findcmd.c, findvar.c, fork-child.c, gcore.c, gdb_bfd.c, gdb_bfd.h,
+       gdb_proc_service.h, gdb_regex.c, gdb_select.h, gdb_usleep.c,
+       gdbarch-selftests.c, gdbthread.h, gdbtypes.h, gnu-nat.c,
+       go32-nat.c, guile/guile.c, guile/scm-ports.c,
+       guile/scm-safe-call.c, guile/scm-type.c, i386-fbsd-nat.c,
+       i386-fbsd-tdep.c, i386-go32-tdep.c, i386-linux-nat.c,
+       i386-linux-tdep.c, i386-tdep.c, i387-tdep.c,
+       ia64-libunwind-tdep.c, ia64-linux-nat.c, inf-child.c,
+       inf-ptrace.c, infcall.c, infcall.h, infcmd.c, inferior-iter.h,
+       inferior.c, inferior.h, inflow.c, inflow.h, infrun.c, infrun.h,
+       inline-frame.c, language.h, linespec.c, linux-fork.c, linux-nat.c,
+       linux-tdep.c, linux-thread-db.c, location.c, machoread.c,
+       macrotab.h, main.c, maint.c, maint.h, memattr.c, memrange.h,
+       mi/mi-cmd-break.h, mi/mi-cmd-env.c, mi/mi-cmd-stack.c,
+       mi/mi-cmd-var.c, mi/mi-interp.c, mi/mi-main.c, mi/mi-parse.h,
+       minsyms.c, mips-linux-tdep.c, namespace.h,
+       nat/aarch64-linux-hw-point.c, nat/aarch64-linux-hw-point.h,
+       nat/aarch64-linux.c, nat/aarch64-sve-linux-ptrace.c,
+       nat/amd64-linux-siginfo.c, nat/fork-inferior.c,
+       nat/linux-btrace.c, nat/linux-btrace.h, nat/linux-namespaces.c,
+       nat/linux-nat.h, nat/linux-osdata.c, nat/linux-personality.c,
+       nat/linux-procfs.c, nat/linux-ptrace.c, nat/linux-ptrace.h,
+       nat/linux-waitpid.c, nat/mips-linux-watch.c,
+       nat/mips-linux-watch.h, nat/ppc-linux.c, nat/x86-dregs.c,
+       nat/x86-dregs.h, nat/x86-linux-dregs.c, nat/x86-linux.c,
+       nto-procfs.c, nto-tdep.c, objfile-flags.h, objfiles.c, objfiles.h,
+       obsd-nat.c, observable.h, osdata.c, p-valprint.c, parse.c,
+       parser-defs.h, ppc-linux-nat.c, printcmd.c, probe.c, proc-api.c,
+       procfs.c, producer.c, progspace.h, psymtab.h,
+       python/py-framefilter.c, python/py-inferior.c, python/py-ref.h,
+       python/py-type.c, python/python.c, record-btrace.c, record-full.c,
+       record.c, record.h, regcache-dump.c, regcache.c, regcache.h,
+       remote-fileio.c, remote-fileio.h, remote-sim.c, remote.c,
+       riscv-tdep.c, rs6000-aix-tdep.c, rust-exp.y, s12z-tdep.c,
+       selftest-arch.c, ser-base.c, ser-event.c, ser-pipe.c, ser-tcp.c,
+       ser-unix.c, skip.c, solib-aix.c, solib-target.c, solib.c,
+       source-cache.c, source.c, source.h, sparc-nat.c, spu-linux-nat.c,
+       stack.c, stap-probe.c, symfile-add-flags.h, symfile.c, symfile.h,
+       symtab.c, symtab.h, target-descriptions.c, target-descriptions.h,
+       target-memory.c, target.c, target.h, target/waitstatus.c,
+       target/waitstatus.h, thread-iter.h, thread.c, tilegx-tdep.c,
+       top.c, top.h, tracefile-tfile.c, tracefile.c, tracepoint.c,
+       tracepoint.h, tui/tui-io.c, ui-file.c, ui-out.h,
+       unittests/array-view-selftests.c,
+       unittests/child-path-selftests.c, unittests/cli-utils-selftests.c,
+       unittests/common-utils-selftests.c,
+       unittests/copy_bitwise-selftests.c, unittests/environ-selftests.c,
+       unittests/format_pieces-selftests.c,
+       unittests/function-view-selftests.c,
+       unittests/lookup_name_info-selftests.c,
+       unittests/memory-map-selftests.c, unittests/memrange-selftests.c,
+       unittests/mkdir-recursive-selftests.c,
+       unittests/observable-selftests.c,
+       unittests/offset-type-selftests.c, unittests/optional-selftests.c,
+       unittests/parse-connection-spec-selftests.c,
+       unittests/ptid-selftests.c, unittests/rsp-low-selftests.c,
+       unittests/scoped_fd-selftests.c,
+       unittests/scoped_mmap-selftests.c,
+       unittests/scoped_restore-selftests.c,
+       unittests/string_view-selftests.c, unittests/style-selftests.c,
+       unittests/tracepoint-selftests.c, unittests/unpack-selftests.c,
+       unittests/utils-selftests.c, unittests/xml-utils-selftests.c,
+       utils.c, utils.h, valarith.c, valops.c, valprint.c, value.c,
+       value.h, varobj.c, varobj.h, windows-nat.c, x86-linux-nat.c,
+       xml-support.c, xml-support.h, xml-tdesc.h, xstormy16-tdep.c,
+       xtensa-linux-nat.c, dwarf2read.h: Change common to gdbsupport.
+
+2019-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * linespec.c (decode_digits_list_mode): Set explicit_line to a
+       bool value.
+       (decode_digits_ordinary): Set explicit_line field in sal.
+       * symtab.c (skip_prologue_sal): Don't skip prologue for a
+       symtab_and_line that was set on an explicit line number in
+       assembler code.  Do always update the recorded symtab and line if
+       we do skip the prologue.
+
+2019-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * breakpoint.c (set_breakpoint_location_function): Remove
+       explicit_loc parameter.
+       (momentary_breakpoint_from_master): Update call to
+       set_breakpoint_location_function.
+       (add_location_to_breakpoint): Likewise.
+
+2019-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_features_from_gdbarch_info): Don't modify
+       required features based on default bfd type when no specific bfd
+       is present.
+
+2019-07-08  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * NEWS: Mention that GDB printf and eval commands can now print
+       C-style and Ada-style convenience var strings without
+       calling the inferior.
+       * printcmd.c (printf_c_string): Locally print GDB internal var
+       instead of transiting via the inferior.
+       (printf_wide_c_string): Likewise.
+
+2019-07-04  Alan Hayward  <alan.hayward@arm.com>
+
+       * symfile.c (symbol_file_command): Call solib_create_inferior_hook.
+
+2019-07-04  Tom Tromey  <tom@tromey.com>
+
+       PR tui/24724:
+       * tui/tui-winsource.c (tui_clear_source_content): Update.
+       (tui_source_window_base::set_is_exec_point_at): Fix comment.
+       (tui_update_breakpoint_info): Update.
+       (tui_set_exec_info_content): Update.
+       * tui/tui-source.c (tui_set_source_content_nil): Update.
+       * tui/tui-disasm.c (tui_set_disassem_content): Don't set
+       has_break.
+       * tui/tui-data.h (enum tui_bp_flag): New.
+       (tui_bp_flags): New enum flags type.
+       (struct tui_source_element) <break_mode>: Change type.  Rename
+       from has_break.
+       (TUI_BP_ENABLED, TUI_BP_DISABLED, TUI_BP_HIT)
+       (TUI_BP_CONDITIONAL, TUI_BP_HARDWARE): Don't define.  Now enum
+       constants.
+       * tui/tui-winsource.h: Fix comment.
+
+2019-07-04  Alan Hayward  <alan.hayward@arm.com>
+
+       * aarch32-linux-nat.h (VFP_REGS_SIZE): Remove define.
+       * aarch64-linux-nat.c (fetch_fpregs_from_thread)
+       (store_fpregs_to_thread)
+       (aarch64_linux_nat_target::read_description): Use ARM_VFP3_REGS_SIZE.
+       * arch/arm.h (IWMMXT_VEC_REGISTER_SIZE, ARM_CORE_REGS_SIZE)
+       (ARM_FP_REGS_SIZE, ARM_VFP2_REGS_SIZE, ARM_VFP3_REGS_SIZE)
+       (IWMMXT_REGS_SIZE): Add define.
+       * arm-linux-nat.c (IWMMXT_REGS_SIZE): Remove define.
+       (fetch_vfp_regs, store_vfp_regs)
+       (arm_linux_nat_target::read_description): Use ARM_VFP3_REGS_SIZE.
+       * arm-tdep.c (arm_register_g_packet_guesses): Use new defines.
+
+2019-07-04  Alan Hayward  <alan.hayward@arm.com>
+
+        * arch/arm-get-next-pcs.c (thumb_get_next_pcs_raw): Use ARM_
+        defines.
+        * arch/arm-linux.c (arm_linux_sigreturn_next_pc_offset): Likewise.
+        * arch/arm.h (INT_REGISTER_SIZE) Rename from...
+        (ARM_INT_REGISTER_SIZE): ...to this.
+        (ARM_FP_REGISTER_SIZE) (ARM_VFP_REGISTER_SIZE): Add define.
+        * arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE)
+        (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset)
+        (arm_linux_collect_gregset, supply_nwfpe_register)
+        (collect_nwfpe_register, arm_linux_collect_nwfpe): Use ARM_
+        defines.
+        * arm-linux-tdep.h (ARM_LINUX_SIZEOF_NWFPE, NWFPE_FPSR_OFFSET)
+        (NWFPE_FPCR_OFFSET, NWFPE_TAGS_OFFSET): Likewise
+        * arm-nbsd-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Likewise.
+        * arm-tdep.c (arm_push_dummy_call, arm_extract_return_value)
+        (arm_return_in_memory, arm_store_return_value)
+        (arm_get_longjmp_target, arm_register_g_packet_guesses)
+        (arm_record_ld_st_multiple): Likewise.
+        * arm-tdep.h (FP_REGISTER_SIZE, VFP_REGISTER_SIZE): Remove.
+        * arm-wince-tdep.c (ARM_WINCE_JB_ELEMENT_SIZE): Use ARM_ defines.
+
+2019-07-04  Alan Hayward  <alan.hayward@arm.com>
+
+       * aarch64-linux-tdep.c (aarch64_linux_init_abi): Use
+       AARCH64_DISPLACED_MODIFIED_INSNS.
+       * aarch64-tdep.c (struct aarch64_displaced_step_data)
+       (aarch64_displaced_step_copy_insn): Likewise.
+       * aarch64-tdep.h (DISPLACED_MODIFIED_INSNS): Rename from..
+       (AARCH64_DISPLACED_MODIFIED_INSNS): ...to this.
+       * arm-linux-tdep.c (arm_linux_cleanup_svc): Use
+       ARM_DISPLACED_MODIFIED_INSNS.
+       * arm-tdep.c (arm_gdbarch_init): Likewise.
+       * arm-tdep.h (DISPLACED_MODIFIED_INSNS): Rename from..
+       (ARM_DISPLACED_MODIFIED_INSNS): ...to this.
+       (struct arm_displaced_step_closure): Use
+       ARM_DISPLACED_MODIFIED_INSNS.
+
+2019-07-04  Alan Hayward  <alan.hayward@arm.com>
+
+       * features/Makefile: Remove unused xml files.
+       * features/aarch64.xml: Remove.
+       * features/i386/amd64-avx-avx512-linux.xml: Remove.
+       * features/i386/amd64-avx-avx512.xml: Remove.
+       * features/i386/amd64-avx-linux.xml: Remove.
+       * features/i386/amd64-avx-mpx-avx512-pku-linux.xml: Remove.
+       * features/i386/amd64-avx-mpx-avx512-pku.xml: Remove.
+       * features/i386/amd64-avx-mpx-linux.xml: Remove.
+       * features/i386/amd64-avx-mpx.xml: Remove.
+       * features/i386/amd64-avx.xml: Remove.
+       * features/i386/amd64-linux.xml: Remove.
+       * features/i386/amd64-mpx-linux.xml: Remove.
+       * features/i386/amd64-mpx.xml: Remove.
+       * features/i386/amd64.xml: Remove.
+       * features/i386/i386-avx-avx512-linux.xml: Remove.
+       * features/i386/i386-avx-avx512.xml: Remove.
+       * features/i386/i386-avx-linux.xml: Remove.
+       * features/i386/i386-avx-mpx-avx512-pku-linux.xml: Remove.
+       * features/i386/i386-avx-mpx-avx512-pku.xml: Remove.
+       * features/i386/i386-avx-mpx-linux.xml: Remove.
+       * features/i386/i386-avx-mpx.xml: Remove.
+       * features/i386/i386-avx.xml: Remove.
+       * features/i386/i386-linux.xml: Remove.
+       * features/i386/i386-mmx-linux.xml: Remove.
+       * features/i386/i386-mmx.xml: Remove.
+       * features/i386/i386-mpx-linux.xml: Remove.
+       * features/i386/i386-mpx.xml: Remove.
+       * features/i386/i386.xml: Remove.
+       * features/i386/x32-avx-avx512-linux.xml: Remove.
+       * features/i386/x32-avx-linux.xml: Remove.
+       * features/i386/x32-linux.xml: Remove.
+
+2019-07-04  Alan Hayward  <alan.hayward@arm.com>
+
+       * regformats/aarch64.dat: Remove.
+       * regformats/i386/amd64-avx-avx512-linux.dat: Remove.
+       * regformats/i386/amd64-avx-linux.dat: Remove.
+       * regformats/i386/amd64-avx-mpx-avx512-pku-linux.dat: Remove.
+       * regformats/i386/amd64-avx-mpx-linux.dat: Remove.
+       * regformats/i386/amd64-linux.dat: Remove.
+       * regformats/i386/amd64-mpx-linux.dat: Remove.
+       * regformats/i386/amd64.dat: Remove.
+       * regformats/i386/i386-avx-avx512-linux.dat: Remove.
+       * regformats/i386/i386-avx-linux.dat: Remove.
+       * regformats/i386/i386-avx-mpx-avx512-pku-linux.dat: Remove.
+       * regformats/i386/i386-avx-mpx-linux.dat: Remove.
+       * regformats/i386/i386-linux.dat: Remove.
+       * regformats/i386/i386-mmx-linux.dat: Remove.
+       * regformats/i386/i386-mpx-linux.dat: Remove.
+       * regformats/i386/i386.dat: Remove.
+       * regformats/i386/x32-avx-avx512-linux.dat: Remove.
+       * regformats/i386/x32-avx-linux.dat: Remove.
+       * regformats/i386/x32-linux.dat: Remove.
+
+2019-07-04  Alan Hayward  <alan.hayward@arm.com>
+
+       * aarch64-tdep.c: Remove xml self tests.
+       * amd64-linux-tdep.c: Likewise.
+       * amd64-tdep.c: Likewise.
+       * i386-linux-tdep.c: Likewise.
+       * i386-tdep.c: Likewise.
+
+2019-07-03  Pedro Alves  <palves@redhat.com>
+
+       PR cli/24732
+       * cli/cli-cmds.c (struct pipe_cmd_opts): New.
+       (pipe_cmd_option_defs): New.
+       (make_pipe_cmd_options_def_group): New.
+       (pipe_command): Use gdb::option::process_options.
+       (pipe_command_completer): New function.
+       (_initialize_cli_cmds): Install completer for "pipe" command.
+
+2019-07-03  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-option.c (union option_value) <string>: New field.
+       (struct option_def_and_value): Add ctor, move ctor, dtor and
+       use DISABLE_COPY_AND_ASSIGN.
+       (option_def_and_value::clear_value): New.
+       (parse_option, save_option_value_in_ctx, get_val_type_str)
+       (add_setshow_cmds_for_options): Handle var_string.
+       * cli-option.h (union option_def::var_address) <string>: New
+       field.
+       (struct string_option_def): New.
+       * maint-test-options.c (struct test_options_opts): Add default
+       ctor and use DISABLE_COPY_AND_ASSIGN.
+       <string_opt>: New field.
+       (test_options_opts::~test_options_opts): New.
+       (test_options_opts::dump): Also dump "-string".
+       (test_options_option_defs): Install "string.
+
+2019-07-03  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-option.c (parse_option) <var_enum>: Don't return an
+       option_value with a null enumeration.
+       (complete_options): Save the option values in the context.
+       (save_option_value_in_ctx): New, factored out from ...
+       (process_options): ... here.
+       * cli/cli-utils.c (get_ulongest): Don't advance PP until the end
+       of the function.
+       * maint-test-options.c (test_options_opts::dump): New, factored
+       out from ...
+       (maintenance_test_options_command_mode): ... here.
+       (maintenance_test_options_command_completion_result): Delete.
+       (maintenance_test_options_command_completion_text): Update
+       comment.
+       (maintenance_show_test_options_completion_result): Change
+       prototype.  Just print
+       maintenance_test_options_command_completion_text.
+       (save_completion_result): New.
+       (maintenance_test_options_completer_mode): Pass options context to
+       complete_options, and then save a dump.
+       (_initialize_maint_test_options): Use add_cmd to install "maint
+       show test-options-completion-result".
+
+2019-07-03  Pedro Alves  <palves@redhat.com>
+
+       * NEWS (New commands): Mention "with" and "maint with".
+       * cli/cli-cmds.c (with_command_1, with_command_completer_1)
+       (with_command, with_command_completer): New.
+       (pipe_command): Adjust to new repeat_previous
+       interface.
+       (_initialize_cli_cmds): Install the "with" command and its "w"
+       alias.
+       * cli/cli-cmds.h (with_command_1, with_command_completer_1): New
+       declarations.
+       * cli/cli-setshow.c (parse_cli_var_uinteger)
+       (parse_cli_var_zuinteger_unlimited, do_set_command): Handle empty
+       argument strings for all var_types.
+       (get_setshow_command_value_string): New, factored out from ...
+       (do_show_command): ... this.
+       * cli/cli-setshow.h: Include <string>.
+       (get_setshow_command_value_string): Declare.
+       * command.h (repeat_previous): Now returns const char *.  Adjust
+       comment.
+       * maint.c: Include "cli/cli-cmds.h".
+       (maintenance_with_cmd, maintenance_with_cmd_completer): New.
+       (_initialize_maint_cmds): Register the "maintenance with" command.
+       * top.c (repeat_previous): Move bits from pipe_command here:
+       Return the saved command line, if any; error out if there's no
+       command to relaunch.
+
+2019-07-03  Pedro Alves  <palves@redhat.com>
+
+       * NEWS (New commands): Mention "maint set/show test-settings"
+       instead of "maint test-settings".
+       * maint-test-settings.c (maintenance_test_settings_list): Delete.
+       (maintenance_test_settings_set_list): Rename to ...
+       (maintenance_set_test_settings_list): ... this.
+       (maintenance_test_settings_show_list): Rename to  ...
+       (maintenance_show_test_settings_list): ... this.
+       (maintenance_test_settings_cmd): Delete.
+       (maintenance_test_settings_set_cmd): ...
+       (maintenance_set_test_settings_cmd): ... this.
+       (maintenance_test_settings_show_cmd): ...
+       (maintenance_show_test_settings_cmd): ... this.
+       (maintenance_test_settings_show_value_cmd):
+       (maintenance_show_test_settings_value_cmd): ... this.
+       (_initialize_maint_test_settings): No longer install the "maint
+       test-settings" prefix command.  Rename "maint test-settings set"
+       to "maint set test-settings", and "maint test-settings show" to
+       "maint show test-settings".  Adjust all subcommands.
+
+2019-07-03  Pedro Alves  <palves@redhat.com>
+
+       * maint-test-settings.c: Fix file's intro comment.  Replace all
+       references to "test-options" with references to "test-settings",
+       in comments.
+
+2019-07-03  Pedro Alves  <palves@redhat.com>
+
+       * maint-test-settings.c (maintenance_test_settings_xxx)
+       (maintenance_test_settings_yyy, maintenance_test_settings_zzz):
+       New.
+       (maintenance_test_settings_enums): Use them.
+       (maintenance_test_settings_enum): Default to
+       maintenance_test_settings_xxx.
+       (_initialize_maint_test_settings): Initialize
+       MAINTENANCE_TEST_SETTINGS_FILENAME.
+
+2019-07-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.h (remove_breakpoints_inf): Change return type to
+       void, move function documentation here.
+       * breakpoint.c (remove_breakpoints_inf): Change return type to
+       void, move function documentation to header.
+
+2019-07-02  Pedro Alves  <palves@redhat.com>
+
+       * NEWS (Completion improvements): Mention "info threads".
+       * thread.c (struct info_threads_opts, info_threads_option_defs)
+       (make_info_threads_options_def_group): New.
+       (info_threads_command): Use gdb::option::process_options.
+       (info_threads_command_completer): New.
+       (_initialize_thread): Use gdb::option::build_help to build the
+       help text for "info threads".
+
+2019-07-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * defs.h (generic_load): Move from here...
+       * symfile.h (generic_load): ... to here.  Rename name parameter
+       to args.
+       * symfile.c (generic_load): Add comment.
+
+2019-07-01  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2read.c
+       (dw2_debug_names_iterator::find_vec_in_debug_names): Hoist
+       declaration of without_params.  Fix formatting.
+
+2019-07-01  Tom Tromey  <tromey@adacore.com>
+
+       * ada-exp.y (find_primitive_type): Update.
+       * ada-lang.h (ada_lookup_symbol): Update.
+       * ada-lang.c (ada_lookup_symbol): Remove "is_a_field_of_this"
+       parameter.
+       (ada_lookup_encoded_symbol, ada_lookup_symbol_nonlocal): Update.
+
+2019-06-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR breakpoints/24541
+       * gdbarch.c: Regenerate.
+       * gdbarch.h: Regenerate.
+       * gdbarch.sh: Add 'stap_adjust_register'.
+       * i386-tdep.c: Include '<unordered_set>'.
+       (i386_stap_adjust_register): New function.
+       (i386_elf_init_abi): Register 'i386_stap_adjust_register'.
+       * stap-probe.c (stap_parse_register_operand): Call
+       'gdbarch_stap_adjust_register'.
+
+2019-06-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR python/24742
+       https://bugzilla.redhat.com/show_bug.cgi?id=1723564
+       * python/python.c (do_start_initialization): Use 'xmalloc'
+       instead of 'PyMem_Malloc'.
+
+2019-06-28  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2read.c (partial_die_info::read): Prefer the linkage name
+       for Ada.
+
+2019-06-27  Tom Tromey  <tromey@adacore.com>
+
+       * arm-tdep.c (arm_objfile_data_key): Move lower.  Change type to
+       objfile_key.
+       (arm_find_mapping_symbol, arm_record_special_symbol)
+       (_initialize_arm_tdep): Update.
+       (arm_objfile_data_free): Remove.
+
+2019-06-27  Tom Tromey  <tromey@adacore.com>
+
+       * cp-valprint.c (cp_print_value_fields): Pass opts, not options,
+       to cp_print_static_field.
+
+2019-06-26  Tom Tromey  <tromey@adacore.com>
+
+       * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove.
+       * minsyms.h (lookup_minimal_symbol_solib_trampoline): Don't
+       declare.
+
+2019-06-26  Alan Hayward  <alan.hayward@arm.com>
+
+       * features/aarch64-core.c (create_feature_aarch64_core):
+       Regenerate.
+       * features/aarch64-core.xml: Add cpsr flags.
+
+2019-06-26  Alan Hayward  <alan.hayward@arm.com>
+
+       * arm-tdep.c (arm_gnu_triplet_regexp): New function.
+       (arm_gdbarch_init): Add arm_gnu_triplet_regexp.
+
 2019-06-25  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * arm-tdep.c (struct arm_per_objfile) <section_maps_sorted>: New
This page took 0.032989 seconds and 4 git commands to generate.