diff options
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 38d5df0..d44dd0d 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3491,7 +3491,7 @@ void write_inferior_status_register (struct inferior_status *inf_status, int regno, LONGEST val) { - int size = DEPRECATED_REGISTER_RAW_SIZE (regno); + int size = register_size (current_gdbarch, regno); void *buf = alloca (size); store_signed_integer (buf, size, val); regcache_raw_write (inf_status->registers, regno, buf); |