X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=7f90ef2e0efde625e8b66a90ffcded9fb8674ddc;hb=41808ebe9d27c94bf0169ea7dbfea495cc4c6d86;hp=3f783a2cfe860a5b05cfb7cd9f4f60f2f4db86c0;hpb=60c4664782e3f003a4d032c984c29b2a7a7cfdeb;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f783a2cfe..7f90ef2e0e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,364 @@ +2008-02-02 Doug Evans + + * typeprint.c (*): Whitespace cleanup. + +2008-02-02 Mark Kettenis + Luis Machado + Thiago Jung Bauermann + + * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that + don't fit into registerson the stack the way GCC does. + +2008-02-01 Joel Brobecker + + * symtab.c (symbol_set_names): Do not add an entry in the demangling + hash table for Ada symbols. Just store the linkage name as is, + and leave the demangled_name as NULL. + +2007-02-01 Joel Brobecker + + * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms + in the global scope. + (new_symbol): Likewise. + +2008-02-01 Vladimir Prus + + * breakpoint.c (break_command_1): Return void. + (break_command_really): Return void. Rethrow + exceptions instead of returning. + (gdb_breakpoint): Remove the error_message parameter. + Return void. Rename to set_breakpoint. + * gdb.h (gdb_breakpoint): Rename and move to... + * breakpoint.h (set_breakpoint): ...here. + * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore + event hooks even if exception is thrown. Adjust to + gdb_breakpoint interface changes. + + +2008-02-01 Thiago Jung Bauermann + + * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit + float in both first and second word in the doubleword, to support + old and new ABIs. + +2008-02-01 Vladimir Prus + + Properly rethrow exception. This fixes errors + about non-existent functions for -break-insert. + * breakpoint.c (break_command_really): Use throw_exception + for rethrowing. If rethrowing, don't print the exception. + +2008-01-31 Thiago Jung Bauermann + + * NEWS: Mention Decimal Floating Point support. + +2008-01-31 Joel Brobecker + + * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned + value type to builtin_type_void_func_ptr. + +2008-01-31 Andreas Krebbel + + * s390-tdep.c (is_float_singleton, is_float_like, + alignment_of, s390_return_value): Make checks for + TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well. + +2008-01-31 Luis Machado + Thiago Jung Bauermann + + * infcmd.c (default_print_registers_info): Also print hex + raw contents for TYPE_CODE_DECFLOAT registers. + * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member. + * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro. + (rs6000_register_name): Add support for DFP pseudo-registers. + (rs6000_pseudo_register_type): Likewise. + rs6000_pseudo_register_reggroup_p): Likewise. + (ppc_pseudo_register_read): New function. + (ppc_pseudo_register_write): Likewise. + (rs6000_pseudo_register_read): Likewise. + (rs6000_pseudo_register_write): Likewise. + (e500_pseudo_register_read): Move checks to + rs6000_pseudo_register_read. + (e500_pseudo_register_write): Move checks to + rs6000_pseudo_register_write. + (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install + rs6000_pseudo_register_read and rs6000_pseudo_register_write + in gdbarch if SPE or DFP is available. Adjust gdbarch's + num_pseudo_regs to account for DFP pseudo regs. + +2008-01-31 Thiago Jung Bauermann + + * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member. + * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro. + (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type, + rs6000_pseudo_register_reggroup_p, e500_move_ev_register, + e500_pseudo_register_read, e500_pseudo_register_write): Use + IS_SPE_PSEUDOREG macro. + (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum. + (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable. + Remove initialization of tdep->ppc_ev31_regnum. + +2008-01-08 Paul Hilfinger + + * printcmd.c (print_formatted): Handle references as for unformatted + prints. + +2008-01-30 Joel Brobecker + + * eval.c (evaluate_subexp_standard): Add handling of user + registers when in EVAL_AVOID_SIDE_EFFECTS mode. + +2008-01-30 Pierre Muller + + * eval.c (evaluate_subexp_standard): Support + BINOP_INTDIV opcode. + +2008-01-30 Paul N. Hilfinger + + * valarith.c (value_binop): Add floating-point BINOP_MIN and + BINOP_MAX cases. + For BINOP_EXP, use length and signedness of left operand only for + result, as for shifts. + For integral operands to BINOP_EXP, use new integer_pow and + uinteger_pow functions so as to get full range of results. + (integer_pow): New function. + (uinteger_pow): New function. + +2008-01-30 Vladimir Prus + + Use vector for varobj_list_children interface. + * gdb/varobj.c (varobj_list_children): Return vector + of varobjs. + * gdb/varobj.h (varobj_list_children): Adjust + prototype. + (varobj_p): Declare. Declare vector thereof. + * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust + for varobj_list_children change. + * Makefile.in (varobj_h): Update dependencies. + +2008-01-30 Thiago Jung Bauermann + + * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for + TYPE_CODE_DECFLOAT arguments. + (ppc64_sysv_abi_push_dummy_call) Likewise. + (get_decimal_float_return_value): New function. + (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return + values by calling get_decimal_float_return_value. + (ppc64_sysv_abi_return_value): Likewise. + +2008-01-30 Nick Roberts + + * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field + for preprocessor macro information. Formatting changes. + +2008-01-29 Daniel Jacobowitz + + * remote.c (struct remote_state): Add cached_wait_status. + (remote_exec_file): New variable. + (PACKET_vAttach, PACKET_vRun): New constants. + (extended_remote_restart): Do not query for status. + (struct start_remote_args): New. + (remote_start_remote): Take it as a second argument. Check + whether the target is running. Issue an error for non-running + non-extended targets. Cache the wait status. Set inferior_ptid + here. + (remote_open_1): Prompt to disconnect non-running targets. Make + sure the target is marked running. Do not set inferior_ptid here. + Update call to remote_start_remote. Do not call remote_check_symbols + if the target is not running. + (remote_detach_1): Rename from remote_detach. Take an EXTENDED + argument. Handle a non-running target. + (remote_detach): Use it. + (extended_remote_detach): New. + (remote_disconnect): Fix typo. Use remoute_mourn_1. + (extended_remote_attach_1, extended_remote_attach) + (extended_async_remote_attach): New. + (remote_vcont_resume): Remove unused variable. + (remote_wait, remote_async_wait): Use any cached wait status. + (putpkt_binary, getpkt): Clear any cached wait status. + (extended_remoute_mourn_1): New. + (extended_remote_mourn): Use it. + (extended_async_remote_mourn, extended_remote_run): New. + (extended_remote_create_inferior_1): New. + (extended_remote_create_inferior): Use it. + (extended_remote_async_create_inferior): Likewise. + (remote_xfer_partial): Skip for non-executing targets. + (init_extended_remote_ops): Set to_detach and to_attach. + (init_extended_async_remote_ops): Likewise. Use + extended_async_remote_mourn. + (_initialize_remote): Register vAttach, vRun, and + set remote exec-file. + * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support. + +2008-01-29 Daniel Jacobowitz + + * Makefile.in (symfile.o): Update. + * NEWS: Mention exec tracing support. + * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for + exec events. + * infcmd.c (kill_if_already_running, detach_command) + (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries. + * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete. + (follow_exec): Do not check may_follow_exec. Do not mourn and push + targets. Apply the sysroot path to the loaded executable. Use + no_shared_libraries. + * linux-nat.c (linux_child_follow_fork): Print fork following + messages if verbose. + (kill_wait_callback): Kill again before waiting a second time. + * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with + no_shared_libraries. + +2008-01-29 Joel Brobecker + + * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. + +2008-01-29 Joel Brobecker + + * nto-tdep.h: Remove #include "defs.h". + * nto-tdep.c: Add #include "defs.h". + * Makefile.in (nto_tdep_h): Update dependencies. + (nto-tdep.o): Likewise. + +2008-01-29 Joel Brobecker + + * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter + and use it. + (proceed, start_remote): Update call to wait_for_inferior. + * inferior.h (wait_for_inferior): Update declaration. + * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, + solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. + * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as + TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED. + +2008-01-29 Aleksandar Ristovski + + * varobj (adjust_value_for_child_access): Added checking for + returned value from gdb_value_ind. + (c_describe_child): Likewise. + (cplus_describe_child): Fixed a typo. + +2008-01-29 Jim Blandy + + * MAINTAINERS: Update my info. + +2008-01-29 Vladimir Prus + + Use multiple locations for hardware watchpoints. + This eliminates the need to traverse value chain, doing + various checks, in three different places. + + * breakpoint.h (struct bp_location): New fields + lengths and watchpoint_type. + (struct breakpoint): Remove the val_chain field. + * breakpoint.c (is_hardware_watchpoint): New. + (free_valchain): Remove. + (update_watchpoint): New. + (insert_bp_location): For hardware watchpoint, just + directly insert it. + (insert_breakpoints): Call update_watchpoint_locations + on all watchpoints. If we have failed to insert + any location of a hardware watchpoint, remove all inserted + locations. + (remove_breakpoint): For hardware watchpoints, directly + remove location. + (watchpoints_triggered): Iterate over locations. + (bpstat_stop_status): Use only first location of + a resource watchpoint. + (delete_breakpoint): Don't call free_valchain. + (print_one_breakpoint): Don't print all + locations for watchpoints. + (breakpoint_re_set_one): Use update_watchpoint for + watchpoints. + +2008-01-29 Vladimir Prus + + Don't reset watchpoint block on solib load. + + * breakpoint.c (insert_bp_location): For watchpoints, + recompute condition. + (breakpoint_re_set_one): Instead of recomputing value + and condition for watchpoints, just reset value and + let insert_breakpoints/insert_bp_location recompute it. + Don't do anything about disabled watchpoint. + +2008-01-29 Pierre Muller + + * valarith.c (value_binop): Handle unsigned integer + division by zero. + +2008-01-28 Kevin Buettner + + * mn10300-tdep.c (mn10300_analyze_prologue): Check for an + instruction pattern that appears frequently in position + independent code. Fix bug in code which looks for "fmov" and + backtracks if no "fmov" is found. + +2008-01-28 Doug Evans + + * dbxread.c (read_dbx_symtab): Fix indentation. + Reformat comments to 80 columns. + Move local var def closer to only use. + +2008-01-28 Daniel Jacobowitz + + * fork-child.c (SHELL_FILE): Remove #ifndef. + (fork_inferior): Remove SHELL_COMMAND_CONCAT. + +2008-01-25 Pierre Muller + + * i386-tdep.c (i386_skip_noop): New function. + (i386_analyze_prologue): Call i386_skip_noop function. + +2008-01-24 Michael Snyder + + * procfs.c (procfs_xfer_partial): Comment, cut/paste error. + * win32-nat.c (win32_xfer_partial): Ditto. + * target.c (default_xfer_partial): Minor whitespace adjustment. + +2008-01-24 Pedro Alves + + * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't + strip bit 1 even if pc doesn't point to thumb code. + +2008-01-23 Daniel Jacobowitz + + * remote.c (remote_wait): Handle SIGINT between packets. + (remote_async_wait): Likewise. + +2008-01-23 Vladimir Prus + Chris Demetriou + + * thread.c (add_thread_silent): Renamed + from add_thread. + (print_thread_events): New variable definition. + (show_print_thread_events): New function. + (_initialize_thread): Add "set print thread-events" and + "show print thread-events" commands. + (add_thread): Announce new thread. + * gdbthread.h (add_thread_silent): Declare. + (print_thread_events): New variable declaration. + * inf-ttrace.c (inf_ttrace_wait): Don't + inform about new thread, as add_thread is always + called too, and will take care of that. + * infrun.c (handle_inferior_event): Likewise. + * procfs.c (procfs_wait): Likewise. + * remote.c (remote_currthread): Likewise. + * sol-thread.c (sol_thread_wait): Likewise. + * win32-nat.c (get_win32_debug_event): Likewise. + * linux-thread-db.c (attach_thread): Likewise. + Remove the verbose parameter. + (check_event): Make detach_thread be verbose + only if print_thread_events is set. + * linux-nat.c (lin_lwp_attach_lwp): Don't inform + about new thread. This is called only from + linux-thread-db.c:attach_thread, which will take care. + Remove the verbose parameter. + * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype. + +2008-01-23 Nick Roberts + + * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output. + 2008-01-22 Vladimir Prus * breakpoint.c (break_command_really): New parameter