+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.
+ * python/python.c: Always include exceptions.h, even when HAVE_PYTHON
+ is not defined.
+
+2010-01-18 Joel Brobecker <brobecker@adacore.com>
+
+ 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 <brobecker@adacore.com>
Trust PAD types instead of using PAD___XVS.