* arm-tdep.c (convert_from_extended): New argument to hold the
authorRichard Earnshaw <richard.earnshaw@arm.com>
Sat, 14 Dec 2002 10:42:05 +0000 (10:42 +0000)
committerRichard Earnshaw <richard.earnshaw@arm.com>
Sat, 14 Dec 2002 10:42:05 +0000 (10:42 +0000)
commitb508a996e6513f96a19f8cf92fde698df38fc426
treefc19c61a8bf16d8ad2ada5b6a6284c069190569a
parent7d695d0786ab7ff08da2f69ef1256dd721d7edb1
* arm-tdep.c (convert_from_extended): New argument to hold the
type of floating point result we want to convert to.  Make input
argument const.  Fix all callers.
(convert_to_extended): Similarly.
(arm_extract_return_value): Now takes a regcache argument.  Change
code to use regcache accessor functions.  Correctly extract
smaller-than-word results on big-endian machines.
(arm_store_return_value): Now takes a regcache argument.  Change
code to use regcache accessor functions.  Correctly zero/sign extend
smaller than word results before storing into r0.
(arm_gdbarch_init): Register new-style extract_return_value and
store_return_value functions.
gdb/ChangeLog
gdb/arm-tdep.c