2010-03-22 Stan Shebs <stan@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a90f0a949fe69afe91a9e92d7161014bf78adfe2..cb022786eb2bb75cd1879a0a048c7a6513eb66ee 100644 (file)
@@ -1,3 +1,348 @@
+2010-03-22  Stan Shebs  <stan@codesourcery.com>
+
+       * value.c (value_static_field): Be lazy about the field's value.
+
+2010-03-22  Reid Kleckner  <reid@kleckner.net>
+
+       PR gdb/11094
+       * breakpoint.c (disable_breakpoints_in_unloaded_shlib): Add
+       bp_jit_event.
+       (disable_breakpoints_in_shlibs): Likewise.
+
+2010-03-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dwarf2read.c (partial_die_parent_scope): Work around buggy
+       GCC 4.1 debug info generation (GCC PR c++/28460).
+       (determine_prefix): Likewise.
+
+2010-03-20  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * tui/tui-disasm.c (tui_get_begin_asm_address): Default to
+       get_current_arch.
+       * tui/tui-layout.c (extract_display_start_addr): Likewise.
+
+2010-03-19  Stan Shebs  <stan@codesourcery.com>
+
+       * ax-gdb.c (gen_fetch): Handle bool.
+       (gen_usual_unary): Ditto.
+       (gen_cast): Ditto.
+       (gen_equal): New function.
+       (gen_less): New function.
+       (gen_expr_binop_rest): Call them, also return integer type from
+       logical operations.
+       (gen_expr): Ditto.
+
+2010-03-19  Tom Tromey  <tromey@redhat.com>
+
+       * jv-lang.c (jv_dynamics_objfile_data_key)
+       (jv_type_objfile_data_key): New globals.
+       (class_symtab): Move earlier.
+       (jv_per_objfile_free): New function.
+       (get_dynamics_objfile): Call set_objfile_data.  Add 'gdbarch'
+       parameter.
+       Remove ancient #if 1.
+       (add_class_symbol): Remove redundant declaration.
+       (java_lookup_class): Use alloc_type, not alloc_type_arch.
+       (java_link_class_type): Mark as static.  Update.
+       (jv_clear_object_type): New function.
+       (set_java_object_type): Likewise.
+       (get_java_object_type): Use set_java_object_type.
+       (is_object_type): Likewise.
+       (_initialize_java_language): Register new objfile keys.
+       (get_java_class_symtab): Add 'gdbarch' parameter.
+       (add_class_symtab_symbol): Update.
+       (type_from_class): Update.
+
+2010-03-19  Stan Shebs  <stan@codesourcery.com>
+
+       * ax-general.c (ax_const_l): Fix a sizing bug. 
+
+2010-03-18  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.1 released.
+
+2010-03-18  Stan Shebs  <stan@codesourcery.com>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       * target.h (struct target_ops): New method
+       to_set_circular_trace_buffer.
+       (target_set_circular_trace_buffer): New macro.
+       * target.c (update_current_target): Add
+       to_set_circular_trace_buffer, fix to_set_disconnected_tracing
+       default behavior.
+       * remote.c (remote_set_circular_trace_buffer): New function.
+       (init_remote_ops): Add it to vector.
+       * tracepoint.h (struct trace_status): New field traceframes_created,
+       change buffer_size and buffer_free to int.
+       * tracepoint.c (circular_trace_buffer): New global.
+       (start_tracing): Send values of disconnected tracing and circular
+       trace buffer settings.
+       (set_circular_trace_buffer): New function.
+       (parse_trace_state): Handle total space and frames created.
+       (trace_status_command): Display total space and total frames
+       created.
+       (trace_save): Write out new status values.
+       (parse_trace_status): Set traceframe_count, traceframes_created,
+       buffer_free and buffer_size to -1 by default.
+       (_initialize_tracepoint): New setshow for circular-trace-buffer.
+       * NEWS: Mention the circular trace buffer option.
+
+2010-03-18  Tom Tromey  <tromey@redhat.com>
+
+       * infcmd.c (finish_command_continuation): Wrap print_return_value
+       in TRY_CATCH.
+
+2010-03-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (add_partial_subprogram): Make sure the subprogram
+       DIE has a name before creating the associated partial symbol.
+       (read_func_scope): Emit a complaint if the subprogram does not
+       have a name or when we can't extract the subprogram PC bounds.
+
+2010-03-18  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * mi/mi-main.c (mi_cmd_list_thread_groups): Use get_current_arch
+       instead of selected frame architecture.
+
+2010-03-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * infcmd.c (until_command): Use ERROR_NO_INFERIOR.  Ensure there's
+       a valid selected thread, and that it is not running.
+       (advance_command): Ditto.
+       (finish_command): Ditto.
+
+2010-03-17 Stan Shebs  <stan@codesourcery.com>
+
+       * ax-gdb.c (require_rvalue): Disallow non-scalars.
+
+       * infcall.c: Include tracepoint.h.
+       (call_function_by_hand): Disallow calls in tfind mode.
+       * infcmd.c: Include tracepoint.h.
+       (ensure_not_tfind_mode): New function.
+       (continue_1): Call it.
+       (step_1) Ditto.
+       (jump_command): Ditto.
+       (signal_command): Ditto.
+       (advance_command): Ditto.
+       (until_command): Ditto.
+       (finish_command): Ditto.
+       * tracepoint.h (disconnect_or_stop_tracing): Declare.
+
+       * ax-gdb.h (struct axs_value): New field optimized_out.
+       (gen_trace_for_var): Add gdbarch argument.
+       * ax-gdb.c (gen_trace_static_fields): New function.
+       (gen_traced_pop): Call it, add gdbarch argument.
+       (gen_trace_for_expr): Update call to it.
+       (gen_trace_for_var): Ditto, and report optimized-out variables.
+       (gen_struct_ref_recursive): Check for optimized-out value.
+       (gen_struct_elt_for_reference): Ditto.
+       (gen_static_field): Pass gdbarch instead of expression, assume
+       optimization if field not found.
+       (gen_var_ref): Set the optimized_out flag.
+       (gen_expr): Error on optimized-out variable.
+       * tracepoint.c (collect_symbol): Handle struct-valued vars as
+       expressions, skip optimized-out variables with computed locations.
+       * dwarf2loc.c (dwarf2_tracepoint_var_ref): Flag instead of
+       erroring out if location expression missing.
+       (loclist_tracepoint_var_ref): Don't error out here.
+
+2010-03-17  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf2_get_section_info): Handle case where no
+       DWARF data is available.
+
+2010-03-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * symfile.c (generic_load): Reset breakpoints after loading.
+
+2010-03-17  Tom Tromey  <tromey@redhat.com>
+
+       * linux-nat.c (linux_nat_detach): Check debug_linux_nat.
+
+2010-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * spu-tdep.c (spu_catch_start): Replace set_breakpoint call with the
+       create_breakpoint call, adjust the parameters.
+
+2010-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Chandru <chandru@in.ibm.com>
+
+       * dwarf2read.c (read_subrange_type): Set TYPE_HIGH_BOUND_UNDEFINED.
+       * valarith.c (value_subscripted_rvalue): Suppress error if
+       TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED.
+
+2010-03-16  Holger Hans Peter Freyther  <zecke@selfish.org>
+
+       * linux-record.c (record_linux_msghdr): Remove unintended semicolons.
+
+2010-03-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (task_command_1): Check that the task ptid is valid
+       before doing the associated thread switch.
+
+2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * MAINTAINERS: Update my email address.
+
+2010-03-16  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Simplify MI breakpoint setting.
+
+       * breakpoint.c (break_command_really): Make nonstatic and
+       rename to...
+       (create_breakpoint): ...this. Rename prior function by this name
+       to...
+       (create_breakpoint_sal): ...this.
+       (create_breakpoints): Rename to...
+       (create_breakpoints_sal): ...this.
+       (set_breakpoint): Remove.
+       * breakpoint.h: Adjust to above changes.
+       * mi/mi-cmd-break.c (mi_cmd_break_insert): Simplify.
+
+2010-03-15 Stan Shebs  <stan@codesourcery.com>
+
+       * ax-gdb.c: Include cp-support.h.
+       (find_field): Remove.
+       (gen_primitive_field): New function.
+       (gen_struct_ref_recursive): New function.
+       (gen_struct_ref): Rewrite to call gen_struct_ref_recursive instead
+       of find_field.
+       (gen_static_field): New function.
+       (gen_struct_elt_for_reference): New.
+       (gen_namespace_elt): New.
+       (gen_maybe_namespace_elt): New.
+       (gen_aggregate_elt_ref): New.
+       (gen_expr): Add OP_SCOPE, display opcode name in error message.
+
+2010-03-15  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (die_needs_namespace): Also return 0 for
+       DW_TAG_subprogram.
+
+2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       PR c++/7936:
+       * cp-support.h: Added char *declaration element to using_direct
+       data struct.
+       (cp_add_using): Added char *declaration argument.
+       (cp_add_using_directive): Ditto.
+       (cp_lookup_symbol_imports): made extern.
+       * cp-namespace.c: Updated with the above changes.
+       * dwarf2read.c (read_import_statement): Ditto.
+       (read_namespace): Ditto.
+       (read_import_statement): Support import declarations.
+       * cp-namespace.c (cp_lookup_symbol_imports): Check for imported
+       declarations.
+       Added support for 'declaration_only' search.
+       (cp_lookup_symbol_namespace): Attempt to search for the name as
+       is before consideration of imports.
+       * symtab.c (lookup_symbol_aux_local): Added a 'declaration_only'
+       search at every block level search.
+       Now takes language argument.
+       (lookup_symbol_aux): Updated.
+
+2010-03-15  Tom Tromey  <tromey@redhat.com>
+
+       * c-exp.y (name_not_typename): Add 'operator' clause.
+
+2010-03-15  Ralf Corsepius  <ralf.corsepius@rtems.org>  (tiny change)
+
+       * configure.ac: Exit if ${gdb_target_obs}" is not set.
+       * configure: Regenerate.
+
+2010-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symfile.c (addr_info_make_relative): Ignore also missing ".dynbss"
+       and ".sdynbss".  Update the comment.
+
+2010-03-15  Jie Zhang  <jie@codesourcery.com>
+
+       * MAINTAINERS: Update my email address.
+
+2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdbtypes.h (TYPE_IS_OPAQUE): Correct HAVE_CPLUS_STRUCT check.
+
+2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * charset.c [USE_WIN32API]: Include <windows.h>.
+        (_initialize_charset): Correct type of w32_host_default_charset.
+
+2010-03-14  Pedro Alves  <pedro@codesourcery.com>
+
+       * infrun.c (ptid_match): Don't assert that PTID is not a pid ptid.
+
+2010-03-12  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/9708:
+       * dwarf2read.c (die_needs_namespace) <DW_TAG_variable>: A variable
+       in a lexical block does not need a namespace.
+       (new_symbol) <DW_TAG_variable>: Put extern variables on
+       list_in_scope in all cases.
+
+2010-03-12 Stan Shebs  <stan@codesourcery.com>
+
+       * ax-gdb.c (gen_expr): Add shift expressions.
+       (gen_expr_binop_rest): Ditto.
+
+2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * buildsym.c (finish_block): Reset using_directives pointer
+       after block initialization.
+
+2010-03-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-tdep.c (amd64_word_names): Replace "sp" with "".
+       * i386-tdep.c (i386_word_names): Likewise.
+
+2010-03-12  Pedro Alves  <pedro@codesourcery.com>
+
+       * target.c (memory_xfer_partial): Don't use the stack cache if
+       inspecting trace frames.
+       * tracepoint.c (finish_tfind_command): Invalidate the target
+       dcache.
+
+2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib-svr4.c (LM_ADDR_CHECK) <info_verbose>: Use printf_unfiltered
+       for the PIC displacement, print also the displacement value.
+       (svr4_exec_displacement):  Print DISPLACEMENT if INFO_VERBOSE.
+
+2010-03-10  Kevin Buettner  <kevinb@redhat.com>
+
+       * remote-mips.c (close_ports, mips_initialize_cleanups)
+       (mips_exit_cleanups, mips_send_command, mips_open, pmon_open)
+       (ddb_open, lsi_open, mips_remove_breakpoint, mips_remove_watchpoint)
+       (mips_stopped_by_watchpoint, send_srec, pmon_checkset)
+       (pmon_make_fastrec, pmon_check_ack, mips_expect_download)
+       (pmon_check_entry_address, pmon_check_total, pmon_end_download)
+       (pmon_download, pmon_load_fast, _initialize_remote_mips): Add
+       comments describing each of these functions.
+       (mips_enter_debug, mips_exit_debug, common_open)
+       (mips_signal_from_protocol, pmon_makeb64, pmon_zeroset): Add
+       blank line after the comment describing the function.
+
+2010-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib-svr4.c (svr4_exec_displacement): Return now success, new
+       parameter displacementp.  Update comment.
+       (svr4_relocate_main_executable): Return if non-zero SECTION_OFFSETS
+       element exists.  Return if svr4_exec_displacement was not successful.
+       Update comment.
+
+2010-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * solib-svr4.c (read_program_header): Support type == -1 to read
+       all program headers.
+       (read_program_headers_from_bfd): New function.
+       (svr4_static_exec_displacement): Remove and move the comment ...
+       (svr4_exec_displacement): ... here.  Remove variable found.  New
+       variable displacement.  Check also DYNAMIC.  Verify DISPLACEMENT
+       alignment for ELF targets.  Compare target vs. exec_bfd PHDRs for ELF
+       targets using read_program_headers_from_bfd.  Remove the call of
+       svr4_static_exec_displacement.
+
 2010-03-10  Tom Tromey  <tromey@redhat.com>
 
        * dwarf2read.c (struct pubnames_header): Remove.
This page took 0.079458 seconds and 4 git commands to generate.