2010-03-22 Stan Shebs <stan@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 3c73dd2bfca3992e14f814a2763935b7f8ba04b4..cb022786eb2bb75cd1879a0a048c7a6513eb66ee 100644 (file)
@@ -1,4 +1,251 @@
-2010-02-25  Ralf Corsepius  <ralf.corsepius@rtems.org>
+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.
This page took 0.059647 seconds and 4 git commands to generate.