* Makefile.in: Update dependencies.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 3f7e92252a73ad612d9a783c802a76ef63bfbc6f..a9e209f46952d8d18e16d9b98e589b008c69f153 100644 (file)
@@ -1,3 +1,371 @@
+2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * Makefile.in: Update dependencies.
+       * dwarf2expr.c: New include "gdb_assert.h".
+       (new_dwarf_expr_context): Initialize MAX_RECURSION_DEPTH.
+       (dwarf_expr_eval): Sanity check the RECURSION_DEPTH count.
+       (execute_stack_op): Error out on too large RECURSION_DEPTH.
+       Increase/decrease RECURSION_DEPTH around the function.
+
+2008-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * remote.c (get_offsets): Handle a single segment.
+       * symfile.c (symfile_map_offsets_to_segments): Allow more bases
+       than segments.
+
+2008-06-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * solib-svr4.c (struct lm_info): Add lm_addr.
+       (main_lm_addr): New.
+       (svr4_default_sos): Set lm_addr.
+       (svr4_current_sos): Set lm_addr and main_lm_addr.
+       (svr4_fetch_objfile_link_map): Rewrite.
+       (svr4_clear_solib): Clear main_lm_addr.
+
+2008-06-03  Michael Snyder  <msnyder@redhat.com>
+            Joseph Myers  <joseph@codesourcery.com>
+
+       * mips-tdep.c (mips_eabi_return_value): Replace stub that always
+       returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
+
+2008-06-02  Roman Zippel <zippel@linux-m68k.org>
+
+       * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.
+
+2008-06-02  Roman Zippel <zippel@linux-m68k.org>
+
+       * m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.
+
+2008-06-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Do not
+       treat pointers in data space as function descriptors if the
+       target address is also in the data space.
+
+2008-05-30  Joel Brobecker  <brobecker@adacore.com>
+
+       * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Set
+       the trad-frame register value for the SP register.
+
+2008-05-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparcnbsd-tdep.c, sparcobsd-tdep.c: Update for unwinder changes.
+
+2008-05-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Improve the heuristic
+       that identifies function descriptors outside of the .opd section.
+
+2008-05-28  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * breakpoint.c (print_exception_catchpoint): In CLI add 'Temporary' for
+       temporary catchpoints.  In MI add missing fields 'reason', 'disp', 
+       'bkptno'.
+       (print_mention_exception_catchpoint): Add 'Temporary' for temporary
+       catchpoints.
+       (handle_gnu_v3_exceptions): Use tempflag.
+
+2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Refactor varobj_update interface.
+        * varobj.c (varobj_update): Report changes as vector.  Also
+        return not just a list of varobj, but a list of special structures
+        that tell what exactly has changed.
+        * varobj.h (enum varobj_update_error): Rename to
+        varobj_scope_status.
+        (struct varobj_update_result_t): New.
+        (varobj_update): Adjust prototype.
+        * mi/mi-cmd-var.c: Adjust for changes.
+
+2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * varobj.c (varobj_update): Fix comment typo.
+       Fix indentation.
+
+2008-05-26  Joel Brobecker  <brobecker@adacore.com>
+
+       Set the symtab field of symbols read from ECOFF debugging entries.
+       * mdebugread.c (add_symbol): Add new parameter symtab.
+       (parse_symbol): Update calls to add_symbol throughout.
+
+2008-05-27  Andreas Schwab  <schwab@suse.de>
+
+       * symtab.h (enum address_class): Remove LOC_REGPARM and
+       LOC_COMPUTED_ARG.
+       (struct symbol): Add is_argument.
+       (SYMBOL_IS_ARGUMENT): Define.
+
+       * ada-lang.c (ada_add_block_symbols): Use SYMBOL_IS_ARGUMENT.
+       * buildsym.c (finish_block): Likewise.
+       * stack.c (print_frame_args, print_block_frame_locals)
+       (print_frame_arg_vars): Likewise.
+       * symtab.c (lookup_block_symbol): Likewise.
+       * tracepoint.c (add_local_symbols): Likewise.
+       * mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
+
+       * coffread.c (process_coff_symbol): Set SYMBOL_IS_ARGUMENT.
+       * dwarf2read.c (new_symbol): Likewise.
+       * mdebugread.c (parse_symbol): Likewise.
+       * stabsread.c (define_symbol): Likewise.
+
+       * ada-exp.y (select_possible_type_sym): Don't handle LOC_REGPARM
+       and LOC_COMPUTED_ARG.
+       * ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
+       * ax-gdb.c (gen_var_ref): Likewise.
+       * eval.c (evaluate_subexp_for_address): Likewise.
+       * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
+       * m2-exp.y (yylex): Likewise.
+       * printcmd.c (address_info): Likewise.
+       * symmisc.c (print_symbol, print_partial_symbols): Likewise.
+       * tracepoint.c (collect_symbol, scope_info): Likewise.
+
+2008-05-24  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
+
+       * gdbarch.sh: Added new gdbarch struct
+       core_regset_sections.
+       * gdbarch.c: Refreshed.
+       * gdbarch.h: Refreshed.
+       * regset.h (core_regset_section): Declared.
+       * linux-nat.c (linux_nat_do_thread_registers): Added
+       support for the new gdbarch struct core_regset_sections.
+       * utils.c (host_address_to_string): New function.
+       * defs.h (host_address_to_string): New prototype.
+       * i386-linux-tdep.c (i386_regset_rections): New register
+       sections list for i386.
+         (i386_linux_init_abi): Initialized new gdbarch struct
+         core_regset_sections.
+       * Makefile.in: Updated to reflect dependency changes.
+       * ppc-linux-tdep.c (ppc_regset_sections): Register
+       sections list for ppc.
+         (ppc_linux_init_abi): Initialized new gdbarch struct
+         core_regset_sections
+
+2008-05-24  Andreas Schwab  <schwab@suse.de>
+
+       * linespec.c (decode_objc): Save current language around call to
+       get_selected_block.
+
+2008-05-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * valprint.h (get_array_bounds): Renames get_array_low_bound.
+       * valprint.c (get_array_bounds): Renames get_array_low_bound.
+       Return the proper bound value if the array index type is an
+       enumerated type. Compute the high bound if requested.
+       (val_print_array_elements): Handle the case when the array
+       element has a null size.
+       * ada-valprint.c (print_optional_low_bound): Add handling
+       for empty arrays or arrays of zero-size elements.
+       (ada_val_print_array): New function, extracted out from
+       ada_val_print_1 case TYPE_CODE_ARRAY, and enhanced to
+       handle empty arrays and arrays of zero-size elements.
+       (ada_val_print_1)[case TYPE_CODE_ARRAY]: Replace extracted-out
+       code by call to ada_val_print_array.
+       (ada_value_print): Remove handling of null array.  The handling
+       was incomplete and is now better handled by ada_val_print_array.
+
+2008-05-23 Markus Deuling  <deuling@de.ibm.com>
+
+       * annotate.c (annotate_source, annotate_frame_begin): Replace
+       deprecated_print_address_numeric with paddress.
+       * cli/cli-cmds.c (list_command, edit_command): Likewise.
+       * tui/tui-stack.c (tui_make_status_line): Likewise.
+
+       * defs.h (deprecated_print_address_numeric): Remove.
+       * printcmd.c (deprecated_print_address_numeric): Remove.
+       * maint.c (maint_print_section_info): Fix comment.
+
+2008-05-23 Markus Deuling  <deuling@de.ibm.com>
+
+       * valprint.c (print_hex_chars, print_octal_chars, print_decimal_chars,
+       print_binary_chars, print_char_chars): Add byte_order parameter and
+       replace gdbarch_byte_order.
+       (print_decimal_chars): Replace START_P, NOT_END_P and NEXT_P by their
+       expressions and remove them.  Remove unused TWO_TO_FOURTH.
+       (val_print_type_code_int): Introduce gdbarch_byte_order to get at the
+       endianness.  Update call to print_hex_chars.
+       * valprint.h (print_hex_chars, print_octal_chars, print_decimal_chars,
+       print_binary_chars, print_char_chars): Add byte_order parameter.
+       * printcmd.c (print_scalar_formatted): Introduce gdbarch_byte_order to
+       get at the endianness.  Update print_*_char calls to use byte_order.
+
+2008-05-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * symtab.h (struct symbol): Make "aux_value" member a void pointer
+       instead of a union.
+       (SYMBOL_LOCATION_BATON): Update.
+
+2008-05-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * symtab.h (enum address_class): Remove LOC_BASEREG and
+       LOC_BASEREG_ARG.
+       (struct symbol): Remove "basereg" member of "aux_value" union.
+       (SYMBOL_BASEREG): Remove.
+
+       * ada-exp.y (select_possible_type_sym): Do not handle LOC_BASEREG
+       or LOC_BASEREG_ARG.
+       * ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
+       (ada_add_block_symbols): Likewise.
+       * ax-gdb.c (gen_var_ref): Likewise.
+       * buildsym.c (finish_block): Likewise.
+       * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
+       * m2-exp.y (yylex): Likewise.
+       * mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
+       * printcmd.c (address_info): Likewise.
+       * stack.c (print_frame_args, print_block_frame_locals): Likewise.
+       (print_frame_arg_vars): Likewise.
+       * symmisc.c (print_symbol): Likewise.
+       * symtab.c (lookup_block_symbol): Likewise.
+       * tracepoint.c (collect_symbol, add_local_symbols): Likewise.
+       (scope_info): Likewise.
+
+2008-05-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * symtab.h (enum address_class): Remove LOC_LOCAL_ARG.
+
+       * ada-exp.y (select_possible_type_sym): Do not handle LOC_LOCAL_ARG.
+       * ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
+       (ada_add_block_symbols): Likewise.
+       * ax-gdb.c (gen_var_ref): Likewise.
+       * buildsyms.c (finish_block): Likewise.
+       * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
+       * m2-exp.y (yylex): Likewise.
+       * mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
+       * printcmd.c (address_info): Likewise.
+       * stack.c (print_frame_args, print_frame_arg_vars): Likewise.
+       * symmisc.c (print_symbol, print_partial_symbols): Likewise.
+       * symtab.c (lookup_block_symbol): Likewise.
+       * tracepoint.c (collect_symbol, add_local_symbols): Likewise.
+       (scope_info): Likewise.
+
+2008-05-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * symtab.h (enum address_class): Remove LOC_INDIRECT and
+       LOC_HP_THREAD_LOCAL_STATIC.
+
+       * findvar.c (symbol_read_needs_frame, read_var_value): Do not
+       handle LOC_INDIRECT or LOC_HP_THREAD_LOCAL_STATIC.
+       (read_var_value): Likewise.
+       * buildsym.c (finish_block): Likewise.
+       * objfiles.c (objfile_relocate): Likewise.
+       * printcmd.c (address_info): Likewise.
+       * symmisc.c (print_symbol, print_partial_symbols): Likewise.
+       * tracepoint.c (scope_info): Likewise.
+
+2008-05-21 Markus Deuling  <deuling@de.ibm.com>
+          Maxim Grigoriev  <maxim2405@gmail.com>
+
+       * xtensa-tdep.c (xtensa_read_register): Remove.
+       (xtensa_frame_cache): Get rid of xtensa_read_register. Pass extra
+       argument litbase to call0_frame_cache().
+       (call0_track_op, call0_analyze_prologue)
+       (call0_frame_cache): Use extra argument litbase.
+
+2008-05-21  Joel Brobecker  <brobecker@adacore.com>
+
+       * infcmd.c (_initialize_infcmd): Add new "fin" alias for "finish".
+
+2008-05-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * frame.h (SIZEOF_FRAME_SAVED_REGS): Remove.
+
+2008-05-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * alpha-mdebug-tdep.c: Include "trad-frame.h".
+       (struct alpha_mdebug_unwind_cache): Change type of SAVED_REGS to
+       struct trad_frame_saved_reg *.
+       (alpha_mdebug_frame_unwind_cache): Allocate SAVED_REGS using
+       trad_frame_alloc_saved_regs.  Update accesses.  Record previous
+       value of SP as being vfp.
+       (alpha_mdebug_frame_prev_register): Use trad_frame_get_prev_register.
+       * Makefile.in (alpha-mdebug-tdep.o): Update dependencies.
+
+2008-05-21  Markus Deuling  <deuling@de.ibm.com>
+
+       * score-tdep.c (score_print_insn): Get the current endianess from
+       disassemble_info instead of gdbarch_byte_order.
+
+2008-05-21  Pedro Alves  <pedro@codesourcery.com>
+
+       * frame.c (get_prev_frame_1): Build frame id before setting
+       this_frame->prev_p, not after.
+
+2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
+
+       * annotate.c (annotate_new_thread): New function for new-thread
+       annotation.
+       * annotate.h: (annotate_new_thread): New extern.
+       * thread.c (add_thread_with_info): Use it.
+       * Makefile.in (thread.o): Add dependency on annotate.h.
+
+2008-05-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * win32-nat.c (win32_wait): Block the control-c event while
+       waiting for a debug event.
+
+2008-05-19  Pedro Alves  <pedro@codesourcery.com>
+
+       * symtab.h (lookup_symbol_in_language): Update comment.
+       * symtab.c (lookup_symbol_aux_block): Update comment.
+       * ada-lang.c (ada_lookup_symbol_list): Update comment.
+
+2008-05-19  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * symtab.h (lookup_symbol_in_language): Remove SYMTAB parameter.
+       (lookup_symbol): Likewise.
+       * symtab.c (lookup_symbol_in_language): Remove SYMTAB parameter.
+       (lookup_symbol): Likewise.
+       (search_symbols): Update.
+
+       * linespec.c (find_methods, collect_methods): Update.
+       (add_matching_methods, add_constructors): Update.
+       (decode_compound, decode_dollar, decode_variable): Update.
+       (lookup_prefix_sym): Update.
+
+       (symbol_found): Remove SYM_SYMTAB parameter.
+       Use SYMBOL_SYMTAB (sym) instead.
+
+       * gdbtypes.c (lookup_typename): Update.
+       (lookup_struct, lookup_union, lookup_enum): Update.
+       (lookup_template_type): Update.
+       (check_typedef): Update.
+       * language.c (lang_bool_type): Update.
+       * mdebugread.c (parse_procedure): Update.
+       * mi/mi-cmd-stack.c (list_args_or_locals): Update.
+       * parse.c (write_dollar_variable): Update.
+       * printcmd.c (address_info): Update.
+       * source.c (select_source_symtab): Update.
+       * stack.c (print_frame_args, print_frame_arg_vars): Update.
+       * valops.c (find_function_in_inferior): Update.
+       (value_struct_elt_for_reference): Update.
+       * value.c (value_static_field, value_fn_field): Update.
+
+       * alpha-mdebug-tdep.c (find_proc_desc): Update.
+       * arm-tdep.c (arm_skip_prologue): Update.
+       * mt-tdep.c (mt_skip_prologue): Update.
+       * xstormy16-tdep.c (xstormy16_skip_prologue): Update.
+
+       * ada-lang.h (struct ada_symbol_info): Remove SYMTAB member.
+       * ada-lang.c (ada_add_block_symbols): Remove SYMTAB parameter.
+       (add_defn_to_vec): Likewise.
+       (ada_add_block_symbols): Likewise.
+       (lookup_cached_symbol, cache_symbol): Likewise.
+       (standard_lookup): Update.
+       (ada_lookup_symbol_list): Update.
+
+       * c-valprint.c (c_val_print): Update.
+       * cp-support.c (cp_lookup_rtti_type): Update.
+       * jv-lang.c (java_lookup_class, get_java_object_type): Update.
+       * objc-lang.c (lookup_struct_typedef, find_imps): Update.
+       * p-valprint.c (pascal_val_print): Update.
+       * scm-lang.c (scm_lookup_name): Update.
+
+       * c-exp.y: Update.
+       * f-exp.y: Update.
+       * jv-exp.y: Update.
+       * m2-exp.y: Update.
+       * objc-exp.y: Update.
+       * p-exp.y: Update.
+
 2008-05-19  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * language.h (struct language_defn): Remove SYMTAB parameter from
This page took 0.027045 seconds and 4 git commands to generate.