* c-expy. (operator_stoken): New function.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index bc6f91119c77587b5f11757bcea134bfd9287ade..2fb73833ff32667af34fca706021918ad665a801 100644 (file)
@@ -1,3 +1,206 @@
+2009-11-10  Keith Seitz  <keiths@redhat.com>
+
+       * c-expy. (operator_stoken): New function.
+       (OPERATOR): New token.
+       (NEW): New token.
+       (DELETE): New token.
+       (operator): New rule.
+       (name): Add operator.
+       (ident_tokens): Add "new", "delete", and "operator".
+       * gdbtypes.c (rank_one_type): Don't complain about
+       void pointer conversion badness if both types are
+       void pointers.
+
+2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symfile.c (separate_debug_file_exists): Change parameter parent_name
+       to parent_objfile.  New variables parent_stat and abfd_stat.  Call
+       strcmp and then bfd_stat functions to verify if NAME matches.
+       (find_separate_debug_file): Update the passed parameter at caller.
+
+2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * objfiles.c (objfile_relocate): Update also the field psymtabs_addrmap.
+
+2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * configure.ac: Call ACX_LARGEFILE.
+       * aclocal.m4: Call m4_include for ../config/largefile.m4 and
+       ../config/plugins.m4.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2009-11-10  Keith Seitz  <keiths@redhat.com>
+
+       * c-exp.y: Add new rule for resolving method overloads.
+       * eval.c (make_params): New function.
+       (free_param_types): New function.
+       (evaluate_subexp_standard): Pass expect_type to value_aggregate_elt.
+       Handle case TYPE_INSTANCE.
+       (evaluate_subexp_for_address): Pass expect_type to value_aggregate_elt.
+       * expression.h (enum exp_opcode): Add TYPE_INSTANCE.
+       (compare_parameters): Add declaration.
+       * parse.c (operator_length_standard): Add TYPE_INSTANCE.
+       * valops.c (value_aggregate_elt): Add new expect_type parameter.
+       Pass expect_type to value_struct_elt_for_reference.
+       (value_struct_elt_for_reference): Add expect_type parameter and use
+       compare_parameters.
+       Check for overload matches with and without artificial parameters.
+       Skip artificial methods.
+       (compare_parameters): New function.
+       * value.h (value_aggregate_elt): Add new expect_type parameter.
+
+2009-11-10  Joseph Myers  <joseph@codesourcery.com>
+
+       * solib-svr4.c (enable_break): Call
+       gdbarch_convert_from_func_ptr_addr on results of looking up
+       fallback symbol names.
+
+2009-11-10  Daniel Gutson  <dgutson@codesourcery.com>
+
+       * procfs.c (procfs_do_thread_registers): Added a call to fetch
+       register values before saving them in the core file
+       through the gcore command.
+       (procfs_corefile_thread_callback): Removed the backup of
+       inferior_ptid before calling procfs_do_thread_registers since
+       the function already saves and restores it before returning.
+
+2009-11-10  Michael Snyder  <msnyder@vmware.com>
+
+       * dcache.c: Fix typo, shorten long lines in comment.
+
+2009-11-10  Tristan Gingold  <gingold@adacore.com>
+
+       * avr-tdep.c: Add AVR_PSEUDO_PC_REGNUM and AVR_NUM_PSEUDO_REGS.
+       (struct gdbarch_tdep): Add void_type, func_void_type and pc_type
+       fields.
+       (avr_register_name): Add "pc" name, renames "PC" to "PC2".
+       (avr_register_type): Handle AVR_PSEUDO_PC_REGNUM.
+       (avr_write_pc): Fix indentation.
+       (avr_pseudo_register_read): New function.
+       (avr_pseudo_register_write): New function.
+       (avr_frame_prev_register): Handle AVR_PSEUDO_PC_REGNUM.
+       (avr_gdbarch_init): Create types for pc.  Register pseudo regs.
+
+2009-11-10  Tristan Gingold  <gingold@adacore.com>
+
+       * avr-tdep.c (avr_integer_to_address): New function.
+       (avr_gdbarch_init): Set integer_to_address.
+
+2009-11-10  Tristan Gingold  <gingold@adacore.com>
+
+       * avr-tdep.c (avr_skip_prologue): First try to skip prologue
+       using skip_prologue_using_sal.
+
+2009-11-10  Tristan Gingold  <gingold@adacore.com>
+
+       * avr-tdep.c (avr_extract_return_value): Remove.
+       (avr_return_value): Mostly rewritten.  Fix handling for structures.
+       (avr_push_dummy_call): Handle struct_return.
+
+2009-11-10  Tristan Gingold  <gingold@adacore.com>
+
+       * avr-tdep.c (avr_scan_prologue): Decode instructions used for
+       small stack allocation.
+       Adjust code for prologue that don't write SP.
+
+2009-11-10  Tristan Gingold  <gingold@adacore.com>
+
+       * avr-tdep.c (avr_make_saddr): Return 0 for NULL.
+
+2009-11-10  Tristan Gingold  <gingold@adacore.com>
+
+       * avr-tdep.c (avr_dwarf_reg_to_regnum): New function.
+       (avr_gdbarch_init): Call set_gdbarch_dwarf2_reg_to_regnum.
+
+2009-11-09  Sebastien Granjoux  <seb.sfo@free.fr>
+
+       PR mi/9583:
+       * symtab.c (find_line_symtab, append_exact_match_to_sals)
+       (expand_line_sal): Use full filename when setting breakpoints if
+       available
+
+2009-11-09  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2read.c (read_import_statement): Don't clobber original cu.
+
+2009-11-09  Tom Tromey  <tromey@redhat.com>
+
+       * python/python.c (execute_gdb_command): Copy the argument text.
+
+2009-11-06  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * m68k-tdep.c (m68k_convert_register_p): Correct
+       messup.
+
+2009-11-06  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * m68k-tdep.c (m68k_convert_register_p): Compare with
+       the actual type of fp registers, not one of the possible
+       values.
+
+2009-11-06  Vladimir Prus  <vladimir@codesourcery.com>
+
+        Prevent program output from mix with "^running".
+
+       gdb/
+       * mi/mi-interp.c (mi_on_resume): Output token
+       and "^running" together, so that nothing else gets
+       in between.
+
+2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2read.c (struct dwarf2_cu): Remove ranges_offset and
+       has_ranges_offset.
+       (struct partial_die_info): Remove language, has_stmt_list, dirname,
+       and line_offset.
+       (dwarf2_build_include_psymtabs): Take a die_info.  Handle a missing
+       line table.
+       (dwarf2_get_pc_bounds): Take PST argument.  Pass it
+       to dwarf2_ranges_read.  Update all callers.
+       (init_cu_die_reader): Move earlier.
+       (dwarf2_find_base_address): New function.
+       (process_psymtab_comp_unit): Rewrite to use a full DIE for the
+       compilation unit.  Use dwarf2_get_pc_bounds and
+       dwarf2_find_base_address.
+       (load_comp_unit): Rewrite to use a full DIE for the compilation unit.
+       (process_full_comp_unit): Use dwarf2_find_base_address.
+       (read_partial_die): Remove support for attributes only used
+       in the compilation unit DIE.
+       * symfile.c (allocate_psymtab): Make FILENAME const.
+       (start_psymtab_common): Likewise.
+       * symfile.h (allocate_psymtab, start_psymtab_common): Update
+       prototypes.
+
+2009-11-05  Tom Tromey  <tromey@redhat.com>
+
+       * symmisc.c (print_symbol_bcache_statistics): Print filename cache
+       statistics.
+       (print_objfile_statistics): Likewise.
+       * symfile.c (reread_symbols): Initialize filename_cache.
+       (allocate_symtab): Cache the file name.
+       (allocate_psymtab): Likewise.
+       * solib-sunos.c (allocate_rt_common_objfile): Initialize
+       filename_cache.
+       * objfiles.h (struct objfile) <filename_cache>: New field.
+       * objfiles.c (allocate_objfile): Initialize filename_cache.
+       (free_objfile): Free filename_cache.
+
+2009-11-05  Tom Tromey  <tromey@redhat.com>
+
+       * symfile.c (add_psymbol_to_bcache): Make 'psymbol' static again.
+       Zero the 'value' field.
+
+2009-11-05  Doug Evans  <dje@google.com>
+
+       * amd64-tdep.c (amd64_init_frame_cache): Enhance comment describing
+       saved_regs.
+
+2009-11-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * top.c (execute_command): Select a frame before checking the current
+       language.  Only output a message if verbose.
+
 2009-11-05  Tom Tromey  <tromey@redhat.com>
 
        * symtab.h (SYMBOL_SET_LINKAGE_NAME): Update comment.
        * target.c (dummy_find_memory_regions): Change output.
        (dummy_make_corefile_notes): Ditto.
 
+2009-10-26  Tristan Gingold  <gingold@adacore.com>
+       
+       * charset.c (_initialize_charset): Set a default value to
+       auto_host_charset_name if empty.
+
 2009-10-26  Tristan Gingold  <gingold@adacore.com>
 
        * avr-tdep.c (avr_push_dummy_call): Handle avr6 architecture.
This page took 0.027507 seconds and 4 git commands to generate.