From c62fa0e2670b0de9b24c292e0f6dfe539d8ae555 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 26 Mar 2013 23:40:08 +0000 Subject: [PATCH] windows-nat.c: Add empty line after local block variable definitions. gdb/ChangeLog: * windows-nat.c (handle_output_debug_string): Add empty line after local block variable definition. --- gdb/ChangeLog | 5 +++++ gdb/windows-nat.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cc30754..53170d1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-03-26 Joel Brobecker + + * windows-nat.c (handle_output_debug_string): Add empty line + after local block variable definition. + 2013-03-26 Pedro Alves * ser-tcp.c (wait_for_connect): Make 'polls' parameter unsigned. diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 34e3cc0..24d4b56 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -981,11 +981,13 @@ handle_output_debug_string (struct target_waitstatus *ourstatus) char *p; int sig = strtol (s + sizeof (_CYGWIN_SIGNAL_STRING) - 1, &p, 0); int gotasig = gdb_signal_from_host (sig); + ourstatus->value.sig = gotasig; if (gotasig) { LPCVOID x; SIZE_T n; + ourstatus->kind = TARGET_WAITKIND_STOPPED; retval = strtoul (p, &p, 0); if (!retval) -- 2.7.4