X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=befc09e9bfe45dd9bed50a0753156df594c968bb;hb=2c51604d3adbcc77a25d78ce900f5be4597c2504;hp=63cbdcb4a6954deb67bb82529db96bb2e1c451c6;hpb=1a76d598884a052dacd8feb49f1999e1a0d537f1;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 63cbdcb4a6..befc09e9bf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,7 +1,511 @@ -2014-07-10 Doug Evans +2014-07-24 Gary Benson - * gdbthread.h (any_running): Declare. - * thread.c (any_running): New function. + * exceptions.h (throw_vfatal): Renamed to... + (throw_vquit): New declaration. + (throw_quit): Likewise. + * exceptions.c (throw_vfatal): Renamed to... + (throw_vquit): New function. + (throw_quit): Likewise. + (throw_error): Call throw_verror rather than throw_it. + * utils.h (vfatal): Removed. + (fatal): Likewise. + * utils.c (vfatal): Removed. + (fatal): Likewise. + (internal_verror): Replaced call to fatal with call to throw_quit. + (quit): Replaced calls to fatal with calls to throw_quit. + +2014-07-23 Ajit Agarwal + + * microblaze-tdep.c (microblaze_fetch_instruction): Use of + target_read_code. + +2014-07-23 Chen Gang + + * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether + less than zero in conditional expression. + +2014-07-23 Tom Tromey + + * make-target-delegates ($ARGS_PART): Match trailing close paren. + ($INTRO_PART): Don't match whitespace. + ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and + argument matching. + ($METHOD): Add $METHOD_TRAILER. + (trim): Rewrite. + (scan_target_h): New sub. + Change main loop not to collect state. + * target-delegates.c: Rebuild. + +2014-07-23 Gary Benson + + * cp-support.c (gdb_demangle): Fix build on systems without + sigaltstack. + +2014-07-22 Jan Kratochvil + + * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address + for reference entry value target data value. + +2014-07-22 Jan Kratochvil + + * stack.c (read_frame_arg): Verify value_optimized_out before calling + value_available_contents_eq. + +2014-07-22 Pedro Alves + + * value.c (allocate_optimized_out_value): Don't mark value as + non-lazy. + +2014-07-22 Jiong Wang + + * MAINTAINERS (Write After Approval): Update my email address. + +2014-07-20 Doug Evans + + PR server/17147 + * remote.c (putpkt_binary): Add text to error message. + +2014-07-20 Yao Qi + + * eval.c: Remove "Chill" from comments. + * gdbtypes.h: Likewise. + * symtab.h: Likewise. + +2014-07-20 Yao Qi + + * std-operator.def: Update comments to TERNOP_SLICE. + +2014-07-20 Yao Qi + + * std-operator.def: Remove BINOP_RANGE. + * breakpoint.c (watchpoint_exp_is_const): Update. + * expprint.c (dump_subexp_body_standard): Likewise. + * eval.c (init_array_element): Remove dead code. + (evaluate_subexp_standard): Likewise. + +2014-07-20 Yao Qi + + * std-operator.def: Remove BINOP_IN. + * breakpoint.c (watchpoint_exp_is_const): Update. + * eval.c (evaluate_subexp_standard): Likewise. + * expprint.c (dump_subexp_body_standard): Likewise. + +2014-07-19 Ajit Agarwal + + * microblaze-tdep.c (microblaze_register_names): Add + the rshr and rslr register names. + (microblaze_gdbarch_init): Use of tdesc_has_registers. + Use of tdesc_find_feature. Use of tdesc_data_alloc. + Use of tdesc_numbered_register. Use of + microblaze_register_g_packet_guesses. Use of + tdesc_use_registers. Use of set_gdbarch_register_type. + (microblaze_register_g_packet_guesses): New. + * microblaze-tdep.h (microblaze_reg_num): Add + field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM + MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS. + (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS. + * features/microblaze-core.xml: New file. + * features/microblaze-stack-protect.xml: New file. + * features/microblaze-with-stack-protect.c: New file. + * features/microblaze-with-stack-protect.xml: New file. + * features/microblaze.xml: New file. + * features/microblaze.c: New file. + * features/Makefile (microblaze-with-stack-protect): Add + microblaze-with-stack-protect microblaze and microblaze-expedite. + * regformats/microblaze-with-stack-protect.dat: New file. + * regformats/microblaze.dat: New file. + * doc/gdb.texinfo (MicroBlaze Features): Added. + +2014-07-18 Tom Tromey + + * exec.c (exec_ops): Now static. + * exec.h (exec_ops): Don't declare. + +2014-07-18 Tom Tromey + + * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self" + to find_target_beneath. + * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to + find_target_beneath. + (ravenscar_mourn_inferior): Pass "self" to find_target_beneath. + +2014-07-18 Tom Tromey + + PR gdb/17130: + * utils.c (quit): Use target_supports_terminal_ours. + * target.h (target_supports_terminal_ours): Declare. + * target.c (target_supports_delete_record): Don't check + to_delete_record against NULL. + (target_supports_terminal_ours): New function. + +2014-07-18 Tom Tromey + + PR gdb/17130: + * spu-multiarch.c (spu_region_ok_for_hw_watchpoint) + (spu_fetch_registers, spu_store_registers, spu_xfer_partial) + (spu_search_memory, spu_mourn_inferior): Simplify delegation. + * linux-thread-db.c (thread_db_pid_to_str): Always delegate. + * windows-nat.c (windows_xfer_partial): Always delegate. + * record-btrace.c (record_btrace_xfer_partial): Simplify + delegation. + (record_btrace_fetch_registers, record_btrace_store_registers) + (record_btrace_prepare_to_store, record_btrace_resume) + (record_btrace_wait, record_btrace_find_new_threads) + (record_btrace_thread_alive): Likewise. + * procfs.c (procfs_xfer_partial): Always delegate. + * corelow.c (core_xfer_partial): Always delegate. + * sol-thread.c (sol_find_new_threads): Simplify delegation. + +2014-07-18 Tom Tromey + + * exec.c (exec_make_note_section): Move earlier. + +2014-07-17 Doug Evans + + PR gdb/17170 + * maint.c (count_symtabs_and_blocks): Handle NULL + current_program_space. + (report_command_stats): Check global enabled flag in addition to + recorded enabled flag. + (make_command_stats_cleanup): Handle msg_type == 0, startup. + +2014-07-16 Pedro Alves + + * linux-nat.c (kill_callback): Use kill_lwp, not kill. + +2014-07-16 Tom Tromey + + * target.h (struct target_ops) : Reformat + comment. + +2014-07-16 Tom Tromey + + * target-delegates.c: Rebuild. + +2014-07-15 Pierre Langlois + + * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro. + (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise. + (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH. + (avr_pointer_to_address): Likewise. + (avr_address_class_type_flags): New function. + (avr_address_class_type_flags_to_name): Likewise. + (avr_address_class_name_to_type_flags): Likewise. + (avr_gdbarch_init): Set address_class_type_flags, + address_class_type_flags_to_name and + address_class_name_to_type_flags. + +2014-07-15 Pedro Alves + + * linux-nat.c (kill_callback): Save errno and work with saved + copy. + +2014-07-15 Simon Marchi + + * expprint.c (dump_subexp_body_standard): Handle OP_STRING. + +2014-07-14 Edjunior Barbosa Machado + + * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware + breakpoint support correctly. + +2014-07-14 Pedro Alves + + * utils.c (prompt_for_continue): Call target_terminal_ours. + +2014-07-14 Pedro Alves + + * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of + catch_errors. Don't re-enable stdin or notify observers where, + and rethrow error. + (fetch_inferior_event_wrapper): Delete. + +2014-07-14 Pedro Alves + + PR gdb/17072 + * top.c: Include "inf-loop.h". + (struct gdb_readline_wrapper_cleanup) : New + field. + (gdb_readline_wrapper_cleanup): Make the target async again, if it + was async before. + (gdb_readline_wrapper): Store whether the target is async, and + make it sync. + +2014-07-14 Pedro Alves + + PR gdb/17072 + * top.c (gdb_readline_wrapper_line): Tweak comment. + (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall + the input handler callback. + +2014-07-14 Pedro Alves + + PR gdb/17072 + * main.c: Include event-top.h. + (handle_command_errors): New function. + (catch_command_errors, catch_command_errors_const): Use it. + +2014-07-14 Pedro Alves + + * exceptions.c (catch_command_errors, catch_command_errors_const): + Moved to main.c. + * exceptions.h (catch_command_errors_ftype) + (catch_command_errors_const_ftype): Moved to main.c. + (catch_command_errors, catch_command_errors_const): Delete + declarations. + * main.c (catch_command_errors_ftype) + (catch_command_errors_const_ftype): Moved here from exceptions.h. + (catch_command_errors, catch_command_errors_const)): Moved here + from exceptions.c and make static. + +2014-07-14 Pedro Alves + + * exceptions.c (print_any_exception): Delete. + (catch_exceptions_with_msg): Use exception_print instead of + print_any_exception. + (catch_errors): Use exception_fprintf instead of + print_any_exception. + (catch_command_errors, catch_command_errors_const): Use + exception_print instead of print_any_exception. + +2014-07-14 Pedro Alves + + * infcall.c (run_inferior_call): Set 'sync_execution' while + running the inferior call. + +2014-07-14 Pedro Alves + + * value.c (value_contents_equal): Delete function. + * value.h (value_contents_equal): Delete declaration. + +2014-07-14 Tom Tromey + + PR exp/17106: + * gdbtypes.c (is_dynamic_type_internal): New function, from + is_dynamic_type. + (is_dynamic_type): Rewrite. + (resolve_dynamic_union): Use resolve_dynamic_type_internal. + (resolve_dynamic_struct): Likewise. + (resolve_dynamic_type_internal): New function, from + resolve_dynamic_type. + (resolve_dynamic_type): Rewrite. + +2014-07-14 Tom Tromey + + * target.c (target_require_runnable): Also check record_stratum. + Update comment. + +2014-07-11 Yao Qi + + * arm-tdep.c (thumb_analyze_prologue): Break the loop if + thumb_instruction_restores_sp return true. + +2014-07-11 Yao Qi + + * arm-tdep.c (thumb_instruction_restores_sp): New function. + (thumb_in_function_epilogue_p): Call + thumb_instruction_restores_sp. + +2014-07-11 Yao Qi + + * arm-tdep.c (thumb_analyze_prologue): Don't match instruction + 'add sp, #imm'. + (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'. + +2014-07-11 Gary Benson + + * amd64-linux-nat.c (gdbcore.h): Remove include. + (regset.h): Likewise. + (nat/linux-btrace.h): Likewise. + (btrace.h): Likewise. + (gdb_assert.h): Likewise. + (string.h): Likewise. + (sys/uio.h): Likewise. + (sys/debugreg.h): Likewise. + (sys/syscall.h): Likewise. + (sys/procfs.h): Likewise. + (sys/user.h): Likewise. + (asm/ptrace.h): Likewise. + (i386-nat.h): Likewise. + * i386-linux-nat.c (i386-nat.h): Likewise. + (regset.h): Likewise. + (target.h): Likewise. + (linux-nat.h): Likewise. + (nat/linux-btrace.h): Likewise. + (btrace.h): Likewise. + (gdb_assert.h): Likewise. + (string.h): Likewise. + (sys/uio.h): Likewise. + (sys/user.h): Likewise. + (sys/procfs.h): Likewise. + (sys/reg.h): Likewise. + (sys/debugreg.h): Likewise. + (ORIG_EAX): Remove definition. + +2014-07-11 Gary Benson + + * i386-linux-nat.h: New file. + * x86-linux-nat.h: Likewise. + * x86-linux-nat.c: Likewise. + * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers. + * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o. + * config/i386/linux64.mh (NATDEPFILES): Likewise. + * amd64-linux-nat.c (x86-linux-nat.h): New include. + (PTRACE_GETREGSET): Now in x86-linux-nat.h. + (PTRACE_SETREGSET): Likewise. + (arch_lwp_info): Now in x86-linux-nat.c. + (have_ptrace_getregset): Now in x86-linux-nat.h. + (x86_linux_dr_get): Now in x86-linux-nat.c. + (x86_linux_dr_set): Likewise. + (x86_linux_dr_get_addr): Likewise. + (x86_linux_dr_get_control): Likewise. + (x86_linux_dr_get_status): Likewise. + (update_debug_registers_callback): Likewise. + (x86_linux_dr_set_control): Likewise. + (x86_linux_dr_set_addr): Likewise. + (x86_linux_prepare_to_resume): Likewise. + (x86_linux_new_thread): Likewise. + (x86_linux_new_fork): Likewise. + (x86_linux_get_thread_area): Likewise. + (super_post_startup_inferior): Likewise. + (x86_linux_child_post_startup_inferior): Likewise. + (AMD64_LINUX_USER64_CS): Likewise. + (AMD64_LINUX_X32_DS): Likewise. + (x86_linux_read_description): Likewise. + (x86_linux_enable_btrace): Likewise. + (x86_linux_disable_btrace): Likewise. + (x86_linux_teardown_btrace): Likewise. + (x86_linux_read_btrace): Likewise. + (x86_linux_create_target): Likewise. + (x86_linux_add_target): Likewise. + * i386-linux-nat.c (x86-linux-nat.h): New include. + (PTRACE_GETREGSET): Now in x86-linux-nat.h. + (PTRACE_SETREGSET): Likewise. + (arch_lwp_info): Now in x86-linux-nat.c. + (have_ptrace_getregset): Now in x86-linux-nat.h. + (x86_linux_dr_get): Now in x86-linux-nat.c. + (x86_linux_dr_set): Likewise. + (x86_linux_dr_get_addr): Likewise. + (x86_linux_dr_get_control): Likewise. + (x86_linux_dr_get_status): Likewise. + (update_debug_registers_callback): Likewise. + (x86_linux_dr_set_control): Likewise. + (x86_linux_dr_set_addr): Likewise. + (x86_linux_prepare_to_resume): Likewise. + (x86_linux_new_thread): Likewise. + (x86_linux_new_fork): Likewise. + (x86_linux_get_thread_area): Likewise. + (super_post_startup_inferior): Likewise. + (x86_linux_child_post_startup_inferior): Likewise. + (AMD64_LINUX_USER64_CS): Likewise. + (AMD64_LINUX_X32_DS): Likewise. + (x86_linux_read_description): Likewise. + (x86_linux_enable_btrace): Likewise. + (x86_linux_disable_btrace): Likewise. + (x86_linux_teardown_btrace): Likewise. + (x86_linux_read_btrace): Likewise. + (x86_linux_create_target): Likewise. + (x86_linux_add_target): Likewise. + +2014-07-11 Gary Benson + + * amd64-linux-nat.c: Comment and whitespace changes. + * i386-linux-nat.c: Comment and whitespace changes. + +2014-07-11 Gary Benson + + * amd64-linux-nat.c (x86_linux_create_target): New function. + (x86_linux_add_target): Likewise. + (_initialize_amd64_linux_nat): Delegate to the above new functions. + * i386-linux-nat.c (x86_linux_create_target): New function. + (x86_linux_add_target): Likewise. + (_initialize_i386_linux_nat): Delegate to the above new functions. + +2014-07-11 Gary Benson + + * amd64-linux-nat.c (x86_linux_get_thread_area): New function. + (ps_get_thread_area): Delegate to the above in 32-bit mode. + * i386-linux-nat.c (x86_linux_get_thread_area): New function. + (ps_get_thread_area): Delegate to the above. + +2014-07-11 Gary Benson + + * amd64-linux-nat.c (amd64_linux_read_description): Renamed to + x86_linux_read_description. All uses updated. amd64-specific + code conditionalized. Conditionalized i386-specific code added. + Redundant cast removed. + * i386-linux-nat.c (i386_linux_read_description): Renamed to + x86_linux_read_description. All uses updated. i386-specific + code conditionalized. Conditionalized amd64-specific code added. + One sizeof replaced with the actual type it is describing. + +2014-07-11 Gary Benson + + * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to + x86_linux_dr_get. All uses updated. + (amd64_linux_dr_set): Renamed to + x86_linux_dr_set. All uses updated. + (amd64_linux_dr_get_addr): Renamed to + x86_linux_dr_get_addr. All uses updated. + (amd64_linux_dr_get_control): Renamed to + x86_linux_dr_get_control. All uses updated. + (amd64_linux_dr_get_status): Renamed to + x86_linux_dr_get_status. All uses updated. + (amd64_linux_dr_set_control): Renamed to + x86_linux_dr_set_control. All uses updated. + (amd64_linux_dr_set_addr): Renamed to + x86_linux_dr_set_addr. All uses updated. + (amd64_linux_prepare_to_resume): Renamed to + x86_linux_prepare_to_resume. All uses updated. + (amd64_linux_new_thread): Renamed to + x86_linux_new_thread. All uses updated. + (amd64_linux_new_fork): Renamed to + x86_linux_new_fork. All uses updated. + (amd64_linux_child_post_startup_inferior): Renamed to + x86_linux_child_post_startup_inferior. All uses updated. + (amd64_linux_enable_btrace): Renamed to + x86_linux_enable_btrace. All uses updated. + (amd64_linux_disable_btrace): Renamed to + x86_linux_disable_btrace. All uses updated. + (amd64_linux_teardown_btrace): Renamed to + x86_linux_teardown_btrace. All uses updated. + (amd64_linux_read_btrace): Renamed to + x86_linux_read_btrace. All uses updated. + * i386-linux-nat.c (i386_linux_dr_get): Renamed to + x86_linux_dr_get. All uses updated. + (i386_linux_dr_set): Renamed to + x86_linux_dr_set. All uses updated. + (i386_linux_dr_get_addr): Renamed to + x86_linux_dr_get_addr. All uses updated. + (i386_linux_dr_get_control): Renamed to + x86_linux_dr_get_control. All uses updated. + (i386_linux_dr_get_status): Renamed to + x86_linux_dr_get_status. All uses updated. + (i386_linux_dr_set_control): Renamed to + x86_linux_dr_set_control. All uses updated. + (i386_linux_dr_set_addr): Renamed to + x86_linux_dr_set_addr. All uses updated. + (i386_linux_prepare_to_resume): Renamed to + x86_linux_prepare_to_resume. All uses updated. + (i386_linux_new_thread): Renamed to + x86_linux_new_thread. All uses updated. + (i386_linux_new_fork): Renamed to + x86_linux_new_fork. All uses updated. + (i386_linux_child_post_startup_inferior): Renamed to + x86_linux_child_post_startup_inferior. All uses updated. + (i386_linux_enable_btrace): Renamed to + x86_linux_enable_btrace. All uses updated. + (i386_linux_disable_btrace): Renamed to + x86_linux_disable_btrace. All uses updated. + (i386_linux_teardown_btrace): Renamed to + x86_linux_teardown_btrace. All uses updated. + (i386_linux_read_btrace): Renamed to + x86_linux_read_btrace. All uses updated. + +2014-07-11 Adrian Sendroiu + + * remote.c (extended_remote_post_attach): New function. + (init_extended_remote_ops): Install it as to_post_attach method. 2014-07-09 Pedro Alves