diff options
Diffstat (limited to 'gdb/hppah-nat.c')
-rw-r--r-- | gdb/hppah-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hppah-nat.c b/gdb/hppah-nat.c index ce60fa3..51b74fc 100644 --- a/gdb/hppah-nat.c +++ b/gdb/hppah-nat.c @@ -189,7 +189,7 @@ store_inferior_registers (int regno) static void fetch_register (int regno) { - char buf[MAX_REGISTER_RAW_SIZE]; + char *buf = alloca (max_register_size (current_gdbarch)); unsigned int addr, len, offset; int i; |