The PC is register 16, not 18.

Pointed out by: grehan@
This commit is contained in:
Marcel Moolenaar 2006-04-04 02:44:51 +00:00
parent cef5d0ae84
commit 470d831703

View File

@ -31,7 +31,7 @@
#define GDB_BUFSZ 500
#define GDB_NREGS 56
#define GDB_REG_PC 18
#define GDB_REG_PC 16
static __inline size_t
gdb_cpu_regsz(int regnum)