From ac98beb0b3b8b0d67e7c599ade2cc2b01dd80bde Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Tue, 12 Jul 2011 13:26:14 +0800 Subject: return lowecase hex chars to avoid conflict with gdb error response GDB error response starts with E NN, which can be triggered if the hex value starts with an E digit. Use lowercase hex digits to avoid this conflict. --- Debugger/debug_hexutils.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Debugger') diff --git a/Debugger/debug_hexutils.S b/Debugger/debug_hexutils.S index d54445b..267406f 100644 --- a/Debugger/debug_hexutils.S +++ b/Debugger/debug_hexutils.S @@ -22,7 +22,9 @@ .align 4 hex2char_lut: - .ascii "0123456789ABCDEF" + /* .ascii "0123456789ABCDEF" */ + /* Need to use lowercase hex chars to avoid confusion with GDB Error (E NN) response */ + .ascii "0123456789abcdef" /* Macros */ -- cgit v1.2.3