Internal error while loading core on alpha-tru64.
[binutils-gdb.git] / gdb / ChangeLog
index 18bb4ba53964457c0e86b9e646d10622ae710954..a31122751c39420d69ae348ea7ca417490eaf21c 100644 (file)
@@ -1,3 +1,219 @@
+2009-12-31  Joel Brobecker  <brobecker@adacore.com>
+
+       Internal error while loading core on alpha-tru64.
+       * corelow.c (core_open): Delete unused local variables.
+       Use inferior_appeared instead of add_inferior_silent.
+
+2009-12-30  Stan Shebs  <stan@codesourcery.com>
+
+       * tracepoint.c (trace_status_command): Add some status output.
+
+20090-12-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+            Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpoint.c (update_watchpoint): Change b->type to
+       bp_watchpoint before calling hw_watchpoint_used_count.
+
+2009-12-30  Joel Brobecker  <brobecker@adacore.com>
+
+       Fix build failure in inf-ptrace.c.
+       * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
+
+2009-12-30  Joel Brobecker  <brobecker@adacore.com>
+
+       * breakpoint.c (watchpoint_check): Expand the function description.
+
+2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * valarith.c (value_equal_contents): New function.
+       * value.h (value_equal_contents): Declare.
+       * breakpoint.c (watchpoint_check): Use value_equal_contents
+       instead of value_equal.
+
+2009-12-30  Stan Shebs  <stan@codesourcery.com>
+
+       Add default-collect variable.
+       * tracepoint.c (default_collect): New global.
+       (encode_actions): Use it.
+       (download_tracepoint): Test it, for otherwise
+       action-less tracepoints.
+       (_initialize_tracepoint): Add set/show.
+       * NEWS: Mention default-collect.
+
+2009-12-29  Stan Shebs  <stan@codesourcery.com>
+
+       * language.c (pointer_type): Un-comment out.
+       * ax-gdb.c: Include language.h, use pointer_type throughout
+       instead of testing TYPE_CODE_PTR.
+       (gen_fetch): Include TYPE_CODE_REF.
+       (gen_cast): Ditto.
+
+       * ax-gdb.c (gen_expr): Handle logical and, logical or, and
+       conditional expressions.
+
+2009-12-28  Stan Shebs  <stan@codesourcery.com>
+
+       Add trace state variables.
+       * ax.h (enum agent_op): Add getv, setv, and tracev.
+       (ax_tsv): Declare.
+       * ax-gdb.c: Include tracepoint.h.
+       (gen_expr): Handle BINOP_ASSIGN, BINOP_ASSIGN_MODIFY, and
+       OP_INTERNALVAR.
+       (gen_expr_binop_rest): New function, split from gen_expr.
+       * ax-general.c (ax_tsv): New function.
+       (aop_map): Add new bytecodes.
+       * tracepoint.h (struct trace_state_variable): New struct.
+       (tsv_s): New typedef.
+       (find_trace_state_variable): Declare.
+       * tracepoint.c (tvariables): New global.
+       (next_tsv_number): New global.
+       (create_trace_state_variable): New function.
+       (find_trace_state_variable): New function.
+       (delete_trace_state_variable): New function.
+       (trace_variable_command): New function.
+       (delete_trace_variable_command): New function.
+       (tvariables_info): New function.
+       (trace_start_command): Download tsvs with initial values.
+       (_initialize_tracepoint): Add new commands.
+       * NEWS: Mention the addition of trace state variables.
+
+2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * NEWS: Document "info variables" change.
+       * dwarf2read.c (new_symbol): Add file-scope external unresolved
+       symbols to global_symbols.
+       * symtab.c (search_symbols): Skip LOC_UNRESOLVED symbols.
+
+2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * defs.h (print_address_symbolic, build_address_symbolic): Update
+       prototypes.
+       * printcmd.c (print_address_symbolic): Take a gdbarch argument.
+       Pass it to build_address_symbolic.  All callers updated.
+       (build_address_symbolic): Take a gdbarch argument.  Use
+       gdbarch_addr_bits_remove for functions.  All callers updated.
+
+2009-12-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * ax-gdb.c (gen_expr) <OP_THIS>: Lookup `this' in the context of
+       the tracepoint, not of the selected frame and language.
+
+2009-12-23  Stan Shebs  <stan@codesourcery.com>
+
+       * ax-gdb.c (gen_expr): Handle OP_THIS.
+
+       * ax-gdb.h (gen_trace_for_var): Declare.
+       * ax-gdb.c (gen_trace_for_var): New function.
+       * dwarf2loc.c (dwarf_expr_frame_base_1): New function, split from...
+       (dwarf_expr_frame_base): ...here.
+       (dwarf2_tracepoint_var_ref): Add computed location case.
+       * tracepoint.c (collect_symbol): Add scope arg and LOC_COMPUTED
+       case.
+       (add_local_symbols): Update call to collect_symbol.
+       (encode_actions): Ditto.
+
+2009-12-23  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
+
+       PR gdb/11110
+       * tracepoint.h (deprecated_trace_find_hook)
+       (deprecated_trace_start_stop_hook): Declare extern.
+       * tracepoint.c (deprecated_trace_find_hook)
+       (deprecated_trace_start_stop_hook): Define.
+
+2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * breakpoint.c (bpstat_stop_status): Iterate using ALL_BREAKPOINTS and
+       the B->LOC list.  Remove gdb_assert on B.  Change bp_hardware_watchpoint
+       continue to break.  Remove variable update_locations.  Remove HIT_COUNT
+       increment protection by an ENABLE_STATE check.  Inline the delayed
+       update_global_location_list call.
+
+2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * breakpoint.c (bpstat_stop_status): Check BL->SHLIB_DISABLED.
+       (print_breakpoint_location): New comment.  Check LOC->SHLIB_DISABLED.
+       Check LOC validity before printing it.  Use LOC instead of B->LOC.
+       Swap the if conditionals order.
+
+2009-12-23  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (SFILES): Add exceptions.c.
+
+2009-12-22  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.0.1 released.
+
+2009-12-22  Hui Zhu  <teawater@gmail.com>
+
+       * record.c (record_message): Change argument.
+       (record_message_wrapper): New function.
+       (do_record_message): Change it name to
+       "record_message_wrapper_safe".
+       Let it call "record_message_wrapper".
+       (record_resume_error): Deleted.
+       (record_resume): Call "record_message".
+       (record_wait): Deleted record_resume_error.
+       Call "record_message_wrapper_safe".
+       Set status when do_record_message need stop the inferior.
+
+2009-12-21  Doug Evans  <dje@google.com>
+
+       * linux-nat.c (kill_lwp): Minor cleanup, move definition of
+       tkill_failed into ifdef HAVE_TKILL_SYSCALL.  Move setting of errno
+       there too.  Delete unnecessary resetting of errno after syscall.
+       Minor comment changes to match gdbserver/linux-low.c:kill_lwp.
+
+2009-12-21  Alan Modra  <amodra@gmail.com>
+
+       * MAINTAINERS: Update my email address.
+
+2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * mi/mi-main.c (mi_cmd_gdb_exit): Flush raw_stdout.
+
+2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
+
+       PR gdb/10884
+
+       * value.c (value_primitive_field): Call check_typedef
+       on the type.
+
+2009-12-21  Joel Brobecker  <brobecker@adacore.com>
+
+       * COPYING: Update to GPL version 3.
+
+2009-12-20  Michael Snyder  <msnyder@vmware.com>
+
+       * amd64-tdep.c (amd64_epilogue_frame_cache): Fix buf size.
+
+2009-12-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * darwin-nat-info.c, solib-spu.c, spu-multiarch.c,
+       regformats/regdat.sh, features/Makefile: Update copyright header.
+
+2009-12-19  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * arm-linux-tdep.c (ARM_OABI_SYSCALL_RESTART_SYSCALL): New macro.
+       (ARM_LDR_PC_SP_12): Likewise.
+       (arm_linux_restart_syscall_init): New function.
+       (arm_linux_restart_syscall_tramp_frame): New variable.
+       (arm_linux_init_abi): Install the
+       arm_linux_restart_syscall_tramp_frame unwinder.
+
+2009-12-18  Doug Evans  <dje@google.com>
+
+       * gdb_proc_service.h (psaddr_t): Fix type.
+       * linux-thread-db.c (thread_db_info.td_thr_tls_get_addr_p): Fix
+       signature to match glibc.
+       (thread_db_get_thread_local_address): Use psaddr_t for type of
+       address to match parameter of td_thr_tls_get_addr_p.
+       Cast through psaddr_t instead of (void*) to match parameter of
+       td_thr_tls_get_addr_p.
+
+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.