* gdb.t06/twice.exp: Don't care about the file name GDB prints.
[deliverable/binutils-gdb.git] / gdb / hppa-tdep.c
index 65443b9eae6c6650f6e060bbe125d5c0f4d1f596..b174b0976661d714db4ed201df64a077d16099ae 100644 (file)
@@ -674,7 +674,7 @@ hppa_push_arguments (nargs, args, sp, struct_return, struct_addr)
      CORE_ADDR struct_addr;
 {
   /* array of arguments' offsets */
-  int *offset = (int *)alloca(nargs);
+  int *offset = (int *)alloca(nargs * sizeof (int));
   int cum = 0;
   int i, alignment;
   
This page took 0.024433 seconds and 4 git commands to generate.