Remove relational operators from common/offset-type.h
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 4d068ee86ca273cb1c0ac45f4233d5ed2634f2a1..0207bec2787a1ca4ed6240c058d94095c3a5722e 100644 (file)
@@ -1,5 +1,159 @@
+2018-10-29  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * common/offset-type.h (DEFINE_OFFSET_REL_OP): Delete.
+       Adjust comments.
+
+2018-10-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * procfs.c: Include common/pathstuff.h.
+
+2018-10-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-linux-nat.c (riscv_linux_nat_target::fetch_registers):
+       Add missing braces.  No functional change.
+
+2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * macrocmd.c (info_macro_command): Use report_unrecognized_option_error
+       to report a bad option and fix indentation.
+       * demangle.c (demangle_command): Use report_unrecognized_option_error
+       to report a bad option and correctly report the bad option.
+
+2018-10-27  Tom Tromey  <tom@tromey.com>
+
+       PR cli/23364:
+       * darwin-nat.c (copied_shell): New global.
+       (may_have_sip): Rename from should_disable_startup_with_shell.
+       (copy_shell_to_cache, maybe_cache_shell): New functions.
+       (darwin_nat_target::create_inferior): Update.  Use
+       copied_shell.
+
+2018-10-27  Tom Tromey  <tom@tromey.com>
+
+       * unittests/scoped_fd-selftests.c (test_to_file): New function.
+       (run_tests): Call test_to_file.
+       * dwarf-index-write.c (write_psymtabs_to_index): Do not reopen
+       temporary files.
+       * common/scoped_fd.h (scoped_fd::to_file): New method.
+
+2018-10-27  Tom Tromey  <tom@tromey.com>
+
+       * unittests/scoped_mmap-selftests.c (test_normal): Use
+       gdb_mkostemp_cloexec.
+       * unittests/scoped_fd-selftests.c (test_destroy, test_release):
+       Use gdb_mkostemp_cloexec.
+       * gnulib/aclocal-m4-deps.mk, gnulib/aclocal.m4,
+       gnulib/config.in, gnulib/configure,
+       gnulib/import/Makefile.am, gnulib/import/Makefile.in,
+       gnulib/import/m4/gnulib-cache.m4,
+       gnulib/import/m4/gnulib-comp.m4: Update.
+       * gnulib/import/m4/mkostemp.m4: New file.
+       * gnulib/import/m4/mkstemp.m4: Remove.
+       * gnulib/import/mkostemp.c: New file.
+       * gnulib/import/mkstemp.m4: Remove.
+       * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Remove
+       mkstemp, add mkostemp.  Apply new patch.
+       * gnulib/import/stdlib.in.h: Apply patch.
+       * gnulib/patches/0002-mkostemp-mkostemps-Fix-compilation-error-in-C-mode-o.patch:
+       New file.
+       * dwarf-index-write.c (write_psymtabs_to_index): Use
+       gdb_mkostemp_cloexec.
+       * common/filestuff.h (gdb_mkostemp_cloexec): New function.
+
+2018-10-27  Tom Tromey  <tom@tromey.com>
+
+       * unittests/mkdir-recursive-selftests.c: New file.
+       * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+       unittests/mkdir-recursive-selftests.c.
+       * dwarf-index-cache.c (mkdir_recursive): Move to
+       common/filestuff.c.
+       (index_cache::store): Check return value of mkdir_recursive.
+       (create_dir_and_check, test_mkdir_recursive): Move to new file.
+       (_initialize_index_cache): Don't register test.
+       * common/filestuff.h (mkdir_recursive): Declare.
+       * common/filestuff.c (mkdir_recursive): Move from
+       dwarf-index-cache.c.  Return bool.
+
+2018-10-27  Tom Tromey  <tom@tromey.com>
+
+       * dwarf-index-write.c (write_psymtabs_to_index): Move
+       make_temp_filename to common/pathstuff.c.
+       * common/pathstuff.h (make_temp_filename): Declare.
+       * common/pathstuff.c (make_temp_filename): New function, moved
+       from dwarf-index-write.c.
+
+2018-10-27  Tom Tromey  <tom@tromey.com>
+
+       * procfs.c (procfs_target::create_inferior): Use get_shell.
+       * cli/cli-cmds.c (shell_escape): Use get_shell.
+       * windows-nat.c (windows_nat_target::create_inferior): Use
+       get_shell.
+       * common/pathstuff.c (get_shell): New function.
+       * nat/fork-inferior.c (SHELL_FILE, get_startup_shell): Remove.
+       (fork_inferior): Use get_shell.
+       * common/pathstuff.h (get_shell): Declare.
+
+2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * NEWS: Mention changes to 'info [args|functions|locals|variables]'
+
+2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * stack.c (print_variable_and_value_data): Add preg and treg.
+       (print_frame_local_vars): Add quiet, regexp and t_regexp arguments,
+       and update callers.
+       (print_frame_arg_vars): Likewise.
+       (prepare_reg): New function.
+       (info_locals_command): Extract info print args and use them.
+       (info_args_command): Likewise.
+       (_initialize_stack): Modify on-line help.
+       * symtab.c (treg_matches_sym_type_name): New function.
+       (search_symbols): New arg t_regexp.
+       (symtab_symbol_info): New args quiet, regexp, t_regexp.
+       (info_variables_command): Extract info print args and use them.
+       (info_functions_command): Likewise.
+       (info_types_command): Update call to symtab_symbol_info.
+       (_initialize_symtab): Modify on-line help.
+       * symtab.h (treg_matches_sym_type_name): New function.
+       (search_symbols): New t_regexp arg.
+
+2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * cli-utils.c (extract_arg_maybe_quoted): New function.
+       (extract_info_print_args): New function.
+       (info_print_args_help): New function.
+       (report_unrecognized_option_error): New function.
+       * cli-utils.h (extract_arg_maybe_quoted): New function.
+       (extract_info_print_args): New function.
+       (info_print_args_help): New function.
+       (report_unrecognized_option_error): New function.
+
+2018-10-26  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (recursively_compute_inclusions): Use std::vector.
+       (compute_compunit_symtab_includes): Update.
+       * symtab.h: (symtab_ptr): Remove typedef.  Don't define a VEC.
+       (compunit_symtab_ptr): Likewise.
+
+2018-10-26  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-tdep.c (fbsd_print_auxv_entry): Only use
+       default_print_auxv_entry for specific tag values.
+
+2018-10-26  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_FREEBSD_HWCAP2.
+
 2018-10-26  Jim Wilson  <jimw@sifive.com>
 
+       * riscv-linux-tdep.c: Include tramp-frame.h and trad-frame.h.
+       (riscv_linux_sigframe_init): Declare.
+       (RISCV_INST_LI_A7_SIGRETURN, RISCV_INT_ECALL): New.
+       (riscv_linux_sigframe): New.
+       (SIGFRAME_SIGINFO_SIZE, UCONTEXT_MCONTEXT_OFFSET): New.
+       (riscv_linux_sigframe_init): Define.
+       (riscv_linux_init_abi): Call tramp_frame_prepend_unwinder.
+
        * riscv-tdep.c (riscv_isa_xlen): Refer to riscv-tdep.h comment.
        (riscv_isa_flen): Likewise.  Drop static.
        * riscv-tdep.h (riscv_isa_xlen): Move riscv-tdep.c comment to here.
This page took 0.028585 seconds and 4 git commands to generate.