[PATCH] frv: duplicate output_buffer of E03

From: Roel Kluin
Date: Thu Feb 12 2009 - 08:05:53 EST


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@xxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/