2004-06-20 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh: Use the function, instead of macro name in errors and the log file. (return_value): Remove stray ":" in spec.
This commit is contained in:
parent
750eb019f1
commit
66d659b12a
2 changed files with 7 additions and 4 deletions
|
@ -1,5 +1,9 @@
|
||||||
2004-06-20 Andrew Cagney <cagney@gnu.org>
|
2004-06-20 Andrew Cagney <cagney@gnu.org>
|
||||||
|
|
||||||
|
* gdbarch.sh: Use the function, instead of macro name in
|
||||||
|
errors and the log file.
|
||||||
|
(return_value): Remove stray ":" in spec.
|
||||||
|
|
||||||
* gdbarch.sh (RETURN_VALUE): Default to legacy_return_value.
|
* gdbarch.sh (RETURN_VALUE): Default to legacy_return_value.
|
||||||
* gdbarch.h, gdbarch.c: Re-generate.
|
* gdbarch.h, gdbarch.c: Re-generate.
|
||||||
* Makefile.in (arch-utils.o): Update dependencies.
|
* Makefile.in (arch-utils.o): Update dependencies.
|
||||||
|
|
|
@ -545,7 +545,7 @@ F:DEPRECATED_STORE_STRUCT_RETURN:void:deprecated_store_struct_return:CORE_ADDR a
|
||||||
# the predicate with default hack to avoid calling STORE_RETURN_VALUE
|
# the predicate with default hack to avoid calling STORE_RETURN_VALUE
|
||||||
# (via legacy_return_value), when a small struct is involved.
|
# (via legacy_return_value), when a small struct is involved.
|
||||||
|
|
||||||
M:::enum return_value_convention:return_value:struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf:valtype, regcache, readbuf, writebuf:::legacy_return_value
|
M::enum return_value_convention:return_value:struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf:valtype, regcache, readbuf, writebuf:::legacy_return_value
|
||||||
|
|
||||||
# The deprecated methods EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
|
# The deprecated methods EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
|
||||||
# DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS and
|
# DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS and
|
||||||
|
@ -725,8 +725,7 @@ exec > new-gdbarch.log
|
||||||
function_list | while do_read
|
function_list | while do_read
|
||||||
do
|
do
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
${class} ${macro}(${actual})
|
${class} ${returntype} ${function} ($formal)${attrib}
|
||||||
${returntype} ${function} ($formal)${attrib}
|
|
||||||
EOF
|
EOF
|
||||||
for r in ${read}
|
for r in ${read}
|
||||||
do
|
do
|
||||||
|
@ -734,7 +733,7 @@ EOF
|
||||||
done
|
done
|
||||||
if class_is_predicate_p && fallback_default_p
|
if class_is_predicate_p && fallback_default_p
|
||||||
then
|
then
|
||||||
echo "Error: predicate function ${macro} can not have a non- multi-arch default" 1>&2
|
echo "Error: predicate function ${function} can not have a non- multi-arch default" 1>&2
|
||||||
kill $$
|
kill $$
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue