summaryrefslogtreecommitdiffstats
path: root/gdb/z8k-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/z8k-tdep.c')
-rw-r--r--gdb/z8k-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/z8k-tdep.c b/gdb/z8k-tdep.c
index 257962e8b7..e06f343f11 100644
--- a/gdb/z8k-tdep.c
+++ b/gdb/z8k-tdep.c
@@ -309,7 +309,8 @@ write_return_value (struct type *type, char *valbuf)
int len;
for (len = 0; len < TYPE_LENGTH (type); len += 2)
- write_register_bytes (REGISTER_BYTE (len / 2 + 2), valbuf + len, 2);
+ deprecated_write_register_bytes (REGISTER_BYTE (len / 2 + 2),
+ valbuf + len, 2);
}
void
OpenPOWER on IntegriCloud