* features/library-list.dtd: Allow "section" elements as children
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5e3bce1d70d14f6bdc7be86e3cb59981cea9daa1..15098bcd3e00cea7ffd17b5160786cdc552d870d 100644 (file)
@@ -1,3 +1,186 @@
+2008-03-14  Pedro Alves  <pedro@codesourcery.com>
+
+       * features/library-list.dtd: Allow "section" elements as children
+       of "library".  Add "section" element and describe its attributes.
+
+       * solib-target.c (struct lm_info): Add section_bases member.
+       (library_list_start_segment): Error out if seen a section element.
+       (library_list_start_section): New.
+       (library_list_end_library): New.
+       (solib_target_free_library_list): Free section_bases.
+       (section_attributes): New.
+       (library_children): Make "segment" optional.  Add "section" child.
+       (library_list_children): Register library_list_end_library.
+       (solib_target_relocate_section_addresses): Handle section bases.
+
+       * NEWS: Mention new qXfer:libraries:read section offsets support.
+
+2008-03-14  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * defs.h (do_exec_error_cleanups, discard_exec_error_cleanups)
+       (make_exec_error_cleanup): Remove declarations.
+       * utils.c (exec_error_cleanup_chain): Remove.
+       (do_exec_error_cleanups, discard_exec_error_cleanups)
+       (make_exec_error_cleanup): Remove.
+       * event-loop.c (start_event_loop): Adjust call to
+       async_enable_stdin.
+       * event-top.c (async_enable_stdin): Remove the paramater dummy.
+       (async_disable_stdin): Don't register async_enable_stdin via
+       cleanup.
+       * inf-loop.c (inferior_event_handler): Don't
+       call do_exec_error_cleanups.  Call async_enable_stdin instead.
+       * event-loop.c (start_event_loop): Adjust call to
+       async_enable_stdin.
+       * tui/tui-interp.c (tui_command_loop): Adjust call to
+       async_enable_stdin.
+
+2008-03-14  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Async mode fixes.
+        * Makefile.in (infcmd.o, inf-loop.o): Update dependencies.
+        * breakpoint.c (bpstat_do_actions): In async mode,
+        don't jump to top expecting stop_bpstat to be already
+        updated.
+        * event-loop.c (start_event_loop): Call async_enable_stdin
+        on exception.
+        * event-top.c (async_enable_stdin): Do nothing if sync_execution
+        is not set.
+        (command_handler): Do not setup continuation here.
+        (command_line_handler_continuation): Move to...
+        * top.c (command_line_handler_continuation): ... here.
+        (execute_command): In async mode, register continuation.
+        Don't check frame's language in running in async mode.
+        * exceptions.c (throw_exception): Don't do exec_error_cleanups.
+        * inf-loop.c (complete_execution): Inline into...
+        (inferior_event_handler): ... here.  Clear target_executing before
+        doing any cleanups.  Don't try to show prompt if the target was
+        resumed.
+        * infcmd.c (signal_command): Add support for async mode.
+        (finish_command): Only add continuation if the target was
+        successfully resumed.
+        * remote.c (init_async_opts): Register to_get_thread_local_address
+        handler.
+        * mi/mi-interp.c (mi_cmd_interpreter_exec): Don't mess
+        with sync_execution.
+        * tui/tui-interp.c (tui_command_loop): Call async_enable_stdin
+        on exception.
+
+2008-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * corefile.c (reopen_exec_file): Use exec_bfd_mtime.
+       * exec.c (exec_bfd_mtime): Define.
+       (exec_close): Clear it.
+       (exec_file_attach): Set it.
+       * gdbcore.h (exec_bfd_mtime): Declare.
+       * source.c (find_source_lines): Do not use bfd_get_mtime.
+
+2008-03-14  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * top.c (simplified_command_loop): Remove.
+
+2008-03-14  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Remove unused remote.c hooks.
+        * remote.c (deprecated_target_resume_hook)
+        (deprecated_target_wait_loop_hook): Remove.
+        (remote_resume): Do not call deprecated_target_resume_hook.
+        (remote_wait): Do not call deprecated_target_wait_loop_hook.
+        (remote_async_wait): Likewise.
+
+2008-03-14  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Implement MI notification for new threads.
+        * doc/observer.texi (new_thread): Document.
+        * observer.sh: Forward declare struct thread_info.
+        * thread.c (add_thread): Notify observer.
+
+        * interps.h (interp_init_ftype): New parameter
+        top_level.
+        (interp_set): Likewise.
+        (top_level_interpreter_data): Declare.
+        * interps.c (interp_set): New parameter top_level.
+        Pass it to interpreter's init function.  Remember
+        top level interpreter.
+        (interpreter_exec_cmd): Adjust.
+        (top_level_interpreter_data): New.
+        * main.c (captured_main): Pass 1 for top_level
+        parameter of interp_set.
+       * cli/cli-interp.c (cli_interpreter_init): New
+        parameter top_level.
+        * tui/tui-interp.c (tui_init): New parameter top_level.
+
+        * mi/mi-interp.c (mi_new_thread): New.
+        (mi_interpreter_init): If top level, register
+        observer for new threads.
+
+        * Makefile.in (mi-interp.o, thread.o): Update dependencies.
+
+2008-03-14  Pedro Alves  <pedro@codesourcery.com>
+
+       * top.c (execute_command): Disable break and stop
+       commands in async mode.
+
+2008-03-14  Pedro Alves  <pedro@codesourcery.com>
+
+       revert:
+       2008-03-14  Pedro Alves  <pedro@codesourcery.com>
+       * inf-loop.c (inferior_event_handler): Don't include remote.h.
+       Call target_stop in the INF_QUIT_REQ case.
+       * Makefile.in (inf-loop.o): Update.
+
+2008-03-14  Pedro Alves  <pedro@codesourcery.com>
+
+       * inf-loop.c (inferior_event_handler): Don't include remote.h.
+       Call target_stop in the INF_QUIT_REQ case.
+       * Makefile.in (inf-loop.o): Update.
+
+2008-03-14  Pedro Alves  <pedro@codesourcery.com>
+
+       * top.c (execute_command): Enable break, info and interrupt
+       commands in async mode.
+
+2008-03-13  Vladimir Prus  <vladimir@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * breakpoint.h (breakpoint_restore_shadows): New
+       declaration.
+       * breakpoint.c (breakpoint_restore_shadows): New.
+       (read_memory_nobpt): Delete.
+       * gdbcore.h (read_memory_nobpt): Delete declaration.
+       * target.c (memory_xfer_partial): Call
+       breakpoint_restore_shadows.
+       (restore_show_memory_breakpoints)
+       (make_show_memory_beakpoints_cleanup): New.
+       (show_memory_breakpoints): New.
+       * target.h (make_show_memory_beakpoints_cleanup): Declare.
+       * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint):
+       Make sure we see memory breakpoints when checking if
+       breakpoint is still there.
+       * alpha-tdep.c, alphanbsd-tdep.c, frame.c, frv-tdep.c,
+       hppa-linux-tdep.c, hppa-tdep.c, i386-linux-nat.c, i386-tdep.c,
+       m68klinux-tdep.c, mips-tdep.c, mn10300-tdep.c, s390-tdep.c,
+       sparc-tdep.c: Use target_read_memory instead of read_memory_nobpt.
+
+2008-03-12  Pedro Alves  <pedro@codesourcery.com>
+
+       * thread.c (add_thread): Use printf_unfiltered to print.
+
+2008-03-12  Joel Brobecker  <brobecker@gnat.com>
+
+       * sol-thread.c: Replace use of TM_I386SOL2_H by an expression
+       that is true only on x86-solaris and x86_64-solaris.
+       * procfs.c: Likewise. Move procfs_find_LDT_entry up together
+       with proc_get_LDT_entry.
+
+2008-03-12  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * configure.ac (AC_CHECK_FUNCS): Add check for setsid.
+       * config.in, configure: Regenerate.
+       * fork-child.c (fork_inferior): Call create_tty_session.
+       * inflow.c (new_tty): Set controlling terminal with TIOCSCTTY.
+       (create_tty_session): New function.
+       * terminal.h: Declare create_tty_session.
+
 2008-03-12  Alan Modra  <amodra@bigpond.net.au>
 
        PR 5900
This page took 0.025141 seconds and 4 git commands to generate.