Date: Tue, 27 Dec 1994 00:47:53 -0800 From: Sean Eric Fagan <sef@kithrup.com> To: hackers@freebsd.org, u923168@student.canberra.edu.au, ugen@netvision.net.il Subject: RE: ptrace Message-ID: <199412270847.AAA00564@kithrup.com>
next in thread | raw e-mail | index | archive | help
>>PTRACE_SYSCALL option should do in ptrace(2)? I've poked around in the >>sources (PTRACE_ATTACH and PTRACE_DETACH, though broken, can be acheived >>through procfs.. but no PTRACE_SYSCALL) but havn't found anything yet. >Huh!!!3 days ago that was the thing I asked..I was going to mix something >around strace..Well,probably the best thing to do is to really write that >PTRACE_SYSCALL myself but i have no time-i am hacking around IP. Back when I wrote it, I implemented most of the various stop-on-event things necessary for debugging. Stopping on syscall exit and syscall entry were two of them. The code needed is pretty small -- it consists of one routine, and then a conditional an a macro everywhere you want to have an event worth stopping on. Unfortunately, I've lost the code, but hopefully, I can find it again. The problem is that I never ported gdb to it, mainly because of lack of time and interest on my part. Sean.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199412270847.AAA00564>