Fix prologue analysis for moxie.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 56480f10298cea9792cae758eee742054af798d3..882330bd3bf241065667e2d227b80e23fa42ee19 100644 (file)
@@ -1,3 +1,232 @@
+2009-07-18  Anthony Green  <green@moxielogic.com>
+
+       * moxie-tdep.c (moxie_analyze_prologue): Take gdbarch as last
+       parameter instead of frame_info.
+       (moxie_frame_cache): Call moxie_analyze_prologue with different
+       args.
+
+2009-07-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * solib.c (solib_bfd_open): Do not call ops->bfd_open.
+       (solib_map_sections): Call ops->bfd_open instead of solib_bfd_open.
+       * solib-frv.c (_initialize_frv_solib): Initialize bfd_open member.
+       * solib-irix.c (_initialize_irix_solib): Likewise.
+       * solib-null.c (_initialize_null_solib): Likewise.
+       * solib-osf.c (_initialize_osf_solib): Likewise.
+       * solib-pa64.c (_initialize_pa64_solib): Likewise.
+       * solib-som.c (_initialize_som_solib): Likewise.
+       * solib-sunos.c (_initialize_sunos_solib): Likewise.
+       * solib-svr4.c (_initialize_svr4_solib): Likewise.
+       * solib-target.c (_initialize_solib_target): Likewise.
+
+2009-07-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * mi/mi-cmd-disas.c (mi_cmd_disassemble): Respect mixed_mode flag.
+
+2009-07-16  Doug Evans  <dje@google.com>
+
+       * linux-thread.db.c (try_thread_db_load_1): Tweak comment.
+
+2007-07-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * linux-thread-db.c (thread_db_find_new_threads_silently):
+       New function.
+       (try_thread_db_load_1): Call it.
+
+2009-07-15  Doug Evans  <dje@google.com>
+
+       Code reorg in preparation for adding comdat types support.
+       * dwarf2read.c (struct die_reader_specs): New struct.
+       (locate_pdi_sibling): New arg buffer.  All callers updated.
+       (load_partial_dies, read_partial_die): Ditto.
+       (read_8_bytes): Change return type to ULONGEST.
+       (read_comp_unit): Delete arg abfd.  All callers updated.
+       (read_die_and_children_1): Delete args abfd, cu.  New arg reader.
+       All callers updated.
+       (read_die_and_children, read_die_and_siblings): Ditto.
+       (read_full_die): Ditto.  Move closer to callers.
+       (skip_one_die): New arg buffer.  All callers updated.
+       (load_full_comp_unit): Change return type to void.  All callers
+       updated.
+       (partial_read_comp_unit_head): New args buffer, buffer_size.
+       All callers updated.
+       (process_psymtab_comp_unit): New function, split out from
+       dwarf2_build_psymtabs_hard.
+       (dwarf2_build_psymtabs_hard): Call it.
+       (load_partial_comp_unit): Renamed from load_comp_unit.
+       All callers updated.
+       (skip_children): New arg buffer.  All callers updated.
+       (init_cu_die_reader): New function.
+       (is_ref_attr): New function.
+       (dwarf2_get_ref_die_offset): Call it.
+       (alloc_one_comp_unit): New function.
+
+2009-07-14  Stan Shebs  <stan@codesourcery.com>
+
+       * MAINTAINERS (Global Maintainers): Add Doug Evans.
+
+2009-07-14  Stan Shebs  <stan@codesourcery.com>
+
+       Conditional tracepoints.
+       * ax-gdb.h (gen_eval_for_expr): Declare.
+       * ax-gdb.c (gen_expr): Generate bytecodes for BINOP_EQUAL
+       and other comparisons.
+       (gen_eval_for_expr): New function.
+       (agent_eval_command): New maintenance command.
+       (_initialize_ax_gdb): Define the command.
+       * remote.c (struct remote_state): New field cond_tracepoints.
+       (PACKET_ConditionalTracepoints): New packet config type.
+       (remote_cond_tracepoint_feature): New function.
+       (remote_protocol_features): Add ConditionalTracepoints.
+       (remote_supports_cond_tracepoints): New function.
+       (_initialize_remote): Add ConditionalTracepoints.
+       * tracepoint.c (download_tracepoint): Add conditional.
+       * NEWS: Mention conditional tracepoints.
+
+2009-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * objfiles.c (objfile_relocate): Do not relocate the same
+       BLOCKVECTOR_MAP address map multiple times.
+
+2009-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * remote.c (process_stop_reply): Access expedited target registers
+       in target_gdbarch.
+
+2009-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix memory access from signed 32bit inferior registers on 64bit GDB.
+       * linux-nat.c (linux_xfer_partial <TARGET_OBJECT_MEMORY>): New variable
+       addr_bit.  Mask OFFSET by the ADDR_BIT width.
+
+2009-07-13  Anthony Green  <green@moxielogic.com>
+
+       * moxie-tdep.c (moxie_gdbarch_init): Call
+       set_gdbarch_process_record.
+       (moxie_process_record): New.
+       (moxie_process_readu): New.
+
+2009-07-12  Michael Snyder  <msnyder@vmware.com>
+
+       * i386-tdep.c: Add a frame unwinder for function epilogues.
+       (i386_in_function_epilogue_p): New function.
+       (i386_epilogue_frame_sniffer): New function.
+       (i386_epilogue_frame_cache): New function.
+       (i386_epilogue_frame_this_id): New function.
+       (i386_epilogue_frame_unwind): New struct frame_unwind.
+       (i386_gdbarch_init): Hook the new unwinder.
+
+2009-07-11  Hui Zhu  <teawater@gmail.com>
+
+       * cli/cli-cmds.c (disassemble_command): Add a new modifier /r
+       to "disassemble" command to print the raw instructions in hex as
+       well as in symbolic form.
+       (init_cli_cmds): Ditto.
+       (print_disassembly): Change "mixed" to "flags" to translate
+       the behavior of disassemble.
+       (disassemble_current_function): Ditto.
+       * mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto.
+       * stack.c (gdb_disassembly_stub): Ditto.
+       * disasm.c (do_mixed_source_and_assembly): Ditto.
+       (do_mixed_source_and_assembly): Ditto.
+       (do_assembly_only): Ditto.
+       (gdb_disassembly): Ditto.
+       (dump_insns): print the raw instructions in hex as well as in
+       symbolic form if DISASSEMBLY_RAW_INSN and flags is true.
+       * disasm.h (DISASSEMBLY_SOURCE): Include source code with the
+       assembly if it and flags is true.
+       (DISASSEMBLY_RAW_INSN): Include the raw instructions in hex with
+       the assembly if it and flags is true.
+       (gdb_disassembly): Update extern.
+       * NEWS: Document disassemble/r support.
+
+2009-07-10  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2-frame.c: Include dwarf2.h, not elf/dwarf2.h.
+       * dwarf2expr.c: Likewise.
+       * dwarf2loc.c: Likewise.
+       * dwarf2read.c: Likewise.
+       * sh-tdep.c: Likewise.
+       * xtensa-tdep.c: Likewise.
+
+2009-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Tidy up the code.
+       * mi/mi-cmd-var.c (mi_cmd_var_update): Remove variable nv.  Move
+       variables var, rootlist and cr to their local sub-block.  Move the
+       make_cleanup_ui_out_tuple_begin_end, make_cleanup_ui_out_list_begin_end
+       and do_cleanups calls to the common base block.  Remove the zero NV
+       check.
+
+2009-07-10 Phil Muldoon  <pmuldoon@redhat.com>
+
+       * python/python-internal.h (apply_varobj_pretty_printer): Update
+       definition.
+       (python_string_to_target_python_string): Add definition.
+       * python/python-utils.c (unicode_to_encoded_python_string)
+       (unicode_to_target_python_string)
+       (python_string_to_target_python_string): New Functions.
+       * python/python-prettyprint.c (pretty_print_one_value): Likewise.
+       (print_string_repr): Refactor to logic to account for PyObject
+       returned strings.
+       (apply_varobj_pretty_printer): Likewise.
+       * python/python-value.c (valpy_string): Parse length keyword. Use
+       length keyword in LA_GET_STRING.
+       * varobj.c (value_get_print_value): Refactor logic to account for
+       PyObject returned strings.
+       * c-lang.c (c_get_string): If the length parameter is specified,
+       use that. Return value in characters. Update comments.
+       * language.h: Update c_get_string prototype comments.
+
+2009-07-09  Doug Evans  <dje@google.com>
+
+       * i386-tdep.c (i386_displaced_step_fixup): Fix order of arguments
+       to read_memory_unsigned_integer.
+
+2009-07-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Report error on inaccessible memory.
+       * cli/cli-dump.c: Include gdbcore.h.
+       (dump_memory_to_file): Call read_memory instead of target_read_memory.
+
+2009-07-09  Hui Zhu  <teawater@gmail.com>
+
+       * solib.c (solib_bfd_open): Output a warning if solib's
+       architecture is not compatible with inferior's architecture.
+
+2009-07-09  Ulrich Weigand  <uweigand@de.ibm.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * target.h (struct target_ops <to_thread_architecture>): Describe it.
+       (target_thread_architecture): Refer to to_thread_architecture.
+
+2009-07-08  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * cli/cli-cmds.c (init_cli_cmds): Add "inf" alias for "info" command.
+
+2009-07-07  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * tui/tui-stack.c (tui_make_status_line): Display PC as ?? if unknown.
+
+2009-07-07  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * breakpoint.c (set_raw_breakpoint): Remove static modifier.
+
+2009-07-07  Tom Tromey  <tromey@redhat.com>
+
+       * c-lang.c (convert_octal): Only allow 3 octal digits.
+       (print_wchar): Prefer 3-digit octal form.  Fall back to hex if
+       needed.
+       * c-exp.y (c_parse_escape): Only allow 3 octal digits.
+
+2009-07-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * python/python-value.c (valpy_getitem): Remove incorrect assert.
+       
+2009-07-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * python/python-value.c (valpy_getitem): Don't return from TRY_CATCH.
+
 2009-07-07  Sami Wagiaalla  <swagiaal@redhat.com>
 
        * cp-support.h (struct using_direct): Rename members inner and
 
        Fix hang in floating varobjs.
 
-       * varob.c (varobj_invalidate): Advance to next
+       * varobj.c (varobj_invalidate): Advance to next
        element when processing floating varobj.
 
 2009-07-07  Vladimir Prus  <vladimir@codesourcery.com>
This page took 0.02919 seconds and 4 git commands to generate.