OSDN Git Service

* 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)
commit52e9926878b9a232789afa26a789f1062b374d22
treeb4b76a2aaf5350f9334bb728f3f3dd8eb2ff6ca5
parent3233bdf46fe70b2a39c08cb290486c7457f2c3a4
* 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