diff options
Diffstat (limited to 'gdb/hppah-nat.c')
-rw-r--r-- | gdb/hppah-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppah-nat.c b/gdb/hppah-nat.c index 84d1f3fa5e4..51b74fc7ba0 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; @@ -1334,7 +1334,7 @@ child_pid_to_exec_file (int pid) int name_index; int i; ptid_t saved_inferior_ptid; - boolean done; + int done; #ifdef PT_GET_PROCESS_PATHNAME /* As of 10.x HP-UX, there's an explicit request to get the pathname. */ |