gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 61b43789e7bdbcf4f2972180223cac9a2eb491c2..6c5c594babeb9a3cfc837becdf809c478695eb21 100644 (file)
@@ -1,3 +1,288 @@
+2011-08-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * stack.c (print_frame_arguments_choices): Comment typo fix.
+
+2011-08-01  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       Revert:
+       2011-07-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+       * breakpoint.c (insert_bp_location): Remove disabled_breaks
+       argument.  Update callers.
+
+2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       PR gdb/13045
+       * doublest.c (convert_doublest_to_floatformat): Pass correct
+       mantissa length to put_field.
+
+2011-08-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * stack.c (do_gdb_disassembly): Use RETURN_MASK_ERROR, simplify the
+       exception_print code path.
+       (backtrace_command): Remove variable e.  Protect arg by make_cleanup in
+       advance.  Simplify memset.  Remove TRY_CATCH.  Remove explicit xfree.
+       (backtrace_full_command):  Remove variable e.  Remove TRY_CATCH.
+
+2011-08-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * stack.c (struct print_stack_frame_args, print_stack_frame_stub):
+       Remove, merge them into ...
+       (print_stack_frame): ... here with a TRY_CATCH.  New variable e, remove
+       variable args and its initialization.
+       (struct print_args_args, print_args_stub): Remove, merge them into
+       print_frame.
+       (struct gdb_disassembly_stub_args, gdb_disassembly_stub): Remove, merge
+       them into ...
+       (do_gdb_disassembly): ... here.  Remove variable args and its
+       initialization.
+       (print_frame): Remove variable args and its initialization, new
+       variable gdbarch and numargs (from print_args_stub), inline here
+       print_args_stub with a TRY_CATCH.
+       (struct backtrace_command_args, backtrace_command_stub): Remove, merge
+       them into ...
+       (backtrace_command, backtrace_full_command): ... here with a TRY_CATCH.
+       New variable e, remove variable btargs and its initialization.
+
+2011-08-01  Tristan Gingold  <gingold@adacore.com>
+
+       * darwin-nat.c (darwin_decode_exception_message): Adjust assertion.
+
+2011-07-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpoint.c (insert_bp_location): Document return value.
+       (insert_breakpoint_locations): Fix documentation.
+       (remove_breakpoints): Add documentation.
+
+2011-07-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpoint.c (insert_bp_location): Remove disabled_breaks
+       argument.  Update callers.
+
+2011-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * stack.c (print_frame_info): Comment typo fix.
+
+2011-07-29  Sterling Augustine  <saugustine@google.com>
+
+       * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2011-07-29  Tom Tromey  <tromey@redhat.com>
+
+       * solib-target.c: Use DEF_VEC_I, not DEF_VEC_O.
+       (library_list_start_segment): Update.
+       (library_list_start_section): Update.
+
+2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * varobj.c (value_get_print_value): Move hint check later into the
+       function.  Comment function.  Free thevalue before reusing it.
+
+2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       * eval.c (evaluate_subexp_standard): Remove not_lval from all calls of
+       value_one.
+       * valops.c (value_one): Remove parameter lv.  Do not pass it to itself.
+       Assert the result kind.
+       * value.h (value_one): Remove parameter lv.
+
+2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix crash on lval_computed values.
+       * valops.c (value_zero): Use not_lval for lval_computed.
+
+2011-07-27  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Add 'common' prefix for
+       gdb_assert.h, gdb_locale.h, gdb_dirent.h.
+
+2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * typeprint.c (_initialize_typeprint): Extend the help of "whatis" and
+       "ptype" by their typedefs difference.
+
+2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2expr.c (ctx_no_read_reg): New function.
+       * dwarf2expr.h (ctx_no_read_reg): New declaration.
+       * dwarf2read.c (read_2_signed_bytes, read_4_signed_bytes): Remove.
+       (decode_locdesc_read_mem, decode_locdesc_ctx_funcs): New.
+       (decode_locdesc): Replace by a caller of dwarf_expr_eval.
+
+2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2-frame.c (no_get_frame_base, no_get_frame_cfa, no_get_frame_pc)
+       (no_get_tls_address, no_dwarf_call, no_base_type): Move to the other
+       file.
+       (dwarf2_frame_ctx_funcs): Reference the renamed functions.
+       * dwarf2expr.c (ctx_no_get_frame_base, ctx_no_get_frame_cfa)
+       (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call)
+       (ctx_no_get_base_type): Move the functions here.
+       * dwarf2expr.h (ctx_no_get_frame_base, ctx_no_get_frame_cfa)
+       (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call)
+       (ctx_no_get_base_type): New declarations.
+
+2011-07-27  Tom Tromey  <tromey@redhat.com>
+
+       * xcoffread.c (dwarf2_xcoff_names): Add 'macro' and 'sentinel'
+       entries.
+       * symfile.h (struct dwarf2_debug_sections) <sentinel>: New field.
+       * dwarf2read.c (dwarf2_elf_names): Add sentinel entry.
+
+2011-07-26  Sterling Augustine  <saugustine@google.com>
+
+       * cli/cli-dump.c (dump_binary_file): Change parameter type to
+       ULONGEST.
+       (dump_bfd_file): Likewise.
+
+2011-07-26  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * remote.c (remote_region_ok_for_hw_watchpoint): New function.
+       (remote_hw_watchpoint_length_limit): New variable.
+       (_initialize_remote) add set,show cmds for this new variable.
+       * gdb.texinfo: document these new commands.
+       * NEWS: Mention these new commands.
+
+2011-07-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (works_in_software_mode_watchpoint): Also return
+       true for software watchpoints.
+
+2011-07-26  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.3 released.
+
+2011-07-26  Tom Tromey  <tromey@redhat.com>
+
+       * symfile.h (struct dwarf2_debug_sections) <macro>: New field.
+       * dwarf2read.c (read_indirect_string_at_offset): New function.
+       (read_indirect_string): Use it.
+       (dwarf_decode_macro_bytes): New function, taken from
+       dwarf_decode_macros.  Handle DW_MACRO_GNU_*.
+       (dwarf_decode_macros): Use it.  handle DW_MACRO_GNU_*.
+       (dwarf_parse_macro_header, skip_form_bytes, skip_unknown_opcode):
+       New functions.
+       (struct dwarf2_per_objfile) <macro>: New field.
+       (dwarf2_elf_names): Add .debug_macro.
+       (dwarf2_macros_too_long_complaint): Add 'section' argument.
+       (dwarf2_locate_sections): Handle new section.
+       (read_file_scope): Handle DW_AT_GNU_macros.
+       (dwarf2_per_objfile_free): Unmap the .debug_macro section.
+
+2011-07-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * NEWS: Mention dcache configuration.
+       * dcache.c (dcache_set_list, dcache_show_list): New variables.
+       (dcache_size, dcache_line_size): New variables.
+       (LINE_SIZE_MASK, XFORM, MASK): Adjust.
+       (struct dcache_block): Make it expandable.
+       (struct dcache_struct): New field.
+       (dcache_invalidate): Discard freelist upon dcache_line_size changes.
+       (dcache_hit, dcache_alloc, dcache_peek_byte): Adjust.
+       (dcache_poke_byte, dcache_print_line): Adjust.
+       (set_dcache_size, set_dcache_line_size): New functions.
+       (set_dcache_command, show_dcache_command): New functions.
+       (_initialize_dcache): Add new commands.
+
+2011-07-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * progspace.h (struct program_space): Add solib_add_generation.
+       * infcmd.c (post_create_inferior): Only call solib_add if not
+       already done.
+       * solib.c (solib_add): Increment solib_add_generation.
+
+2011-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix implicit pointer offsets.
+       * dwarf2loc.c (indirect_pieced_value): Comment byte_offset.  Use also
+       ptr.OFFSET.
+
+2011-07-25  Tom Tromey  <tromey@redhat.com>
+
+       * ada-lang.c (ada_exception_breakpoint_ops): Make return type
+       const.
+       (ada_exception_sal): Make 'ops' const.
+       (ada_decode_exception_location): Likewise.
+       (ada_decode_assert_location): Likewise.
+       (catch_assert_command): Update.
+       (catch_ada_exception_command): Update.
+       (create_ada_exception_catchpoint): Make 'ops' const.
+       * breakpoint.c (set_raw_breakpoint_without_location)
+       (set_raw_breakpoint, momentary_breakpoint_from_master): Make 'ops'
+       const.
+       (create_internal_breakpoint): Update.
+       (init_raw_breakpoint_without_location): Make 'ops' const.
+       (init_raw_breakpoint, init_catchpoint)
+       (create_fork_vfork_event_catchpoint)
+       (create_syscall_event_catchpoint, init_breakpoint_sal)
+       (create_breakpoint_sal, create_breakpoints_sal)
+       (create_breakpoint, init_ada_exception_breakpoint): Likewise.
+       * breakpoint.h (struct breakpoint) <ops>: Now const.
+       (init_ada_exception_breakpoint, create_breakpoint): Make 'ops'
+       const.
+
+2011-07-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * linux-thread-db.c (thread_from_lwp): Initialize th.th_unique.
+
+2011-07-25  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.h (print_recreate_thread): Declare.
+       (struct breakpoint): Move step_count, pass_count,
+       number_on_target, static_trace_marker_id,
+       static_trace_marker_id_idx ...
+       (struct tracepoint): ... to this new struct.
+       (get_tracepoint, get_tracepoint_by_number_on_target)
+       (get_tracepoint_by_number): Change return type to struct
+       tracepoint pointer.
+       * breakpoint.c (is_tracepoint_type): New, factored out from
+       is_tracepoint.
+       (is_tracepoint): Adjust.
+       (print_one_breakpoint_location): Cast to struct tracepoint as
+       necessary, and adjust.
+       (print_recreate_catch_fork, print_recreate_catch_vfork)
+       (print_recreate_catch_syscall, print_recreate_catch_exec): Call
+       print_recreate_thread.
+       (init_breakpoint_sal): New, factored out from
+       create_breakpoint_sal.
+       (create_breakpoint_sal): Reimplement.
+       (create_breakpoint): Allocate a struct tracecepoint if the caller
+       wanted a tracepoint.  Use init_breakpoint_sal and
+       install_breakpoint.
+       (print_recreate_ranged_breakpoint, print_recreate_watchpoint)
+       (print_recreate_masked_watchpoint)
+       (print_recreate_exception_catchpoint): Call print_recreate_thread.
+       (tracepoint_print_one_detail): Adjust.
+       (tracepoint_print_recreate): Adjust.  Call print_recreate_thread.
+       Dump the pass count here.
+       (update_static_tracepoint): Adjust.
+       (addr_string_to_sals): Adjust.
+       (create_tracepoint_from_upload): Adjust.  Change return type to
+       struct tracepoint pointer.
+       (trace_pass_set_count): Change parameter type to struct tracepoint
+       pointer, and adjust.
+       (trace_pass_command): Adjust.
+       (get_tracepoint, get_tracepoint_by_number_on_target)
+       (get_tracepoint_by_number): Change return type to struct
+       tracepoint pointer, and adjust.
+       (print_recreate_thread): New, factored out from save_breakpoints.
+       (save_breakpoints): Don't print thread and task and passcount
+       recreation here.
+       * remote.c (remote_download_tracepoint): Adjust.
+       * tracepoint.c (trace_actions_command, validate_actionline)
+       (start_tracing, tfind_1, trace_find_tracepoint_command)
+       (trace_dump_command): Adjust.
+       (find_matching_tracepoint): Change return type to struct
+       tracepoint pointer, and adjust.
+       (merge_uploaded_tracepoints, tfile_get_traceframe_address)
+       (tfile_trace_find, tfile_fetch_registers): Adjust.
+       * tracepoint.h (create_tracepoint_from_upload): Change return type
+       to struct tracepoint pointer.
+       * ada-lang.c (print_recreate_exception): Call
+       print_recreate_thread.
+       * mi/mi-cmd-break.c (mi_cmd_break_passcount): Adjust.
+
 2011-07-25  Pedro Alves  <pedro@codesourcery.com>
 
        * breakpoint.h (struct breakpoint): Move ops as first field.  Move
This page took 0.037696 seconds and 4 git commands to generate.