Browse Source

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.
binutils-2_42-branch
Mike Frysinger 3 years ago
parent
commit
9d4a8c0a2e
  1. 2
      sim/m32c/mem.c

2
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)
{

Loading…
Cancel
Save