gdb
[binutils-gdb.git] / gdb / ChangeLog
index b34eb93a8d0f9f4de988449627c7c32fa5c81134..061cc1afe06c650a7b21f1f29e4d3fde8291038a 100644 (file)
@@ -1,3 +1,121 @@
+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.