aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-05 07:48:21 -0500
committerMike Frysinger <vapier@gentoo.org>2023-12-05 07:50:56 -0500
commit9d4a8c0a2e0f4909067759391e4aeb5c4af54352 (patch)
treeafe55dd3ddca51cb1a88ab69e6460cdf1b94a49f /sim/m32c
parent1b183017aa2fbb73785dc24b4cff32daae942c9c (diff)
downloadgdb-9d4a8c0a2e0f4909067759391e4aeb5c4af54352.zip
gdb-9d4a8c0a2e0f4909067759391e4aeb5c4af54352.tar.gz
gdb-9d4a8c0a2e0f4909067759391e4aeb5c4af54352.tar.bz2
sim: m32c: use UTF-8 encoding
We only support UTF-8 nowadays, so stop using ISO-8859-1. Maybe we should delete this logic entirely, but for now, do the bare min conversion to keep it compiling.
Diffstat (limited to 'sim/m32c')
-rw-r--r--sim/m32c/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m32c/mem.c b/sim/m32c/mem.c
index b439fb3..1ca3472 100644
--- a/sim/m32c/mem.c
+++ b/sim/m32c/mem.c
@@ -221,7 +221,7 @@ mem_put_byte (int address, unsigned char value)
static int old_led = -1;
static char *led_on[] =
{ "\033[31m O ", "\033[32m O ", "\033[34m O " };
- static char *led_off[] = { "\033[0m · ", "\033[0m · ", "\033[0m · " };
+ static char *led_off[] = { "\033[0m · ", "\033[0m · ", "\033[0m · " };
int i;
if (old_led != value)
{