2007-07-01 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8b7317304de280ecc159b3c2e19a519f47cfb2e3..9e42a99d61642bb8c34f62ba4e02e9a61a94fcd1 100644 (file)
@@ -1,3 +1,102 @@
+2007-07-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * core-regset.c (fetch_core_registers): Work around gcc 3.4
+       alias warning bug.
+
+2007-07-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer
+       objfiles.
+
+2007-07-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove.
+       (struct gdb_readline_wrapper_cleanup): Remove prompt_orig.
+       (gdb_readline_wrapper_cleanup): Do not reset the prompt.
+       (gdb_readline_wrapper): Do not save the prompt.  Pass our prompt
+       to display_gdb_prompt.
+
+2007-07-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       PR symtab/2161
+       * target.c (memory_xfer_partial): Do not continue past targets with
+       all memory.
+
+2007-06-30  Andreas Schwab  <schwab@suse.de>
+
+       * m68k-tdep.c (m68k_ps_type): New.
+       (m68k_init_types): New.
+       (m68k_register_type): Use m68k_ps_type for PS register.
+       (_initialize_m68k_tdep): Call m68k_init_types.
+
+       * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour
+       from the generic m68k arch.
+
+2007-06-28  Michael Snyder  <msnyder@access-company.com>
+
+       * m2-typeprint.c (m2_print_type): Move pointer ref after null test
+       (Coverity).
+
+       * linux-thread-db.c (thread_db_get_thread_local_address): Add
+       gdb_assert before using return value of find_thread_pid (Coverity).
+
+       * source.c (unset_substitute_path_command): Plug leak (Coverity).
+
+       * cli/cli-script.c (build_command_line): Add null pointer guard 
+       (Coverity).
+       
+2007-06-27  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-thread-db.c (thread_db_attach): Delete.
+       (thread_db_detach): Typo fix.  Call target_mourn_inferior
+       instead of fixing up proc_handle.
+       (have_threads_callback, have_threads): New functions.
+       (thread_db_wait): Remove dead proc_handle.pid check.  Only
+       translate PTIDs if we have registered threads.  Check for new
+       threads if we have none.
+       (thread_db_create_inferior, thread_db_post_startup_inferior): Delete.
+       (find_new_threads_callback): Only enable event reporting if TID == 0.
+       (same_ptid_callback): New.
+       (thread_db_get_thread_local_address): Check for new threads.
+       (init_thread_db_ops): Don't set to_attach, to_create_inferior,
+       or to_post_startup_inferior.
+
+2007-06-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * infrun.c (adjust_pc_after_break): Do not assume software single-step
+       is always active if SOFTWARE_SINGLE_STEP_P is true.
+       (resume): Use gdbarch_software_single_step[_p] instead of
+       SOFTWARE_SINGLE_STEP[_P].
+       (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P.
+
+       * gdbarch.sh (software_single_step): Remove target macro.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+2007-06-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap,
+       DEPRECATED_REGISTER_GDBARCH_SWAP): Remove.
+       (struct gdbarch_swap, struct gdbarch_swap_registration, 
+       struct gdbarch_swap_registry, gdbarch_swap_registry,
+       current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack,
+       current_gdbarch_swap_in_hack): Remove.
+       (find_arch_by_info): Do not call current_gdbarch_swap_init_hack.
+       (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack
+       and current_gdbarch_swap_out_hack, update current_gdbarch directly.
+       (deprecated_current_gdbarch_select_hack): Likewise.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+2007-06-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * infrun.c (clear_proceed_status): Clean up stop_registers.
+       (normal_stop): Allocate regcache for stop_registers.
+       (struct inferior_status): Remove stop_registers member.
+       (save_inferior_status): Do not save stop_registers.
+       (restore_inferior_status): Do not restore stop_registers.
+       (discard_inferior_status): Do not discard stop_registers.
+       (build_infrun): Remove.
+       (_initialize_infrun): Do not swap stop_registers.
+
 2007-06-22  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * remote.c (remote_address_masked): If remote_address_size is zero,
This page took 0.026982 seconds and 4 git commands to generate.