Add summary line to the second to last entry.
[binutils-gdb.git] / gdb / ChangeLog
index e45be319fcc179957c708cd7763fc2e9605a2f4e..8b1caa3f61489fea628615a1247f5f7960315d44 100644 (file)
@@ -1,3 +1,352 @@
+2010-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       amd64-windows: memory args passed by pointer during function calls.
+       * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer.
+       * amd64-tdep.c (amd64_push_arguments): Add handling of architectures
+       where tdep->memory_args_by_pointer is non-zero.
+       * amd64-windows-tdep.c (amd64_windows_init_abi): Set
+       tdep->memory_args_by_pointer to 1.
+
+2010-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       amd64-windows: Integer parameters in function calls.
+       * i386-tdep.h (enum amd64_reg_class): New, moved here from
+       amd64-tdep.c.
+       (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs,
+       call_dummy_integer_regs, and classify.
+       * amd64-tdep.h (amd64_classify): Add declaration.
+       * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant.
+       (amd64_reg_class): Delete, moved to i386-tdep.h.
+       (amd64_classify): Make non-static.  Move declaration to amd64-tdep.h.
+       Replace call to amd64_classify by call to tdep->classify.
+       (amd64_push_arguments): Get the list of registers to use for
+       passing integer parameters from the gdbarch tdep structure,
+       rather than using a hardcoded one.  Replace calls to amd64_classify
+       by calls to tdep->classify.
+       (amd64_push_dummy_call): Get the register number used for
+       the "hidden" argument from tdep->call_dummy_integer_regs.
+       (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs
+       and tdep->call_dummy_integer_regs.  Set tdep->classify.
+       * amd64-windows-tdep.c: Add include of gdbtypes.h.
+       (amd64_windows_dummy_call_integer_regs): New static global.
+       (amd64_windows_classify): New function.
+       (amd64_windows_init_abi): Initialize tdep->call_dummy_num_integer_regs
+       tdep->call_dummy_integer_regs and tdep->classify.
+
+2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * regcache.c (regcache_xmalloc): Add aspace argument.  Use it
+       for the new regcache.  All callers updated.
+       (regcache_cpy, regcache_cpy_no_passthrough): Do not set aspace here.
+       (get_thread_arch_regcache): Do not set aspace here.
+       * regcache.h (regcache_xmalloc): Update declaration.
+
+       * frame.c, infcall.c, ppc-linux-tdep.c: Calls to
+       regcache_xmalloc updated.
+
+2010-01-28  Joel Brobecker  <brobecker@adacore.com>
+
+       Another -Wunused-function error in procfs.c (sparc-solaris)
+       * procfs.c (insert_dbx_link_breakpoint): Delete declaration.  Move up.
+       Only define if SYS_syssgi is defined.
+       (remove_dbx_link_breakpoint): Delete declaration.  Move up.
+       (dbx_link_addr, insert_dbx_link_bpt_in_file)
+       (insert_dbx_link_bpt_in_region): Move up.  Only define if SYS_syssgi
+       is itself defined.
+
+2010-01-27  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * windows-nat.c (windows_initialization_done): New variable.
+       (get_windows_debug_event): Issue error when process dies before
+       completely initializing.
+       (do_initial_windows_stuff): Set flag to indicate when we are done with
+       the initial steps of attaching to the child.
+
+2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symtab.h (struct symbol <symtab>): New comment on NULL values.
+
+2010-01-27  Doug Evans  <dje@google.com>
+
+       * solib-svr4.c (solib_break_names): Add __dl_rtld_db_dlactivity.
+
+       * breakpoint.c (bpstat_stop_status): Delete useless code.
+
+2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * printcmd.c (display_uses_solib_p): Remove variable section.  Access
+       objfile via SYMBOL_SYMTAB.
+
+2010-01-26  Tom Tromey  <tromey@redhat.com>
+
+       PR exp/7643:
+       * eval.c (evaluate_subexp_for_address) <UNOP_IND>: Call
+       coerce_array on result.
+
+2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * cp-namespace.c (cp_lookup_symbol_namespace): Added
+       search_parent argument.
+       (cp_add_using): Initialize 'searched' field.
+       (reset_directive_searched): New function.
+       * cp-support.h: Add 'searched' field to using_direct struct.
+       (cp_lookup_symbol_imports): Ditto.
+       * cp-namespace.c (cp_lookup_symbol_imports): Ditto.
+       Perform recursive search.
+       Implement non parent search.
+       * valops.c (value_maybe_namespace_elt): Updated.
+
+2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       PR gdb/10929:
+       * dwarf2read.c (read_lexical_block_scope): Create blocks for
+       scopes which contain using directives even if they contain no
+       declarations.
+       * symtab.c (lookup_symbol_aux): Pass lowest level block to
+       la_lookup_symbol_nonlocal.
+       * cp-namespace.c (cp_lookup_symbol_nonlocal): call
+       cp_lookup_symbol_namespace.
+       (cp_lookup_symbol_namespace): Perform an import lookup at every
+       block level.
+       (cp_lookup_symbol_imports): New function.
+       (cp_lookup_symbol_in_namespace): New function.
+
+2010-01-25  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/11049:
+       * c-valprint.c (c_val_print): Fix test of extract_unsigned_integer
+       result.
+
+2010-01-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac: Only use host_os part when disabling TUI on osf.
+       Use test to check variables, prefix strings with x.
+       * configure: Regenerate.
+
+       * solib-osf.c (osf_current_sos): Initialize tail.
+
+2010-01-25  gingold  <gingold@adacore.com>
+
+        * windows-nat.c (windows_continue): Use %x to print thread id.
+        (get_windows_debug_event): Ditto.
+
+2010-01-22  Tom Tromey  <tromey@redhat.com>
+
+       PR symtab/11199:
+       * dwarf2read.c (quirk_gcc_member_function_pointer): Change return
+       type and arguments.  Use smash_to_methodptr_type.
+       (read_structure_type): Call quirk_gcc_member_function_pointer
+       later.
+       * gdbtypes.h (smash_to_methodptr_type): Declare.
+       * gdbtypes.c (smash_to_methodptr_type): New function.
+       (lookup_methodptr_type): Use it.
+
+2010-01-21  Tom Tromey  <tromey@redhat.com>
+
+       PR symtab/11198:
+       * symtab.h (lookup_minimal_symbol_and_objfile): Declare.
+       * minsyms.c (lookup_minimal_symbol_and_objfile): New function.
+       * glibc-tdep.c (find_minsym_and_objfile): Remove.
+       (glibc_skip_solib_resolver): Use
+       lookup_minimal_symbol_and_objfile.
+
+2010-01-21  Kai Tietz  <kai.tietz@onevision.com>
+
+       * inflow.c (check_syscall): Guard by #if clause for GO32 and
+       WIN32 targets.
+
+2010-01-20  Tom Tromey  <tromey@redhat.com>
+
+       PR backtrace/10770:
+       * valarith.c (value_binop): Handle BINOP_GTR, BINOP_LEQ, and
+       BINOP_GEQ.  Handle BINOP_NOTEQUAL in the signed case.
+       * dwarf2expr.c (new_dwarf_expr_context): Allocate
+       dwarf_stack_values, not CORE_ADDRs.
+       (execute_stack_op): Change DW_OP_div and comparison operators to
+       use signed operands.
+
+2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Per-inferior args and tty and environment.
+
+       * infcmd.c (inferior_args): Rename to ...
+       (inferior_args_scratch): ... this.
+       (inferior_io_terminal): Rename to ...
+       (inferior_io_terminal_scratch): ... this.
+       (inferior_argc, inferior_argv): Remove.
+       (set_inferior_io_terminal, get_inferior_io_terminal): Store
+       inside current_inferior().
+       (set_inferior_tty_command, show_inferior_tty_command): New.
+       (get_inferior_args, set_inferior_args): Store inside
+       current_inferior().
+       (notice_args_set): Likewise and rename to...
+       (set_args_command): ... this.
+       (set_inferior_args_vector): Likewise.
+       (notice_args_read): Rename to...
+       (show_args_command): ...new.
+       (tty_command): Remove.
+       (run_command_1): Don't free old args, as they are freed by
+       set_inferior_arg now.
+       (run_no_args_command): Likewise.
+       (inferior_environ): Remove.
+       (run_command_1): Use environment of the current inferior.
+       (environment_info, set_environment_command)
+       (unset_environment_command, path_info, path_command): Likewise.
+       (_initialize_infcmd): Adjust for function and variable renames.
+       Do not init inferior_environ.
+       * inferior.h (set_inferior_arg): Adjust prototype.
+       (struct inferior): New fields args, argc, argv, terminal, environment.
+       (inferior_environ): Remove declaration.
+       * inferior.c (free_inferior): Free new fields.
+       (add_inferior_silent): Initialize 'environment' field.
+       * main.c (captured_main): Set arguments only after the initial
+       inferior has been created.  Set set_inferior_io_terminal,
+       not tty_command.
+       * mi/mi-main.c (mi_cmd_env_path): Use environment of the current
+       inferior.
+       (_initialize_mi_cmd_env): Adjust for disappearance of global
+       inferior_environ.
+       * solib.c (solib_find): Use environment of the current inferior.
+
+2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * varobj.c (varobj_add_child, install_dynamic_child): Wrap into #if
+       HAVE_PYTHON.
+       (instantiate_pretty_printer): Move HAVE_PYTHON outside of the function.
+
+2010-01-20  Joel Brobecker  <brobecker@adacore.com>
+
+       Get rid of ada-lang.c:function_name_from_pc.
+       * ada-lang.c: Add "stack.h" #include.
+       (function_name_from_pc): Delete.
+       (is_known_support_routine): Replace call to function_name_from_pc
+       by call to find_frame_funname.
+       (ada_unhandled_exception_name_addr_from_raise): Likewise.
+
+2010-01-19  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/11026:
+       * dwarf2read.c (read_partial_die): Allocate partial DIE's name on
+       objfile obstack.
+
+2010-01-19  Tom Tromey  <tromey@redhat.com>
+
+       * top.c (stop_sig, float_handler, do_nothing): Remove.
+
+2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * 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  <tromey@redhat.com>
+
+       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  <brobecker@adacore.com>
+
+       * NEWS: Add entry for "set/show ada trust-PAD-over-XVS" commands.
+
+2010-01-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * 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  <brobecker@adacore.com>
+
+       * NEWS: Document the source command enhancement allowing it
+       to load Python scripts. Document the "set/show script-extension"
+       commands.
+
+2010-01-19  Joel Brobecker  <brobecker@adacore.com>
+
+       Add -Wunused-function to compile flags.
+       * configure.ac: Add -Wunused-function to build_warnings.
+       * configure: Regenerate.
+
+2010-01-19  Joel Brobecker  <brobecker@adacore.com>
+
+       "delete" ada-lex.c:input function, not used.
+       * ada-lex.l: #define YY_NO_INPUT.
+
+2010-01-19  Joel Brobecker  <brobecker@adacore.com>
+
+       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  <brobecker@adacore.com>
+
+       * stack.c (print_block_frame_labels): Comment function out.
+
+2010-01-19  Joel Brobecker  <brobecker@adacore.com>
+
+       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  <tromey@redhat.com>
+
+       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) <UNOP_DYNAMIC_CAST,
+       UNOP_REINTERPRET_CAST>: 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  <brobecker@adacore.com>
 
        Fix build failure when building without Python support.