X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=d27f64b14f93e1e95a1902dcc40ca358fe7d554e;hb=f6fbab7d1b396b1ee576937b53bb0858c8f895d5;hp=6c8fcdb61f899c44cc1ac5931b6e7f427bad86e3;hpb=c1d780c2c7b5c8fe0a330f77263ec2eec16b541f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6c8fcdb61f..d27f64b14f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,502 @@ +2012-10-23 Yao Qi + + * event-top.c (mark_async_signal_handler_wrapper): Remove. + * event-top.h: Remove its declaration. + (async_request_quit): Call mark_async_signal_handler instead of + mark_async_signal_handler_wrapper. + (async_do_nothing, async_disconnect): Likewise. + (async_stop_sig): Likewise. + * remote.c (handle_remote_sigint): Likewise. + (handle_remote_sigint_twice): Likewise. + +2012-10-23 Yao Qi + + * event-top.c (sigint_token, sighup_token): Replace 'void *' + with 'static struct async_signal_handler *'. + (sighup_token, sigquit_token, sigstp_token): Likewise. + +2012-10-22 Ali Anwar + + * gdbarch.sh (function_list): Use 'pstring' when printing + a variable which could return NULL. + * gdbarch.c: Regenerate. + +2012-10-10 Joel Brobecker + Tom Tromey + + * rs6000-aix-tdep.c (rs6000_aix_osabi_sniffer): Replace + inneffective if condition by gdb assertion. Add function + description comment. + +2012-10-19 Joel Brobecker + + * parser-defs.h (struct exp_descriptor): Document constraint + on return value for "op_name" callbacks. + +2012-10-18 Tom Tromey + + * tracepoint.c (print_one_static_tracepoint_marker): Constify. + * symtab.c (iterate_over_some_symtabs): Constify. + * source.h (symtab_to_fullname): Return 'const char *'. + * source.c (symtab_to_fullname): Return 'const char *'. + * python/py-symtab.c (stpy_fullname): Constify. + * cli/cli-cmds.c (edit_command): Constify. + * breakpoint.c (print_breakpoint_location) + (update_static_tracepoint): Constify. + +2012-10-18 Tom Tromey + + * breakpoint.c (compare_breakpoints): Fix comparison. + +2012-10-18 Tom Tromey + + * valprint.c (generic_emit_char, generic_printstr): Pass size of + gdb_wchar_t to convert_between_encodings. + +2012-10-17 Yao Qi + + * breakpoint.c (invalidate_bp_value_on_memory_change): Add one + more parameter 'inferior'. + * corefile.c (write_memory_with_notification): Caller update. + + * mi/mi-cmd-var.c: Include "mi-main.h". + (mi_cmd_var_assign): Set mi_suppress_notification.data_write_memory + to 1 and restore it later. + * mi/mi-cmds.c (mi_cmd mi_cmds): Update for "data-write-memory" + and "data-write-memory-bytes. + * mi/mi-interp.c: Include objfiles.h. + (mi_interpreter_init): Call observer_attach_memory_changed. + (mi_memory_changed): New. + * mi/mi-main.h (struct mi_suppress_notification) : + New field. + + * NEWS: Mention new MI notification "memory-changed". + +2012-10-16 Jan Kratochvil + + * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Remove comment. + +2012-10-15 Doug Evans + + New option -nh: inhibit loading of ~/.gdbinit. + * NEWS: Mention -nh. + * main.c (captured_main): Recognize and process -nh. + (print_gdb_help): Mention -nh. + * gdb.1: Mention -nh. Remove erroneous docs on -nx behavior. + +2012-10-15 H.J. Lu + + PR backtrace/14646 + PR gdb/14647 + * i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and + pc_regnum_from_eax. + * i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax + nor pc_regnum_from_eax. + * amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax + nor pc_regnum_from_eax. + +2012-10-15 Jan Kratochvil + + Fix entry values resolving in inlined frames. + * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Move func_addr, + gdbarch and caller_frame initialization later. Skip INLINE_FRAME + entries of FRAME. + +2012-10-15 Joel Brobecker + + * configure.ac: Build with -DMS_WIN64 if building with Python + enabled using GCC on amd64-windows. + * configure: Regenerate. + +2012-10-15 Tom Tromey + + PR python/14635: + * python/py-symtab.c (del_objfile_sal): Set 'symtab' field + to Py_None. + +2012-10-15 Tom Tromey + + PR python/14634: + * python/py-symbol.c (sympy_dealloc): Check for NULL symbol. + +2012-10-11 Andrew Burgess + + * remote-sim.c (gdbsim_create_inferior): Call init_thread_list to + reset thread numbering back to 1. + +2012-10-11 Doug Evans + + PR breakpoints/14643. + * linespec.c (struct ls_parser): New member keyword_ok. + (linespec_lexer_lex_string): Add comment. + (linespec_lexer_lex_one): Ignore keywords if it's the wrong place + for one. + (parse_linespec): Set keyword_ok. + +2012-10-10 Doug Evans + + * dwarf2read.c (process_psymtab_comp_unit_reader): Remove duplicate + "0x" prefix on address in log message. + + * dwarf2read.c (read_1_byte): Add const to buf parameter. + (read_1_signed_byte, read_2_bytes, read_2_signed_bytes): Ditto. + (read_4_bytes, read_4_signed_bytes, read_8_bytes): Ditto. + (lookup_dwo_file): Add const to dwo_name parameter. + (lookup_dwo_comp_unit, lookup_dwo_type_unit): Ditto. + +2012-10-06 Jan Kratochvil + + Fix crash during stepping on ppc32. + * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code): Test NULL + SYM. + +2012-10-03 Doug Evans + + PR symtab/14601 + * buildsym.c (buildsym_init): Reset using_directives to NULL. + +2012-10-02 Andrew Burgess + + * remote-sim.c (dump_mem): Always dump buffer contents, zero fill + output and use uint32_t not long to ensure 4 byte size. + +2012-10-02 Joel Brobecker + + * rs6000-nat.c (add_vmap): Set "last" to "next" after having + unref'ed it. + +2012-10-01 Andrew Burgess + + * target.c (simple_search_memory): Include access length in + warning message. + +2012-09-28 Nathan Miller + Edjunior Machado + + PR gdb/13989 + * solib.c (solib_find): Prevent GDB from loading native libraries when + debugging a cross-target corefile. + +2012-09-28 selven + + Make definition match declaration. + + * regcache.c (regcache_register_status): Change return type to + enum register_status. + +2012-09-28 Yao Qi + + * mi/mi-main.c (mi_cmd_data_write_memory): Call + write_memory_with_notification instead of write_memory. + (mi_cmd_data_write_memory_bytes): Call write_memory_with_notification + instead of target_write_memory. + +2012-09-28 Yao Qi + + * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Emit error + when the length of content is not an even number. + +2012-09-27 Tom Tromey + + Fix https://bugzilla.redhat.com/show_bug.cgi?id=849357 + * cp-valprint.c (cp_print_value_fields): Use get_vptr_fieldno. + +2012-09-27 Joel Brobecker + + * sol-thread.c (sol_thread_fetch_registers) + (sol_thread_store_registers): Delete commented out code. + +2012-09-27 Joel Brobecker + + * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs): + Move these functions to sparc-sol-thread.c. + * sparc-sol-thread.c: New file. + * configure.ac: Add sparc-sol-thread.o to CONFIG_OBS and + sparc-sol-thread.c to CONFIG_SRCS for sparc-solaris native + configurations. + * configure: Regenerate. + +2012-09-27 Joel Brobecker + + * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs): + Remove commented-out code. + +2012-09-27 Joel Brobecker + + * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs): + Enable this code for sparc hosts only. + +2012-09-27 Joel Brobecker + + * procfs.h (procfs_find_LDT_entry): Add declaration. + * sol-thread.c (ps_lgetLDT): Delete local declaration of + function procfs_find_LDT_entry. + +2012-09-27 Joel Brobecker + + * procfs.c (proc_get_LDT_entry): Make static. + +2012-09-27 Joel Brobecker + + * procfs.c (proc_find_memory_regions): Fix declaration. + +2012-09-27 Siddhesh Poyarekar + + * amd64-tdep.c (amd64_return_value): Revert previous change + that used TYPE_LENGTH directly. + * bfin-tdep.c (bfin_extract_return_value): Likewise. + (bfin_store_return_value): Likewise. + * cris-tdep.c (cris_store_return_value): Likewise. + (cris_extract_return_value): Likewise. + * h8300-tdep.c (h8300_extract_return_value): Likewise. + * hppa-tdep.c (hppa64_return_value): Likewise. + * lm32-tdep.c (lm32_store_return_value): Likewise. + * microblaze-tdep.c (microblaze_store_return_value): Likewise. + * spu-tdep.c (spu_value_from_register): Likewise. + * vax-tdep.c (vax_return_value): Likewise. + +2012-09-27 Siddhesh Poyarekar + + * gdbtypes.c (lookup_array_range_type): Expand parameters + LOW_BOUND and HIGH_BOUND to LONGEST. + (lookup_string_range_type): Likewise. + * gdbtypes.h (lookup_array_range_type): Likewise. + (lookup_string_range_type): Likewise. + * valops.c (value_cstring): Expand parameter LEN to ssize_t. + Expand HIGHBOUND to ssize_t. + (value_string): Likewise. + * value.h (value_cstring): Expand parameter LEN to ssize_t. + (value_string): Likewise. + +2012-09-27 Yao Qi + + PR breakpoints/13898 + * breakpoint.h (tracepoint_breakpoint_ops): Forward declaration. + * mi/mi-cmd-break.c (mi_cmd_break_insert): Set breakpoint_ops + per breakpoint type. + +2012-09-26 Pierre Muller + + * procfs.c: Add gdb_bfd header. + * rs6000-nat.c: Likewise. + * solib-pa64.c: Likewise. + * spu-linux-nat.c: Likewise. + * windows-nat.c: Likewise. + +2012-09-26 Tom Tromey + + * f-lang.h (BLANK_COMMON_NAME_LOCAL): Remove. + +2012-09-26 Tom Tromey + + * dwarf2read.c (mark_common_block_symbol_computed): New function. + (read_common_block): Handle child DIEs with + DW_AT_data_member_location. + (new_symbol_full): Add special case for common blocks. + +2012-09-26 Jan Kratochvil + Tom Tromey + + * dwarf2read.c (read_common_block): Rewrite. + (new_symbol_full): Handle DW_TAG_common_block. + * f-lang.c (head_common_list, find_common_for_function): + Remove. + * f-lang.h (struct common_entry, struct saved_f77_common, + SAVED_F77_COMMON, SAVED_F77_COMMON_PTR, COMMON_ENTRY, + COMMON_ENTRY_PTR, head_common_list, find_common_for_function, + BLANK_COMMON_NAME_LOCAL): Remove. + (struct common_block): New. + * f-valprint.c (list_all_visible_commons): Remove. + (info_common_command_for_block): New function. + (info_common_command): Use it. + * stack.c (iterate_over_block_locals): Special case for + COMMON_BLOCK_DOMAIN. + * symtab.h (enum domain_enum_tag) : New + constant. + (struct general_symbol_info) : New field. + (SYMBOL_VALUE_COMMON_BLOCK): New define. + +2012-09-26 Jan Kratochvil + Tom Tromey + + * f-lang.c (allocate_saved_bf_node, + allocate_saved_function_node, allocate_saved_f77_common_node, + allocate_common_entry_node, tail_common_list, current_common, + saved_bf_list, saved_bf_list_end, current_head_bf_list, + tmp_bf_ptr, add_common_block, add_common_entry, + find_first_common_named, patch_common_entries, + patch_all_commons_by_name, ADD_BF_SYMNUM, clear_bf_list, + global_remote_debug, get_bf_for_fcn, saved_function_list, + saved_function_list_end, clear_function_list, struct saved_fcn, + struct saved_bf_symnum, SAVED_FUNCTION, SAVED_FUNCTION_PTR, + SAVED_BF, SAVED_BF_PTR): Remove. + * f-lang.h (tail_common_list, current_common, + UNINITIALIZED_SECNUM, COMMON_NEEDS_PATCHING, + BLANK_COMMON_NAME_ORIGINAL, BLANK_COMMON_NAME_MF77, + DEFAULT_UPPER_BOUND, DEFAULT_LOWER_BOUND, real_main_name, + real_main_c_value): Remove. + * f-valprint.c (there_is_a_visible_common_named): Remove. + +2012-09-26 Andrew Burgess + + * breakpoint.c (update_global_location_list): Ignore previous + duplicate status of a breakpoint when starting a new scan for + duplicate breakpoints. + +2012-09-26 Karthik Bhat + PR breakpoints/14419 + * arm-tdep.c (arm_skip_prologue): Extending producer check to + support LLVM compiler. + +2012-09-26 Siddhesh Poyarekar + + * amd64-tdep.c (amd64_return_value): Use TYPE_LENGTH directly. + * bfin-tdep.c (bfin_extract_return_value): Likewise. + (bfin_store_return_value): Likewise. + * cris-tdep.c (cris_store_return_value): Likewise. + (cris_extract_return_value): Likewise. + * h8300-tdep.c (h8300_extract_return_value): Likewise. + * hppa-tdep.c (hppa64_return_value): Likewise. + * lm32-tdep.c (lm32_store_return_value): Likewise. + * microblaze-tdep.c (microblaze_store_return_value): Likewise. + * spu-tdep.c (spu_value_from_register): Likewise. + * vax-tdep.c (vax_return_value): Likewise. + +2012-09-26 Siddhesh Poyarekar + + * breakpoint.c (invalidate_bp_value_on_memory_change): Expand + parameter LEN to ssize_t. + +2012-09-25 Siddhesh Poyarekar + + * ada-valprint.c (ada_val_print_1): Eliminate single-use + variable LEN. + * alpha-tdep.c (alpha_extract_return_value): Use TYPE_LENGTH + directly. + (alpha_store_return_value): Likewise. + * amd64-tdep.c (amd64_classify_aggregate): Likewise. + (amd64_push_arguments): Likewise. + * ax-gdb.c (gen_trace_static_fields): Likewise. + (gen_traced_pop): Likewise. + * bfin-tdep.c (bfin_push_dummy_call): Likewise. + * breakpoint.c (update_watchpoint): Likewise. + * findcmd.c (parse_find_args): Use local variable for type + instead of length. + * findvar.c (default_read_var_value): Use TYPE_LENGTH directly. + * h8300-tdep.c (h8300h_extract_return_value): Likewise. + (h8300_store_return_value): Likewise. + * i386-darwin-tdep.c (i386_darwin_push_dummy_call): Likewise. + Use i386_darwin_arg_type_alignment directly. + * infcall.c (call_function_by_hand): Use TYPE_LENGTH directly. + * lm32-tdep.c (lm32_push_dummy_call): Likewise. + * m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise. + (m68hc11_extract_return_value): Likewise. + * mep-tdep.c (mep_push_dummy_call): Likewise. + * printcmd.c (float_type_from_length): Likewise. + * s390-tdep.c (s390_value_from_register): Likewise. + * stack.c (read_frame_arg): Likewise. + * tracepoint.c (encode_actions_1): Likewise. + * valops.c (value_fetch_lazy): Use local variable for type + instead of length. Use TYPE_LENGTH directly. + * value.c (value_contents_equal): Use TYPE_LENGTH directly. + +2012-09-25 Joel Brobecker + + * symtab.c (skip_prologue_sal): Fix typo in comment. + +2012-09-25 Joel Brobecker + + * linespec.c (create_sals_line_offset): Fix typo in comment. + +2012-09-25 Siddhesh Poyarekar + + * c-typeprint.c (c_type_print_varspec_suffix): Remove cast and + use plongest to print the array size. + +2012-09-24 Siddhesh Poyarekar + + * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST. + * p-valprint.c (pascal_type_print_base): Likewise. + +2012-09-22 Yao Qi + + * remote.c (remote_get_trace_status): Remove setting default + values of fields of 'ts'. + +2012-09-21 Jan Kratochvil + + Fix internal error on canonicalization of clang types. + * cp-name-parser.y (operator): New comment at make_operator call for + new, delete, new[] and delete[]. + (exp): Use "sizeof ". Add new comment at make_operator call. + +2012-09-21 Jan Kratochvil + + Fix disassemble without parameters in tailcall frame. + * cli/cli-cmds.c (disassemble_current_function): Use + get_frame_address_in_block. + +2012-09-21 Tom Tromey + + * c-typeprint.c (c_type_print_base) : Unify, removing a goto. + +2012-09-21 Tom Tromey + + * c-typeprint.c (cp_type_print_derivation_info): Fix comment. + +2012-09-21 Andrew Burgess + + * findvar.c (read_frame_register_value): Mark the result value as + optimized out if any of the input registers have been optimized out. + +2012-09-21 Andreas Schwab + + * python/python.c (finalize_python): Only define if HAVE_PYTHON. + +2012-09-21 Siddhesh Poyarekar + + * eval.c (evaluate_subexp_standard): Eliminate single-use + variable LOWER. + +2012-09-21 Yao Qi + + * mi/mi-interp.c: Declare mi_record_changed. + (mi_interpreter_init): Call observer_attach_record_changed. + (mi_record_changed): New. + * record.c (record_open): Call observer_notify_record_changed. + (cmd_record_stop): Call observer_notify_record_changed. + * NEWS: Mention it. + +2012-09-20 Tom Tromey + + * NEWS: Update. + * python/python.c (finalize_python): New function. + (_initialize_python): Make a final cleanup. + +2012-09-19 Doug Evans + + * buildsym.h (param_symbols): Delete, unused. + (context_stack): Delete member "params", unused. + * buildsym.c (push_context): Update. + * dwarf2read.c (read_func_scope): Update. + +2012-09-19 Thomas Schwinge + + * sh-tdep.c (sh_register_convert_to_virtual) + (sh_register_convert_to_raw): Add a gdbarch parameter. Update + all callers. Just do a memcpy if not the little-endian case. + + * h8300-tdep.c (h8300_gdbarch_init): Invoke + set_gdbarch_double_format and set_gdbarch_long_double_format. + * m68hc11-tdep.c (m68hc11_gdbarch_init): Invoke + set_gdbarch_double_format. + * sh-tdep.c (sh_gdbarch_init): Likewise. + + * NEWS: Document the removal of SH's 'regs' command. + * sh-tdep.c (_initialize_sh_tdep): Remove the deprecated 'regs' + command. + 2012-09-18 Sergio Durigan Junior * infcmd.c (_initialize_infcmd): Register `j' as an alias for