target/avr/cpu: Fix $PC displayed address
commit2e34e622c2cbda6828bbb395b6bdd4e0240b8217
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 30 Mar 2020 09:30:27 +0000 (30 11:30 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 11 Jul 2020 09:02:05 +0000 (11 11:02 +0200)
tree9f05c073f3151c4c425d626c31bdf65743add99d
parenta291bc851d482907d643db990b70c1cdb98c730a
target/avr/cpu: Fix $PC displayed address

$PC is 16-bit wide. Other registers display addresses on a byte
granularity.
To have a coherent ouput, display $PC using byte granularity too.

Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200707070021.10031-3-f4bug@amsat.org>
target/avr/cpu.c