2009-10-13 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 0ce3fe8cc24f6e5ebd65c81e1daf8831c6f2a226..5ae7620ebe2931d2b6d7f233db8da08086492317 100644 (file)
@@ -1,3 +1,316 @@
+2009-10-13  Tristan Gingold  <gingold@adacore.com>
+
+       * machoread.c: Add an empty line after comment for functions.
+       (oso_el_compare_name): New function.
+       (macho_add_oso_symfile): New function.
+       (macho_oso_symfile): Use macho_add_oso_symfile.  Sort the oso
+       and optimize accesses to libraries.
+
+2009-10-13  Tristan Gingold  <gingold@adacore.com>
+
+       * objfiles.c (objfile_has_symbols): New function.
+       * objfiles.h (objfile_has_symbols): Add prototype.
+       * symfile.c (symbol_file_add_with_addrs_or_offsets): Call
+       objfile_has_symbols.
+       (reread_symbols): Ditto.
+
+2009-10-12  Jiang Jilin  <freephp@gmail.com>
+
+       * i386-tdep.c (i386_process_record): Add xgetbv/xsetbv
+       instructions support.
+
+2009-10-11  Pedro Alves  <pedro@codesourcery.com>
+
+       * procfs.c (procfs_make_note_section): Go back to only outputing
+       an NT_PSTATUS note when UNIXWARE is defined.
+
+2009-10-11  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * features/xinclude.dtd: Correct EMPTY typo.
+
+2009-10-10  Michael Snyder  <msnyder@vmware.com>
+
+       * i386-tdep.c (i386_process_record): Or-equals, not not-equals.
+
+2009-10-10  Pedro Alves  <pedro@codesourcery.com>
+
+       * mi/mi-cmd-stack.c (list_args_or_locals): Use internal_error.
+       Put "break" statements on their own line.
+
+2009-10-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-nat.c (linux_nat_wait_1): Bail out, if TARGET_WNOHANG and
+       we found no event while waiting for a specific LWP.
+       * infrun.c (handle_inferior_event): Handle TARGET_WAITKIND_IGNORE
+       before anything else.
+
+2009-10-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * procfs.c (procfs_make_note_section): Always output a NT_PSTATUS
+       note when NEW_PROC_API is defined.
+
+2009-10-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * corelow.c (core_has_fake_pid): New.
+       (core_close): Clear it.
+       (add_to_thread_list): Fake a pid if one is not found on a Solaris
+       core.  Add the inferior here.  Always add the thread, don't use
+       thread_change_ptid.
+       (core_open): Don't add the main thread or the inferior here unless
+       we find that the core had no .reg/NN sections.
+       (get_core_register_section): Handle Solaris cores with fake pids.
+
+       * corelow.c (add_to_thread_list): Fix typo.
+
+2009-10-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       PR gdb/10457
+       * elfread.c (elf_symtab_read): Don't use alloca in a loop.
+       
+2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * i386-nat.c (i386_stopped_by_hwbp): Remove.
+
+2009-10-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Update following the GDB 7.0 release.
+
+2009-10-07  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       ARI fix: OP eol rule.
+       * doublest.c (floatformat_from_length): Avoid operator at end of line.
+       * dwarf2-frame.c (dwarf2_build_frame_info): Idem.
+       * dwarf2read.c (read_array_order, dwarf_decode_macros): Idem.
+       * eval.c (evaluate_subexp_standard): Idem.
+       * event-loop.c (create_timer, handle_timer_event): Idem.
+       * expprint.c (print_subexp_standard): Idem.
+       * f-exp.y (variable): Idem.
+       * f-typeprint.c (f_print_type): Idem.
+
+2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       ARI fix: OP eol rule.
+       * blockframe.c (find_pc_partial_function): Avoid operator at end of
+       line.
+       * buildsym.c (find_symbol_in_list): Idem.
+       (start_subfile, patch_subfile_names): Idem.
+       * c-exp.y (variable, yylex): Idem.
+       * c-typeprint.c (c_print_type, c_type_print_base): Idem.
+       * c-valprint.c (c_val_print): Idem.
+       * coffread.c (patch_opaque_types, process_coff_symbol): Idem.
+       * corelow.c (core_open): Idem.
+       * cris-tdep.c (move_reg_to_mem_movem_op): Idem.
+       * cli/cli-decode.c (help_cmd_list, find_command_name_length): Idem.
+
+2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       ARI fix: OP eol rule.
+       * ada-exp.y (block_lookup): Avoid operator at end of line.
+       * aix-thread.c (pd_enable): Idem.
+       * alpha-tdep.c (alpha_next_pc): Idem.
+       * arm-tdep.c (arm_skip_prologue, arm_scan_prologue): Idem.
+       (condition_true, coff_sym_is_thumb): Idem.
+
+2009-10-06  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.0 released.
+
+2009-10-06  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       ARI fix: "%p" rule.
+       * target.c (debug_to_thread_architecture): Replace %p by %s using
+       host_address_to_string function.
+
+2009-10-06  Tristan Gingold  <gingold@adacore.com>
+
+       * darwin-nat.c: Add __TEXT __info_plist content.
+       (darwin_attach_pid): Update error message.
+
+2009-10-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * MAINTAINERS: Add Tristan Gingold as Maintainer of the Darwin port.
+
+2009-10-06  Joel Brobecker  <brobecker@adacore.com>
+
+       * MAINTAINERS: Add Jan Kratochvil as Maintainer of the ia64 target.
+
+2009-10-05  Pedro Alves  <pedro@codesourcery.com>
+
+       Revert:
+       2009-10-04  Pedro Alves  <pedro@codesourcery.com>
+       * gdbinit.in: Set data-directory to @srcdir@.
+
+2009-10-04  Pedro Alves  <pedro@codesourcery.com>
+
+       * NEWS: Mention non-stop mode.
+
+2009-10-04  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdbinit.in: Set data-directory to @srcdir@.
+
+2009-10-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-nat.c (TRAP_IS_SYSCALL, TRAP_REMOVE_SYSCALL_FLAG): Delete.
+       (SYSCALL_SIGTRAP): New.
+       (status_to_str): Adjust.
+       (get_pending_status): Pending events in lp->waitstatus don't map
+       to any signal.  Simplify.
+       (linux_handle_syscall_trap): New.
+       (linux_handle_extended_wait): When handling PTRACE_EVENT_CLONE
+       events, use linux_ops->to_resume instead of direct ptrace with
+       PTRACE_CONT.  Remove all TRAP_IS_SYSCALL handling.
+       (wait_lwp): Handle syscall traps with linux_handle_syscall_trap,
+       and clear the sysgood bit.
+       (status_callback): Make it clearer and add comments.
+       (cancel_breakpoints_callback): Ignore if LP has waitstatus set.
+       (linux_nat_filter_event): Handle syscall traps with
+       linux_handle_syscall_trap, and clear the sysgood bit.  Move the
+       check for storing siginfo to after handling extended statuses and
+       syscall traps.  Store status in the lwp object.
+       (linux_wait_1): Don't swap the pending status out of the lwp
+       object until after deciding we found an lwp with an interesting
+       event.  Requeue a new pending signal if we find one while getting
+       rid or a pending SIGSTOP we sent ourselves.  Don't clear the
+       sysgood bit here.
+
+       * infrun.c (deal_with_syscall_event): Rename to ...
+       (handle_syscall_event): ... this.  Always context switch and set
+       stop_pc, even if not catching the syscall.  If not catching the
+       syscall, always resume with keep_going.
+       (handle_inferior_event): Adjust.
+
+2009-10-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix compatibility of --with-system-readline and readline-6.0+.
+       * configure.ac <--with-system-readline> (for readline_echoing_p): New
+       test.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2009-10-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * MAINTAINERS: Move Don Lee to the correct section (Write After
+       Approval).
+
+2009-10-01  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * infcall.c (call_function_by_hand): Add a new cleanup branch for
+       std::terminate breakpoints.
+
+2009-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * ia64-tdep.c (ia64_convert_from_func_ptr_addr): New variable buf.
+       Check first the descriptor memory is readable.
+
+2009-09-29  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-value.c (valpy_string): NULL-terminate 'keywords'.
+
+2009-09-29  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
+       instead of CORE_ADDR for "amode".
+
+2009-09-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * ia64-tdep.c: Update the comments on how we insert/remove
+       breakpoints for L-X instructions.
+       (ia64_memory_insert_breakpoint, ia64_memory_remove_breakpoint):
+       Update the comments inside these functions.
+
+2009-09-28  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh (displaced_step_hw_singlestep): New callback.
+       * gdbarch.c, gdbarch.h: Regenerate.
+       * arch-utils.c (default_displaced_step_hw_singlestep): New function.
+       * arch-utils.h (default_displaced_step_hw_singlestep): Add prototype.
+
+       * ppc-linux-tdep.c (ppc_displaced_step_hw_singlestep): New function.
+       (rs6000_gdbarch_init): Install it.
+
+       * infrun.c (displaced_step_fixup): Use new callback to determine
+       whether to "step" or "continue" displaced copy.
+       (resume): Likewise.  Do not call maybe_software_singlestep
+       for displaced stepping.
+       (maybe_software_singlestep): Do not handle displaced stepping.
+
+2009-09-28  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * eval.c (evaluate_subexp_standard) [OP_OBJC_MSGCALL]: Support
+       platforms that use function descriptors.  Prefer to use function
+       pointer types instead of function types.
+       * linespec.c (decode_objc): Support function descriptors.  Fully
+       initialize SAL result.
+       * objc-lang.c (find_methods): Support function descriptors.
+       Do not require function symbol to point to text section.
+
+       * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): When calling
+       via a function pointer, use the descriptor it points to.
+
+2009-09-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix ia64 breakpoints in the L-X slot.
+       * ia64-tdep.c (ia64_memory_insert_breakpoint): Extend the comment.
+       New variable shadow_slotnum, use it appropriately instead of slotnum.
+       Move shadow_len initialization before SLOTNUM adjustment, cover now the
+       whole remaining bundle.  Error now on breakpoints requested for the
+       slot 2 of L-X bundles.  Better sanity check the requested slot 1 of L-X
+       bundles.
+       (ia64_memory_remove_breakpoint): New variable shadow_slotnum, use it
+       appropriately instead of slotnum.  Warn now on breakpoints requested
+       for the slot 2 of L-X bundles.  Better sanity check the requested slot
+       1 of L-X bundles.  Update the assertio check of PLACED_SIZE.
+       (ia64_breakpoint_from_pc): New variable shadow_slotnum, use it
+       appropriately instead of slotnum.  Move *lenptr initialization before
+       SLOTNUM adjustment, cover now the whole remaining bundle.  Error now
+       on breakpoints requested for the slot 2 of L-X bundles.  Better sanity
+       check the requested slot 1 of L-X bundles.  Simplify the returned
+       expression.
+
+2009-09-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * ia64-tdep.c (ia64_memory_insert_breakpoint): Check the slotnum
+       and the type of instruction before deciding which slot to save
+       in the breakpoint shadown contents.
+
+2009-09-28  Doug Evans  <dje@google.com>
+
+       * linux-nat.c (status_to_str): Handle TRAP_IS_SYSCALL.
+       (TRAP_REMOVE_SYSCALL_FLAG): New macro.
+       (linux_nat_wait_1): Mask off is-syscall bit in wait status for
+       TRAP_IS_SYSCALL before passing value to caller.
+
+2009-09-28  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * valops.c (value_assign): Respect parent offset when
+       assigning to a bitfield.
+
+2009-09-28  Hui Zhu  <teawater@gmail.com>
+
+       * i386-tdep.c (i386_process_record): Remove "0x" that
+       don't need.
+
+2009-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * s390-tdep.c (op_bctr, op_bctgr, op_bct, op1_bctg, op2_bctg,
+       op_bxh, op1_bxhg, op2_bxhg, op_bxle, op1_bxleg, op2_bxleg,
+       op1_brct, op2_brct, op1_brctg, op2_brctg, op_brxh, op1_brxhg,
+       op2_brxhg, op_brxle, op1_brxlg, op2_brxlg): New enum values.
+       (is_rsi, is_rie): New insn format decoder routines.
+       (s390_displaced_step_fixup): New function.
+       (s390_gdbarch_init): Install displaced stepping routines.
+
+2009-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*):
+       Add linux-tdep.o to gdb_target_obs.
+       (s390*-*-*): Likewise.
+
+2009-09-27  Don Lee  <don.lee@sunplusct.com>
+
+       * score-tdep.c: Comment out some simulator dependent codes.
+       * score-tdep.h: Delete some simulator dependent macro definitions.
+
 2009-09-27  Hui Zhu  <teawater@gmail.com>
 
        * record.c (record_open): Change "query" to "error".
This page took 0.061469 seconds and 4 git commands to generate.