* bfd-target.c: Don't include gdb_assert.h or gdb_string.h.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 033dd7d8aefc0df4e05251d9f8cb63dd526b8c0c..8b55328c89d2b104771bcda9cad26de7d681fbdd 100644 (file)
@@ -1,3 +1,144 @@
+2009-05-22  Pedro Alves  <pedro@codesourcery.com>
+
+       * bfd-target.c: Don't include gdb_assert.h or gdb_string.h.
+       Include exec.h.
+       (struct section_closure): Delete.
+       (add_to_section_table): Delete.
+       (build_target_sections_from_bfd): Delete.
+       (target_bfd_xfer_partial): Use section_table_xfer_memory_partial.
+       (target_bfd_reopen): Use build_section_table.
+       * exec.c (xfer_memory): Move most code except for overlay
+       debugging support from here...
+       (section_table_xfer_memory): ... to this new function.
+       (section_table_xfer_memory_partial): New.
+       * exec.h (section_table_xfer_memory_partial): Declare.
+       * bfd-target.h (build_target_sections_from_bfd): Delete
+       declaration.
+
+2009-05-22  Pedro Alves  <pedro@codesourcery.com>
+
+       * remote.c (compare_sections_command): Don't declare exec_bfd.
+       * tracepoint.c: Include "gdbcore.h".
+       (remote_set_transparent_ranges): Don't declare exec_bfd.
+
+2009-05-21  Pedro Alves  <pedro@codesourcery.com>
+
+       * aix-thread.c (init_aix_thread_ops): Whitespace.
+
+2009-05-21  Pedro Alves  <pedro@codesourcery.com>
+
+       * dec-thread.c (dec_thread_wait): Add options parameter.  Use it
+       to call the to_wait method in the target beneath.
+       * remote-m32r-sdi.c (m32r_wait): Add options parameter.
+
+2009-05-21  Joel Brobecker  <brobecker@adacore.com>
+
+       * aix-thread.c (aix_thread_wait): Add options parameter.  Use it
+       to call the to_wait method in the target_beneath.
+
+2009-05-21  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-nat.c (linux_nat_terminal_inferior)
+       (linux_nat_terminal_ours): Don't check sync_execution.
+       * remote.c (remote_terminal_inferior, remote_terminal_ours):
+       Don't check sync_execution.  Update comments.
+       * target.c (target_terminal_inferior): New.
+       * target.h (target_terminal_inferior): Delete macro, and declare
+       as function.
+       * event-top.c (async_disable_stdin): Make idempotent.  Don't give
+       the target the terminal here.
+       * inflow.c (terminal_ours_1): Don't return early without setting
+       `terminal_is_ours'.
+
+2009-05-21  Pedro Alves  <pedro@codesourcery.com>
+
+       * target.h (TARGET_WNOHANG): New.
+       * target.c (target_wait): Add `options' argument.  Adjust.
+       (struct target_ops) <to_wait>: Add `options' argument.
+       (target_wait): Add `options' argument.
+       * infrun.c (wait_for_inferior): Pass 0 as options to
+       target_wait (blocking wait).
+       (fetch_inferior_event): Pass TARGET_WNOHANG as options to
+       target_wait.
+       * fork-child.c (startup_inferior): Pass 0 as options to
+       target_wait (blocking wait).
+       * linux-nat.c (linux_nat_create_inferior): Remove async masking.
+       (linux_nat_wait_1): Add `target_options' argument.  Use it instead
+       of checking on target_can_async_p.
+       (linux_nat_wait): Add `target_options' argument.  Adjust.
+       * remote.c (remote_wait_ns): Add `options' argument.  Adjust to
+       check on TARGET_WNOWAIT instead of checking on remote_is_async_p.
+       (remote_wait_as): Add `options' argument.  Adjust to check on
+       TARGET_WNOWAIT instead of checking on remote_is_async_p.  If doing
+       a blocking wait, keep waiting until an interesting event comes
+       out.
+       (remote_wait): Add `options' argument.  Don't loop here if the
+       target is in async mode, and a blocking wait has been requested.
+
+       * top.c (deprecated_target_wait_hook): Add `options' argument.
+       * linux-thread-db.c (thread_db_wait): Add `options' argument, and
+       pass it down to the layer beneath.
+       * inf-ptrace.c (inf_ptrace_wait): Add `options' argument.
+       * record.c (record_beneath_to_wait): Add `options' argument.
+       (record_wait): Add `options' argument, and pass it down to the
+       layer beneath.
+       * bsd-uthread.c (bsd_uthread_wait): Add `options' argument.
+       * darwin-nat.c (darwin_wait): Likewise.
+       * defs.h (deprecated_target_wait_hook): Likewise.
+       * gnu-nat.c (gnu_wait): Add `options' argument.
+       * go32-nat.c (go32_wait): Likewise.
+       * hpux-thread.c (hpux_thread_wait): Add `options' argument, and
+       pass it down to the layer beneath.
+       * inf-ttrace.c (inf_ttrace_wait): Add `options' argument.
+       * monitor.c (monitor_wait): Likewise.
+       * nto-procfs.c (procfs_wait): Likewise.
+       * remote-mips.c (mips_wait): Add `options' argument.
+       * remote-sim.c (gdbsim_wait): Likewise.
+       * rs6000-nat.c (rs6000_wait): Add `options' argument.
+       * sol-thread.c (sol_thread_wait): Add `options' argument, and pass
+       it down to the layer beneath.
+       * spu-linux-nat.c (spu_child_wait): Add `options' argument.
+       * windows-nat.c (windows_wait): Likewise.
+       * tui/tui-hooks.c (tui_target_wait_hook): Likewise.  Adjust.
+
+2009-05-21  Pedro Alves  <pedro@codesourcery.com>
+
+       * mi/mi-interp.c (mi_on_resume): Account for whole process
+       resumes.
+
+2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX.
+
+2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99.
+
+2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix parsing DW_AT_const_value using DW_FORM_string.
+       * dwarf2read.c (dwarf2_const_value <DW_FORM_string>): New.
+
+2009-05-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * aix-thread.c (giter_count): Do not count the main thread.
+       (giter_accum): Do not include the main thread.
+
+2009-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Remove the PROT parameter from openp.
+       * source.c (openp): Remove the parameter PROT.  Assertion check MODE.
+       defs.h (openp): Update the prototype.
+       Update all the openp callers.
+
+2009-05-19  Pedro Alves  <pedro@codesourcery.com>
+
+       * inflow.c (kill_command): Moved to infcmd.c.
+       (_initialize_inflow): Don't add the "kill" command or clear
+       inferior_ptid here.
+       * infcmd.c (kill_command): Moved here from inflow.c.
+       (_initialize_infcmd): Add the "kill" command here.
+
 2009-05-19  Pedro Alves  <pedro@codesourcery.com>
 
        * fork-child.c: Don't include frame.h.  Include terminal.h.
 
 2009-01-14  Kai Tietz  <kai.tietz@onevision.com>
 
-       * mingw-ser.c (console_select_thread): Add return to make
+       * ser-mingw.c (console_select_thread): Add return to make
        compiler happy.
        (pipe_select_thread): Likewise.
        (file_select_thread): Likewise.
This page took 0.024866 seconds and 4 git commands to generate.