+
+ * cp-namespace.c (cp_lookup_symbol_via_imports): Fix uninitialized
+ variable warning with some compilers.
+
+
+ * arm-linux-nat.c (arm_linux_get_hwbp_type): Capitalize "type"
+ in comment. Replace "rw" with "type".
+ (arm_linux_remove_watchpoint): Change type of "rw" to
+ "enum target_hw_bp_type".
+
+
+ * alpha-mdebug-tdep.c (find_proc_desc): Update call to
+ lookup_symbol.
+ * ft32-tdep.c (ft32_skip_prologue): Likewise.
+ * moxie-tdep.c (moxie_skip_prologue): Likewise.
+ * mt-tdep.c (mt_skip_prologue): Likewise.
+ * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
+
+
+ * ada-exp.y (write_object_renaming): Replace struct
+ ada_symbol_info with struct block_symbol. Update field
+ references accordingly.
+ (block_lookup, select_possible_type_sym): Likewise.
+ (find_primitive_type): Likewise. Also update call to
+ ada_lookup_symbol to extract the symbol itself.
+ (write_var_or_type, write_name_assoc): Likewise.
+ * ada-lang.h (struct ada_symbol_info): Remove.
+ (ada_lookup_symbol_list): Replace struct ada_symbol_info with
+ struct block_symbol.
+ (ada_lookup_encoded_symbol, user_select_syms): Likewise.
+ (ada_lookup_symbol): Return struct block_symbol instead of a
+ mere symbol.
+ * ada-lang.c (defns_collected): Replace struct ada_symbol_info
+ with struct block_symbol.
+ (resolve_subexp, ada_resolve_function, sort_choices,
+ user_select_syms, is_nonfunction, add_defn_to_vec,
+ num_defns_collected, defns_collected,
+ symbols_are_identical_enums, remove_extra_symbols,
+ remove_irrelevant_renamings, add_lookup_symbol_list_worker,
+ ada_lookup_symbol_list, ada_iterate_over_symbols,
+ ada_lookup_encoded_symbol, get_var_value): Likewise.
+ (ada_lookup_symbol): Return a block_symbol instead of a mere
+ symbol. Replace struct ada_symbol_info with struct
+ block_symbol.
+ (ada_lookup_symbol_nonlocal): Likewise.
+ (standard_lookup): Make block passing explicit through
+ lookup_symbol_in_language.
+ * ada-tasks.c (get_tcb_types_info): Update the calls to
+ lookup_symbol_in_language to extract the mere symbol out of the
+ returned value.
+ (ada_tasks_inferior_data_sniffer): Likewise.
+ * ax-gdb.c (gen_static_field): Likewise for the call to
+ lookup_symbol.
+ (gen_maybe_namespace_elt): Deal with struct block_symbol from
+ lookup functions.
+ (gen_expr): Likewise.
+ * c-exp.y: Likewise. Remove uses of block_found.
+ (lex_one_token, classify_inner_name, c_print_token): Likewise.
+ (classify_name): Likewise. Rename the "sym" local variable to
+ "bsym".
+ * c-valprint.c (print_unpacked_pointer): Likewise.
+ * compile/compile-c-symbols.c (convert_symbol_sym): Promote the
+ "sym" parameter from struct symbol * to struct block_symbol.
+ Use it to remove uses of block_found. Deal with struct
+ block_symbol from lookup functions.
+ (gcc_convert_symbol): Likewise. Update the call to
+ convert_symbol_sym.
+ * compile/compile-object-load.c (compile_object_load): Deal with
+ struct block_symbol from lookup functions.
+ * cp-namespace.c (cp_lookup_nested_symbol_1,
+ cp_lookup_nested_symbol, cp_lookup_bare_symbol,
+ cp_search_static_and_baseclasses,
+ cp_lookup_symbol_in_namespace, cp_lookup_symbol_via_imports,
+ cp_lookup_symbol_imports_or_template,
+ cp_lookup_symbol_via_all_imports, cp_lookup_symbol_namespace,
+ lookup_namespace_scope, cp_lookup_nonlocal,
+ find_symbol_in_baseclass): Return struct block_symbol instead of
+ mere symbols and deal with struct block_symbol from lookup
+ functions.
+ * cp-support.c (inspect_type, replace_typedefs,
+ cp_lookup_rtti_type): Deal with struct block_symbol from
+ lookup functions.
+ * cp-support.h (cp_lookup_symbol_nonlocal,
+ cp_lookup_symbol_from_namespace,
+ cp_lookup_symbol_imports_or_template, cp_lookup_nested_symbol):
+ Return struct block_symbol instead of mere symbols.
+ * d-exp.y (d_type_from_name, d_module_from_name, push_variable,
+ push_module_name):
+ Deal with struct block_symbol from lookup functions. Remove
+ uses of block_found.
+ * eval.c (evaluate_subexp_standard): Update call to
+ cp_lookup_symbol_namespace.
+ * f-exp.y: Deal with struct block_symbol from lookup functions.
+ Remove uses of block_found.
+ (yylex): Likewise.
+ * gdbtypes.c (lookup_typename, lookup_struct, lookup_union,
+ lookup_enum, lookup_template_type, check_typedef): Deal with
+ struct block_symbol from lookup functions.
+ * guile/scm-frame.c (gdbscm_frame_read_var): Likewise.
+ * guile/scm-symbol.c (gdbscm_lookup_symbol): Likewise.
+ (gdbscm_lookup_global_symbol): Likewise.
+ * gnu-v3-abi.c (gnuv3_get_typeid_type): Likewise.
+ * go-exp.y: Likewise. Remove uses of block_found.
+ (package_name_p, classify_packaged_name, classify_name):
+ Likewise.
+ * infrun.c (insert_exception_resume_breakpoint): Likewise.
+ * jv-exp.y (push_variable): Likewise.
+ * jv-lang.c (java_lookup_class, get_java_object_type): Likewise.
+ * language.c (language_bool_type): Likewise.
+ * language.h (struct language_defn): Update
+ la_lookup_symbol_nonlocal to return a struct block_symbol rather
+ than a mere symbol.
+ * linespec.c (find_label_symbols): Deal with struct block_symbol
+ from lookup functions.
+ * m2-exp.y: Likewise. Remove uses of block_found.
+ (yylex): Likewise.
+ * mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
+ * objc-lang.c (lookup_struct_typedef, find_imps): Likewise.
+ * p-exp.y: Likewise. Remove uses of block_found.
+ (yylex): Likewise.
+ * p-valprint.c (pascal_val_print): Likewise.
+ * parse.c (write_dollar_variable): Likewise. Remove uses of
+ block_found.
+ * parser-defs.h (struct symtoken): Turn the SYM field into a
+ struct block_symbol.
+ * printcmd.c (address_info): Deal with struct block_symbol from
+ lookup functions.
+ * python/py-frame.c (frapy_read_var): Likewise.
+ * python/py-symbol.c (gdbpy_lookup_symbol,
+ gdbpy_lookup_global_symbol): Likewise.
+ * skip.c (skip_function_command): Likewise.
+ * solib-darwin.c (darwin_lookup_lib_symbol): Return a struct
+ block_symbol instead of a mere symbol.
+ * solib-spu.c (spu_lookup_lib_symbol): Likewise.
+ * solib-svr4.c (elf_lookup_lib_symbol): Likewise.
+ * solib.c (solib_global_lookup): Likewise.
+ * solist.h (solib_global_lookup): Likewise.
+ (struct target_so_ops): Update lookup_lib_global_symbol to
+ return a struct block_symbol rather than a mere symbol.
+ * source.c (select_source_symtab): Deal with struct block_symbol
+ from lookup functions.
+ * stack.c (print_frame_args, iterate_over_block_arg_vars):
+ Likewise.
+ * symfile.c (set_initial_language): Likewise.
+ * symtab.c (SYMBOL_LOOKUP_FAILED): Turn into a struct
+ block_symbol.
+ (SYMBOL_LOOKUP_FAILED_P): New predicate as a macro.
+ (struct symbol_cache_slot): Turn the FOUND field into a struct
+ block_symbol.
+ (block_found): Remove.
+ (eq_symbol_entry): Update to deal with struct block_symbol in
+ cache slots.
+ (symbol_cache_lookup): Return a struct block_symbol rather than
+ a mere symbol.
+ (symbol_cache_mark_found): Add a BLOCK parameter to fill
+ appropriately the cache slots. Update callers.
+ (symbol_cache_dump): Update cache slots handling to the type
+ change.
+ (lookup_symbol_in_language, lookup_symbol, lookup_language_this,
+ lookup_symbol_aux, lookup_local_symbol,
+ lookup_symbol_in_objfile, lookup_global_symbol_from_objfile,
+ lookup_symbol_in_objfile_symtabs,
+ lookup_symbol_in_objfile_from_linkage_name,
+ lookup_symbol_via_quick_fns, basic_lookup_symbol_nonlocal,
+ lookup_symbol_in_static_block, lookup_static_symbol,
+ lookup_global_symbol):
+ Return a struct block_symbol rather than a mere symbol. Deal
+ with struct block_symbol from other lookup functions. Remove
+ uses of block_found.
+ (lookup_symbol_in_block): Remove uses of block_found.
+ (struct global_sym_lookup_data): Turn the RESULT field into a
+ struct block_symbol.
+ (lookup_symbol_global_iterator_cb): Update references to the
+ RESULT field.
+ (search_symbols): Deal with struct block_symbol from lookup
+ functions.
+ * symtab.h (struct block_symbol): New structure.
+ (block_found): Remove.
+ (lookup_symbol_in_language, lookup_symbol,
+ basic_lookup_symbol_nonlocal, lookup_symbol_in_static_block,
+ lookup_static_symbol, lookup_global_symbol, lookup_language_this,
+ lookup_global_symbol_from_objfile): Return a struct block_symbol
+ rather than just a mere symbol. Update comments to remove
+ mentions of block_found.
+ * valops.c (find_function_in_inferior,
+ value_struct_elt_for_reference, value_maybe_namespace_elt,
+ value_of_this): Deal with struct block_symbol from lookup
+ functions.
+ * value.c (value_static_field, value_fn_field): Likewise.
+
+
+ * remote-m32r-sdi.c (m32r_remove_watchpoint): Use enum type
+ instead of integer.
+
+
+ * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Use enum
+ type or value instead of integer.
+ (aarch64_linux_insert_watchpoint): Likewise.
+ (aarch64_linux_remove_watchpoint): Likewise.
+ * ada-lang.c (ada_op_print_tab): Likewise.
+ * amd64-linux-tdep.c (amd64_canonicalize_syscall): Likewise.
+ (amd64_linux_syscall_record_common): Likewise.
+ * arch-utils.c (target_byte_order_user): Likewise.
+ (default_byte_order): Likewise.
+ * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Likewise.
+ (arm_linux_get_hwbp_type): Likewise.
+ (arm_linux_hw_watchpoint_initialize): Likewise.
+ (arm_linux_insert_watchpoint): Likewise.
+ * arm-linux-tdep.c (arm_canonicalize_syscall): Likewise.
+ (arm_linux_syscall_record): Likewise.
+ * breakpoint.c (update_watchpoint): Likewise.
+ (breakpoint_here_p): Likewise.
+ (bpstat_print): Likewise.
+ (enable_breakpoint_disp): Likewise.
+ * c-lang.c (c_op_print_tab): Likewise.
+ * cli/cli-decode.c (add_info_alias): Likewise.
+ * d-lang.c (d_op_print_tab): Likewise.
+ * eval.c (evaluate_subexp_standard): Likewise.
+ * f-exp.y (dot_ops): Likewise.
+ (f77_keywords): Likewise.
+ * f-lang.c (f_op_print_tab): Likewise.
+ * go-lang.c (go_op_print_tab): Likewise.
+ * guile/scm-breakpoint.c (gdbscm_make_breakpoint): Likewise.
+ * guile/scm-cmd.c (gdbscm_make_command): Likewise.
+ * guile/scm-param.c (gdbscm_make_parameter): Likewise.
+ * guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer): Likewise.
+ * guile/scm-string.c (struct scm_to_stringn_data): Likewise.
+ (struct scm_from_stringn_data): Likewise.
+ * i386-linux-tdep.c (i386_canonicalize_syscall): Likewise.
+ * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise.
+ (ia64_linux_remove_watchpoint): Likewise.
+ (ia64_linux_can_use_hw_breakpoint): Likewise.
+ * infrun.c (print_stop_event): Likewise.
+ * jv-lang.c (java_op_print_tab): Likewise.
+ * linux-nat.c (linux_proc_xfer_partial): Likewise.
+ * linux-nat.h (struct lwp_info): Likewise.
+ * linux-thread-db.c (enable_thread_event): Likewise.
+ * m2-lang.c (m2_op_print_tab): Likewise.
+ * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Likewise.
+ (mi_cmd_stack_list_variables): Likewise.
+ * mi/mi-main.c (mi_cmd_trace_frame_collected): Likewise.
+ * mi/mi-out.c (mi_table_begin): Likewise.
+ (mi_table_header): Likewise.
+ * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Likewise.
+ (mips_linux_insert_watchpoint): Likewise.
+ (mips_linux_remove_watchpoint): Likewise.
+ * nat/mips-linux-watch.c (mips_linux_watch_type_to_irw): Likewise.
+ * nat/mips-linux-watch.h (struct mips_watchpoint): Likewise.
+ (mips_linux_watch_type_to_irw): Likewise.
+ * nto-procfs.c (procfs_can_use_hw_breakpoint): Likewise.
+ (procfs_insert_hw_watchpoint): Likewise.
+ (procfs_remove_hw_watchpoint): Likewise.
+ (procfs_hw_watchpoint): Likewise.
+ (procfs_can_use_hw_breakpoint): Likewise.
+ (procfs_remove_hw_watchpoint): Likewise.
+ (procfs_insert_hw_watchpoint): Likewise.
+ * p-lang.c (pascal_op_print_tab): Likewise.
+ * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Likewise.
+ * ppc-linux-tdep.c (ppu2spu_unwind_register): Likewise.
+ * ppc-sysv-tdep.c (get_decimal_float_return_value): Likewise.
+ * procfs.c (procfs_can_use_hw_breakpoint): Likewise.
+ (procfs_insert_watchpoint): Likewise.
+ (procfs_remove_watchpoint): Likewise.
+ * psymtab.c (recursively_search_psymtabs): Likewise.
+ * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Likewise.
+ (m32r_insert_watchpoint): Likewise.
+ * remote-mips.c (mips_can_use_watchpoint): Likewise.
+ (mips_insert_watchpoint): Likewise.
+ (mips_remove_watchpoint): Likewise.
+ * remote.c (watchpoint_to_Z_packet): Likewise.
+ (remote_insert_watchpoint): Likewise.
+ (remote_remove_watchpoint): Likewise.
+ (remote_check_watch_resources): Likewise.
+ * s390-linux-nat.c (s390_insert_watchpoint): Likewise.
+ (s390_remove_watchpoint): Likewise.
+ (s390_can_use_hw_breakpoint): Likewise.
+ * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
+ * spu-linux-nat.c (spu_can_use_hw_breakpoint): Likewise.
+ * target.h (struct target_ops): Likewise.
+ * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
+ * ui-out.c (struct ui_out_hdr): Likewise.
+ (append_header_to_list): Likewise.
+ (get_next_header): Likewise.
+ (verify_field): Likewise.
+ (ui_out_begin): Likewise.
+ (ui_out_field_int): Likewise.
+ (ui_out_field_fmt_int): Likewise.
+ (ui_out_field_skip): Likewise.
+ (ui_out_field_string): Likewise.
+ (ui_out_field_fmt): Likewise.
+ * varobj.c (new_variable): Likewise.
+ * x86-nat.c (x86_insert_watchpoint): Likewise.
+ (x86_remove_watchpoint): Likewise.
+ (x86_can_use_hw_breakpoint): Likewise.
+ * xtensa-tdep.h (struct gdbarch_tdep): Likewise.
+ * inflow.c (enum gdb_has_a_terminal_flag_enum): Add name to
+ previously anonymous enumeration type..
+ * linux-record.h (enum gdb_syscall): Add gdb_sys_no_syscall
+ value.
+ * target-debug.h (target_debug_print_enum_target_hw_bp_type): New.
+ (target_debug_print_enum_bptype): New.
+ * target-delegates.c: Regenerate.
+
+
+ * nios2-tdep.c (nios2_analyze_prologue): Do what the comment
+ already says and disallow non-stack memory writes in the prologue.
+
+
+ * nios2-tdep.c (nios2_analyze_prologue): Update comments to
+ reflect how current GCC emits stack overflow checks. Match
+ both trap and break instructions for backward compatbility.
+ Disallow other trap and break instructions in the prologue.
+
+
+ PR threads/18600
+ * linux-nat.c (wait_lwp): Report to the core when thread group
+ leader exits.
+
+
+ PR threads/18600
+ * linux-nat.c (linux_handle_extended_wait): On CLONE event, always
+ mark the new thread as resumed. Remove STOPPING parameter.
+ (wait_lwp): Adjust call to linux_handle_extended_wait.
+ (linux_nat_filter_event): Adjust call to
+ linux_handle_extended_wait.
+ (resume_stopped_resumed_lwps): Add debug output.
+
+
+ * arch-utils.c (default_fast_tracepoint_valid_at): Remove unused
+ isize argument.
+ * arch-utils.h (default_fast_tracepoint_valid_at): Likewise.
+ * breakpoint.c (check_fast_tracepoint_sals): Adjust call to
+ gdbarch_fast_tracepoint_valid_at.
+ * gdbarch.sh (fast_tracepoint_valid_at): Remove isize argument.
+ * gdbarch.h: Regenerate.
+ * gdbarch.c: Regenerate.
+ * i386-tdep.c (i386_fast_tracepoint_valid_at): Remove isize
+ argument. Do not set it.
+ * remote.c (remote_download_tracepoint): Adjust call to
+ gdbarch_fast_tracepoint_valid_at. Call gdb_insn_length to get
+ the instruction length.
+
+
+ * arm-tdep.h (enum gdb_regnum): Move it to ...
+ * arch/arm.h: ... here. New file.
+ * Makefile.in (HFILES_NO_SRCDIR): Add arch/arm.h.
+
+
+ * aarch64-tdep.c (decode_b): Rename link argument to is_bl.
+ Change its type to int *.
+ (decode_br): Rename link argument to is_blr. Change its type to
+ int *.
+ (decode_cb): Rename op argument to is_cbnz. Change its type to
+ int *.
+ (decode_tb): Rename op argument to is_tbnz. Change its type to
+ int *. Set is_tbnz to either 1 or 0.
+ (aarch64_analyze_prologue): Change type of is_link to int. Add
+ new variables is_cbnz and is_tbnz. Adjust call to
+ aarch64_decode_cb and aarch64_decode_tb.
+
+
+ * mips-linux-nat.c (write_watchpoint_regs): Add NULL as ptrace's 4th
+ parameter.
+ (mips_linux_new_thread): Likewise.
+ * nat/mips-linux-watch.c (mips_linux_read_watch_registers): Likewise.
+
+
+ * top.c: Include "tui/tui.h".
+ (undo_terminal_modifications_before_exit): New static function.
+ (quit_force): Use it.
+
+
+ * target.c (terminal_state): Initialize to terminal_is_ours.
+
+
+ PR record/18691
+ * dcache.c (dcache_read_memory_partial): Call
+ raw_memory_xfer_partial.
+ * target.c (raw_memory_xfer_partial): Make it non-static.
+ * target.h (raw_memory_xfer_partial): Declare.
+
+
+ * c-valprint.c (c_val_print_array): Consider addressable memory
+ unit size.
+ (c_val_print_ptr): Likewise.
+ (c_val_print_int): Likewise.
+ * findvar.c (read_frame_register_value): Likewise.
+ * valarith.c (find_size_for_pointer_math): Likewise.
+ (value_ptrdiff): Likewise.
+ (value_subscripted_rvalue): Likewise.
+ * valops.c (read_value_memory): Likewise (and rename variables).
+ (value_assign): Likewise.
+ (value_repeat): Likewise.
+ (value_array): Likewise.
+ (value_slice): Likewise.
+ * valprint.c (generic_val_print_ptr): Likewise.
+ (generic_val_print_enum): Likewise.
+ (generic_val_print_bool): Likewise.
+ (generic_val_print_int): Likewise.
+ (generic_val_print_char): Likewise.
+ (generic_val_print_float): Likewise.
+ (generic_val_print_decfloat): Likewise.
+ (generic_val_print_complex): Likewise.
+ (val_print_scalar_formatted): Likewise.
+ (val_print_array_elements): Likewise.
+ * value.c (set_value_parent): Likewise.
+ (value_contents_copy_raw): Likewise.
+ (set_internalvar_component): Likewise.
+ (value_primitive_field): Likewise.
+ (value_fetch_lazy): Likewise.
+ * value.h (read_value_memory): Update comment.
+
+
+ * value.c (get_value_arch): New function.
+ * value.h (get_value_arch): New declaration.
+
+
+ * value.c (struct value): Update comments.
+
+
+ * gdbtypes.c (type_length_units): New function.
+ * gdbtypes.h (type_length_units): New declaration.
+ (struct type) <length>: Update comment.
+
+
+ * valprint.c (generic_val_print): Factor out complex
+ printing code to ...
+ (generic_val_print_complex): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out decfloat
+ printing code to ...
+ (generic_val_print_decfloat): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out float
+ printing code to ...
+ (generic_val_print_float): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out char
+ printing code to ...
+ (generic_val_print_char): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out integer
+ printing code to ...
+ (generic_val_print_int): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out bool
+ printing code to ...
+ (generic_val_print_bool): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out function/method
+ printing code to ...
+ (generic_val_print_func): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out flags
+ printing code to ...
+ (generic_val_print_flags): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out enum
+ printing code to ...
+ (generic_val_print_enum): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out reference
+ printing code to ...
+ (generic_val_print_ref): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out memberptr
+ printing code to ...
+ (generic_val_print_memberptr): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out pointer
+ printing code to ...
+ (generic_val_print_ptr): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out array
+ printing code to ...
+ (generic_val_print_array): ... this new function.
+
+
+ * valprint.c (generic_val_print): Factor out
+ print_unpacked_pointer code to ...
+ (print_unpacked_pointer): ... this new function.
+
+
+ * event-top.c (handle_sigterm): Don't inspect
+ target_can_async_p. Always set the quit flag and always mark
+ the async signal handler.
+
+
+ * Makefile.in (REMOTE_EXAMPLES): Remove it.
+
+
+ * remote.c (read_ptid): Return null_ptid when no thread id
+ is found.
+ (remote_current_thread): Add log warning for malformed
+ qC reply.
+ (remote_start_remote): Add log warning when current thread
+ not found.
+
+
+ * s390-linux-nat.c (fetch_regs, store_regs, fetch_fpregs)
+ (s390_stopped_by_watchpoint, s390_prepare_to_resume): Pass 0 as
+ forth argument to ptrace PTRACE_PEEKUSR_AREA/PTRACE_POKEUSR_AREA.
+
+
+ PR gdb/18717
+ * linux-nat.c (linux_nat_filter_event): Don't assert that the lwp
+ is resumed, and extend the debug log.
+
+
+ * fork-child.c (fork_inferior): Print argv[0] instead of exec_file.
+
+
+ * aarch64-linux-nat.c: Include nat/gdb_ptrace.h instead of
+ sys/ptrace.h.
+ * alpha-linux-nat.c: Likewise.
+ * amd64-linux-nat.c: Likewise.
+ * arm-linux-nat.c: Likewise.
+ * hppa-linux-nat.c: Likewise.
+ * i386-linux-nat.c: Likewise.
+ * ia64-linux-nat.c: Likewise.
+ * linux-fork.c: Likewise.
+ * linux-nat.c: Likewise.
+ * m32r-linux-nat.c: Likewise.
+ * m68klinux-nat.c: Likewise.
+ * mips-linux-nat.c: Likewise.
+ * nat/linux-btrace.c: Likewise.
+ * nat/linux-ptrace.c: Likewise.
+ * nat/linux-ptrace.h
+ * nat/mips-linux-watch.c: Likewise.
+ * nat/x86-linux-dregs.c: Likewise.
+ * ppc-linux-nat.c: Likewise.
+ * s390-linux-nat.c: Likewise.
+ * spu-linux-nat.c: Likewise.
+ * tilegx-linux-nat.c: Likewise.
+ * x86-linux-nat.c: Likewise.
+ * xtensa-linux-nat.c: Likewise.
+
+
+ * ptrace.m4 (ptrace tests): Test in C++ mode. Try with 'enum
+ __ptrace_request as first parameter type instead of int.
+ (PTRACE_TYPE_ARG1): Define.
+ * nat/gdb_ptrace.h [!PTRACE_TYPE_ARG5] (ptrace): Define as wrapper
+ that casts first argument to PTRACE_TYPE_ARG1.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+
+ * gdb_ptrace.h: Move ...
+ * nat/gdb_ptrace.h: ... here.
+ * inf-ptrace.c: Adjust.
+
+
+ * acinclude.m4: Include ptrace.m4.
+ * configure.ac: Call GDB_AC_PTRACE and move ptrace checks ...
+ * ptrace.m4: ... to this new file.
+
+
+ * dwarf2read.c (dwarf2_per_cu_data): Add comment.
+ (load_cu): Handle dummy CUs.
+ (dw2_do_instantiate_symtab, process_queuef): Ditto.
+ (dwarf2_fetch_die_loc_sect_off, dwarf2_fetch_constant_bytes): Ditto.
+
+
+ * py-linetable.c (ltpy_get_all_source_lines): Adjust function
+ documentation to say that it returns a list rather than
+ a FrozenSet.
+ (linetable_object_methods): Update the docstring of the
+ "source_line" entry.
+
+
+ * gdbtypes.c (resolve_dynamic_array): Pass the peeled element
+ type to the recursive call instead of the original (maybe
+ TYPE_CODE_TYPEDEF) type.
+
+
+ * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): If
+ TYPE is watchpoint, return zero if aarch64_num_wp_regs is zero.
+ If TYPE is breakpoint, return zero if arch64_num_bp_regs is zero.
+
+
+ * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
+ Move it to nat/aarch64-linux-hw-point.c.
+ (aarch64_linux_child_post_startup_inferior): Update.
+ * nat/aarch64-linux-hw-point.c (aarch64_linux_get_debug_reg_capacity):
+ New function.
+ * nat/aarch64-linux-hw-point.h (aarch64_linux_get_debug_reg_capacity):
+ Declare it.
+
+
+ * common/btrace-common.c (btrace_data_append): Change case label.
+
+
+ * nat/aarch64-linux-hw-point.c (aarch64_handle_unaligned_watchpoint):
+ Re-indent the code.
+ * nat/aarch64-linux-hw-point.h: Use ULONGEST rather than
+ "unsigned long long".
+
+
+ * dwarf2read.c (dwarf2_locate_sections): Allow has_section_at_zero
+ to be set for SEC_ALLOC sections too.
+
+
+ * Makefile.in (HFILES_NO_SRCDIR): Add
+ nat/aarch64-linux-hw-point.h.
+ (aarch64-linux-hw-point.o): New rule.
+ * nat/aarch64-linux-hw-point.h: New file.
+ * nat/aarch64-linux-hw-point.c: New file.
+ * aarch64-linux-nat.c: Include nat/aarch64-linux-hw-point.h.
+ (AARCH64_HBP_MAX_NUM): Move to nat/aarch64-linux-hw-point.h.
+ (AARCH64_HWP_MAX_NUM, AARCH64_HBP_ALIGNMENT): Likewise.
+ (AARCH64_HWP_ALIGNMENT): Likewise.
+ (AARCH64_HWP_MAX_LEN_PER_REG): Likewise.
+ (AARCH64_DEBUG_NUM_SLOTS, AARCH64_DEBUG_ARCH): Likewise.
+ (AARCH64_DEBUG_ARCH_V8, DR_MARK_ALL_CHANGED): Likewise.
+ (DR_MARK_N_CHANGED, DR_CLEAR_CHANGED): Likewise.
+ (DR_HAS_CHANGED, DR_N_HAS_CHANGE): Likewise.
+ (aarch64_num_bp_regs, aarch64_num_wp_regs): Likewise.
+ (struct aarch64_debug_reg_state): Likewise.
+ (struct arch_lwp_info): Likewise.
+ (aarch64_linux_set_debug_regs): Likewise.
+ (aarch64_notify_debug_reg_change): Remove static.
+ (aarch64_align_watchpoint): Likewise.
+ (DR_CONTROL_ENABLED, DR_CONTROL_LENGTH): Likewise.
+ (aarch64_watchpoint_length): Likewise.
+ (aarch64_point_encode_ctrl_reg): Likewise
+ (aarch64_point_is_aligned): Likewise.
+ (aarch64_dr_state_insert_one_point): Likewise.
+ (aarch64_dr_state_remove_one_point): Likewise.
+ (aarch64_handle_breakpoint): Likewise.
+ (aarch64_handle_aligned_watchpoint): Likewise.
+ (aarch64_handle_unaligned_watchpoint): Likewise.
+ (aarch64_handle_watchpoint): Likewise.
+ * config/aarch64/linux.mh (NAT_FILE): Add
+ aarch64-linux-hw-point.o.
+
+
+ * aarch64-linux-nat.c (aarch64_handle_breakpoint): Add argument
+ state and don't call aarch64_get_debug_reg_state. All callers
+ update.
+ (aarch64_linux_insert_hw_breakpoint): Call
+ aarch64_get_debug_reg_state earlier.
+ (aarch64_linux_remove_hw_breakpoint): Likewise.
+ (aarch64_handle_aligned_watchpoint): Add argument state and
+ don't call aarch64_get_debug_reg_state. All callers update.
+ (aarch64_handle_unaligned_watchpoint): Likewise.
+ (aarch64_handle_watchpoint): Add argument state.
+ (aarch64_linux_insert_watchpoint): Call aarch64_get_debug_reg_state
+ earlier.
+ (aarch64_linux_remove_watchpoint): Likewise.
+
+
+ * aarch64-linux-nat.c (aarch64_show_debug_reg_state): Use
+ debug_printf.
+ (aarch64_handle_unaligned_watchpoint): Likewise.
+
+
+ * aarch64-linux-nat.c (aarch64_dr_state_insert_one_point): Change
+ argument type's type to 'enum target_hw_bp_type'.
+ (aarch64_dr_state_remove_one_point): Likewise.
+ (aarch64_handle_breakpoint): Likewise.
+ (aarch64_linux_insert_hw_breakpoint): Likewise.
+ (aarch64_linux_remove_hw_breakpoint): Likewise.
+ (aarch64_handle_aligned_watchpoint): Likewise.
+
+
+ * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): Call
+ ptid_get_pid instead of get_thread_id.
+
+
+ * remote.c (get_current_thread): Initialise ptid to null_ptid.
+ (add_current_inferior_and_thread): Don't initialise ptid.
+
+
+ * aarch64-tdep.c (aarch64_pseudo_read_value): Mark S register as
+ unavailable if invalid.
+
+
+ Revert the previous 6 commits:
+ Create empty nat/linux-maps.[ch] and common/target-utils.[ch].
+ Move gdb_regex* to common/
+ Prepare linux_find_memory_regions_full & co. for move
+ Move linux_find_memory_regions_full & co.
+ gdbserver build-id attribute generator
+ Validate symbol file using build-id
+
+
+ Validate symbol file using build-id.
+ * NEWS (Changes since GDB 7.10): Add 'set validate-build-id'
+ and 'show validate-build-id'. Add build-id attribute.
+ * solib-darwin.c (_initialize_darwin_solib): Assign validate value.
+ * solib-dsbt.c (_initialize_dsbt_solib): Ditto.
+ * solib-frv.c (_initialize_frv_solib): Ditto.
+ * solib-spu.c (set_spu_solib_ops): Ditto.
+ * solib-svr4.c: Include rsp-low.h.
+ (NOTE_GNU_BUILD_ID_NAME): New define.
+ (svr4_validate): New function.
+ (svr4_copy_library_list): Duplicate field build_id.
+ (library_list_start_library): Parse 'build-id' attribute.
+ (svr4_library_attributes): Add 'build-id' attribute.
+ (_initialize_svr4_solib): Assign validate value.
+ * solib-target.c (solib.h): Include.
+ (_initialize_solib_target): Assign validate value.
+ * solib.c (validate_build_id, show_validate_build_id): New.
+ (solib_map_sections): Use ops->validate.
+ (clear_so): Free build_id.
+ (default_solib_validate): New function.
+ (_initialize_solib): Add "validate-build-id".
+ * solib.h (default_solib_validate): New declaration.
+ * solist.h (struct so_list): New fields 'build_idsz' and 'build_id'.
+ (target_so_ops): New field 'validate'.
+
+
+ gdbserver build-id attribute generator.
+ * features/library-list-svr4.dtd (library-list-svr4): New
+ 'build-id' attribute.
+
+
+ Move linux_find_memory_regions_full & co.
+ * linux-tdep.c (nat/linux-maps.h): Include.
+ (gdb_regex.h): Remove the include.
+ (enum filterflags, struct smaps_vmflags, read_mapping, decode_vmflags)
+ (mapping_is_anonymous_p, dump_mapping_p): Moved to nat/linux-maps.c.
+ (linux_find_memory_region_ftype): Moved typedef to nat/linux-maps.h.
+ (linux_find_memory_regions_full): Moved definition to nat/linux-maps.c.
+ * nat/linux-maps.c: Include ctype.h, target/target-utils.h, gdb_regex.h
+ and target/target.h.
+ (struct smaps_vmflags, read_mapping, decode_vmflags)
+ (mapping_is_anonymous_p, dump_mapping_p): Move from linux-tdep.c.
+ (linux_find_memory_regions_full): Move from linux-tdep.c.
+ * nat/linux-maps.h (read_mapping): New declaration.
+ (linux_find_memory_region_ftype, enum filterflags): Moved from
+ linux-tdep.c.
+ (linux_find_memory_regions_full): New declaration.
+ * target.c (target/target-utils.h): Include.
+ (read_alloc_pread_ftype): Moved typedef to target/target-utils.h.
+ (read_alloc, read_stralloc_func_ftype, read_stralloc): Moved
+ definitions to target/target-utils.c.
+ * target.h (target_fileio_read_stralloc): Move it to target/target.h.
+ * target/target-utils.c (read_alloc, read_stralloc): Move definitions
+ from target.c.
+ * target/target-utils.h (read_alloc_pread_ftype): New typedef.
+ (read_alloc): New declaration.
+ (read_stralloc_func_ftype): New typedef.
+ (read_stralloc): New declaration.
+ * target/target.h (target_fileio_read_stralloc): Move it from target.h.
+
+
+ Prepare linux_find_memory_regions_full & co. for move.
+ * linux-tdep.c (linux_find_memory_region_ftype): Comment.
+ (linux_find_memory_regions_full): Change signature and prepare
+ for moving to linux-maps.
+ (linux_find_memory_regions_data): Rename field 'obfd' to 'data'.
+ (linux_find_memory_regions_thunk): New.
+ (linux_find_memory_regions_thunk): Use 'data' field instead of 'obfd'.
+ (linux_find_memory_regions_gdb): New.
+ (linux_find_memory_regions): Rename argument 'obfd' to 'func_data'.
+ (linux_make_mappings_corefile_notes): Use
+ linux_find_memory_regions_gdb.
+ * target.c (read_alloc_pread_ftype): New typedef.
+ (target_fileio_read_alloc_1_pread): New function.
+ (read_alloc): Refactor from target_fileio_read_alloc_1.
+ (read_stralloc_func_ftype): New typedef.
+ (target_fileio_read_alloc_1): New implementation. Use read_alloc.
+ (read_stralloc): Refactored from target_fileio_read_stralloc.
+ (target_fileio_read_stralloc): New implementation, use read_stralloc.
+
+
+ * Makefile.in (HFILES_NO_SRCDIR): Change gdb_regex.h to
+ common/gdb_regex.h.
+ (COMMON_OBS): Add gdb_regex.o.
+ (gdb_regex.o): New.
+ * common/common.m4 (GDB_AC_COMMON): Add gdb_use_included_regex,
+ --without-included-regex and USE_INCLUDED_REGEX.
+ * common/gdb_regex.c: New file from utils.c functions.
+ * common/gdb_regex.h: Move it here from gdb_regex.h, update include
+ file wrapping define name.
+ * configure: Rebuilt.
+ * configure.ac (gdb_use_included_regex, --without-included-regex)
+ (USE_INCLUDED_REGEX): Move them to common/common.m4.
+ * gdb_regex.h: Move it to common/gdb_regex.h.
+ * utils.c: Remove include gdb_regex.h.
+ (do_regfree_cleanup, make_regfree_cleanup, get_regcomp_error)
+ (compile_rx_or_error): Move them to common/gdb_regex.c.
+
+
+ Create empty nat/linux-maps.[ch] and common/target-utils.[ch].
+ * Makefile.in (HFILES_NO_SRCDIR); Add nat/linux-maps.h,
+ common/target-utils.h.
+ (COMMON_OBS): Add target-utils.o.
+ (linux-maps.o, target-utils.o): New.
+ * target/target-utils.c: New file.
+ * target/target-utils.h: New file.
+ * config/i386/linux.mh (NATDEPFILES): Add linux-maps.o.
+ * config/i386/linux64.mh (NATDEPFILES): Ditto.
+ * nat/linux-maps.c: New file.
+ * nat/linux-maps.h: New file.
+
+
+ * nat/linux-btrace.c (perf_event_read): Change the type of DATA_HEAD.
+ (perf_event_read_all): Change the type of SIZE and DATA_HEAD.
+ (perf_event_read_bts): Change the type of SIZE and READ.
+ (linux_enable_bts): Change the type of SIZE, PAGES, DATA_SIZE,
+ and DATA_OFFSET. Move DATA_SIZE declaration. Restrict the buffer size
+ to UINT_MAX. Check for overflows when using DATA_HEAD from the perf
+ mmap page.
+ (linux_enable_pt): Change the type of PAGES and SIZE. Restrict the
+ buffer size to UINT_MAX.
+ (linux_read_bts): Change the type of BUFFER_SIZE, SIZE, DATA_HEAD, and
+ DATA_TAIL.
+ * nat/linux-btrace.h (struct perf_event_buffer)<size, data_head>
+ <last_head>: Change type.
+ * common/btrace-common.h (struct btrace_dat_pt) <size>: Change type.
+ * common/btrace-common.c (btrace_data_append): Change the type of
+ SIZE.
+ * btrace.c (parse_xml_raw): Change the type of SIZE. Change oddness
+ check.
+
+
+ * gdbtypes.h (CHECK_TYPEDEF): Remove.
+ * aarch64-tdep.c (aarch64_return_in_memory): Replace CHECK_TYPEDEF
+ with check_typedef.
+ * ada-lang.c (decode_constrained_packed_array_type): Likewise.
+ (ada_array_length): Likewise.
+ (find_parallel_type_by_descriptive_type): Likewise.
+ (ada_check_typedef): Likewise.
+ * arm-tdep.c (arm_return_in_memory): Likewise.
+ * ax-gdb.c (gen_trace_static_fields): Likewise.
+ (gen_struct_ref_recursive): Likewise.
+ * c-exp.y (exp : SIZEOF '(' type ')' %prec UNARY): Likewise.
+ (variable: block COLONCOLON name): Likewise.
+ (qualified_name: TYPENAME COLONCOLON name): Likewise.
+ * c-lang.c (classify_type): Likewise.
+ * c-typeprint.c (c_print_type): Likewise.
+ (c_print_typedef): Likewise.
+ (c_type_print_base): Likewise.
+ * c-valprint.c (c_val_print): Likewise.
+ * compile/compile-c-types.c (convert_type): Likewise.
+ * compile/compile-object-load.c (get_out_value_type): Likewise.
+ * completer.c (add_struct_fields): Likewise.
+ (expression_completer): Likewise.
+ * cp-namespace.c (cp_find_type_baseclass_by_name): Likewise.
+ (cp_lookup_nested_symbol_1): Likewise.
+ (cp_lookup_nested_symbol): Likewise.
+ * cp-valprint.c (cp_print_value_fields): Likewise.
+ (cp_print_static_field): Likewise.
+ * d-valprint.c (d_val_print): Likewise.
+ * eval.c (evaluate_subexp_standard): Likewise.
+ (evaluate_subexp_for_sizeof): Likewise.
+ * f-exp.y (exp : SIZEOF '(' type ')' %prec UNARY): Likewise.
+ * f-typeprint.c (f_type_print_base): Likewise.
+ * f-valprint.c (f_val_print): Likewise.
+ * gdbtypes.c (get_discrete_bounds): Likewise.
+ (create_array_type_with_stride): Likewise.
+ (type_name_no_tag_or_error): Likewise.
+ (lookup_struct_elt_type): Likewise.
+ (get_unsigned_type_max): Likewise.
+ (internal_type_vptr_fieldno): Likewise.
+ (set_type_vptr_fieldno): Likewise.
+ (internal_type_vptr_basetype): Likewise.
+ (set_type_vptr_basetype): Likewise.
+ (get_vptr_fieldno): Likewise.
+ (is_integral_type): Likewise.
+ (is_scalar_type): Likewise.
+ (is_scalar_type_recursive): Likewise.
+ (distance_to_ancestor): Likewise.
+ (is_unique_ancestor_worker): Likewise.
+ (check_types_equal): Likewise.
+ * gnu-v2-abi.c (gnuv2_value_rtti_type): Likewise.
+
+
+ * dwarf2read.c (find_slot_in_mapped_hash): Extend language support to
+ also test for language_d.
+ (dwarf2_compute_name): Likewise.
+ (read_func_scope): Likewise.
+ (read_structure_type): Likewise.
+ (new_symbol_full): Likewise.
+ (determine_prefix): Likewise.
+ (read_import_statement): Use dot as the separator for language_d.
+ (typename_concat): Likewise, but don't prefix the D main function.
+
+
+ * nat/linux-namespaces.c (setns): Rename from this ...
+ (do_setns): ... to this. Support calling setns if it exists.
+ (mnsh_handle_setns): Call do_setns.
+
+
+ * exec.c (exec_file_attach): Add period at the end of error
+ message.
+
+
+ * tui/tui-win.c (window_name_completer): New function.
+ (focus_completer): Call window_name_completer. All old content
+ moved into window_name_completer.
+ (winheight_completer): New function.
+ (_initialize_tui_win): Rename variable. Add completer to
+ winheight command. Update doc string on winheight.
+
+
+ * nios2-linux-tdep.c (_initialize_nios2_linux_tdep): Register
+ all nios2 mach variants.
+
+
+ * rx-tdep.c (rx_get_opcode_byte): Use target_read_code instead
+ of target_read_memory.
+
+
+ * tui/tui-win.c (tui_set_win_height): Use a cleanup to free the
+ string copy.
+ (parse_scrolling_args): Likewise.
+
+
+ * tui/tui-win.c (focus_completer): Don't duplicate the tui window
+ names in this function.
+
+
+ * tui/tui-data.h (SRC_NAME): Convert to lower case.
+ (CMD_NAME): Likewise.
+ (DATA_NAME): Likewise.
+ (DISASSEM_NAME): Likewise.
+ * tui/tui-win.c (tui_set_focus): Window names are now lower case.
+ (tui_set_win_height): Likewise.
+ (parse_scrolling_args): Likewise.
+
+
+ * record-btrace.c (record_btrace_goto_begin)
+ (record_btrace_goto_end, record_btrace_goto): Move call to
+ print_stack_frame ...
+ (record_btrace_set_replay): ... here. Set stop_pc.
+ * record-full.c (record_full_goto_entry): Set stop_pc.
+
+
+ * NEWS: Mention support for tracepoints on aarch64-linux.
+
+
+ * linux-aarch64-low.c (aarch64_supports_tracepoints): New
+ function. Return 1.
+ (the_low_target): Install it.
+
+
+ * gdb.trace/backtrace.exp: Set registers for aarch64 target.
+ * gdb.trace/collection.exp: Likewise.
+ * gdb.trace/mi-trace-frame-collected.exp: Likewise.
+ * gdb.trace/mi-trace-unavailable.exp: Likewise.
+ * gdb.trace/report.exp: Likewise.
+ * gdb.trace/trace-break.exp: Likewise.
+ * gdb.trace/unavailable.exp: Likewise.
+ * gdb.trace/while-dyn.exp: Likewise.
+
+
+ * aarch64-tdep.c: Add ax.h and ax-gdb.h includes.
+ (aarch64_gen_return_address): New function.
+ (aarch64_gdbarch_init): Hook it.
+
+
+ * aarch64-tdep.c (aarch64_make_stub_cache): Set available_p and
+ swallow NOT_AVAILABLE_ERROR.
+ (aarch64_stub_this_id): Call frame_id_build_unavailable_stack if
+ available_p is not set.
+ (aarch64_stub_frame_unwind_stop_reason): New function.
+ (aarch64_stub_unwind): Install it.
+
+
+ * aarch64-tdep.c (aarch64_prologue_cache) <available_p>: New
+ field.
+ (aarch64_make_prologue_cache_1): New function, factored out from
+ aarch64_make_prologue_cache. Do not allocate cache. Set
+ available_p.
+ (aarch64_make_prologue_cache): Reimplement wrapping
+ aarch64_make_prologue_cache_1, and swallowing
+ NOT_AVAILABLE_ERROR.
+ (aarch64_prologue_frame_unwind_stop_reason): New function.
+ Return UNWIND_UNAVAILABLE if available_p is not set.
+ (aarch64_prologue_unwind): Install it.
+ (aarch64_prologue_this_id): Move prev_pc and prev_sp limit
+ checks into aarch64_prologue_frame_unwind_stop_reason. Call
+ frame_id_build_unavailable_stack if available_p is not set.
+
+
+ * aarch64-tdep.c (aarch64_prologue_cache) <func, prev_pc>: New
+ fields.
+ (aarch64_scan_prologue): Set prev_pc.
+ (aarch64_make_prologue_cache): Set func.
+ (aarch64_make_stub_cache): Set prev_pc.
+ (aarch64_prologue_this_id): Remove local variables id, pc and
+ func. Read prev_pc and func from cache.
+ (aarch64_stub_this_id): Read prev_pc from cache.
+
+
+ * aarch64-tdep.c (aarch64_make_stub_cache): Update comment. New
+ argument this_cache. Remove unused local variables reg and
+ unwound_fp. Return early if this_cache is already set. Set
+ this_cache.
+ (aarch64_stub_this_id): Update call to aarch64_make_stub_cache.
+
+
+ * aarch64-tdep.c (aarch64_make_prologue_cache): Update comment.
+ New argument this_cache. Return early if this_cache is already
+ set. Set this_cache.
+ (aarch64_prologue_this_id): Update call to
+ aarch64_make_prologue_cache.
+ (aarch64_prologue_prev_register): Likewise.
+ (aarch64_normal_frame_base): Likewise.
+
* c-valprint.c (c_val_print): Factor out memberptr printing code
(rx_frame_this_id): Rename parameter `this_prologue_cache' to
`this_cache'.
(rx_frame_prev_register): Rename parameter `this_prologue_cache' to
- `this_cache'. Add cases for RX_FRAME_TYPE_EXCEPTION and
+ `this_cache'. Add cases for RX_FRAME_TYPE_EXCEPTION and
RX_FRAME_TYPE_FAST_INTERRUPT.
(normal_frame_p, exception_frame_p, rx_frame_sniffer_common)
(rx_frame_sniffer, rx_exception_sniffer): New functions.
- * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Move
- redirection code to ...
- (amd64_windows_frame_decode_insns): ... Here. Fix in prologue
- checks. Fix SAVE_NONVOL operations. Add debug code and comments.
+ * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Move
+ redirection code to ...
+ (amd64_windows_frame_decode_insns): ... Here. Fix in prologue
+ checks. Fix SAVE_NONVOL operations. Add debug code and comments.
* config.in: Regenerate.
* configure: Regenerate.
* fbsd-nat.c [!HAVE_KINFO_GETVMMAP] (fbsd_read_mapping): Don't
- define.
+ define.
(fbsd_find_memory_regions): Use kinfo_getvmmap to
enumerate memory regions if present.