summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.sh
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-20 19:17:17 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-20 19:17:17 +0000
commit66d659b12a75b0275839472b41528d7f52f1eeb8 (patch)
tree85c89ffc8437b7c2f587c71b8e9746129fdb47ea /gdb/gdbarch.sh
parent750eb019f10b80dfed775e0062e33326f5a79adb (diff)
downloadbinutils-gdb-66d659b12a75b0275839472b41528d7f52f1eeb8.tar.gz
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.
Diffstat (limited to 'gdb/gdbarch.sh')
-rwxr-xr-xgdb/gdbarch.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index ac0078400f7..732c5a6c68d 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -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
# (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,
# DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS and
@@ -725,8 +725,7 @@ exec > new-gdbarch.log
function_list | while do_read
do
cat <<EOF
-${class} ${macro}(${actual})
- ${returntype} ${function} ($formal)${attrib}
+${class} ${returntype} ${function} ($formal)${attrib}
EOF
for r in ${read}
do
@@ -734,7 +733,7 @@ EOF
done
if class_is_predicate_p && fallback_default_p
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 $$
exit 1
fi