X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=gdb%2FChangeLog;h=f13c19a63c73ae59cea89804a294d2cfe8973ed2;hb=46e3325277e604face2848eec78247826b94d5c9;hp=1803f81c0be9993855d7854e9fbd4ba43c6245ea;hpb=012370f6818657a816df1463ee71ca4e4ee40b33;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1803f81c0b..f13c19a63c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,762 @@ +2014-06-19 Gary Benson + + * i386-nat.c (i386_stopped_by_watchpoint): + Use i386_dr_stopped_by_watchpoint. + (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint. + (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint. + +2014-06-19 Gary Benson + + * nat/i386-dregs.c: New file. + * Makefile.in (i386-dregs.o): New rule. + * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o. + * config/i386/cygwin64.mh (NATDEPFILES): Likewise. + * config/i386/darwin.mh (NATDEPFILES): Likewise. + * config/i386/fbsd.mh (NATDEPFILES): Likewise. + * config/i386/fbsd64.mh (NATDEPFILES): Likewise. + * config/i386/go32.mh (NATDEPFILES): Likewise. + * config/i386/linux.mh (NATDEPFILES): Likewise. + * config/i386/linux64.mh (NATDEPFILES): Likewise. + * config/i386/mingw.mh (NATDEPFILES): Likewise. + * config/i386/mingw64.mh (NATDEPFILES): Likewise. + * i386-nat.h (debug_hw_points): New declaration. + * i386-nat.c (breakpoint.h): Remove include. + (command.h): Likewise. + (target.h): Likewise. + (gdb_assert.h): Likewise. + (debug_hw_points): Made nonstatic. + (debug_printf): Now in i386-dregs.c. + (TARGET_HAS_DR_LEN_8): Likewise. + (DR_CONTROL_SHIFT): Likewise. + (DR_CONTROL_SIZE): Likewise. + (DR_RW_EXECUTE): Likewise. + (DR_RW_WRITE): Likewise. + (DR_RW_READ): Likewise. + (DR_RW_IORW): Likewise. + (DR_LEN_1): Likewise. + (DR_LEN_2): Likewise. + (DR_LEN_4): Likewise. + (DR_LEN_8): Likewise. + (DR_LOCAL_ENABLE_SHIFT): Likewise. + (DR_GLOBAL_ENABLE_SHIFT): Likewise. + (DR_ENABLE_SIZE): Likewise. + (DR_LOCAL_SLOWDOWN): Likewise. + (DR_GLOBAL_SLOWDOWN): Likewise. + (DR_CONTROL_RESERVED): Likewise. + (I386_DR_CONTROL_MASK): Likewise. + (I386_DR_VACANT): Likewise. + (I386_DR_LOCAL_ENABLE): Likewise. + (I386_DR_GLOBAL_ENABLE): Likewise. + (I386_DR_DISABLE): Likewise. + (I386_DR_SET_RW_LEN): Likewise. + (I386_DR_GET_RW_LEN): Likewise. + (I386_DR_WATCH_HIT): Likewise. + (i386_wp_op_t): Likewise. + (i386_show_dr): Likewise. + (i386_length_and_rw_bits): Likewise. + (i386_insert_aligned_watchpoint): Likewise. + (i386_remove_aligned_watchpoint): Likewise. + (i386_handle_nonaligned_watchpoint): Likewise. + (i386_update_inferior_debug_regs): Likewise. + (i386_insert_watchpoint): Use i386_dr_insert_watchpoint. + (i386_remove_watchpoint): Use i386_dr_remove_watchpoint. + (i386_region_ok_for_watchpoint): + Use i386_dr_region_ok_for_watchpoint. + (i386_stopped_data_address): Use i386_dr_stopped_data_address. + +2014-06-19 Gary Benson + + * i386-nat.c (i386_insert_hw_breakpoint): Use + i386_insert_watchpoint. + (i386_remove_hw_breakpoint): Use i386_remove_watchpoint. + +2014-06-19 Gary Benson + + * i386-nat.c (i386_dr_show): Renamed to + i386_show_dr and made static. All uses updated. + (i386_dr_length_and_rw_bits): Renamed to + i386_length_and_rw_bits and made static. + All uses updated. + (i386_dr_insert_aligned_watchpoint): Renamed to + i386_insert_aligned_watchpoint and made static. + All uses updated. + (i386_dr_remove_aligned_watchpoint): Renamed to + i386_remove_aligned_watchpoint and made static. + All uses updated. + (i386_dr_update_inferior_debug_regs): Renamed to + i386_update_inferior_debug_regs and made static. + All uses updated. + * nat/i386-dregs.h (i386_dr_show): Removed. + (i386_dr_length_and_rw_bits): Likewise. + (i386_dr_insert_aligned_watchpoint): Likewise. + (i386_dr_remove_aligned_watchpoint): Likewise. + (i386_dr_update_inferior_debug_regs): Likewise. + +2014-06-19 Gary Benson + + * configure.ac [AC_CHECK_FUNCS] : New check. + * configure: Regenerate. + * config.in: Likewise. + * main.c (signal.h): New include. + (setup_alternate_signal_stack): New function. + (captured_main): Call the above. + * cp-support.c (signal.h): New include. + (catch_demangler_crashes): New flag. + (SIGJMP_BUF): New define. + (SIGSETJMP): Likewise. + (SIGLONGJMP): Likewise. + (gdb_demangle_jmp_buf): New static global. + (gdb_demangle_attempt_core_dump): Likewise. + (gdb_demangle_signal_handler): New function. + (gdb_demangle): If catch_demangler_crashes is set, install the + above signal handler before calling bfd_demangle, and restore + the original signal handler afterwards. Display the offending + symbol and call demangler_warning the first time a segmentation + fault is caught. + (_initialize_cp_support): New maint set/show command. + +2014-06-19 Gary Benson + + * utils.h (resource_limit_kind): New enum. + (can_dump_core): New declaration. + (warn_cant_dump_core): Likewise. + (dump_core): Likewise. + * utils.c (dump_core): Made nonstatic. Added new + parameter "limit_kind". + (can_dump_core): Made nonstatic. Moved printing code to... + (warn_cant_dump_core): New function. + (can_dump_core_warn): Likewise. + (internal_vproblem): Replace calls to can_dump_core with + calls to can_dump_core_warn. Supply new argument to each. + +2014-06-19 Gary Benson + + * utils.h (demangler_vwarning): New declaration. + (demangler_warning): Likewise. + * utils.c (struct internal_problem) + : New field. + : Likewise + (internal_error_problem): Add values for above new fields. + (internal_warning_problem): Likewise. + (demangler_warning_problem): New static global. + (demangler_vwarning): New function. + (demangler_warning): Likewise. + (add_internal_problem_command): Selectively add commands. + (_initialize_utils): New internal problem command. + * maint.c (maintenance_demangler_warning): New function. + (_initialize_maint_cmds): New command. + +2014-06-18 Tom Tromey + + * f-valprint.c (info_common_command_for_block): Update. + * symtab.h (struct general_symbol_info) : Now + const. + +2014-06-18 Tom Tromey + + * symtab.h (struct symtab) : Now const. + * ada-lang.c (ada_add_global_exceptions): Update. + * buildsym.c (augment_type_symtab): Update. + * dwarf2read.c (dw2_lookup_symbol): Update. + * jit.c (finalize_symtab): Update. + * jv-lang.c (add_class_symtab_symbol): Update. + * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab): + Update. + * objfiles.c (objfile_relocate1): Update. + * psymtab.c (lookup_symbol_aux_psymtabs) + (maintenance_check_psymtabs): Update. + * python/py-symtab.c (stpy_global_block, stpy_static_block): + Update. + * spu-tdep.c (spu_catch_start): Update. + * symmisc.c (dump_symtab_1): Update. + * symtab.c (lookup_global_symbol_from_objfile) + (lookup_symbol_aux_objfile, lookup_symbol_aux_quick) + (basic_lookup_transparent_type_quick) + (basic_lookup_transparent_type, find_pc_sect_symtab) + (find_pc_sect_line, search_symbols): Update. + * block.c (find_block_in_blockvector): Make "bl" const. + (blockvector_for_pc_sect, blockvector_for_pc): Make return type + const. + (blockvector_contains_pc): Make "bv" const. + (block_for_pc_sect): Update. + * block.h (blockvector_for_pc, blockvector_for_pc_sect) + (blockvector_contains_pc): Update. + * breakpoint.c (resolve_sal_pc): Update. + * inline-frame.c (block_starting_point_at): Update. + +2014-06-18 Tom Tromey + + * completer.c (complete_line): Make "line_buffer" const. + * completer.h (complete_line): Update. + +2014-06-18 Tom Tromey + + * symtab.c (add_macro_name): Remove unneeded cast. + +2014-06-18 Tom Tromey + + * cli/cli-setshow.h (parse_cli_boolean_value): Update. + * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const. + +2014-06-18 Tom Tromey + + * probe.c (info_probes_for_ops): Make "arg" const. + * probe.h (info_probes_for_ops): Update. + +2014-06-18 Tom Tromey + + * varobj.c (varobj_create): Update. + * valops.c (value_of_this): Update. + * tracepoint.c (add_local_symbols, scope_info): Update. + * symtab.h (struct general_symbol_info) : Now const. + * symtab.c (skip_prologue_sal) + (default_make_symbol_completion_list_break_on) + (skip_prologue_using_sal): Update. + * stack.h (iterate_over_block_locals) + (iterate_over_block_local_vars): Update. + * stack.c (print_frame_args): Update. + (iterate_over_block_locals, iterate_over_block_local_vars): Make + parameter const. + (get_selected_block): Make return type const. + * python/py-frame.c (frapy_block): Update. + * python/py-block.c (gdbpy_block_for_pc): Update. + * p-exp.y (%union) : Now const. + * mi/mi-cmd-stack.c (list_args_or_locals): Update. + * mdebugread.c (mylookup_symbol, parse_procedure): Update. + * m2-exp.y (%union) : Now const. + * linespec.c (get_current_search_block): Make return type const. + (create_sals_line_offset, find_label_symbols): Update. + * inline-frame.c (inline_frame_sniffer, skip_inline_frames): + Update. + (block_starting_point_at): Make "block" const. + * infrun.c (insert_exception_resume_breakpoint): Make "b" const. + (check_exception_resume): Update. + * guile/scm-frame.c (gdbscm_frame_block): Update. + * guile/scm-block.c (gdbscm_lookup_block): Update. + * frame.h (get_frame_block): Update. + (get_selected_block): Make return type const. + * frame.c (frame_id_inner): Update. + * f-valprint.c (info_common_command_for_block) + (info_common_command): Update. + * dwarf2loc.c (dwarf2_find_location_expression) + (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax) + (locexpr_describe_location_piece): Update. + * c-exp.y (%union) : Now const. + * breakpoint.c (resolve_sal_pc): Update. + * blockframe.c (get_frame_block):Make return type const. + (get_pc_function_start, get_frame_function, find_pc_sect_function) + (block_innermost_frame): Update. + * block.h (blockvector_for_pc, blockvector_for_pc_sect) + (block_for_pc, block_for_pc_sect): Update. + * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make + 'pblock' const. + (block_for_pc_sect, block_for_pc): Make return type const. + * ax-gdb.c (gen_expr): Update. + * alpha-mdebug-tdep.c (find_proc_desc): Update. + * ada-lang.c (ada_read_renaming_var_value): Make 'block' const. + (ada_make_symbol_completion_list, ada_add_exceptions_from_frame) + (ada_read_var_value): Update. + * ada-exp.y (struct name_info) : Now const. + (%union): Likewise. + (block_lookup): Constify. + +2014-06-18 Gary Benson + + * nat/i386-dregs.h: New file. + * Makefile.in (HFILES_NO_SRCDIR): Add the above. + * i386-nat.h (i386-dregs.h): New include. + (DR_FIRSTADDR): Now in i386-dregs.h. + (DR_LASTADDR): Likewise. + (DR_NADDR): Likewise. + (DR_STATUS): Likewise. + (DR_CONTROL): Likewise. + (i386_debug_reg_state): Likewise. + * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise. + +2014-06-18 Don Breazeal + + * breakpoint.c (set_longjmp_breakpoint): Call + momentary_breakpoint_from_master with additional argument. + (set_longjmp_breakpoint_for_call_dummy): Call + momentary_breakpoint_from_master with additional argument. + (set_std_terminate_breakpoint): Call + momentary_breakpoint_from_master with additional argument. + (momentary_breakpoint_from_master): Add argument to function + definition and use it to initialize structure member flag. + (clone_momentary_breakpoint): Call + momentary_breakpoint_from_master with additional argument. + * infrun.c (follow_inferior_reset_breakpoints): Clear structure + member flags set in momentary_breakpoint_from_master. + +2014-06-18 Gary Benson + + * i386-nat.c (i386_show_dr): Renamed to + i386_dr_show and made nonstatic. All uses updated. + (i386_length_and_rw_bits): Renamed to + i386_dr_length_and_rw_bits and made nonstatic. + All uses updated. + (i386_insert_aligned_watchpoint): Renamed to + i386_dr_insert_aligned_watchpoint and made nonstatic. + All uses updated. + (i386_remove_aligned_watchpoint): Renamed to + i386_dr_remove_aligned_watchpoint and made nonstatic. + All uses updated. + (i386_update_inferior_debug_regs): Renamed to + i386_dr_update_inferior_debug_regs and made nonstatic. + All uses updated. + +2014-06-18 Gary Benson + + * i386-nat.c (i386_dr_low_can_set_addr): New macro. + (i386_dr_low_can_set_control): Likewise. + (i386_dr_low_set_addr): Likewise. + (i386_dr_low_set_control): Likewise. + (i386_dr_low_get_addr): Likewise. + (i386_dr_low_get_status): Likewise. + (i386_dr_low_get_control): Likewise. + (i386_insert_aligned_watchpoint): Use new macros. + (i386_update_inferior_debug_regs): Likewise. + (i386_stopped_data_address): Likewise. + +2014-06-18 Gary Benson + + * i386-nat.c (i386_update_inferior_debug_regs) : + New parameter. All uses updated. + +2014-06-18 Gary Benson + + * i386-nat.c (maint_show_dr): Renamed to debug_hw_points. + All uses updated. + +2014-06-18 Gary Benson + + * i386-nat.c (debug_printf): New macro. + (i386_get_debug_register_length): Likewise. + (TARGET_HAS_DR_LEN_8): Use above macro. + (i386_show_dr): Use debug_printf instead of puts_unfiltered + and printf_unfiltered. Use phex to format values. + +2014-06-18 Gary Benson + + * i386-nat.c (i386_handle_nonaligned_watchpoint) : + Make const. + +2014-06-18 Gary Benson + + * i386-nat.c: Comment changes. + +2014-06-18 Gary Benson + + * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. + +2014-06-18 Gary Benson + + * i386-nat.c (i386_length_and_rw_bits): Remove prototype. + (i386_insert_aligned_watchpoint): Likewise. + (i386_remove_aligned_watchpoint): Likewise. + (i386_handle_nonaligned_watchpoint): Likewise. + +2014-06-18 Gary Benson + + * i386-nat.c: Whitespace changes. + +2014-06-17 Samuel Bronson + + * MAINTAINERS: Update Roland McGrath's email address. + Thanks to Sergio Durigan Junior for pointing out that he left + Red Hat a while ago, and giving me a current address. + +2014-06-17 Tom Tromey + + * utils.h (savestring): Remove declaration. + +2014-06-17 Tom Tromey + + * remote.c (extended_remote_run): Use make_cleanup_freeargv. + +2014-06-16 Keith Seitz + + PR mi/15863 + * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt + to update the varobj if inferior_ptid is null_ptid. + +2014-06-16 Tom Tromey + + * target.h (struct target_ops) : Make parameter + const. + (target_info_proc): Update. + * target.c (target_info_proc): Make "args" const. + * procfs.c (procfs_info_proc): Update. + * linux-tdep.c (linux_info_proc): Update. + (linux_core_info_proc_mappings): Make "args" const. + (linux_core_info_proc): Update. + * gdbarch.sh (info_proc, core_info_proc): Make "args" const. + * gdbarch.c: Rebuild. + * gdbarch.h: Rebuild. + * corelow.c (core_info_proc): Update. + +2014-06-16 Tom Tromey + + * target.h (struct target_ops) : Make parameter + const. + (target_disconnect): Update. + * target.c (target_disconnect): Make "args" const. + * target-delegates.c: Rebuild. + * remote.c (remote_disconnect): Update. + * record.h (record_disconnect): Update. + * record.c (record_disconnect): Update. + * inf-child.c (inf_child_disconnect): Update. + +2014-06-16 Tom Tromey + + * target.h (struct target_ops) : Make "command" const. + * target.c (debug_to_rcmd, default_rcmd): Update. + * target-delegates.c: Rebuild. + * remote.c (remote_rcmd): Update. + * monitor.c (monitor_rcmd): Update. + +2014-06-16 Pedro Alves + + * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust. + (disable_breakpoints_in_freed_objfile): Skip objfiles that don't + have OBJF_SHARED set. + * objfiles.c (userloaded_objfile_contains_address_p): Rename to... + (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED + instead of OBJF_USERLOADED. + * objfiles.h (OBJF_SHARED): Update comment. + (userloaded_objfile_contains_address_p): Rename to ... + (shared_objfile_contains_address_p): ... this, and update + comments. + * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the + new objfile. + (remove_symbol_file_command): Skip objfiles that don't have + OBJF_SHARED set. + +2014-06-16 Tom Tromey + + * minsyms.h (prim_record_minimal_symbol) + (prim_record_minimal_symbol_and_info): Update comments. + +2014-06-14 Eli Zaretskii + + * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile + or --without-guile, according to how GDB was built. + +2014-06-13 Tom Tromey + + * cp-support.c (maint_cplus_command): Pass all_commands, not -1, + to help_list. + * guile/guile.c (info_guile_command): Pass all_commands, not -1, + to help_list. + * tui/tui-win.c (tui_command): Pass all_commands, not -1, to + help_list. + * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to + help_list.Pass all_commands, not -1, to help_list. + * cli/cli-dump.c (dump_command, append_command) + (srec_dump_command, ihex_dump_command, tekhex_dump_command) + (binary_dump_command, binary_append_command): Pass all_commands, + not -1, to help_list. + * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not + -1, to help_list. + * valprint.c (set_print, set_print_raw): Pass all_commands, not + -1, to help_list. + * typeprint.c (set_print_type): Pass all_commands, not -1, to + help_list. + * top.c (set_history): Pass all_commands, not -1, to help_list. + * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass + all_commands, not -1, to help_list. + * symfile.c (overlay_command): Pass all_commands, not -1, to + help_list. + * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to + help_list. + * serial.c (serial_set_cmd): Pass all_commands, not -1, to + help_list. + * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not + -1, to help_list. + * remote.c (remote_command, set_remote_cmd): Pass all_commands, + not -1, to help_list. + * ravenscar-thread.c (set_ravenscar_command): Pass all_commands, + not -1, to help_list. + * maint.c (maintenance_command, maintenance_info_command) + (maintenance_print_command, maintenance_set_cmd): Pass + all_commands, not -1, to help_list. + * macrocmd.c (macro_command): Pass all_commands, not -1, to + help_list. + * language.c (set_check): Pass all_commands, not -1, to help_list. + * infcmd.c (unset_command): Pass all_commands, not -1, to + help_list. + * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to + help_list. + * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to + help_list. + * dcache.c (set_dcache_command): Pass all_commands, not -1, to + help_list. + * breakpoint.c (save_command): Pass all_commands, not -1, to + help_list. + * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass + all_commands, not -1, to help_list. + +2014-06-12 Pierre Langlois + + * regcache.c (struct register_to_invalidate): New structure. + (do_register_invalidate, make_cleanup_regcache_invalidate): New + functions. + (regcache_raw_write): Call make_cleanup_regcache_invalidate. + +2014-06-12 Yao Qi + + * varobj.c (varobj_get_num_children): Call + varobj_is_dynamic_p. + (varobj_list_children): Likewise. + (varobj_update): Likewise. Update comments. + +2014-06-12 Yao Qi + + * varobj.c (varobj_pretty_printed_p): Rename to ... + (varobj_is_dynamic_p): ... this. New function. + * varobj.h (varobj_pretty_printed_p): Remove declaration. + (varobj_is_dynamic_p): Declare. + * mi/mi-cmd-var.c (print_varobj): All callers updated. + (mi_print_value_p, varobj_update_one): Likewise. + +2014-06-12 Pedro Alves + Yao Qi + + * varobj.c: Remove "#if HAVE_PYTHON" and "#endif". + (varobj_get_iterator): Wrap up code for pretty-printer by + "#if HAVE_PYTHON" and "#endif". + (update_dynamic_varobj_children): Likewise. + +2014-06-12 Pedro Alves + Yao Qi + + * python/py-varobj.c (py_varobj_iter_next): Return NULL if + gdb_python_initialized is false. Move some code from varobj.c. + * varobj-iter.h (struct varobj_item): Moved from varobj.c. + * varobj.c: Move "varobj-iter.h" inclusion earlier. + (struct varobj_item): Moved to varobj-iter.h". + (varobj_clear_saved_item): New function. + (update_dynamic_varobj_children): Move python-related code to + py-varobj.c. + (free_variable): Call varobj_clear_saved_item and + varobj_iter_delete. + +2014-06-12 Pedro Alves + Yao Qi + + * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o". + (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c". + (HFILES_NO_SRCDIR): Add "varobj-iter.h". + (py-varobj.o): New rule. + * python/py-varobj.c: New file. + * python/python-internal.h (py_varobj_get_iterator): Declare. + * varobj-iter.h: New file. + * varobj.c: Include "varobj-iter.h" + (struct varobj) : Change its type from "PyObject *" + to "struct varobj_iter *". + : Likewise. + [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern. + [HAVE_PYTHON] (varobj_get_iterator): New function. + (update_dynamic_varobj_children) [HAVE_PYTHON]: Move + python-specific code to python/py-varobj.c. + (install_visualizer): Call varobj_iter_delete instead of + Py_XDECREF. + * varobj.h (varobj_ensure_python_env): Declare. + +2014-06-12 Yao Qi + + * varobj.c (struct varobj_item): New structure. + (create_child_with_value): Update declaration. + (varobj_add_child): Replace arguments 'name' and 'value' with + 'item'. All callers updated. + (install_dynamic_child): Likewise. + (update_dynamic_varobj_children): Likewise. + (varobj_add_child): Likewise. + (create_child_with_value): Likewise. + +2014-06-11 Joel Brobecker + + * NEWS: Create a new section for the next release branch. + Rename the section of the current branch, now that it has + been cut. + +2014-06-11 Joel Brobecker + + GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2): + * version.in: Bump version to 7.8.50.DATE-cvs. + +2014-06-11 Pedro Alves + + PR remote/17028 + * ser-mingw.c (net_windows_socket_check_pending): New function. + (net_windows_select_thread): Ignore spurious wakeups. Use + net_windows_socket_check_pending. + (net_windows_wait_handle): Check for pending events with + ioctlsocket, through net_windows_socket_check_pending, instead of + checking the socket's event. + +2014-06-10 Siva Chandra Reddy + + * python/python-internal.h (gdb_PyObject_GetAttrString) + (gdb_PyObject_HasAttrString): New inline function definitions. + * py-value.c (get_field_flag): Remove the now unnecessary cast to + char * of the second argument to PyObject_GetAttrString. + +2014-06-10 Joel Brobecker + + * serial.c (serial_write): Fix index of character to be printed + in call to serial_logchar when serial debug traces are enabled. + +2014-06-10 Joel Brobecker + + * gdbtypes (resolve_dynamic_range): Add function description. + +2014-06-09 Pedro Alves + + * linux-nat.c (linux_child_follow_fork): Initialize status with + W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from + inner block. Only pass the signal to PTRACE_DETACH if in pass + state. + +2014-06-09 Gary Benson + + * common/signals.c (gdb_signal_from_host): Reorder to separate + the always-available ANSI-standard signals from the signals that + require checking. + (do_gdb_signal_to_host): Likewise. + * proc-events.c (signal_table): Likewise. + +2014-06-08 Hui Zhu + + * common/linux-ptrace.c (linux_disable_event_reporting): New + function. + * common/linux-ptrace.h (linux_disable_event_reporting): New + declaration. + * linux-nat.c (linux_child_follow_fork): Do a single step before + detach. + +2014-06-07 Keith Seitz + + Revert: + PR c++/16253 + * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed + from symbol_matches_domain in symtab.c. All local callers + of symbol_matches_domain updated. + (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, + search STRUCT_DOMAIN. + (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN + independently. standard_lookup will do that automatically. + * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why + VAR_DOMAIN searches may return a STRUCT_DOMAIN match. + (cp_lookup_symbol_in_namespace): Likewise. + If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. + (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches + may return a STRUCT_DOMAIN match. + (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. + * cp-support.c: Include language.h. + (inspect_type): Explicitly search STRUCT_DOMAIN before searching + VAR_DOMAIN. + * psymtab.c (match_partial_symbol): Compare the requested + domain with the symbol's domain directly. + (lookup_partial_symbol): Likewise. + * symtab.c (lookup_symbol_in_language): Explain when/why + VAR_DOMAIN searches may return a STRUCT_DOMAIN match. + If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for + appropriate languages. + (symbol_matches_domain): Renamed `ada_symbol_matches_domain' + and moved to ada-lang.c + (lookup_block_symbol): Explain that this function only returns + symbol matching the requested DOMAIN. + Compare the requested domain with the symbol's domain directly. + (iterate_over_symbols): Compare the requested domain with the + symbol's domain directly. + * symtab.h (symbol_matches_domain): Remove. + +2014-06-06 Doug Evans + + * guile/guile-internal.h (gdbscm_guile_major_version): Declare. + (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare. + (gdbscm_guile_version_is_at_least): Declare. + (gdbscm_scm_string_to_int): Declare. + * guile/guile.c (gdbscm_guile_major_version): New global. + (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals. + (guile_datadir): New static global. + (gdbscm_guile_data_directory): New function. + (initialize_scheme_side): Update. + (misc_guile_functions): Add guile-data-directory. + (initialize_gdb_module): Fetch guile version number. + * guile/lib/gdb.scm: Remove call to add-to-load-path. + * guile/lib/gdb/init.scm (%initialize!): Ditto. + * guile/lib/gdb/boot.scm: Use guile-data-directory. + * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix + comments. + * guile/scm-string.c (gdbscm_scm_string_to_int): New function. + * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function. + * guile/scm-value.c (gdbscm_value_to_string): Only call + scm_port_conversion_strategy if Guile version >= 2.0.6. + +2014-06-06 Mingjie Xing + + * main.c (print_gdb_help): Add -q and --silent. + +2014-06-06 Gary Benson + + * common/signals.c: Remove preprocessor conditionals for + always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, + SIGSEGV and SIGTERM. + * proc-events.c: Likewise. + +2014-06-06 Markus Metzger + + * symfile.c (symfile_free_objfile): Remove restriction to + OBJF_USERLOADED. + * symfile-mem.c (symbol_file_add_from_memory): Call + add_target_sections_of_objfile. + +2014-06-05 Ludovic Courtès + + * guile/scm-value.c (gdbscm_history_append_x): Use + 'vlscm_get_value_smob_arg_unsafe' instead of + 'vlscm_scm_to_value'. + +2014-06-05 Simon Marchi + + PR mi/15806 + * utils.c (printchar): Don't escape at all if quoter is NUL. + Update function documentation to clarify effect of parameter + QUOTER. + * remote.c (escape_buffer): Pass '\\' as the quoter to + fputstrn_unfiltered. + * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to + generate the output. + (mi_solib_unloaded): Same. + +2014-06-05 Joel Brobecker + + * development.sh: Delete. + * Makefile.in (config.status): Adjust dependency on development.sh. + * configure.ac: Adjust development.sh source call. + * configure: Regenerate. + +2014-06-04 Doug Evans + + * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members + is_scheme_bkpt, spec. + (bpscm_make_breakpoint_smob): Initialize new members. + (gdbscm_create_breakpoint_x): Split into two ... + (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions. + (bpscm_breakpoint_deleted): Reset breakpoint number and stop function. + (scheme_function breakpoint_functions): Update. + * guile/lib/gdb.scm: Delete create-breakpoint!. Rename + breakpoint-delete! to delete-breakpoint!. Add make-breakpoint, + register-breakpoint!. + +2014-06-04 Joel Brobecker + + PR server/17023 + * mem-break.c (z_type_supported): Return zero if + THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL. + 2014-06-04 Tom Tromey * ada-lang.c (ada_template_to_fixed_record_type_1): Use