diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/windows-nat.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d5edf3c..1d64788 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-04-22 Jon Turney <jon.turney@dronecode.org.uk> + + * windows-nat.c (windows_continue): Report an error if + ContinueDebugEvent() fails. + 2015-04-16 Jon Turney <jon.turney@dronecode.org.uk> * windows-nat.c (windows_resume): Fix misspelling in debug output. diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 05e4cee..6942d64 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -1160,6 +1160,11 @@ windows_continue (DWORD continue_status, int id, int killed) current_event.dwThreadId, continue_status); + if (!res) + error (_("Failed to resume program execution" + " (ContinueDebugEvent failed, error %u)"), + (unsigned int) GetLastError ()); + debug_registers_changed = 0; return res; } |