2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e4ad91cc205731daf02a233a1c72242e862011bb..ca5f9d4ecc65db6712626e219ae5a84e4ae94e8a 100644 (file)
@@ -1,3 +1,137 @@
+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.
This page took 0.024509 seconds and 4 git commands to generate.