* buildsym.c (end_symtab): If we ignore the subfiles, then
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5f77b434d33c87ed89769268b14fa3c87cd1551c..1a34fb2a88e59de33736b53030f55438ccdef534 100644 (file)
@@ -1,3 +1,139 @@
+2009-03-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * buildsym.c (end_symtab): If we ignore the subfiles, then
+       unlink the associated symtabs if they were already allocated.
+
+2009-03-23  Jerome Guitton  <guitton@adacore.com>
+
+       Provide a way to force building of GDB with libcurses.
+       * configure.ac: Add --with-curses.
+       * configure: Regenerated.
+
+2009-03-23  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_uninit>: Fix typo in
+       error message.
+
+2009-03-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * breakpoint.c (disable_breakpoints_in_unloaded_shlib): Use
+       solib_contains_address_p instead of searching.
+       
+2009-03-23  Tom Tromey  <tromey@redhat.com>
+
+       * charset.c (ICONV_CONST) <PHONY_ICONV>: Define.
+       (iconv): Make 'inbuf' argument const.
+       (convert_between_encodings): Use ICONV_CONST.
+       (wchar_iterate): Likewise.
+
+2009-03-22  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * windows-nat.c (AdjustTokenPrivileges): Implement macro wraparound for
+       dynamically loaded function.
+       (LookupPrivilegeValueA): Ditto.
+       (OpenProcessToken): Ditto.
+       (AdjustTokenPrivileges): Rename and define placeholder for address of
+        dynamically loaded function.
+       (LookupPrivilegeValueA): Ditto.
+       (OpenProcessToken): Ditto.
+       (set_process_privilege): Remove check for loaded functions.
+       (bad_OpenProcessToken): Define.
+       (_initialize_loadable): Load token functions from advapi here, setting
+       OpenProcessToken function to a dummy static function which always return
+       error if OS doesn't support this functionality.
+
+2009-03-22   Nicolas Roche  <roche@adacore.com>
+            Christopher Faylor <me+cygwin@cgf.cx>
+
+       * win32-nat.c (ctrl_c_handler): New function.
+       (win32_wait): Register ctrl_c_handler as Ctrl-C handler if the inferior
+       is run in a separate console.
+
+2009-03-22  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * windows-nat.c (DebugActiveProcessStop): Implement macro wraparound
+       for dynamically loaded function.
+       (DebugBreakProcess): Ditto.
+       (DebugSetProcessKillOnExit): Ditto.
+       (EnumProcessModules): Ditto.
+       (GetModuleFileNameExA): Ditto.
+       (GetModuleInformation): Ditto.
+       (DebugActiveProcessStop): Rename and define placeholder for address of
+       dynamically loaded function.
+       (DebugBreakProcess): Ditto.
+       (DebugSetProcessKillOnExit): Ditto.
+       (EnumProcessModules): Ditto.
+       (GetModuleFileNameExA): Ditto.
+       (GetModuleInformation): Ditto.
+       (psapi_loaded): Delete.
+       (get_module_name): Don't check psapi_loaded, just rely on the fact that
+       dynamically loaded functions will return failure if they weren't
+       previously found.
+       (has_detach_ability): Delete.
+       (windows_attach): Remove call to has_detach_ability ().  Just rely on
+       functions being callable.
+       (bad_DebugActiveProcessStop): Define.
+       (bad_DebugBreakProcess): Ditto.
+       (bad_DebugSetProcessKillOnExit): Ditto.
+       (bad_EnumProcessModules): Ditto.
+       (bad_GetModuleFileNameExA): Ditto.
+       (bad_GetModuleInformation): Ditto.
+       (_initialize_loadable): Rename from _initialize_psapi.  Initialize all
+       dynamic storage here, setting nonexistent functions to dummy static
+       functions which always return error.
+
+2009-03-22  Pedro Alves  <pedro@codesourcery.com>
+
+       * mi/mi-interp.c (mi_interpreter_init): Attach mi_about_to_proceed
+       to the about_to_proceed observer notification.
+       (mi_about_to_proceed): New.
+       (mi_on_resume): Only output ^running and the prompt here if the
+       target was proceeded.
+       * breakpoint.c (breakpoint_proceeded): New static.
+       (breakpoint_about_to_proceed): New.
+       (_initialize_breakpoints): Attach breakpoint_about_to_proceed to
+       the about_to_proceed observer notification.
+       * inferior.h (breakpoint_proceeded): Delete declaration.
+       * infrun.c (clear_proceed_status): Don't set breakpoint_proceeded.
+       Notify the about_to_proceed observers.
+       (struct inferior_status): Delete breakpoint_proceeded member.
+       (save_inferior_status): Don't save it.
+       (restore_inferior_status): Don't restore it.
+       * mi-main.h (mi_proceeded): Declare.
+       * mi/mi-main.c (mi_cmd_execute): Clear mi_proceeded before running
+       a command.
+
+2009-03-22  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdbthread.h (struct thread_info): Add in_infcall member.
+       * infcall.c (run_inferior_call): Save, set and restore in_infcall.
+       Remove reverences to suppress_resume_observer.  Refresh
+       `call_thread' after returning from `proceed'.
+       * infcmd.c (suppress_resume_observer): Delete.
+       * inferior.h (suppress_resume_observer): Delete declaration.
+       * mi/mi-interp.c (mi_on_resume): Suppress output while calling an
+       inferior function.
+       * thread.c (set_running): Remove references to
+       suppress_resume_observer.
+       * infrun.c (struct inferior_status): Add in_infcall member.
+       (save_inferior_status): Save it.
+       (restore_inferior_status): Restore it.
+
+2009-03-22  Pedro Alves  <pedro@codesourcery.com>
+
+       * infcall.c (run_inferior_call): Remove references to
+       suppress_stop_observer.
+       * infcmd.c (suppress_stop_observer): Delete.
+       (finish_command_continuation): Remove NOTE.  Don't clear
+       suppress_stop_observer anymore.
+       (finish_command_continuation_free_arg): Likewise.
+       (finish_forward): Remove references to suppress_stop_observer.
+       Call normal_stop observer if we haven't already.
+       * inferior.h (suppress_stop_observer): Delete.
+       * infrun.c (normal_stop): When deciding to suppress the
+       normal_stop observer, check for proceed_to_finish instead of
+       suppress_stop_observer.
+
 2009-03-22  Pedro Alves  <pedro@codesourcery.com>
 
        * symfile.c (symfile_relocate_debug_section): Remove check for
This page took 0.025774 seconds and 4 git commands to generate.