aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300/mn10300.igen
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-07-07 02:05:06 -0400
committerMike Frysinger <vapier@gentoo.org>2021-11-28 01:01:50 -0500
commit9af706c919bc6bcc3b0838af0b750258c2351975 (patch)
treeebdcd1dd1d097b4f4fc80cabd032d94b4337b02c /sim/mn10300/mn10300.igen
parentd485f8c7c2412382413419785d4371febd4eaeb1 (diff)
downloadgdb-9af706c919bc6bcc3b0838af0b750258c2351975.zip
gdb-9af706c919bc6bcc3b0838af0b750258c2351975.tar.gz
gdb-9af706c919bc6bcc3b0838af0b750258c2351975.tar.bz2
sim: mn10300: resolve syscalls dynamically
Avoid use of TARGET_<syscall> defines and rely on the callback layers to resolve these dynamically so we can support multiple syscall layers instead of assuming the newlib/libgloss numbers all the time.
Diffstat (limited to 'sim/mn10300/mn10300.igen')
-rw-r--r--sim/mn10300/mn10300.igen2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mn10300/mn10300.igen b/sim/mn10300/mn10300.igen
index f67468d..9431c0b 100644
--- a/sim/mn10300/mn10300.igen
+++ b/sim/mn10300/mn10300.igen
@@ -3947,7 +3947,7 @@
{
/* OP_F0C0 (); */
PC = cia;
- do_syscall ();
+ do_syscall (SD);
}