2009-12-17 Stan Shebs <stan@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 19826cf1f09cffd0c3ea30e0e07cf5ab7e34db40..16759d3e64094686bf76c503ccd195f28aa03412 100644 (file)
@@ -1,3 +1,326 @@
+2009-12-17  Stan Shebs  <stan@codesourcery.com>
+
+       * breakpoint.c (bpstat_check_location): Check for tracepoints.
+
+2009-12-16  Michael Snyder  <msnyder@vmware.com>
+
+       * i386-tdep.c (i386_process_record): Reformat comments.
+
+2009-12-15  Gaius Mulley  <gaius@glam.ac.uk>
+
+       * dwarf2read.c (read_subroutine_type): Add the subroutine
+       type to the die immediately to allow a parameter type to be
+       the same subroutine type.
+
+2009-12-15  Tristan Gingold  <gingold@adacore.com>
+
+       * machoread.c (macho_symfile_read): Set section size of dsym bfd
+       from main bfd.
+
+2009-12-15  Tristan Gingold  <gingold@adacore.com>
+
+        * machoread.c (macho_check_dsym): Read uuid directly from load command
+        instead of from a fake section.
+
+2009-12-15  Tristan Gingold  <gingold@adacore.com>
+
+        * machoread.c (macho_symtab_read): Add comments.  Always set
+        first_offset.
+
+2009-12-14  Tristan Gingold  <gingold@adacore.com>
+
+       * symfile.h (find_separate_debug_file_by_buildid): Remove prototype.
+       (bfd_open_maybe_remote): New prototype.
+       * symfile.c (bfd_open_maybe_remote): New function.
+       (separate_debug_file_exists, reread_symbols): Use it.
+       (struct build_id, build_id_bfd_get, build_id_verify)
+       (build_id_to_debug_filename)
+       (find_separate_debug_file_by_buildid): Move these ...
+       * elfread.c (struct build_id)
+       (build_id_bfd_get, build_id_verify, build_id_to_debug_filename)
+       (find_separate_debug_file_by_buildid): ... here.
+
+2009-12-13  Paul N. Hilfinger  <hilfinger@adacore.com>
+
+       * dwarf2read.c (struct attribute): Increase sizes of unsnd and snd 
+       fields to allow larger integer sizes.
+       (read_subrange_type): Increase size of bound values.
+       Add logic to determine signedness based on base-type size, signedness.
+       (read_attribute_value): Change format for bad byte size in message.
+       (read_8_bytes): Increase size of result type.
+       (dump_die_shallow): Change format for value.
+       (dwarf2_get_attr_constant_value): Increase size of return type.
+       Correct comment.
+       * gdbtypes.c (create_range_type): Change API to increase size of 
+       bounds. struct field -> union field.
+       Always take signedness from base type.
+       (check_typedef): Use new API for TYPE_LOW_BOUND, TYPE_HIGH_BOUND.
+       (recursive_dump_type, copy_type_recursive): Adjust to new 
+       representation of range types.
+       * gdbtypes.h (fields_or_bounds): New union containing struct field and
+       new struct range_bounds, used for range types.
+       (TYPE_RANGE_DATA): New macro to access range_bounds member.
+       (TYPE_LOW_BOUND, TYPE_HIGH_BOUND): Represent with new TYPE_RANGE_DATA.
+       (TYPE_LOW_BOUND_UNDEFINED, TYPE_HIGH_BOUND_UNDEFINED): New macros,
+       taking over the job of TYPE_FIELD_ARTIFICIAL for range bounds.
+       (SET_TYPE_LOW_BOUND, SET_TYPE_HIGH_BOUND, SET_TYPE_LOW_BOUND_DEFINED)
+       (SET_TYPE_HIGH_BOUND_DEFINED): New macros.
+       (TYPE_FIELDS, TYPE_BASECLASS, TYPE_BASECLASS_NAME, TYPE_FIELD)
+       (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED)
+       (TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED, TYPE_ARRAY_UPPER_BOUND_VALUE)
+       (TYPE_ARRAY_LOWER_BOUND_VALUE): Adjust to new representation.
+       (create_range_type): Adjust API.
+       * ada-lang.c (ada_modulus): Use new extended bound values.
+       (discrete_type_low_bound): Rename to...
+       (ada_discrete_type_low_bound): ... and make external.
+       (discrete_type_high_bound): Rename to...
+       (ada_discrete_type_high_bound): ... and make external.
+       (ada_value_slice_from_ptr, ada_array_bound_from_type)
+       (ada_evaluate_subexp, to_fixed_range_type): 
+       Use ada_discrete_type_low_bound, ada_discrete_type_high_bound.
+       * ada-typeprint.c (print_range): Use ada_discrete_type_low_bound,
+       ada_discrete_type_high_bound.  Don't look at field count, which 
+       is no longer meaningful.  Print bounds whenever argument is a range
+       or enumeration.
+       * ada-lang.h (ada_discrete_type_low_bound,ada_discrete_type_high_bound):
+       Declare.
+       * varobj.c (c_describe_child): Adjust to render larger values.
+       * mdebugread.c (parse_type): Use proper abstractions for range types:
+       TYPE_RANGE_DATA, SET_TYPE_LOW_BOUND_DEFINED,
+       SET_TYPE_HIGH_BOUND_DEFINED.
+       * p-typeprint.c (pascal_type_print_varspec_prefix): Use larger format
+       for bounds.
+       
+2009-12-11  Michael Snyder  <msnyder@vmware.com>
+
+       * main.c (captured_main): Indentation.
+
+2009-12-10  Michael Snyder  <msnyder@vmware.com>
+
+       * i386-tdep.c (i386_record_lea_modrm_addr): Indent goto label.
+       (i386_process_record): Indent goto label.  Use prefix opcode
+       constants from include/opcode/i386.h in switch statement.
+
+2009-12-10  Chris Moller  <cmoller@redhat.com>
+
+       PR gdb/9399
+       * valops.c (value_cast_structs): Added test to return NULL if no
+        casting needed.
+
+2009-12-10  Oza Pawandeep <paawan1982@yahoo.com>
+
+       * i386-tdep.c:  Support for floating point recording.
+       Records and Replay the i386 floating point registers,
+       of i387 FPU.
+       (i386_record_floats): New function.
+       (i386_process_record): Implement FP insns.
+
+2009-12-03  Tristan Gingold  <gingold@adacore.com>
+
+       * machoread.c (macho_symfile_read): Use symbol_file_add_separate
+       to add dsym files.
+
+2009-12-09  Tristan Gingold  <gingold@adacore.com>
+
+       * symfile.h (symbol_file_add_separate): New prototype.
+       (find_separate_debug_file_by_buildid): Ditto.
+       (find_separate_debug_file_by_debuglink): Ditto.
+       * symfile.c (reread_separate_symbols): Remove.
+       (find_separate_debug_file): Split into ...
+       (find_separate_debug_file_by_buildid): ... this and ...
+       (find_separate_debug_file_by_debuglink): ... this.
+       (symbol_file_add_with_addrs_or_offsets): Do not save orig_addrs.
+       Remove separate debug file handling.
+       (symbol_file_add_separate): New function.
+       (reread_symbols): Do not considere separate debug files, but free
+       them while handling their parent.  Reindent.
+       * coffread.c (coff_symfile_read): Handle separate object file.
+       * elfread.c (elf_symfile_read): Ditto.
+
+2009-12-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * acinclude.m4: Update comment.
+
+2009-12-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * acinclude.m4: Link against in-tree libiconv by adding
+       libiconv.a to the LIBS instead of using -liconv.
+       * configure: Regenerate.
+
+2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
+
+       PR python/10804
+
+       * python/py-type.c (typy_range): New Function.
+
+2009-12-07  Doug Evans  <dje@google.com>
+
+       * charset.c: Include environ.h.
+       (ignore_line_p): New function.
+       (find_charset_names): Handle older versions of iconv that print
+       human-readable output even if stdout is not a tty.
+
+2009-12-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * configure.tgt: Add rx-*-elf target.
+       * rx-tdep.c: New target.
+       * NEWS: Announce Renesas RX support.
+
+2009-12-07  Tristan Gingold  <gingold@adacore.com>
+
+       * symfile.h (struct sym_fns): Adjust comment on sym_read.
+       * symfile.c (syms_from_objfile): Pass all symfile flags to sym_read.
+       * dbxread.c (dbx_symfile_read): Rename mainline to symfile_flags,
+       adjust header comment.
+       * elfread.c (elf_symfile_read): Ditto.
+       * somread.c (som_symfile_read): Ditto.
+       * xcoffread.c (xcoff_initial_scan): Ditto.
+       * coffread.c (coff_symfile_read): Rename mainline to symfile_flags.
+       * machoread.c (macho_symfile_read): Ditto.
+       * mipsread.c (mipscoff_symfile_read): Ditto.
+
+2009-12-07  Tristan Gingold  <gingold@adacore.com>
+
+       * dbxread.c (dbx_symfile_read): No need to test mainline to call
+       init_psymbol_list.
+       * xcoffread.c (xcoff_initial_scan): Ditto;
+       * coffread.c (coff_symfile_read): Remove call to init_psymbol_list.
+       * elfread.c (elf_symfile_read): Ditto.
+       * machoread.c (macho_symfile_read): Ditto.
+
+2009-12-04  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * valops.c (value_struct_elt_for_reference): Do not rely on
+       field order.
+
+2009-12-03  Richard Ward  <richard.j.ward1@googlemail.com>
+
+       * python/py-type.c (convert_field): New attribute "is_base_class".
+
+2009-12-03  Tom Tromey  <tromey@redhat.com>
+
+       * python/python.c (gdbpy_parse_and_eval): New function.
+       (GdbMethods): Add "parse_and_eval".
+
+2009-12-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linux-thread-db.c (find_new_threads_once): Change errp and err types
+       to td_err_e.
+       (thread_db_find_new_threads_2): Change err type to td_err_e.
+
+2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
+       
+       PR gdb/11022
+
+       * breakpoint.c (invalidate_bp_value_on_memory_change):
+       New function.
+       (_initialize_breakpoint): Add it as memory change observer.
+
+2009-12-03  Tristan Gingold  <gingold@adacore.com>
+
+       * machoread.c (macho_sym_fns): Set sym_segment routine.
+
+2009-12-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * ada-lang.c (ada_value_assign): Use observer_notify_memory_changed.
+       * valops.c (value_assign): Likewise.
+       * defs.h (deprecated_memory_changed_hook): Remove.
+       * top.c (deprecated_memory_changed_hook): Likewise.
+       * interps.c (clear_interpreter_hooks): Adjust.  
+       
+2009-12-02  Tristan Gingold  <gingold@adacore.com>
+
+       * symfile.h (dwarf2_build_psymtabs): Remove mainline parameter in
+       prototype.
+       * dwarf2read.c (dwarf2_build_psymtabs): Remove mainline paramter in
+       definition, simplify code assuming it is always 0.
+       * coffread.c (coff_symfile_read): Adjust call.
+       * elfread.c (elf_symfile_read): Ditto.
+       * machoread.c (macho_symfile_read): Explicitely calls
+       init_psymbol_list if mainline is set.
+
+2009-12-02  Tristan Gingold  <gingold@adacore.com>
+
+       * dwarf2read.c (dwarf2_build_psymtabs_easy): Remove mainline parameter.
+       (dwarf2_build_psymtabs_hard): Ditto.
+       (dwarf2_build_psymtabs): Ajust calls.
+       * stabsread.h (elfstab_build_psymtabs): Remove mainline parameter on
+       the prototype.
+       (coffstab_build_psymtabs): Ditto.
+       (stabsect_build_psymtabs): Ditto.
+       * dbxread.c (coffstab_build_psymtabs): Remove mainline parameter on
+       the definition.
+       (elfstab_build_psymtabs): Ditto.
+       (stabsect_build_psymtabs): Ditto.
+       * coffread.c (coff_symfile_read): Adjust call.
+       * elfread.c (elf_symfile_read): Ditto.
+       * somread.c (som_symfile_read): Ditto.
+
+2009-12-02  Tristan Gingold  <gingold@adacore.com>
+
+       * charset.c (_initialize_charset): Set a default value to
+       auto_host_charset_name if empty.
+
+2009-12-01  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcore.c: Include solib.h.
+       (gcore_create_callback): Call solib_keep_data_in_core when
+       considering not saving memory in core file.
+       * solib-svr4.c (svr4_keep_data_in_core): New.
+       (_initialize_svr4_solib): Initialize
+       svr4_so_ops.keep_data_in_core.
+       * solib.c (solib_keep_data_in_core): New.
+       * solib.h (solib_keep_data_in_core): Declare.
+       * solist.h (struct target_so_ops): Add keep_data_in_core.
+
+2009-11-30  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure: Regenerate.
+
+2009-11-28  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * target.c (target_terminal_inferior): Use target_can_async_p, not
+       target_is_async_p.
+
+2009-11-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * s390-nat.c (s390_can_use_hw_breakpoint): Only support breakpoints
+       of type bp_hardware_watchpoint.
+
+2009-11-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c: Apply some corrections to the previous comment addition.
+
+2009-11-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c: Update the comment explaining how to evaluate
+       Ada expressions.
+
+2009-11-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       PR gdb/8704
+
+       * breakpoint.c (find_condition_and_thread): Correct task error message.
+       * c-exp.y (yylex): Stop before "thread N", "task N", or abbreviations
+       of those.
+
+2009-11-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * acinclude.m4: Include ../config/zlib.m4.
+       * configure.ac: Use AM_ZLIB to check for zlib support.
+       * configure: Regenerate.
+
+2009-11-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * breakpoint.c (expand_line_sal_maybe): Adjust adjust the SAL
+       past the function prologue in the case where we were given only
+       one SAL.
+
+2009-11-24  Pedro Alves  <pedro@codesourcery.com>
+
+       * record.c (init_record_ops, init_record_core_ops): Actually
+       install record_stopped_data_address.
+
 2009-11-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * dwarf2read.c [HAVE_MMAP] (MAP_FAILED): Define if missing.
This page took 0.029855 seconds and 4 git commands to generate.