2010-06-24 Phil Muldoon <pmuldoon@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index de7d59bb02b7792f131b83c9eb97509eb103c2ac..d99913c132d495a3f23a6ea52278093d43af561d 100644 (file)
@@ -1,3 +1,140 @@
+2010-06-25  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * printcmd.c (print_variable_and_value): Print error message on
+       caught exception.
+
+2010-06-25  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dwarf2expr.h (struct dwarf_value_location): Use ULONGEST as type
+       of stack values.
+       (struct dwarf_expr_piece): Rename "expr" member to "mem".  Add new
+       "value" member.
+       (dwarf_expr_push): Change input type to ULONGEST.
+       (dwarf_expr_fetch): Change return type to ULONGEST.
+       (dwarf_expr_fetch_address): Add prototype.
+       (dwarf2_read_address): Remove prototype.
+       * dwarf2expr.c (dwarf_expr_push): Use ULONGEST as type of stack values.
+       Truncate stack values to ctx->addr_size bytes.
+       (dwarf_expr_fetch): Change return value to ULONGEST.
+       (dwarf_expr_fetch_address): New function.
+       (add_piece): Use dwarf_expr_fetch_address instead of dwarf_expr_fetch
+       when appropriate.  Update for struct dwarf_expr_piece changes.
+       (dwarf2_read_address): Remove.
+       (unsigned_address_type): Remove.
+       (signed_address_type): Remove.
+       (execute_stack_op): Use dwarf_expr_fetch_address instead of
+       dwarf_expr_fetch when appropriate.  Use ULONGEST as type of stack
+       values.  Perform operations on ULONGEST instead of on GDB values,
+       sign-extending from ctx->addr_size bytes as needed.  Read DW_OP_addr
+       values and DW_OP_deref results as unsigned integers.
+       * dwarf2loc.c (read_pieced_value): Update for struct dwarf_expr_piece
+       changes.
+       (write_pieced_value): Likewise.
+       (dwarf2_evaluate_loc_desc): Use dwarf_expr_fetch_address instead of
+       dwarf_expr_fetch when appropriate.
+       (compile_dwarf_to_ax): Read DW_OP_addr values as unsigned integers.
+       * dwarf2-frame.c (execute_stack_op): Use dwarf_expr_fetch_address
+       instead of dwarf_expr_fetch when appropriate.
+
+2010-06-25  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * c-typeprint.c (c_print_typedef): Append new type name for typedefs.
+
+2010-06-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * python/python.c (_initialize_python): Add new "constant"
+       PYTHONDIR in gdb module.  Insert this path at the head of
+       sys.path. Set gdb.__path__ to gdb.PYTHONDIR + '/gdb' and
+       exec its __init__.py script if it exists in that directory.
+
+2010-06-24  Kevin Buettner  <kevinb@redhat.com>
+
+       * rx-tdep.c (RX_ACC_REGNUM): Define.
+       (RX_NUM_REGS): Redefine to 26.
+       (rx_register_name): Add register "acc".  Change order of several
+       registers.  Change name of "vct" register to "fintv" to match RX
+       documentation.
+       (rx_register_type): Add case for RX_ACC_REGNUM.
+
+2010-06-24  Tom Tromey  <tromey@redhat.com>
+
+       * psymtab.c (lookup_partial_symbol): Mark definition as static.
+
+2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       Fix GDB startup on readonly filesystem.
+       * charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init.
+
+2010-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       Fix PR 9436.
+       * breakpoint.c (handle_jit_event): New function.
+       (bpstat_what): Remove enum class, kc, ss, sn, sgl, slr, clr, sr, shl,
+       jit, err, table and bs_class.  New variables shlib_event, jit_event,
+       this_action and bptype.  Change bs_class assignments to this_action
+       assignments.  new unhandled bptype internal error.  Move here
+       shlib_event and jit_event handling from handle_inferior_event.
+       * breakpoint.h (enum bpstat_what_main_action): Extend the comment.
+       Reorder items.  Remove BPSTAT_WHAT_CHECK_SHLIBS and
+       BPSTAT_WHAT_CHECK_JIT.
+       * inferior.h (debug_infrun, stop_on_solib_events): New declarations.
+       * infrun.c (debug_infrun, stop_on_solib_events): Remove static.
+       (handle_inferior_event): Reinitialize frame and gdbarch after
+       bpstat_what call.  Move BPSTAT_WHAT_CHECK_SHLIBS and
+       BPSTAT_WHAT_CHECK_JIT handling to bpstat_what.  Reinitialize even
+       gdbarch when frame gets reinitialized.
+
+2010-06-24  Hui Zhu  <teawater@gmail.com>
+
+       * printcmd.c (ui_printf): New function.
+       (printf_command): Call ui_printf.
+       (_initialize_printcmd): New command "eval".
+
+2010-06-23  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * infrun.c (handle_inferior_event): Handle presence of single-step
+       breakpoints for TARGET_WAITKIND_FORKED and TARGET_WAITKIND_VFORKED.
+       Cancel single-step breakpoints for TARGET_WAITKIND_EXITED,
+       TARGET_WAITKIND_SIGNALED, and TARGET_WAITKIND_EXECD.
+       * breakpoint.c (detach_single_step_breakpoints): New function.
+       (detach_breakpoints): Call it.
+       (cancel_single_step_breakpoints): New function.
+       * breakpoint.h (cancel_single_step_breakpoints): Add prototype.
+
+       * spu-tdep.c (spu_memory_remove_breakpoint): New function.
+       (spu_gdbarch_init): Install it.
+
+2010-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * configure.ac: Always set RDYNAMIC at least as `-rdynamic'.
+       * configure: Regenerate.
+
+2010-06-22  Hui Zhu  <teawater@gmail.com>
+
+       * i386-tdep.c (i386_record_lea_modrm): Change warning to query.
+       (i386_process_record): Ditto.
+       * record.c (record_memory_query): New variable.
+       (_initialize_record): New command "set record memory-query".
+       * record.h (record_memory_query): New extern.
+
+2010-06-21  Doug Evans  <dje@google.com>
+
+       * i386-tdep.h (i386_displaced_step_copy_insn): Declare.
+       * i386-tdep.c (i386_displaced_step_copy_insn): New function.
+       (i386_syscall_p): Change type of lengthp to int.
+       (i386_displaced_step_fixup): Handle kernels that run one past a
+       syscall insn.
+       * i386-linux-tdep.c (i386_linux_init_abi): Use
+       i386_displaced_step_copy_insn instead of
+       simple_displaced_step_copy_insn.
+
+2010-06-21  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (read_base_type): Handle DW_ATE_UTF.
+       (dwarf_type_encoding_name): Likewise.
+
 2010-06-21  Tom Tromey  <tromey@redhat.com>
 
        * p-valprint.c (pascal_val_print): Use TYPE_ERROR_NAME.
This page took 0.024958 seconds and 4 git commands to generate.