diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-04-18 20:53:03 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-04-18 21:22:31 -0400 |
commit | 7da5cf78fb1ba3e93cc5e79cf5084bd2b03f0fcf (patch) | |
tree | 6b5e493e21e20d52d35e251c11acf48b78919e31 /sim/bfin/interp.c | |
parent | d3b0ab8b36319f4232367b046ecfc0c656a177ad (diff) | |
download | gdb-7da5cf78fb1ba3e93cc5e79cf5084bd2b03f0fcf.zip gdb-7da5cf78fb1ba3e93cc5e79cf5084bd2b03f0fcf.tar.gz gdb-7da5cf78fb1ba3e93cc5e79cf5084bd2b03f0fcf.tar.bz2 |
sim: syscall: add getpid support
Hoist the Blackfin implementation up to the common one.
Diffstat (limited to 'sim/bfin/interp.c')
-rw-r--r-- | sim/bfin/interp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c index 747898c..49388e7 100644 --- a/sim/bfin/interp.c +++ b/sim/bfin/interp.c @@ -457,10 +457,6 @@ bfin_syscall (SIM_CPU *cpu) sc.result = setgid (sc.arg1); goto sys_finish; - case CB_SYS_getpid: - tbuf += sprintf (tbuf, "getpid()"); - sc.result = getpid (); - goto sys_finish; case CB_SYS_kill: tbuf += sprintf (tbuf, "kill(%u, %i)", args[0], args[1]); /* Only let the app kill itself. */ |