Simple -Wshadow=local fixes
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 790cd3b1eed0e1582306a7e95a3b234657446866..62840512ae34bc5f97109f5c00c19f20099eb1c9 100644 (file)
@@ -1,3 +1,796 @@
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       * ctf.c (SET_ARRAY_FIELD): Rename "u32".
+       * p-valprint.c (pascal_val_print): Split inner "i" variable.
+       * xtensa-tdep.c (xtensa_push_dummy_call): Declare "i" in loop
+       header.
+       * xstormy16-tdep.c (xstormy16_push_dummy_call): Declare "val" in
+       more inner scope.
+       * xcoffread.c (read_xcoff_symtab): Rename inner "symbol".
+       * varobj.c (varobj_update): Rename inner "newobj",
+       "type_changed".
+       * valprint.c (generic_emit_char): Rename inner "buf".
+       * valops.c (find_overload_match): Rename inner "temp".
+       (value_struct_elt_for_reference): Declare "v" in more inner
+       scope.
+       * v850-tdep.c (v850_push_dummy_call): Rename "len".
+       * unittests/array-view-selftests.c (run_tests): Rename inner
+       "vec".
+       * tui/tui-stack.c (tui_show_frame_info): Declare "i" in loop
+       header.
+       * tracepoint.c (merge_uploaded_trace_state_variables): Declare
+       "tsv" in more inner scope.
+       (print_one_static_tracepoint_marker): Rename inner
+       "tuple_emitter".
+       * tic6x-tdep.c (tic6x_analyze_prologue): Declare "inst" lower.
+       (tic6x_push_dummy_call): Don't redeclare "addr".
+       * target-float.c: Declare "dto" lower.
+       * symtab.c (lookup_local_symbol): Rename inner "sym".
+       (find_pc_sect_line): Rename inner "pc".
+       * stack.c (print_frame): Don't redeclare "gdbarch".
+       (return_command): Rename inner "gdbarch".
+       * s390-tdep.c (s390_prologue_frame_unwind_cache): Renam inner
+       "sp".
+       * rust-lang.c (rust_internal_print_type): Declare "i" in loop
+       header.
+       * rs6000-tdep.c (ppc_process_record): Rename inner "addr".
+       * riscv-tdep.c (riscv_push_dummy_call): Declare "info" in inner
+       scope.
+       * remote.c (remote_target::update_thread_list): Don't redeclare
+       "tp".
+       (remote_target::process_initial_stop_replies): Rename inner
+       "thread".
+       (remote_target::remote_parse_stop_reply): Don't redeclare "p".
+       (remote_target::wait_as): Don't redeclare "stop_reply".
+       (remote_target::get_thread_local_address): Rename inner
+       "result".
+       (remote_target::get_tib_address): Likewise.
+
+       * regcache.c (cooked_read_test): Rename "regnum".
+       * record-btrace.c (cmd_record_btrace_start): Rename inner
+       "exception".
+       * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Declare "i" in
+       loop header.
+       * ppc-linux-tdep.c (ppc_linux_syscall_record): Declare "i" in loop
+       header.
+       (ppu2spu_sniffer): Rename inner "buf".
+       * parse.c (operator_check_standard): Rename inner "type",
+       "objfile".
+       * p-valprint.c (pascal_val_print): Introduce new scope for
+       "low_bound", "high_bound".
+       * p-exp.y (yylex): Declare "i" in loop header.
+       * objfiles.c (objfile_relocate1): Declare "i" in loop header.
+       Lower declaration of "s".
+       * nios2-tdep.c (nios2_analyze_prologue): Declare "i" in loop
+       header.
+       (nios2_push_dummy_call): Rename "len".
+       * nat/linux-osdata.c (linux_xfer_osdata_cpus): Rename static
+       "buf".
+       (linux_xfer_osdata_fds, linux_xfer_osdata_shm)
+       (linux_xfer_osdata_sem, linux_xfer_osdata_msg)
+       (linux_xfer_osdata_modules): Likewise.
+       * mips-tdep.c (mips_eabi_push_dummy_call): Rename outer "len".
+       (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call)
+       (mips_o64_push_dummy_call): Likewise.
+       * microblaze-tdep.c (microblaze_analyze_prologue): Rename inner
+       "op".
+       * mi/mi-main.c (list_available_thread_groups): Rename inner
+       "tuple_emitter".
+       (mi_cmd_data_read_memory): Rename inner "opts".
+       * mi/mi-cmd-var.c (varobj_update_one): Rename inner
+       "tuple_emitter".
+       * mep-tdep.c (mep_analyze_prologue): Declare "rn" in loop header.
+       * mdebugread.c (parse_symbol): Rename inner "b".  Declare "f" in
+       more inner scope.
+       (parse_partial_symbols): Rename inner "pst", "p", "name"
+       * main.c (captured_main_1): Rename inner "i"s.
+       * machoread.c (macho_symfile_read_all_oso): Don't redeclare
+       "oso2".
+       * linux-tdep.c (linux_info_proc): Rename inner "filename".
+       * linespec.c (linespec_lexer_lex_string): Rename inner "p".
+       * infrun.c (handle_no_resumed): Don't redeclare "thread".
+       (handle_signal_stop): Rename inner "gdbarch".
+       (handle_command): Declare "signum" in loop header.
+       * ia64-tdep.c (ia64_pseudo_register_read): Don't redeclare
+       "status".
+       (examine_prologue): Rename inner "sol" and "sof".
+       (ia64_extract_return_value): Rename inner "val".  Declare another
+       "val" in a more inner scope.
+       * hppa-bsd-tdep.c (hppabsd_find_global_pointer): Declare "buf" in
+       inner scope.
+       * guile/scm-symbol.c (gdbscm_lookup_symbol): Rename inner
+       "except".
+       * findvar.c (default_read_var_value): Don't redeclare "addr".
+       * f-exp.y (yylex): Declare "i" in loop header.
+       * eval.c (evaluate_subexp_standard): Don't redeclare "type".
+       Rename inner "type", "expect_type".
+       (evaluate_subexp_for_sizeof): Rename inner "pc".
+       * elfread.c (elf_symfile_read): Rename inner "abfd".
+       * dwarf2read.c (read_debug_names_from_section): Don't redeclare
+       "bytes_read".
+       (process_psymtab_comp_unit_reader): Don't redeclare "gdbarch".
+       (add_partial_subprogram): Rename inner "lowpc" and "highpc".
+       (dwarf_decode_line_header): Rename inner "lh".
+       * dwarf2loc.c (dwarf2_compile_expr_to_ax): Don't redeclare
+       "offset".  Declare "i" in loop header.
+       (disassemble_dwarf_expression): Rename inner "addr_size".
+       * dwarf2expr.c (dwarf_expr_context::execute_stack_op): Rename
+       inner "result".
+       (dwarf_expr_context::execute_stack_op): Rename inner "offset".
+       * dwarf2-frame.c (decode_frame_entry_1): Rename inner "length"s.
+       * disasm.c (do_mixed_source_and_assembly_deprecated): Rename inner
+       "inner_list_emitter".
+       (do_mixed_source_and_assembly): Rename inner "tuple_emitter".
+       * disasm-selftests.c (print_one_insn_test): Wrap "bplen"
+       declaration in a block.
+       * csky-tdep.c (csky_analyze_prologue): Declare "offset" lower.
+       * cp-valprint.c (cp_print_value_fields): Don't redeclare
+       "obstack_final_size".
+       * cp-support.c (inspect_type): Declare "i" in loop header.
+       * compile/compile.c (compile_instance::insert_symbol_error):
+       Rename inner "e".
+       * common/agent.c (agent_run_command): Remove inner "ret"
+       declaration.
+       * coffread.c (coff_symfile_read): Rename inner "name".
+       (coff_symfile_read): Rename inner "abfd".
+       * cli/cli-utils.c (get_number_trailer): Rename inner "val".
+       * cli/cli-cmds.c (print_disassembly): Rename inner "low" and
+       "high".
+       * c-exp.y (lex_one_token): Move "len" declaration lower.
+       * breakpoint.c (create_longjmp_master_breakpoint): Don't redeclare
+       "gdbarch".
+       (create_exception_master_breakpoint): Likewise.  Don't redeclare
+       "b".
+       (watch_command_1): Declare "mark" later.
+       (clear_command): Don't shadow "a" or "b".
+       (delete_command): Rename inner "b".
+       (delete_trace_command): Likewise.
+       * arm-tdep.c (thumb_process_displaced_32bit_insn): Rename inner
+       "op".
+       (arm_gdbarch_init): Remove inner "e_flags".
+       * arch/arm-get-next-pcs.c (thumb_get_next_pcs_raw): Declare
+       "offset" in inner blocks.
+
+2018-10-04  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * dwarf-index-write.c (file_write): Don't write if the vector is
+       empty.
+
+2018-10-05  Tom de Vries  <tdevries@suse.de>
+
+       * python/py-progspace.c (pspy_solib_name): Fix type mismatch in
+       PyArg_ParseTuple call.
+
+2018-10-05  Tom de Vries  <tdevries@suse.de>
+
+       * python/py-record-btrace.c (recpy_bt_goto): Fix type mismatch in
+       PyArg_ParseTuple call.
+
+2018-10-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * psymtab.c (recursively_search_psymtabs): Reformat parameters
+       to avoid exceeding 80 characters per line limit.
+
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (syms_from_objfile_1, finish_new_objfile)
+       (reread_symbols): Update.
+       * complaints.h (clear_complaints): Remove argument.
+       * complaints.c (enum complaint_series): Remove.
+       (series): Remove global.
+       (complaint_internal): Update.
+       (clear_complaints): Remove argument.
+
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (symbol_file_add_with_addrs): Do not print "no
+       debugging symbols" message if there is a separate debug objfile.
+
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       PR cli/19551:
+       * symfile.c (symbol_file_add_with_addrs): Update output.
+       * psymtab.c (require_partial_symbols): Update output.
+
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       PR cli/22234:
+       * complaints.c: Emit \n.
+
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (symbol_file_add_with_addrs, symbol_file_clear)
+       (separate_debug_file_exists, find_separate_debug_file)
+       (add_symbol_file_command, reread_symbols, allocate_symtab)
+       (allocate_compunit_symtab): Use filtered printing, not
+       unfiltered.
+       * psymtab.c (require_partial_symbols, dump_psymtab)
+       (allocate_psymtab): Use filtered printing, not unfiltered.
+
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (complaint_internal): Correctly check complaint
+       count.
+
+2018-10-04  Tom Tromey  <tom@tromey.com>
+
+       * complaints.h (struct complaints): Remove declaration.
+       * complaints.c (clear_complaints): Remove an unused variable.
+
+2018-10-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * MAINTAINERS (Write After Approval): Add self.
+
+2018-10-03  Tom Tromey  <tom@tromey.com>
+
+       * guile/scm-value.c (gdbscm_value_to_string): Initialize
+       "buffer_contents".
+       * coffread.c (coff_symtab_read): Initialize "newobj".
+
+2018-10-03  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2read.c (read_func_scope): Remove struct keyword in
+       range-based for.
+
+2018-10-03  Tom Tromey  <tom@tromey.com>
+
+       * README: Mention --enable-ubsan.
+       * NEWS: Mention --enable-ubsan.
+       * acinclude.m4: Include sanitize.m4.
+       * configure: Rebuild.
+       * configure.ac: Call AM_GDB_UBSAN.
+       * sanitize.m4: New file.
+
+2018-10-03  Tom Tromey  <tom@tromey.com>
+
+       * expression.h (enum exp_opcode): Use uint8_t as base type.
+       * expprint.c (op_name): Handle invalid opcodes.
+
+2018-10-03  Tom Tromey  <tom@tromey.com>
+
+       * parse.c (prefixify_expression): Add assert.
+       (parse_exp_in_context_1): Throw exception if the expression is
+       empty.
+
+2018-10-03  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (read_signed_leb128): Work in ULONGEST.
+
+2018-10-03  Tom Tromey  <tom@tromey.com>
+
+       * c-exp.y (parse_number): Work in unsigned.  Remove casts.
+
+2018-10-03  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c (read_subrange_type): Make "negative_mask"
+       unsigned.
+
+2018-10-03  Tom Tromey  <tom@tromey.com>
+
+       * findvar.c (extract_integer): Do work in an unsigned type.
+
+2018-10-03  Tom Tromey  <tom@tromey.com>
+
+       * common/enum-flags.h (enum_flags::operator~): Add static assert.
+       * symfile-add-flags.h (enum symfile_add_flag): Use unsigned as
+       base type.
+       * objfile-flags.h (enum objfile_flag): Use unsigned as base type.
+       * gdbtypes.h (enum type_instance_flag_value): Use unsigned as base
+       type.
+       * c-lang.h (enum c_string_type_values): Use unsigned as base
+       type.
+       * btrace.h (enum btrace_thread_flag): Use unsigned as base type.
+
+2018-10-03  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2-frame.h (dwarf2_frame_state_reg_info)
+       <~dwarf2_frame_state_reg_info>: Update.
+       <dwarf2_frame_state_reg_info>: Update.
+       <alloc_regs>: Add assertion.  Update.
+       <reg>: Now a std::vector.
+       <num_regs>: Remove.
+       <swap>: Update.
+       * dwarf2-frame.c (dwarf2_restore_rule, execute_cfa_program)
+       (execute_cfa_program_test, dwarf2_frame_cache): Update.
+
+2018-10-03  Tom Tromey  <tom@tromey.com>
+
+       * namespace.c (add_using_directive): Don't pass NULL to memcpy.
+
+2018-10-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * tid-parse.c (tid_is_in_list): Fix wrong 'See' comment.
+
+2018-10-02  Tom Tromey  <tom@tromey.com>
+
+       * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Use pulongest.
+
+2018-10-02  John Darrington <john@darrington.wattle.id.au>
+
+       * NEWS: Mention changed commands.
+       * ser-uds.c: New file.
+       * configure.ac (SER_HARDWIRE): Add ser-uds.o.
+       * configure: Regenerate.
+       * Makefile.in: Add new file.
+       * serial.c (serial_open): Check if filename is a socket
+         and lookup the appropriate interface accordingly.
+
+2018-10-01  Alan Hayward  <alan.hayward@arm.com>
+
+       * aarch64-linux-tdep.c (AARCH64_SIGCONTEXT_RESERVED_OFFSET): Add
+       define.
+       (AARCH64_EXTRA_MAGIC): Likewise.
+       (AARCH64_FPSIMD_MAGIC): Likewise.
+       (AARCH64_SVE_MAGIC): Likewise.
+       (AARCH64_EXTRA_DATAP_OFFSET): Likewise.
+       (AARCH64_FPSIMD_FPSR_OFFSET): Likewise.
+       (AARCH64_FPSIMD_FPCR_OFFSET): Likewise.
+       (AARCH64_FPSIMD_V0_OFFSET): Likewise.
+       (AARCH64_FPSIMD_VREG_SIZE): Likewise.
+       (AARCH64_SVE_CONTEXT_VL_OFFSET): Likewise.
+       (AARCH64_SVE_CONTEXT_REGS_OFFSET): Likewise.
+       (AARCH64_SVE_CONTEXT_P_REGS_OFFSET): Likewise.
+       (AARCH64_SVE_CONTEXT_FFR_OFFSET): Likewise.
+       (AARCH64_SVE_CONTEXT_SIZE): Likewise.
+       (read_aarch64_ctx): Add function.
+       (aarch64_linux_sigframe_init): Detect FP registers.
+
+2018-10-01  Alan Hayward  <alan.hayward@arm.com>
+
+       * aarch64-tdep.c (AARCH64_Q0_REGNUM): Move to here.
+       (AARCH64_D0_REGNUM): Likewise.
+       (AARCH64_S0_REGNUM): Likewise.
+       (AARCH64_H0_REGNUM): Likewise.
+       (AARCH64_B0_REGNUM): Likewise.
+       (AARCH64_SVE_V0_REGNUM): Likewise.
+       * arch/aarch64.h (AARCH64_Q0_REGNUM): Move from here.
+       (AARCH64_D0_REGNUM): Likewise.
+       (AARCH64_S0_REGNUM): Likewise.
+       (AARCH64_H0_REGNUM): Likewise.
+       (AARCH64_B0_REGNUM): Likewise.
+       (AARCH64_SVE_V0_REGNUM): Likewise.
+
+2018-10-01  Gary Benson <gbenson@redhat.com>
+
+       * gdb_proc_service.h (gdb_prfpregset_t): Remove typedef.
+       * proc-service.c (ps_lgetfpregs, ps_lsetfpregs): Use
+       prfpregset_t instead of gdb_prfpregset_t.
+       * configure.ac (PRFPREGSET_T_BROKEN): Remove check.
+       * configure, config.in: Rebuild.
+
+2018-10-01  Gary Benson <gbenson@redhat.com>
+
+       * common/gdb_proc_service.h: New file, factored out from...
+       * gdb_proc_service.h: Moved common code to the above file.
+       * Makefile.in (HFILES_NO_SRCDIR): Add the above new file.
+
+2018-10-01  Gary Benson <gbenson@redhat.com>
+
+       * gdb_proc_service.h: Use elf_gregset_t if prgregset_t is
+       undefined.  Use elf_fpregset_t if prfpregset_t is undefined.
+
+2018-10-01  Gary Benson <gbenson@redhat.com>
+
+       * configure.ac: Check if sys/procfs.h defines elf_fpregset_t.
+       (AC_CHECK_HEADERS): Check for linux/elf.h.
+       * configure, config.in: Rebuild.
+       * gdb_proc_service.h: Include linux/elf.h if sys/procfs.h
+       doesn't define elf_fpregset_t.
+
+2018-10-01  Gary Benson <gbenson@redhat.com>
+
+       * gdb_proc_service.h: Whitespace change.
+
+2018-10-01  Tom Tromey  <tom@tromey.com>
+
+       * unittests/scoped_mmap-selftests.c: Don't check HAVE_UNISTD_H.
+       * unittests/scoped_fd-selftests.c: Don't check HAVE_UNISTD_H.
+       * common/scoped_fd.h: Don't check HAVE_UNISTD_H.
+
+2018-10-01  Tom Tromey  <tom@tromey.com>
+
+       * README: Minor change.
+
+2018-09-30  Pedro Alves  <palves@redhat.com>
+
+       * darwin-nat-info.c (darwin_debug_regions_recurse)
+       (info_mach_exceptions_command): Remove unused local variables.
+       * darwin-nat.c (darwin_decode_notify_message)
+       (darwin_nat_target::resume, darwin_nat_target::mourn_inferior)
+       (darwin_stop_inferior, darwin_setup_exceptions)
+       (darwin_nat_target::kill, darwin_attach_pid, darwin_ptrace_him)
+       (darwin_nat_target::attach, darwin_nat_target::detach)
+       (darwin_read_write_inferior, darwin_read_dyld_info): Remove unused
+       local variables.
+       * i386-darwin-nat.c (i386_darwin_dr_set): Remove unused local
+       variables.
+
+2018-09-29  Tom Tromey  <tom@tromey.com>
+
+       * README: Remove some leftover text.
+
+2018-09-29  Tom Tromey  <tom@tromey.com>
+
+       * PROBLEMS: Rewrite.
+       * README: Update.
+
+2018-09-28  John Baldwin  <jhb@FreeBSD.org>
+
+       * disasm-selftests.c (print_one_insn_test): Add bfd_arch_riscv to
+       case with explicit breakpoint kind.
+       * riscv-tdep.c (show_use_compressed_breakpoints): Remove
+       'additional_info' and related logic.
+       (riscv_debug_breakpoints): New variable.
+       (riscv_breakpoint_kind_from_pc): Use the length of the existing
+       instruction to determine the breakpoint kind.
+       (_initialize_riscv_tdep): Add 'set/show debug riscv breakpoints'
+       flag.  Update description of 'set/show riscv
+       use-compressed-breakpoints' flag.
+
+2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       (NEWS): Mention changes to frame related commands.
+       * cli/cli-decode.c (add_cmd_suppress_notification): New function.
+       (add_prefix_cmd_suppress_notification): New function.
+       (add_com_suppress_notification): Call
+       add_cmd_suppress_notification.
+       * command.h (add_cmd_suppress_notification): Declare.
+       (add_prefix_cmd_suppress_notification): Declare.
+       * mi/mi-cmd-stack.c: Add 'safe-ctype.h' include.
+       (parse_frame_specification): Moved from stack.c, with
+       simplification to handle a single argument.
+       (mi_cmd_stack_select_frame): Use parse_frame_specification, the
+       switch to the selected frame.  Add a header comment.
+       * stack.c: Remove 'safe-ctype.h' include.
+       (find_frame_for_function): Add declaration.
+       (find_frame_for_address): New function.
+       (parse_frame_specification): Moved into mi/mi-cmd-stack.c.
+       (frame_selection_by_function_completer): New function.
+       (info_frame_command): Rename to...
+       (info_frame_command_core): ...this, and update parameter types.
+       (select_frame_command): Rename to...
+       (select_frame_command_core): ...this, and update parameter types.
+       (frame_command): Rename to...
+       (frame_command_core): ...this, and update parameter types.
+       (class frame_command_helper): New class to wrap implementations of
+       frame related sub-commands.
+       (frame_apply_cmd_list): New static global.
+       (frame_cmd_list): Make static.
+       (select_frame_cmd_list): New global for sub-commands.
+       (info_frame_cmd_list): New global for sub-commands.
+       (_initialize_stack): Register sub-commands for 'frame',
+       'select-frame', and 'info frame'.  Update 'frame apply' commands
+       to use frame_apply_cmd_list.  Move function local static
+       frame_apply_list to file static frame_apply_cmd_list for
+       consistency.
+       * stack.h (select_frame_command): Delete declarationn.
+       (select_frame_for_mi): Declare new function.
+
+2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_insn::decode): Decode c.lui.
+       (riscv_scan_prologue): Split handling of AUIPC, LUI, ADD, ADDI,
+       and NOP.
+
+2018-09-26  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * elf32-nds32.c (elf32_nds32_allocate_dynrelocs): Remove.
+
+2018-09-26  Tom Tromey  <tom@tromey.com>
+
+       * valops.c (auto_abandon): Remove dead code.
+
+2018-09-26  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (WIN_HEIGHT_USAGE): Remove extra ">"s.
+
+2018-09-24  Tom Tromey  <tom@tromey.com>
+
+       * common/pathstuff.c (get_standard_cache_dir): Make
+       "xdg_cache_home" and "home" const.
+       * top.c (init_history): Make "tmpenv" const.
+       * main.c (get_init_files): Make "homedir" const.
+
+2018-09-23  Tom Tromey  <tom@tromey.com>
+
+       PR python/18852:
+       * python/py-param.c (get_set_value): Use gdbpy_handle_exception.
+
+2018-09-23  Tom Tromey  <tom@tromey.com>
+
+       * python/py-function.c (fnpy_call): Use gdbpy_handle_exception.
+       * python/py-cmd.c (cmdpy_function): Use gdbpy_handle_exception.
+       * python/python-internal.h (gdbpy_handle_exception): Declare.
+       * python/py-utils.c (gdbpy_handle_exception): New function.
+
+2018-09-23  Tom Tromey  <tom@tromey.com>
+
+       PR python/17284:
+       * python/py-type.c (typy_template_argument): Check for negative
+       argument number.
+
+2018-09-23  Tom Tromey  <tom@tromey.com>
+
+       PR python/14062:
+       * python/python.c (gdbpy_run_events): Do not ignore exceptions.
+
+2018-09-23  Tom Tromey  <tom@tromey.com>
+
+       PR python/18170:
+       * python/py-value.c (valpy_int): Allow conversion from pointer
+       type.
+
+2018-09-23  Tom Tromey  <tom@tromey.com>
+
+       PR python/20126:
+       * python/py-value.c (valpy_int): Respect type sign.
+
+2018-09-23  Tom Tromey  <tom@tromey.com>
+
+       PR python/18352;
+       * python/py-value.c (valpy_float): Allow conversions from int or
+       char.
+       (valpy_int, valpy_long): Allow conversions from float.
+
+2018-09-23  Tom Tromey  <tom@tromey.com>
+
+       * ctf.c (ctf_start): Use gdb_fopen_cloexec.
+       * common/scoped_mmap.c (mmap_file): Use gdb_open_cloexec.
+
+2018-09-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * amd64-sol2-tdep.c (amd64_sol2_sigtramp_p): Also recognize
+       __sighndlr.
+       * i386-sol2-tdep.c (i386_sol2_sigtramp_p): Likewise.
+
+2018-08-02  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * windows-nat.c (windows_nat_target::wait): Remove a spurious
+       target_terminal::ours().
+
+2018-09-23  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * aarch64-linux-tdep.c (aarch64_linux_supply_sve_regset): Change type
+       of vl to ULONGEST.
+
+2018-09-21  Yacov Simhony  <ysimhony@gmail.com>
+
+       * breakpoint.c (update_inserted_breakpoint_locations): Remove
+       redundant condition.
+
+2018-09-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * proc-utils.h (PROC_CTL_WORD_TYPE): Remove.
+
+       * procfs.c: Don't check for PR_MODEL_NATIVE definition.
+       * sparc-sol2-nat.c: Likewise.  Remove Linux, __arch64__ references.
+       * sol-thread.c (ps_pdmodel): Don't guard definition.
+
+       * procfs.c: Fix formatting.
+
+       * procfs.c (sysset_t_alloc): Remove.
+       (create_procinfo): Use XNEW instead of sysset_t_alloc.
+       (procfs_debug_inferior): Likewise.
+       (procfs_set_exec_trap): Likewise.
+       (proc_set_traced_sysentry): Don't allocate argp dynamically.
+       (proc_set_traced_sysexit): Likewise.
+
+       * procfs.c (create_procinfo): Use xsnprintf to fix ARI warning.
+       (dead_procinfo): Likewise.
+       (proc_warn): Likewise.
+       (proc_error): Likewise.
+       (proc_get_LDT_entry): Likewise.
+       (do_attach): Likewise.
+       (procfs_target::pid_to_str): Likewise.
+       (iterate_over_mappings): Likewise.
+
+       * procfs.c (create_procinfo): Fix ARI warning.
+       (proc_get_status): Likewise.
+       (proc_stop_process): Likewise.
+       (proc_run_process): Likewise.
+       (proc_kill): Likewise.
+       (proc_get_LDT_entry): Likewise.
+       (procfs_find_LDT_entry): Likewise.
+       (proc_update_threads): Likewise.
+       (proc_iterate_over_threads): Likewise.
+       (do_attach): Likewise.
+       (procfs_xfer_memory): Likewise.
+       (invalidate_cache): Likewise.
+       (procfs_target::resume): Likewise.
+       (procfs_init_inferior): Likewise.
+       (procfs_set_exec_trap): Likewise.
+       (procfs_target::thread_alive): Likewise.
+       (procfs_target::pid_to_exec_file): Likewise.
+       (iterate_over_mappings): Likewise.
+       (procfs_target::make_corefile_notes): Likewise.
+       * sol-thread.c (sol_thread_target::thread_alive): Likewise.
+
+       * procfs.c (procfs_find_LDT_entry): Silence ARI warning.
+       (procfs_find_LDT_entry): Likewise.
+       * sol-thread.c (ps_lgetLDT): Likewise.
+
+2018-09-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR tdep/17903
+       * procfs.c (procfs_target): Declare pid_to_exec_file.
+       (procfs_target::pid_to_exec_file): New.
+
+2018-09-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * auxv.c (default_print_auxv_entry): Reflect AT_SUN_CAP_HW1
+       renaming.
+       Handle AT_SUN_EMULATOR, AT_SUN_BRANDNAME, AT_SUN_BRAND_AUX1,
+       AT_SUN_BRAND_AUX2, AT_SUN_BRAND_AUX3, AT_SUN_CAP_HW2.
+
+2018-09-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * i386-v4-nat.c (regmap, supply_gregset, fill_gregset)
+       (supply_fpregset, fill_fpregset): Move ...
+       * i386-sol2-nat.c [PR_MODEL_NATIVE != PR_MODEL_LP64]: ... here.
+       Remove HAVE_GREGSET_T, HAVE_FPREGET_T guards.
+       Remove references to ioctl-based procfs.
+       Include <sys/reg.h>.
+       Remove PR_MODEL_NATIVE guards.
+       * configure.nat <sol2, i386> (NATDEPFILES): Remove i386-v4-nat.o.
+       * Makefile.in (ALLDEPFILES): Remove i386-v4-nat.c.
+
+2018-09-19  Xavier Roirand  <roirand@adacore.com>
+
+       PR gdb/20981:
+       * solib-darwin.c (darwin_get_dyld_bfd): New function.
+       (darwin_solib_get_all_image_info_addr_at_init): Update call.
+       (darwin_solib_create_inferior_hook): Handle unrelocated dyld.
+
+2018-09-19  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-tdep.c (fbsd_print_sockaddr_in): Style fix.
+       (fbsd_print_sockaddr_in6): Likewise.
+
+2018-09-19  Richard Bunt  <richard.bunt@arm.com>
+           Chris January  <chris.january@arm.com>
+
+       * eval.c (skip_undetermined_arglist): Skip argument list helper.
+       (evaluate_subexp_standard): Return a dummy type when
+       honoring EVAL_SKIP in OP_VAR_VALUE and handle skipping in the
+       OP_F77_UNDETERMINED_ARGLIST case.
+       * expression.h (enum noside): Update comment.
+
+2018-09-19  George Vasick <george.vasick@oracle.com>
+
+       * solib-svr4.c (svr4_same_1): Also handle amd64 ld.so.1.
+
+2018-09-19  Stefan Teleman <stefan.teleman@oracle.com>
+           April Chin <april.chin@oracle.com>
+           Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * procfs.c (MAX_PROC_NAME_SIZE): Allow for 6-digit PID_MAX and
+       uint_t lwpid_t.
+       (create_procinfo): Print pids in /proc without leading zeros.
+
+2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-tdep.c (nios2_gcc_target_options): New.
+       (nios2_gdb_arch_init): Install new hook.
+
+2018-09-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * patches/0001-Fix-PR-gdb-23558-Use-system-s-getcwd-when-cross-comp.patch:
+       New file.
+       * update-gnulib.sh: Apply patch.
+       * configure: Re-generate.
+
+2018-09-18  John Baldwin  <jhb@FreeBSD.org>
+
+       * infcmd.c (_initialize_infcmd): Remove "running" from "info proc"
+       description.  Make "info proc" command descriptions more
+       consistent.
+
+2018-09-18  John Baldwin  <jhb@FreeBSD.org>
+
+       * NEWS: Mention 'info proc files' command.
+
+2018-09-18  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c (fbsd_nat_target::info_proc): List open file
+       descriptors for IP_FILES and IP_ALL.
+
+2018-09-18  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-tdep.c (KF_FLAGS, KF_OFFSET, KF_VNODE_TYPE, KF_SOCK_DOMAIN)
+       (KF_SOCK_TYPE, KF_SOCK_PROTOCOL, KF_SA_LOCAL, KF_SA_PEER)
+       (KINFO_FILE_TYPE_SOCKET, KINFO_FILE_TYPE_PIPE)
+       (KINFO_FILE_TYPE_FIFO, KINFO_FILE_TYPE_KQUEUE)
+       (KINFO_FILE_TYPE_CRYPTO, KINFO_FILE_TYPE_MQUEUE)
+       (KINFO_FILE_TYPE_SHM, KINFO_FILE_TYPE_SEM, KINFO_FILE_TYPE_PTS)
+       (KINFO_FILE_TYPE_PROCDESC, KINFO_FILE_FD_TYPE_ROOT)
+       (KINFO_FILE_FD_TYPE_JAIL, KINFO_FILE_FD_TYPE_TRACE)
+       (KINFO_FILE_FD_TYPE_CTTY, KINFO_FILE_FLAG_READ)
+       (KINFO_FILE_FLAG_WRITE, KINFO_FILE_FLAG_APPEND)
+       (KINFO_FILE_FLAG_ASYNC, KINFO_FILE_FLAG_FSYNC)
+       (KINFO_FILE_FLAG_NONBLOCK, KINFO_FILE_FLAG_DIRECT)
+       (KINFO_FILE_FLAG_HASLOCK, KINFO_FILE_FLAG_EXEC)
+       (KINFO_FILE_VTYPE_VREG, KINFO_FILE_VTYPE_VDIR)
+       (KINFO_FILE_VTYPE_VCHR, KINFO_FILE_VTYPE_VLNK)
+       (KINFO_FILE_VTYPE_VSOCK, KINFO_FILE_VTYPE_VFIFO, FBSD_AF_UNIX)
+       (FBSD_AF_INET, FBSD_AF_INET6, FBSD_SOCK_STREAM, FBSD_SOCK_DGRAM)
+       (FBSD_SOCK_SEQPACKET, FBSD_IPPROTO_ICMP, FBSD_IPPROTO_TCP)
+       (FBSD_IPPROTO_UDP, FBSD_IPPROTO_SCTP): New defines.
+       (struct fbsd_sockaddr_in, struct fbsd_sockaddr_in6)
+       (struct fbsd_sockaddr_un): New types.
+       (fbsd_file_fd, fbsd_file_type, fbsd_file_flags, fbsd_ipproto)
+       (fbsd_print_sockaddr_in, fbsd_print_sockaddr_in6)
+       (fbsd_info_proc_files_header, fbsd_info_proc_files_entry)
+       (fbsd_core_info_proc_files): New functions.
+       (fbsd_core_info_proc): List open file descriptors for IP_FILES and
+       IP_ALL.
+       * fbsd-tdep.h (fbsd_info_proc_files_header)
+       (fbsd_info_proc_files_entry): New.
+
+2018-09-18  John Baldwin  <jhb@FreeBSD.org>
+
+       * defs.h (enum info_proc_what) [IP_FILES]: New value.
+       * infcmd.c (info_proc_cmd_files): New function.
+       (_initialize_infcmd): Register 'info proc files' command.
+
+2018-09-18  John Baldwin  <jhb@FreeBSD.org>
+
+       * gnulib/aclocal-m4-deps.mk: Re-generate.
+       * gnulib/aclocal.m4: Re-generate.
+       * gnulib/config.in: Re-generate.
+       * gnulib/configure: Re-generate.
+       * gnulib/import/Makefile.am: Re-generate.
+       * gnulib/import/Makefile.in: Re-generate.
+       * gnulib/import/m4/gnulib-cache.m4: Re-generate.
+       * gnulib/import/m4/gnulib-comp.m4: Re-generate.
+       * gnulib/import/arpa_inet.in.h: New file.
+       * gnulib/import/inet_ntop.c: New file.
+       * gnulib/import/m4/arpa_inet_h.m4: New file.
+       * gnulib/import/m4/inet_ntop.m4: New file.
+       * gnulib/import/m4/netinet_in_h.m4: New file.
+       * gnulib/import/m4/socklen.m4: New file.
+       * gnulib/import/m4/sockpfaf.m4: New file.
+       * gnulib/import/m4/stdalign.m4: New file.
+       * gnulib/import/m4/sys_uio_h.m4: New file.
+       * gnulib/import/netinet_in.in.h: New file.
+       * gnulib/import/stdalign.in.h: New file.
+       * gnulib/import/sys_socket.c: New file.
+       * gnulib/import/sys_socket.in.h: New file.
+       * gnulib/import/sys_uio.in.h: New file.
+       * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add inet_ntop
+       module.
+
+2018-09-18  John Baldwin  <jhb@FreeBSD.org>
+
+       * gnulib/aclocal-m4-deps.mk: New file.
+       * gnulib/update-gnulib.sh: Generate "aclocal-m4-deps.mk"
+       deterministically.
+
+2018-09-18  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-tdep.c (fbsd_core_vnode_path): Use KF_PATH instead of
+       KVE_PATH.
+
+2018-09-18  Tom Tromey  <tom@tromey.com>
+
+       * compile/compile-object-load.c (struct
+       link_hash_table_cleanup_data): Add constructor and destructor.
+       Use DISABLE_COPY_AND_ASSIGN.
+       (~link_hash_table_cleanup_data): Rename from
+       link_hash_table_free.  Now a destructor.
+       (copy_sections): Use gdb::unique_xmalloc_ptr.  Remove cleanups.
+
+2018-09-18  Tom Tromey  <tom@tromey.com>
+
+       * compile/compile-object-run.c (do_module_cleanup): Use delete.
+       * compile/compile-object-load.c (struct munmap_list): Move to
+       header file.
+       (munmap_list::add): Rename from munmap_list_add; rewrite.
+       (munmap_list::~munmap_list): Rename from munmap_list_free.
+       (munmap_listp_free_cleanup): Remove.
+       (compile_object_load): Update.
+       * compile/compile-object-load.h (struct munmap_list): Move from
+       compile-object-load.c.  Rewrite.
+
 2018-09-18  Alan Hayward  <alan.hayward@arm.com>
 
        * aarch64-tdep.c (pass_in_v): Use register size.
 
        Update copyright year range in all GDB files.
 
-2018-01-01  Joel Brobecker  <brobecker@adacore.com>
+2018-01-01, 18  Joel Brobecker  <brobecker@adacore.com>
 
        * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
        and gdb/testsuite/gdb.base/step-line.c.
This page took 0.034776 seconds and 4 git commands to generate.