[<prev] [next>] [day] [month] [year] [list]
Message-ID: <49941E98.8050402@gmail.com>
Date: Thu, 12 Feb 2009 14:05:28 +0100
From: Roel Kluin <roel.kluin@...il.com>
To: David Howells <dhowells@...hat.com>
CC: Andrew Morton <akpm@...ux-foundation.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: [PATCH] frv: duplicate output_buffer of E03
In the case of an error, output_buffer gets an E0X value. E03 was set in two
different error conditions while E02 was missing, this occurred in two sections.
Signed-off-by: Roel Kluin <roel.kluin@...il.com>
---
diff --git a/arch/frv/kernel/gdb-stub.c b/arch/frv/kernel/gdb-stub.c
index 7ca8a6b..4411c24 100644
--- a/arch/frv/kernel/gdb-stub.c
+++ b/arch/frv/kernel/gdb-stub.c
@@ -1880,7 +1880,7 @@ void gdbstub(int sigval)
}
if (temp >= 5) {
- gdbstub_strcpy(output_buffer,"E03");
+ gdbstub_strcpy(output_buffer,"E02");
break;
}
@@ -1908,7 +1908,7 @@ void gdbstub(int sigval)
}
if (temp >= 5) {
- gdbstub_strcpy(output_buffer,"E03");
+ gdbstub_strcpy(output_buffer,"E02");
break;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists