From owner-freebsd-hackers Fri Nov 26 10:52:36 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from Gloria.CAM.ORG (Gloria.CAM.ORG [205.151.116.34]) by hub.freebsd.org (Postfix) with ESMTP id 37BFF1519E; Fri, 26 Nov 1999 10:52:20 -0800 (PST) (envelope-from intmktg@CAM.ORG) Received: from localhost (intmktg@localhost) by Gloria.CAM.ORG (8.9.3/8.9.3) with ESMTP id NAA13336; Fri, 26 Nov 1999 13:51:50 -0500 Date: Fri, 26 Nov 1999 13:51:50 -0500 (EST) From: Marc Tardif To: freebsd-hackers@freebsd.org Cc: freebsd-questions@freebsd.org Subject: disassembling syscalls Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How can syscalls be disassembled on BSD? So far, I tried using ktrace -tc on compiled code using the syscall I wanted, but the output from kdump doesn't look like asm. I also tried using gdb directly, compiling the source with the -g and -static flags, but I couldn't use the disassemble command on the syscall which appeared in the output of 'disassemble main'. Any suggestions would be greatly appreciated, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message