aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v/simops.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-02-11 07:11:28 +0000
committerAndrew Cagney <cagney@redhat.com>1998-02-11 07:11:28 +0000
commitb41dff6b54bc5c79a6435beb8c877839c631831d (patch)
tree79d1fa9682a6cc90c4cafba8ae75444cfbf23a9b /sim/d10v/simops.c
parent19431a02809968af77b87776ecd346574f7c0f87 (diff)
downloadgdb-b41dff6b54bc5c79a6435beb8c877839c631831d.zip
gdb-b41dff6b54bc5c79a6435beb8c877839c631831d.tar.gz
gdb-b41dff6b54bc5c79a6435beb8c877839c631831d.tar.bz2
Don't abort() when system call is unknown.
Diffstat (limited to 'sim/d10v/simops.c')
-rw-r--r--sim/d10v/simops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c
index dc07503..9263c42 100644
--- a/sim/d10v/simops.c
+++ b/sim/d10v/simops.c
@@ -3029,7 +3029,7 @@ OP_5F00 ()
#endif
default:
- abort ();
+ d10v_callback->error (d10v_callback, "Unknown syscall %d", FUNC);
}
RETERR = (RETVAL == (uint16) -1) ? d10v_callback->get_errno(d10v_callback) : 0;
break;