X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=gdb%2FChangeLog;h=a0cc7599df7b1574c32a418b65ab50a97db24c99;hb=a0f49112e606aaf0ce3926cfb9873265418ddaff;hp=424daaeca09d3cc4ecafa61b5789506601e769da;hpb=64aa97315d44fc3f70974d972a9f2c219e584395;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 424daaeca0..a0cc7599df 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,253 @@ +2010-01-19 Jan Kratochvil + + * breakpoint.c (watchpoint_check): Check the call + gdbarch_in_function_epilogue_p before calling frame_find_by_id. + Extend the comment. + * config/djgpp/fnchange.lst: Add translations for + watchpoint-cond-gone.exp, watchpoint-cond-gone.c and + watchpoint-cond-gone-stripped.c. + +2010-01-19 Tom Tromey + + PR c++/8000: + * dwarf2read.c (partial_die_parent_scope): Put enumeration type + into parent scope, and enumerator into grandparent scope. + +2010-01-19 Joel Brobecker + + * NEWS: Add entry for "set/show ada trust-PAD-over-XVS" commands. + +2010-01-19 Joel Brobecker + + * configure.host: Make x86_64-*-solaris2.1[0-9]* an alias of + i[34567]86-*-solaris2.1[0-9]*. + * configure.tgt: Likewise. + +2010-01-19 Joel Brobecker + + * NEWS: Document the source command enhancement allowing it + to load Python scripts. Document the "set/show script-extension" + commands. + +2010-01-19 Joel Brobecker + + Add -Wunused-function to compile flags. + * configure.ac: Add -Wunused-function to build_warnings. + * configure: Regenerate. + +2010-01-19 Joel Brobecker + + "delete" ada-lex.c:input function, not used. + * ada-lex.l: #define YY_NO_INPUT. + +2010-01-19 Joel Brobecker + + Delete free_named_symtabs and associated cleanup. + * symfile.h (free_named_symtabs): Delete declaration. + * symfile.c: Remove some commented out code (clear_symtab_users_once). + (cashier_psymtab): Comment function out. + Delete declaration. + (free_named_symtabs): Delete. + * coffread.c (coff_end_symtab): Remove call to free_named_symtabs. + * dbxread.c (end_psymtab): Likewise. + * dwarf2read.c (process_psymtab_comp_unit): Ditto. + * exec.c (exec_close_1): Ditto. + * xcoffread.c (xcoff_end_psymtab): Likewise. + +2010-01-19 Joel Brobecker + + * stack.c (print_block_frame_labels): Comment function out. + +2010-01-19 Joel Brobecker + + Delete unused or undefined functions. + * breakpoint.c (ep_parse_optional_filename): Delete. + * dcache.c (dcache_write_line): Remove declaration. + * infrun.c (build_infrun): Remove declaration. + * tracepoint.c (tracepoint_save_command): Remove declaration. + * linux-nat.c (init_lwp_list): Delete. No longer used. + * event-loop.c (check_async_signal_handlers): Delete declaration. + * infrun.c (init_execution_control_state): Delete. + (proceed): Update comment to avoid mentioning + init_execution_control_state. + * target.c (kill_or_be_killed, nosupport_runtime): Delete. + * ada-lang.c (ada_to_static_fixed_value): Delete. + * scm-lang.c (evaluate_subexp_scm): Delete declaration. + * cp-namespace.c (cp_copy_usings): Delete. + * xml-syscall.c (xml_number_of_syscalls): Delete. + * progspace.c (find_program_space_by_num): Delete. + * inflow.c (handle_sigio): Delete declaration. + * hppa-tdep.c (hppa_alignof): Delete. + * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset) + (mipsnbsd_core_osabi_sniffer): Delete. + +2010-01-18 Tom Tromey + + PR c++/9680: + * c-exp.y (REINTERPRET_CAST, DYNAMIC_CAST, STATIC_CAST) + (CONST_CAST): New tokens. + (exp): Add new productions. + (ident_tokens): Add const_cast, dynamic_cast, static_cast, and + reinterpret_cast. + (is_cast_operator): New function. + (yylex): Handle cast operators specially. + * eval.c (evaluate_subexp_standard) : New cases. + * expprint.c (print_subexp_standard): Likewise. + (op_name_standard): Likewise. + (dump_subexp_body_standard): Likewise. + * parse.c (operator_length_standard): Likewise. + * expression.h (enum exp_opcode): New constants UNOP_DYNAMIC_CAST, + UNOP_REINTERPRET_CAST. + * gdbtypes.c (class_types_same_p): New function. + (is_ancestor): Use it. + (is_public_ancestor): New function. + (is_unique_ancestor_worker): Likewise. + (is_unique_ancestor): Likewise. + * gdbtypes.h (class_types_same_p, is_public_ancestor) + (is_unique_ancestor): Declare. + * valops.c (value_reinterpret_cast): New function. + (dynamic_cast_check_1): Likewise. + (dynamic_cast_check_2): Likewise. + (value_dynamic_cast): Likewise. + * value.h (value_reinterpret_cast, value_dynamic_cast): Declare. + +2010-01-18 Joel Brobecker + + Fix build failure when building without Python support. + * python/python.c: Always include exceptions.h, even when HAVE_PYTHON + is not defined. + +2010-01-18 Joel Brobecker + + Use XVS field type instead of doing a parallel lookup. + * ada-lang.c (ada_get_base_type): Follow the XVS field type + if it is a reference type instead of doing a type lookup using + the XVS field name. + +2010-01-18 Joel Brobecker + + Trust PAD types instead of using PAD___XVS. + * ada-lang.c (trust_pad_over_xvs): New static variable. + (ada_is_aligner_type): If !trust_pad_over_xvs and there is a + parallel XVS type, follow the XVS type instead of the PAD type. + (unwrap_value): Make sure that there is no parallel XVE type + before returning the value as is. + (set_ada_list, show_ada_list): New static variables. + (set_ada_command, show_ada_command): New functions. + (_initialize_ada_language): Add new "set/show ada" prefix commands. + Add new "set/show ada trust-PAD-over-XVS" setting. + +2010-01-18 Tom Tromey + Thiago Jung Bauermann + + Allow "source" to load python scripts. + * exceptions.h (enum errors): Add UNSUPPORTED_ERROR. + * python/python.c (source_python_script): New function. + * python/python.h (source_python_script): Add declaration. + * cli/cli-cmds.c: #include exceptions.h and python/python.h. + (script_ext_off, script_ext_soft, script_ext_strict) + (script_ext_enums, script_ext_mode): New static constants. + (show_script_ext_mode, find_and_open_script): New functions. + (source_script): Enhance to handle Python scripts. + (init_cli_cmds): Add set/show script-extension commands. + +2010-01-16 Stan Shebs + + * tracepoint.h (struct trace_status): Use unsigned long long + instead of size_t. + * tracepoint.c (trace_status_command): Fix printf directive. + (trace_save_command): Check fwrite returns, fix printf directive. + (trace_filename): New global. + (tfile_open): Set it, check read returns. + (tfile_close): Free trace_filename. + (tfile_get_traceframe_address): Check read returns. + (tfile_trace_find): Ditto. + (tfile_fetch_registers): Ditto. + (tfile_xfer_partial): Ditto. + (tfile_get_trace_state_variable_value): Ditto. + +2010-01-15 Stan Shebs + + Add trace file support. + * tracepoint.h (enum trace_stop_reason): New enum. + (struct trace_status): New struct. + (parse_trace_status): Declare. + (struct uploaded_tp): Move here from remote.c, + add fields for actions. + (struct uploaded_tsv): New struct. + * tracepoint.c (tfile_ops): New target vector. + (trace_fd): New global. + (tfile_open): New function. + (tfile_close): New function. + (tfile_files_info): New function. + (tfile_get_trace_status): New function. + (tfile_get_traceframe_address): New function. + (tfile_trace_find): New function. + (tfile_fetch_registers): New function. + (tfile_xfer_partial): New function. + (tfile_get_trace_state_variable_value): New function. + (init_tfile_ops): New function. + (_initialize_tracepoint): Call it, add tfile target. + (trace_status): New global. + (current_trace_status): New function. + (trace_running_p): Remove, change all users to get from + current_trace_status()->running. + (get_trace_status): Remove. + (trace_status_command): Call target_get_trace_status directly, + report more detail including tracing stop reasons. + (trace_find_command): Always allow tfind on a file. + (trace_find_pc_command): Ditto. + (trace_find_tracepoint_command): Ditto. + (trace_find_line_command): Ditto. + (trace_find_range_command): Ditto. + (trace_find_outside_command): Ditto. + (trace_frames_offset, cur_offset): Declare as off_t. + (trace_regblock_size): Rename from reg_size, update users. + (parse_trace_status): New function. + (tfile_interp_line): New function. + (disconnect_or_stop_tracing): Ensure current trace + status before asking what to do. + (stop_reason_names): New global. + (trace_save_command): New command. + (get_uploaded_tp): Move here from remote.c. + (find_matching_tracepoint): Ditto. + (merge_uploaded_tracepoints): New function. + (parse_trace_status): Use stop_reason_names. + (_initialize_tracepoint): Define tsave command. + * target.h (target_ops): New fields to_save_trace_data, + to_upload_tracepoints, to_upload_trace_state_variables, + to_get_raw_trace_data, change to_get_trace_status + to take a pointer to a status struct. + (target_save_trace_data): New macro. + (target_upload_tracepoints): New macro. + (target_upload_trace_state_variables): New macro. + (target_get_raw_trace_data): New macro. + * target.c (update_current_target): Add new methods, change + signature of to_get_trace_status. + * remote.c (hex2bin): Make globally visible. + (bin2hex): Ditto. + (remote_download_trace_state_variable): Download name also. + (remote_get_trace_status): Update parameter, use + parse_trace_status. + (remote_save_trace_data): New function. + (remote_upload_tracepoints): New function. + (remote_upload_trace_state_variables): New function. + (remote_get_raw_trace_data): New function. + (remote_start_remote): Use them. + (_initialize_remote_ops): Add operations. + * ax-gdb.c: Include breakpoint.h. + * breakpoint.c (create_tracepoint_from_upload): Use + break_command_really, return tracepoint, warn about unimplemented + parts. + * NEWS: Mention trace file addition. + +2010-01-15 Jan Kratochvil + + Fix compilation warning on gcc-3.4. + * exec.c (print_section_info): Move the `displacement' variable + initialization to its declaration. + 2010-01-15 Jan Kratochvil * gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE @@ -158,7 +408,6 @@ (SUBDIR_PYTHON_SRCS): Likewise. (py-lazy-string.o): New rule. - 2010-01-13 Doug Evans * mi/mi-main.c (list_available_thread_groups): Avoid "may be used