* rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.
This commit is contained in:
parent
144529d0d2
commit
c2b6b4aad9
2 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-05-20 Jim Blandy <jimb@redhat.com>
|
||||||
|
|
||||||
|
* rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.
|
||||||
|
|
||||||
2004-05-20 Mark Kettenis <kettenis@gnu.org>
|
2004-05-20 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* regset.h: Make prototype const-correct.
|
* regset.h: Make prototype const-correct.
|
||||||
|
|
|
@ -1318,8 +1318,8 @@ rs6000_push_dummy_call (struct gdbarch *gdbarch, CORE_ADDR func_addr,
|
||||||
there is no way we would run out of them. */
|
there is no way we would run out of them. */
|
||||||
|
|
||||||
if (len > 8)
|
if (len > 8)
|
||||||
printf_unfiltered (
|
printf_unfiltered ("Fatal Error: a floating point parameter "
|
||||||
"Fatal Error: a floating point parameter #%d with a size > 8 is found!\n", argno);
|
"#%d with a size > 8 is found!\n", argno);
|
||||||
|
|
||||||
memcpy (&deprecated_registers[DEPRECATED_REGISTER_BYTE
|
memcpy (&deprecated_registers[DEPRECATED_REGISTER_BYTE
|
||||||
(tdep->ppc_fp0_regnum + 1 + f_argno)],
|
(tdep->ppc_fp0_regnum + 1 + f_argno)],
|
||||||
|
@ -1432,8 +1432,8 @@ ran_out_of_registers_for_arguments:
|
||||||
{
|
{
|
||||||
|
|
||||||
if (len > 8)
|
if (len > 8)
|
||||||
printf_unfiltered (
|
printf_unfiltered ("Fatal Error: a floating point parameter"
|
||||||
"Fatal Error: a floating point parameter #%d with a size > 8 is found!\n", argno);
|
" #%d with a size > 8 is found!\n", argno);
|
||||||
|
|
||||||
memcpy (&(deprecated_registers
|
memcpy (&(deprecated_registers
|
||||||
[DEPRECATED_REGISTER_BYTE
|
[DEPRECATED_REGISTER_BYTE
|
||||||
|
@ -1443,7 +1443,9 @@ ran_out_of_registers_for_arguments:
|
||||||
++f_argno;
|
++f_argno;
|
||||||
}
|
}
|
||||||
|
|
||||||
write_memory (sp + 24 + (ii * 4), (char *) VALUE_CONTENTS (arg), len);
|
write_memory (sp + 24 + (ii * 4),
|
||||||
|
(char *) VALUE_CONTENTS (arg),
|
||||||
|
len);
|
||||||
ii += ((len + 3) & -4) / 4;
|
ii += ((len + 3) & -4) / 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue